Skip to content

Releases: alleyinteractive/wp-block-converter

v1.5.1

16 Dec 17:29
e208282
Compare
Choose a tag to compare

Fixed bug where macros can be used to modify/replace any tag.

v1.5.0

12 Aug 20:30
9679a9c
Compare
Choose a tag to compare

Added

  • Add collection of attachments that are created during the conversion process.
    Two methods now exist on the converter to help:
    • get_created_attachment_ids() - Returns the attachment IDs that were created.
    • assign_parent_to_attachments() - Assigns a parent post to all attachments.

Changed

  • Nested images are now properly sideloaded and converted to image blocks where
    appropriate. For example, an image inside a figure tag will now be converted
    to an image block. An image within a paragraph tag will be sideloaded but
    won't be converted to an image block.

Full Changelog: v1.4.0...v1.5.0

v1.4.0

25 Jul 22:15
dbea4ac
Compare
Choose a tag to compare
  • Drops support for PHP 8.0.
  • Fixes issue with <embed> elements.

Full Changelog: v1.3.2...v1.4.0

v1.3.2

28 Mar 13:18
2145f4b
Compare
Choose a tag to compare
  • Fixes embed rendering on the front end
  • Fixes TikTok embeds

v1.3.1

27 Mar 15:03
c643d2c
Compare
Choose a tag to compare

Fixes embedding x.com urls

v1.3.0

28 Feb 20:48
d8b1fdd
Compare
Choose a tag to compare

Enhancement: Adds support for <hr /> tags to be converted into a wp:separator block
Enhancement: Adds support for oEmbeddable urls inside a paragraph tag to be converted to the wp:embed block
Enhancement: Adds macro support to add custom handlers for tags not supported in the library

v1.2.0

07 Nov 19:00
95b5df0
Compare
Choose a tag to compare
  • Enhancement: Adds support for non-standard ports in sanitized URLs (e.g., 8080).
  • Enhancement: Added new filter called wp_block_converter_sanitized_image_url which allows the image URL for converted images to be filtered before being applied.
  • Bugfix: Changed the behavior of the create_or_get_attachment function to throw an exception instead of returning a WP_Error, which wasn't being handled previously and would result in a crash if a non-string value was returned by upload_image.
  • Bugfix: Ensure upload_image returns the image URL.

v1.1.0

18 Oct 19:08
ec88bbb
Compare
Choose a tag to compare
  • Expands PHP version support from just 8.0 to include 8.1 and 8.2

v1.0.0

20 Dec 17:56
c3775bc
Compare
Choose a tag to compare

Initial release 🎊