Skip to content

Releases: alleyinteractive/wp-asset-manager

v1.3.1

10 Jan 16:12
b005d13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

06 Jan 20:40
a902c36
Compare
Choose a tag to compare

What's Changed

  • Use am_view_asset_error meta capability to determine whether to display error messages related to asset enqueuing. am_view_asset_error is mapped to manage_options by default. by @dlh01, @mslinnea in #46

New Contributors

  • @dlh01 made their first contribution in #46

Full Changelog: v1.2.0...v1.3.0

v1.2.0

20 Dec 00:22
891de1e
Compare
Choose a tag to compare

Added

  • am_symbol_is_registered for determining if a symbol is registered (#41)

Changed

  • Filters kses allowed svg+use tags & attributes (#43)

Fixed

  • print_asset() no longer fails for local files on WP VIP environments (#40)

v1.1.2

27 Oct 16:44
Compare
Choose a tag to compare
  • Updates the requirements on mantle-framework/testkit to permit the latest version (#36)
  • Addresses PHP 8 compatibility issue with the global usage in Asset_Manager::add_core_asset() (#37)
  • Fixes a bug where get_svg() returns false for local files on WP VIP environments (#39)

v1.1.0

28 Sep 18:50
9a0bba8
Compare
Choose a tag to compare

Adds support for registering SVG assets to be added to a template's sprite sheet, with methods for displaying those assets

v1.0.0

28 Jun 22:56
440756b
Compare
Choose a tag to compare

Stable release 🎊

No large changes since v0.1.3 other than switching the unit tests over to Mantle Teskit

Fixes

  • Fix php notice if crossorigin isn't specified by @mslinnea in #25

v0.1.3

11 Feb 19:14
6fdaa77
Compare
Choose a tag to compare
  • Adds am_inline_stylesheet filter to allow inline stylesheets to be filtered.

v0.1.2

13 Jul 00:46
fbbe749
Compare
Choose a tag to compare
  • Adding License
  • Composer Autoloader
  • Caching am_asset_conditions
  • Adding GitHub Actions CI

v0.1.1

08 Oct 21:35
54e7499
Compare
Choose a tag to compare

Added

  • Supports include_any in the condition parameter for matching any condition (#10, #19)
  • Adds am_preload for preloading assets of any supported type (#16)
  • Improves overall plugin documentation

Changed

Fixed

  • Includes the media attribute only if media exists (#7)
  • Uses self-closing link tags (#7)
  • Ensures in_footer is set (#8)
  • Corrects an issue where loadCSS was being output for load_methods other than defer (3510e8c)

Removed

  • am_enqueue_style with load_method => preload is no longer supported. For backward compatibility this configuration will patch in a call to am_preload and also sync enqueue the asset (127acbc)
  • The loadCSS preload polyfill is removed since it is no longer supported (5d820d9)

Initial Release

31 Oct 16:36
28d0da2
Compare
Choose a tag to compare
Merge pull request #2 from alleyinteractive/readme-updates

Add basic README content