Skip to content

Releases: bernskiold/bm-page-specific-css

1.2.0

Choose a tag to compare

@annlickander annlickander released this 13 Aug 18:40
7c00b75

Changed

  • Build with @wordpress/scripts instead of Laravel Mix. Laravel Mix 5 runs webpack 4, which hashes with MD4 and therefore cannot build on Node 17 or later (error:0308010C:digital envelope routines::unsupported).
  • The compiled bundle is committed and ships in the release archive. It was gitignored, so assets/scripts/dist/editor.js was missing from every Composer install and each consuming site had to build the plugin itself.
  • The editor script is registered from the generated editor.asset.php, so its dependencies and cache-busting version follow the build instead of a hand-written list.
  • Editor sources import from the @wordpress/* packages rather than reading the wp global.

Fixed

  • The editor script no longer loads without react and react-jsx-runtime, which the hand-written dependency list had never included.

Added

  • Translations for the editor script are loaded with wp_set_script_translations().
  • A build workflow compiles the plugin on pull requests, so a dependency bump that breaks the build is caught before release.

1.1.4

Choose a tag to compare

@annlickander annlickander released this 21 May 13:24

Fixed

  • Avoid PHP 8.2 warning by returning early when global $post is not set on wp_enqueue_scripts.

1.1.3

Choose a tag to compare

@annlickander annlickander released this 21 May 12:03

Fixed

  • Fixed release archive

1.1.2

Choose a tag to compare

@ErikBernskiold ErikBernskiold released this 11 Apr 14:30
7ec27fa
  • Fixed issue where composer.json did not allow composer/installers plugin.

1.1.1

Choose a tag to compare

@annlickander annlickander released this 24 Mar 13:46

Fixed

  • Fixed issue where a red notices was displayed on custom post types that this plugin was not working properly.

1.1.0

Choose a tag to compare

@ErikBernskiold ErikBernskiold released this 02 Oct 09:46

Changed

  • Added support for all post types.

[1.0.1] - 2020-07-04

Choose a tag to compare

@ErikBernskiold ErikBernskiold released this 04 Jul 10:20

Changed

  • Only load page-specific CSS on pages.