Skip to content

v0.2.0

Compare
Choose a tag to compare
@gmazzap gmazzap released this 29 Feb 20:27
· 2 commits to master since this release
a52193b

Big release, breaking changes in internal API

This release is almost a full re-write of the code, targeting WP 6.3+ and PHP 8.0+.

However, the "consumer API" is mostly unchanged and, unless consumers where customizing the internal objects extending classes or implementing interfaces, chances are the consuming code still work without issues.

There's only one breaking change for consuming code, and it regards the "minified" assets discovery, that is, assets with names ending in .min.css or .min.js which were previously discovered automatically. Considering this is not a common practice anymore, discovery of such files must be enabled explicitly via Assets::tryMinUrls() (which also existed in v0.1, but it was enabled by default).

Besides this "edge case" all the previously-documented consuming API should work without changes.

But new features are now available: