Skip to content

Releases: alleyinteractive/wp-asset-manager

v1.4.0

14 Jan 18:30
Compare
Choose a tag to compare

Fixed

  • Added proper types for helper functions that support array in the first argument.
  • Asset_Manager_Preload::set_asset_types() should return an empty array if no valid arguments are passed.

Changed

  • Migrates code into the Alley\WP\Asset_Manager namespace. Legacy classes such
    as Asset_Manager_Scripts and Asset_Manager_Styles are aliased to their new
    namespace for backward compatibility. Helper functions are left un-namespaced.
  • Adds a dependency on Composer autoloader. For submodules, you can track the
    production-built branch of the plugin or any tagged release (which will be
    built) to include the dependencies.

Full Changelog: v1.3.7...v1.4.0

v1.3.7

22 Mar 16:13
6a892e0
Compare
Choose a tag to compare

Adds support for async and defer using the 'strategy' argument added for wp_enqueue_script in WordPress 6.3.

v1.3.6

18 Dec 19:56
1729343
Compare
Choose a tag to compare
  • Adds support for running the plugin on a Windows hosting environment (#57)

v1.3.5

02 Dec 00:37
9762209
Compare
Choose a tag to compare

Removes default kses allowed SVG attributes

v1.3.4

01 Sep 15:51
7098a06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.3...v1.3.4

v1.3.3

25 Jul 17:56
accc576
Compare
Choose a tag to compare
  • Removes visibility:hidden SVG sprite style declaration, which breaks some SVG element references
  • Upgrades to mantle-framework/testkit v0.11

v1.3.2

12 Jun 16:14
e22ea69
Compare
Choose a tag to compare

The SVG Sprite is no longer hidden with display:none and instead visually hidden and moved offscreen (#49). This is meant to correct rendering issues with fragmen ids.

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)