Skip to content

Commit

Permalink
Assets: Changelog for package version 1.12.0 (#21744)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdixon194 authored Nov 15, 2021
1 parent e6f3e50 commit 42084c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 5 additions & 0 deletions projects/packages/assets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ 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).

## [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.
Expand Down Expand Up @@ -127,6 +131,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Statically access asset tools

[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
Expand Down

This file was deleted.

6 changes: 3 additions & 3 deletions projects/packages/assets/src/class-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static function staticize_subdomain( $url ) {
/**
* Resolve '.' and '..' components in a path or URL.
*
* @since $$next-version$$
* @since 1.12.0
* @param string $path Path or URL.
* @return string Normalized path or URL.
*/
Expand Down Expand Up @@ -281,7 +281,7 @@ public static function normalize_path( $path ) {
*
* This wrapper handles all of that.
*
* @since $$next-version$$
* @since 1.12.0
* @param string $handle Name of the script. Should be unique across both scripts and styles.
* @param string $path Minimized script path.
* @param string $relative_to File that `$path` is relative to. Pass `__FILE__`.
Expand Down Expand Up @@ -380,7 +380,7 @@ function ( $d ) {
/**
* Enqueue a script registered with `Assets::register_script`.
*
* @since $$next-version$$
* @since 1.12.0
* @param string $handle Name of the script. Should be unique across both scripts and styles.
*/
public static function enqueue_script( $handle ) {
Expand Down

0 comments on commit 42084c8

Please sign in to comment.