PackageTrack
Sign in Get early access

alleyinteractive/wp-block-converter

Convert HTML into Gutenberg Blocks with PHP

v1.8.2 483K downloads/mo #4518 most downloaded on Packagist alleyinteractive/wp-block-converter

What this package is like to depend on

Last release 8 months ago

12 Dec 2025

Release timing varies

gaps range from 2 weeks to 10 months

Nearly every release is documented

notes for 15 of 15 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

15 releases · first in 2022

4 releases in the last 12 months

see the full history below

Release timeline

15 releases · Dec 2022 to Dec 2025
2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. v1.8.2 12 Dec 2025
    Release notes

    Changed

    • Drop the CLI command added in 1.8.0. It is causing downstream issues that need to be resolved before it can be re-added.
    Open source →
    Release notes

    Changed

    • Drop the CLI command added in 1.8.0. It is causing downstream issues that need to be resolved before it can be re-added.
    Open source →
  2. v1.8.1 12 Dec 2025
    Release notes

    Fixed

    • Fix issue with CLI command not being registered in some environments.
    Open source →
    Release notes

    Fixed

    • Fix issue with CLI command not being registered in some environments.
    Open source →
  3. v1.8.0 10 Dec 2025
    Release notes

    Added

    • Added CLI command to convert posts to blocks.

    Fixed

    • Fix issue with double spaces being removed when converting.
    • Fix issue with pre tags not being converted correctly.
    Open source →
    Release notes

    Added

    • Added CLI command to convert posts to blocks.

    Fixed

    • Fix issue with double spaces being removed when converting.
    • Fix issue with pre tags not being converted correctly.
    Open source →
  4. v1.7.0 09 Dec 2025
    Release notes
    • Fix issue where parent images were being sideloaded when sideload_images was set to false.
    • Fix issue with importing Microsoft Word documents.
    Open source →
    Release notes

    Fixed

    • Fix issue where parent images were being sideloaded when sideload_images was set to false.
    • Fix issue with importing Microsoft Word documents.
    Open source →
  5. v1.6.0 21 Apr 2025
    Release notes

    Added

    • Added wp_block_converter_pre_sideload_image hook to allow select images to be disabled when sideloading.

    Changed

    • Sideloading of images is now opt-in. You can enable it by setting the sideload_images option to true when creating the converter instance.
    Open source →
    Release notes

    Added

    • Added wp_block_converter_pre_sideload_image hook to allow select images to be disabled when sideloading.

    Changed

    • Sideloading of images is now opt-in. You can enable it by setting the sideload_images option to true when creating the converter instance.
    Open source →
  6. v1.5.2 18 Feb 2025
    Release notes

    Fixed

    • Fixed issue when converting blockquotes with child text nodes.
    Open source →
    Release notes

    Fixed

    • Fixed issue when converting blockquotes with child text nodes.
    Open source →
  7. v1.5.1 16 Dec 2024
    Release notes

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

    Open source →
    Release notes

    Fixed

    • Fixed bug where macros can be used to modify/replace any tag.
    Open source →
  8. v1.5.0 12 Aug 2024
    Release notes

    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

    Open source →
    Release notes

    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.
    Open source →
  9. v1.4.0 25 Jul 2024
    Release notes
    • Drops support for PHP 8.0.
    • Fixes issue with <embed> elements.

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

    Open source →
    Release notes
    • Drops support for PHP 8.0.
    • Fixes issue with <embed> elements.
    Open source →
  10. v1.3.2 28 Mar 2024
    Release notes
    • Fixes embed rendering on the front end
    • Fixes TikTok embeds
    Open source →
    Release notes
    • Preserve new lines in embed blocks. They are required for proper front end rendering.
    • Fix aspect ratio calculation when height and width are percentages - which fixes TikTok embeds.
    Open source →
  11. v1.3.1 27 Mar 2024
    Release notes
    • Fixes embeds of x.com urls (instead of twitter.com)
    Open source →
  12. v1.3.0 28 Feb 2024
    Release notes
    • Adds macro support to the converter, allowing for custom tags to be added to the converter.
    • Adds support for hr tags.
    • Adds support for embeds.
    Open source →
  13. v1.2.0 07 Nov 2023
    Release notes
    • 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.
    Open source →
  14. v1.1.0 18 Oct 2023
    Release notes
    • Expands PHP version support from just 8.0 to include 8.1 and 8.2
    Open source →
  15. v1.0.0 20 Dec 2022
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive