Releases: alleyinteractive/wp-asset-manager
Releases · alleyinteractive/wp-asset-manager
v1.4.0
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
asAsset_Manager_Scripts
andAsset_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
Adds support for async and defer using the 'strategy' argument added for wp_enqueue_script in WordPress 6.3.
v1.3.6
v1.3.5
v1.3.4
What's Changed
- PHP 8.2 deprecations by @anubisthejackle in #53
New Contributors
- @anubisthejackle made their first contribution in #53
Full Changelog: v1.3.3...v1.3.4
v1.3.3
v1.3.2
v1.3.1
What's Changed
- Check for array key before using by @srtfisher in #47
Full Changelog: v1.3.0...v1.3.1
v1.3.0
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 tomanage_options
by default. by @dlh01, @mslinnea in #46
New Contributors
Full Changelog: v1.2.0...v1.3.0