Assets Autoversioning
Version 3.0.0
August 6, 2026
Added
- Craft CMS 5 compatibility.
Changed
- Requires Craft CMS >= 5.0 and PHP >= 8.2.
- Version is now derived from the Git tag.
- The Twig extension is now only registered for web requests.
Fixed
- Each file now falls back to its own modification time instead of reusing the first file's timestamp for every asset in a template (#4).
useQueryParamno longer produces a double?when the asset path already contains a query string.- Hardened build-ID file resolution against the
bool|string|nullreturn type ofApp::parseEnv().
Internal
- Added
declare(strict_types=1)across the plugin and injected the settings into the Twig extension instead of sharing them through a static property. - Exclude test fixtures from the distributed package via
.gitattributes. - Added
changelogUrlso the Plugin Store surfaces release notes.
Version 2.0.0
May 4, 2022
Added
- Craft CMS 4 compatibility.
- Settings page.
- Switch to activate/deactivate versioning. Can be set via environment variable.
- The file with the build ID to use as version is now configurable.
- Use query parameter instead of file suffix when adding the version to an asset.
Changed
- Requires Craft CMS >= 4.0
Version 1.0.3
April 6, 2019
Changed
- New icon
- Updated documentation
Version 1.0.2
January 9, 2019
Removed
- Removed version number
Version 1.0.1
December 19, 2018
Changed
- Fix version number
Version 1.0.0
December 19, 2018
Added
- Initial release