# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [2.1.4] - 2024-03-12 ### Changed - Internal updates. ## [2.1.3] - 2024-03-12 ### Changed - Updated package dependencies. [#36325] ## [2.1.2] - 2024-03-04 ### Changed - Updated package dependencies. [#36095] ## [2.1.1] - 2024-02-13 ### Changed - Updated package dependencies. [#35608] ## [2.1.0] - 2024-02-05 ### Added - Add support for script enqueuing strategies implemented in WordPress 6.3 [#34072] ### Changed - Updated package dependencies. [#35384] ## [2.0.4] - 2024-01-04 ### Changed - Updated package dependencies. [#34815] ## [2.0.3] - 2023-12-11 ### Changed - Updated package dependencies. [#34492] ## [2.0.2] - 2023-12-03 ### Changed - Updated package dependencies. [#34411] [#34427] ## [2.0.1] - 2023-11-21 ## [2.0.0] - 2023-11-20 ### Changed - Updated required PHP version to >= 7.0. [#34192] ## [1.18.15] - 2023-11-14 ### Changed - Updated package dependencies. [#34093] ## [1.18.14] - 2023-11-03 ## [1.18.13] - 2023-10-19 ### Changed - Updated package dependencies. [#33687] ## [1.18.12] - 2023-10-10 ### Changed - Updated package dependencies. [#33428] ### Fixed - Pass `false`, not `null`, to `WP_Scripts->add()`. [#33513] ## [1.18.11] - 2023-09-19 - Minor internal updates. ## [1.18.10] - 2023-09-04 ### Changed - Updated package dependencies. [#32803] ## [1.18.9] - 2023-08-23 ### Changed - Updated package dependencies. [#32605] ## [1.18.8] - 2023-08-09 ### Changed - Updated package dependencies. [#32166] ## [1.18.7] - 2023-07-11 ### Changed - Updated package dependencies. [#31785] ## [1.18.6] - 2023-07-05 ### Changed - Updated package dependencies. [#31659] ## [1.18.5] - 2023-06-21 ### Changed - Updated package dependencies. [#31468] ## [1.18.4] - 2023-06-06 ### Changed - Updated package dependencies. [#31129] ## [1.18.3] - 2023-05-15 ### Changed - Internal updates. ## [1.18.2] - 2023-05-02 ### Changed - Updated package dependencies. [#30375] ## [1.18.1] - 2023-04-10 ### Added - Add Jetpack Autoloader package suggestion. [#29988] ## [1.18.0] - 2023-04-04 ### Changed - Async script enqueuing: switch to static method. [#29780] - Updated package dependencies. [#29854] ## [1.17.34] - 2023-03-20 ### Changed - Updated package dependencies. [#29471] ## [1.17.33] - 2023-03-08 ### Changed - Updated package dependencies. [#29216] ## [1.17.32] - 2023-02-20 ### Changed - Minor internal updates. ## [1.17.31] - 2023-02-15 ### Changed - Update to React 18. [#28710] ## [1.17.30] - 2023-01-25 ### Changed - Minor internal updates. ## [1.17.29] - 2023-01-11 ### Changed - Updated package dependencies. ## [1.17.28] - 2022-12-02 ### Changed - Updated package dependencies. ## [1.17.27] - 2022-11-28 ### Changed - Updated package dependencies. [#27576] ## [1.17.26] - 2022-11-22 ### Changed - Updated package dependencies. [#27043] ## [1.17.25] - 2022-11-08 ### Changed - Updated package dependencies. [#27289] ## [1.17.24] - 2022-11-01 ### Changed - Updated package dependencies. ## [1.17.23] - 2022-10-13 ### Changed - Updated package dependencies. [#26791] ## [1.17.22] - 2022-10-05 ### Changed - Updated package dependencies. [#26568] ## [1.17.21] - 2022-08-25 ### Changed - Updated package dependencies. [#25814] ## [1.17.20] - 2022-07-26 ### Changed - Updated package dependencies. [#25158] ## [1.17.19] - 2022-07-12 ### Changed - Updated package dependencies. ## [1.17.18] - 2022-07-06 ### Changed - Updated package dependencies ## [1.17.17] - 2022-06-21 ### Changed - Renaming master to trunk. ## [1.17.16] - 2022-06-14 ## [1.17.15] - 2022-06-08 ### Changed - Reorder JS imports for `import/order` eslint rule. [#24601] ## [1.17.14] - 2022-05-18 ### Changed - Updated package dependencies [#24372] ## [1.17.13] - 2022-05-10 ### Changed - Updated package dependencies. [#24302] ## [1.17.12] - 2022-05-04 ### Added - Add missing JavaScript dependencies, and fix a test. [#24096] ## [1.17.11] - 2022-04-26 ### Changed - Updated package dependencies. ## [1.17.10] - 2022-04-19 ### Fixed - Assets: Defer the enqueued script instead of its translations ## [1.17.9] - 2022-04-05 ### Changed - Updated package dependencies. ## [1.17.8] - 2022-03-29 ### Changed - Updated package dependencies. ## [1.17.7] - 2022-03-23 ### Changed - Updated package dependencies. ## [1.17.6] - 2022-03-02 ### Changed - Updated package dependencies. ## [1.17.5] - 2022-02-16 ### Changed - Updated package dependencies. ## [1.17.4] - 2022-02-09 ### Changed - Updated package dependencies. ## [1.17.3] - 2022-02-02 ### Fixed - Fixed minor coding standard violation. ## [1.17.2] - 2022-02-01 ### Changed - Build: remove unneeded files from production build. ## [1.17.1] - 2022-01-27 ### Changed - Updated package dependencies. ## [1.17.0] - 2022-01-25 ### Added - Accept package path prefixes from jetpack-composer-plugin and use them when lazy-loading JS translations. - Generate the `wp-jp-i18n-loader` module needed by the new i18n-loader-webpack-plugin. ### Deprecated - Deprecated the `wp-jp-i18n-state` module. ## [1.16.2] - 2022-01-18 ### Fixed - Handle the case where `WP_LANG_DIR` is in `WP_CONTENT_DIR`, but `WP_CONTENT_DIR` is not in `ABSPATH`. ## [1.16.1] - 2022-01-05 ### Fixed - Don't issue a "doing it wrong" warning for registering aliases during plugin activation. ## [1.16.0] - 2022-01-04 ### Added - Document use of jetpack-assets, jetpack-composer-plugin, and i18n-loader-webpack-plugin together. ### Changed - Switch to pcov for code coverage. - Updated package dependencies - Updated package textdomain from `jetpack` to `jetpack-assets`. ## [1.15.0] - 2021-12-20 ### Added - Add `alias_textdomain()`. ## [1.14.0] - 2021-12-14 ### Added - Generate `wp-jp-i18n-state` script. ## [1.13.1] - 2021-11-22 ### Fixed - Call `_doing_it_wrong` correctly. ## [1.13.0] - 2021-11-22 ### Added - Have `Assets::register_script()` accept a textdomain for `wp_set_script_translations` (and complain if no textdomain is passed when `wp-i18n` is depended on). ### Changed - Updated package dependencies ### Fixed - Added missing option doc for `Assets::register_script()`. ## [1.12.0] - 2021-11-15 ### Added - Add `Assets::register_script()` for easier loading of Webpack-built scripts. ## [1.11.10] - 2021-11-02 ### Changed - Set `convertDeprecationsToExceptions` true in PHPUnit config. - Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't. ## [1.11.9] - 2021-10-13 ### Changed - Updated package dependencies. ## [1.11.8] - 2021-10-06 ### Changed - Updated package dependencies ## [1.11.7] - 2021-09-28 ### Changed - Updated package dependencies. ## [1.11.6] - 2021-08-30 ### Changed - Run composer update on test-php command instead of phpunit - Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). - update annotations versions ## [1.11.5] - 2021-05-25 ### Changed - Updated package dependencies. ## [1.11.4] - 2021-04-08 ### Changed - Packaging and build changes, no change to the package itself. ## [1.11.3] - 2021-03-30 ### Added - Composer alias for dev-master, to improve dependencies ### Changed - Update package dependencies. ### Fixed - Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in. ## [1.11.2] - 2021-02-23 - CI: Make tests more generic ## [1.11.1] - 2021-01-26 - Add mirror-repo information to all current composer packages - Monorepo: Reorganize all projects ## [1.11.0] - 2021-01-05 - Update dependency brain/monkey to v2.6.0 ## [1.10.0] - 2020-12-08 - Assets: introduce new method to process static resources - Assets: Use defer for script tags - Pin dependencies - Packages: Update for PHP 8 testing ## [1.9.1] - 2020-11-24 - Update dependency brain/monkey to v2.5.0 - Updated PHPCS: Packages and Debugger ## [1.9.0] - 2020-10-27 - Instagram oEmbed: Simplify ## [1.8.0] - 2020-09-29 - Consolidate the Lazy Images package to rely on the Assets package ## [1.7.0] - 2020-08-25 - Packages: Update filenames after #16810 - CI: Try collect js coverage - Docker: Add package testing shortcut ## [1.6.0] - 2020-07-28 - Various: Use wp_resource_hints ## [1.5.0] - 2020-06-30 - PHPCS: Clean up the packages - WooCommerce Analytics: avoid 404 error when enqueuing script ## [1.4.0] - 2020-05-26 - Add Jetpack Scan threat notifications ## [1.3.0] - 2020-04-28 - Update dependencies to latest stable ## [1.2.0] - 2020-03-31 - Update dependencies to latest stable ## [1.1.1] - 2020-01-27 - Pin dependency brain/monkey to 2.4.0 ## [1.1.0] - 2020-01-14 - Packages: Various improvements for wp.com or self-contained consumers ## [1.0.3] - 2019-11-08 - Packages: Use classmap instead of PSR-4 ## [1.0.1] - 2019-10-28 - PHPCS: JITM and Assets packages - Packages: Add gitattributes files to all packages that need th… ## 1.0.0 - 2019-09-14 - Statically access asset tools [2.1.4]: https://github.com/Automattic/jetpack-assets/compare/v2.1.3...v2.1.4 [2.1.3]: https://github.com/Automattic/jetpack-assets/compare/v2.1.2...v2.1.3 [2.1.2]: https://github.com/Automattic/jetpack-assets/compare/v2.1.1...v2.1.2 [2.1.1]: https://github.com/Automattic/jetpack-assets/compare/v2.1.0...v2.1.1 [2.1.0]: https://github.com/Automattic/jetpack-assets/compare/v2.0.4...v2.1.0 [2.0.4]: https://github.com/Automattic/jetpack-assets/compare/v2.0.3...v2.0.4 [2.0.3]: https://github.com/Automattic/jetpack-assets/compare/v2.0.2...v2.0.3 [2.0.2]: https://github.com/Automattic/jetpack-assets/compare/v2.0.1...v2.0.2 [2.0.1]: https://github.com/Automattic/jetpack-assets/compare/v2.0.0...v2.0.1 [2.0.0]: https://github.com/Automattic/jetpack-assets/compare/v1.18.15...v2.0.0 [1.18.15]: https://github.com/Automattic/jetpack-assets/compare/v1.18.14...v1.18.15 [1.18.14]: https://github.com/Automattic/jetpack-assets/compare/v1.18.13...v1.18.14 [1.18.13]: https://github.com/Automattic/jetpack-assets/compare/v1.18.12...v1.18.13 [1.18.12]: https://github.com/Automattic/jetpack-assets/compare/v1.18.11...v1.18.12 [1.18.11]: https://github.com/Automattic/jetpack-assets/compare/v1.18.10...v1.18.11 [1.18.10]: https://github.com/Automattic/jetpack-assets/compare/v1.18.9...v1.18.10 [1.18.9]: https://github.com/Automattic/jetpack-assets/compare/v1.18.8...v1.18.9 [1.18.8]: https://github.com/Automattic/jetpack-assets/compare/v1.18.7...v1.18.8 [1.18.7]: https://github.com/Automattic/jetpack-assets/compare/v1.18.6...v1.18.7 [1.18.6]: https://github.com/Automattic/jetpack-assets/compare/v1.18.5...v1.18.6 [1.18.5]: https://github.com/Automattic/jetpack-assets/compare/v1.18.4...v1.18.5 [1.18.4]: https://github.com/Automattic/jetpack-assets/compare/v1.18.3...v1.18.4 [1.18.3]: https://github.com/Automattic/jetpack-assets/compare/v1.18.2...v1.18.3 [1.18.2]: https://github.com/Automattic/jetpack-assets/compare/v1.18.1...v1.18.2 [1.18.1]: https://github.com/Automattic/jetpack-assets/compare/v1.18.0...v1.18.1 [1.18.0]: https://github.com/Automattic/jetpack-assets/compare/v1.17.34...v1.18.0 [1.17.34]: https://github.com/Automattic/jetpack-assets/compare/v1.17.33...v1.17.34 [1.17.33]: https://github.com/Automattic/jetpack-assets/compare/v1.17.32...v1.17.33 [1.17.32]: https://github.com/Automattic/jetpack-assets/compare/v1.17.31...v1.17.32 [1.17.31]: https://github.com/Automattic/jetpack-assets/compare/v1.17.30...v1.17.31 [1.17.30]: https://github.com/Automattic/jetpack-assets/compare/v1.17.29...v1.17.30 [1.17.29]: https://github.com/Automattic/jetpack-assets/compare/v1.17.28...v1.17.29 [1.17.28]: https://github.com/Automattic/jetpack-assets/compare/v1.17.27...v1.17.28 [1.17.27]: https://github.com/Automattic/jetpack-assets/compare/v1.17.26...v1.17.27 [1.17.26]: https://github.com/Automattic/jetpack-assets/compare/v1.17.25...v1.17.26 [1.17.25]: https://github.com/Automattic/jetpack-assets/compare/v1.17.24...v1.17.25 [1.17.24]: https://github.com/Automattic/jetpack-assets/compare/v1.17.23...v1.17.24 [1.17.23]: https://github.com/Automattic/jetpack-assets/compare/v1.17.22...v1.17.23 [1.17.22]: https://github.com/Automattic/jetpack-assets/compare/v1.17.21...v1.17.22 [1.17.21]: https://github.com/Automattic/jetpack-assets/compare/v1.17.20...v1.17.21 [1.17.20]: https://github.com/Automattic/jetpack-assets/compare/v1.17.19...v1.17.20 [1.17.19]: https://github.com/Automattic/jetpack-assets/compare/v1.17.18...v1.17.19 [1.17.18]: https://github.com/Automattic/jetpack-assets/compare/v1.17.17...v1.17.18 [1.17.17]: https://github.com/Automattic/jetpack-assets/compare/v1.17.16...v1.17.17 [1.17.16]: https://github.com/Automattic/jetpack-assets/compare/v1.17.15...v1.17.16 [1.17.15]: https://github.com/Automattic/jetpack-assets/compare/v1.17.14...v1.17.15 [1.17.14]: https://github.com/Automattic/jetpack-assets/compare/v1.17.13...v1.17.14 [1.17.13]: https://github.com/Automattic/jetpack-assets/compare/v1.17.12...v1.17.13 [1.17.12]: https://github.com/Automattic/jetpack-assets/compare/v1.17.11...v1.17.12 [1.17.11]: https://github.com/Automattic/jetpack-assets/compare/v1.17.10...v1.17.11 [1.17.10]: https://github.com/Automattic/jetpack-assets/compare/v1.17.9...v1.17.10 [1.17.9]: https://github.com/Automattic/jetpack-assets/compare/v1.17.8...v1.17.9 [1.17.8]: https://github.com/Automattic/jetpack-assets/compare/v1.17.7...v1.17.8 [1.17.7]: https://github.com/Automattic/jetpack-assets/compare/v1.17.6...v1.17.7 [1.17.6]: https://github.com/Automattic/jetpack-assets/compare/v1.17.5...v1.17.6 [1.17.5]: https://github.com/Automattic/jetpack-assets/compare/v1.17.4...v1.17.5 [1.17.4]: https://github.com/Automattic/jetpack-assets/compare/v1.17.3...v1.17.4 [1.17.3]: https://github.com/Automattic/jetpack-assets/compare/v1.17.2...v1.17.3 [1.17.2]: https://github.com/Automattic/jetpack-assets/compare/v1.17.1...v1.17.2 [1.17.1]: https://github.com/Automattic/jetpack-assets/compare/v1.17.0...v1.17.1 [1.17.0]: https://github.com/Automattic/jetpack-assets/compare/v1.16.2...v1.17.0 [1.16.2]: https://github.com/Automattic/jetpack-assets/compare/v1.16.1...v1.16.2 [1.16.1]: https://github.com/Automattic/jetpack-assets/compare/v1.16.0...v1.16.1 [1.16.0]: https://github.com/Automattic/jetpack-assets/compare/v1.15.0...v1.16.0 [1.15.0]: https://github.com/Automattic/jetpack-assets/compare/v1.14.0...v1.15.0 [1.14.0]: https://github.com/Automattic/jetpack-assets/compare/v1.13.1...v1.14.0 [1.13.1]: https://github.com/Automattic/jetpack-assets/compare/v1.13.0...v1.13.1 [1.13.0]: https://github.com/Automattic/jetpack-assets/compare/v1.12.0...v1.13.0 [1.12.0]: https://github.com/Automattic/jetpack-assets/compare/v1.11.10...v1.12.0 [1.11.10]: https://github.com/Automattic/jetpack-assets/compare/v1.11.9...v1.11.10 [1.11.9]: https://github.com/Automattic/jetpack-assets/compare/v1.11.8...v1.11.9 [1.11.8]: https://github.com/Automattic/jetpack-assets/compare/v1.11.7...v1.11.8 [1.11.7]: https://github.com/Automattic/jetpack-assets/compare/v1.11.6...v1.11.7 [1.11.6]: https://github.com/Automattic/jetpack-assets/compare/v1.11.5...v1.11.6 [1.11.5]: https://github.com/Automattic/jetpack-assets/compare/v1.11.4...v1.11.5 [1.11.4]: https://github.com/Automattic/jetpack-assets/compare/v1.11.3...v1.11.4 [1.11.3]: https://github.com/Automattic/jetpack-assets/compare/v1.11.2...v1.11.3 [1.11.2]: https://github.com/Automattic/jetpack-assets/compare/v1.11.1...v1.11.2 [1.11.1]: https://github.com/Automattic/jetpack-assets/compare/v1.11.0...v1.11.1 [1.11.0]: https://github.com/Automattic/jetpack-assets/compare/v1.10.0...v1.11.0 [1.10.0]: https://github.com/Automattic/jetpack-assets/compare/v1.9.1...v1.10.0 [1.9.1]: https://github.com/Automattic/jetpack-assets/compare/v1.9.0...v1.9.1 [1.9.0]: https://github.com/Automattic/jetpack-assets/compare/v1.8.0...v1.9.0 [1.8.0]: https://github.com/Automattic/jetpack-assets/compare/v1.7.0...v1.8.0 [1.7.0]: https://github.com/Automattic/jetpack-assets/compare/v1.6.0...v1.7.0 [1.6.0]: https://github.com/Automattic/jetpack-assets/compare/v1.5.0...v1.6.0 [1.5.0]: https://github.com/Automattic/jetpack-assets/compare/v1.4.0...v1.5.0 [1.4.0]: https://github.com/Automattic/jetpack-assets/compare/v1.3.0...v1.4.0 [1.3.0]: https://github.com/Automattic/jetpack-assets/compare/v1.2.0...v1.3.0 [1.2.0]: https://github.com/Automattic/jetpack-assets/compare/v1.1.1...v1.2.0 [1.1.1]: https://github.com/Automattic/jetpack-assets/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/Automattic/jetpack-assets/compare/v1.0.3...v1.1.0 [1.0.3]: https://github.com/Automattic/jetpack-assets/compare/v1.0.1...v1.0.3 [1.0.1]: https://github.com/Automattic/jetpack-assets/compare/v1.0.0...v1.0.1