Skip to content

Releases: s9e/TextFormatter

2.18.0 (2024-07-24)

24 Jul 14:52
2.18.0
4970711
Compare
Choose a tag to compare

⚠️ This release contains API changes. See docs/Internals/API_changes.md for a description. ⚠️

Full commit log

Added

  • 613f6361c MediaEmbed: added SiteHelpers API

Changed

  • 8cf698f84 MediaEmbed: updated Spreaker
  • 9ac3f008c Updated AbstractNormalization
  • a96383c6e Updated GitHub action
  • a025c6e11 Updated dependencies
  • c06092c26 Upgraded GitHub actions

2.17.3 (2024-05-26)

26 May 00:00
2.17.3
9adf255
Compare
Choose a tag to compare

Full commit log

Changed

  • 3001de226 MediaEmbed: updated Giphy
  • 7b7c14b61 MediaEmbed: updated Instagram
  • 3a31a34c1 MediaEmbed: updated JSFiddle
  • 34912a84e MediaEmbed: updated Medium
  • 4fd5739d6 MediaEmbed: updated VK
  • eafb249cc MediaEmbed: updated dark theme selector in Telegram and Twitter

2.17.2 (2024-04-25)

25 Apr 12:39
2.17.2
97fec3f
Compare
Choose a tag to compare

Full commit log

Added

  • 487e3c48b MediaEmbed: added On3 DB

Removed

  • 8d91c8b3f MediaEmbed: removed BleacherReport

Changed

  • bf99a935d MediaEmbed: updated 247Sports
  • 05b9223e2 MediaEmbed: updated WSJ
  • ac0b75ee0 MediaEmbed: updated example URLs
  • 742e3da89 Return the response body when a HTTP error occurs during scraping

2.17.1 (2024-03-28)

28 Mar 11:55
2.17.1
1dc04d8
Compare
Choose a tag to compare

Full commit log

Fixed

  • ce28c14bd FilterSyntaxMatcher: fixed parseFilterArg() signature

Changed

  • 134bffb2b Extended optimizations related to equality tests to inequality tests
  • f8c5a455f Replaced array callbacks with first class callables where applicable
  • c7609e321 Updated docs
  • e43f99a47 Use in_array() in strict mode wherever applicable

2.17.0 (2024-03-24)

24 Mar 16:00
2.17.0
328c056
Compare
Choose a tag to compare

Full commit log

Added

  • c9f762aad Added JavaScript support for str_replace() as an attribute filter
  • 54546445f Added deprecation warning to docs
  • a3aa58984 AttributeFilterChain: added support for constructor arguments in default filters
  • 5a937310a AttributeFilterCollection: added support for arguments passed to default filters
  • 84ee03aad FilterSyntaxMatcher: added support for named arguments
  • 4599040f4 MediaEmbed: added Captivate
  • ddadd0525 MediaEmbed: added XenForo

Fixed

  • 56da3f431 Fixed links in docs
  • 9dc8b1a69 Fixed nullable types for PHP 8.4

Changed

  • 894615027 MediaEmbed: updated Imgur
  • 7372cd01f MediaEmbed: updated Kaltura
  • fb4b6d957 MediaEmbed: updated Mastodon
  • 0941fde59 Updated copyright notice
  • 99dffbce7 Updated dependencies

2.16.0 (2024-01-07)

07 Jan 00:43
2.16.0
a78b8f9
Compare
Choose a tag to compare

⚠️ If you generate your own bundles, be sure to regenerate them after upgrading as their signature as been updated. ⚠️

Full commit log

Added

  • a41591323 Bundles: added type declarations

Removed

  • b1d809a0c MediaEmbed: removed Amazon
  • f9ff2282d MediaEmbed: removed Streamja

Changed

  • d9d50711d AbstractChooseOptimization: optimized isEqualNode() for the common case
  • e4eb30c89 AbstractChooseOptimization: replaced isEqualNode() implementation
  • f97349402 MediaEmbed: updated Bandcamp
  • 7c95e9d51 MediaEmbed: updated Threads

2.15.1 (2023-12-21)

22 Dec 00:04
2.15.1
520538f
Compare
Choose a tag to compare

Full commit log

Added

  • e1ec00821 AbstractNormalization: added workaround for weird DOM quirks
  • 07f2468de MediaEmbed: added Twitter oEmbed endpoint

Fixed

  • e595860bb DisallowUnsupportedXSL: fixed the range of allowed characters in dynamic attributes

Changed

  • 25714e6dc Bumped the requirements for s9e/sweetdom
  • 14d759679 OptimizeChoose: minor code simplification
  • 31ae9abd5 OptimizeChoose: reorganized code
  • fc9795083 OptimizeChooseText: remove empty text nodes during optimization
  • d8e08b723 UninlineAttributes: refactored how xsl:attribute elements are created
  • 195118a53 Updated dependencies

2.15.0 (2023-12-03)

03 Dec 23:28
2.15.0
3eccb69
Compare
Choose a tag to compare

⚠️ Starting with this release, s9e\TextFormatter requires PHP 8.1 or newer. ⚠️

Full commit log

Added

  • 44b040c98 Added GitHub workflow
  • f0fbc6f84 TemplateNormalizations: added OptimizeChooseAttributes pass
  • 3da387000 TemplateNormalizations: added support for SweetDOM

Removed

  • bb1a1d2ac MediaEmbed: removed NBC Sports
  • bc785a197 MediaEmbed: removed Stitcher

Fixed

  • d5b261549 MediaEmbed: fixed TikTok oEmbed endpoint

Changed

  • 4e54aa38d ElementInspector: updated to the latest HTML specs
  • 3601bb871 Emoji: updated to Unicode 15.1
  • 8e6a8b119 MediaEmbed: updated IMDb
  • f788f1d86 MediaEmbed: updated Podbean
  • 7574739cb MediaEmbed: updated Spreaker
  • 6c327465b ParsedDOM: simplified some DOM manipulations
  • b6fb13a79 RecursiveParser: use unnamed captures for arguments
  • 04f5bc417 RegexpConvertor: updated Unicode properties
  • c2c6c69dc TemplateNormalizations: simplified code through argument unpacking
  • fddea0221 Updated dependencies
  • 20e789066 XPathConvertor: optimize away superfluous string() calls

2.14.3 (2023-11-11)

11 Nov 15:28
2.14.3
bec02b2
Compare
Choose a tag to compare

Full commit log

Changed

  • cd53829c3 BBCodes: updated default CODE
  • c5891a573 MediaEmbed: updated Facebook
  • ee1965642 MediaEmbed: updated Facebook
  • b429c7b60 MediaEmbed: updated Facebook
  • 593490f42 MediaEmbed: updated Facebook
  • 135de3549 MediaEmbed: updated Twitter
  • 334e96d72 MediaEmbed: updated Twitter
  • 6fb87d797 MediaEmbed: updated YouTube

2.14.2 (2023-10-05)

05 Oct 22:03
2.14.2
036d7ff
Compare
Choose a tag to compare

Full commit log

Changed

  • 440d40901 Enable PHP8 functions in bundled renderers
  • 8188d7ace MediaEmbed: updated Reddit
  • 528665cc3 RulesGeneratorList: updated remove()
  • f33cdf622 Updated RTD config