@wordpress/hooks 4.1.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -10
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.2.0 (2024-06-26)
6
+
5
7
  ## 4.1.0 (2024-06-15)
6
8
 
7
9
  ## 4.0.0 (2024-05-31)
@@ -135,29 +137,29 @@
135
137
 
136
138
  ## 2.12.0 (2021-03-17)
137
139
 
138
- ### New Feature
140
+ ### New Features
139
141
 
140
142
  - Export the default `createHooks` singleton instance as `defaultHooks`, in addition to exporting the individual methods.
141
143
 
142
144
  ## 2.11.0 (2020-12-17)
143
145
 
144
- ### New Feature
146
+ ### New Features
145
147
 
146
148
  - Include TypeScript type declarations ([#26430](https://github.com/WordPress/gutenberg/pull/26430))
147
149
 
148
- ### Bug Fix
150
+ ### Bug Fixes
149
151
 
150
152
  - Fix: Use own instance's `doAction` method for built-in `hookAdded` and `hookRemoved` hooks ([#26498](https://github.com/WordPress/gutenberg/pull/26498))
151
153
 
152
154
  ## 2.6.0 (2019-08-29)
153
155
 
154
- ### New Feature
156
+ ### New Features
155
157
 
156
158
  - Enable an optional namespace parameter for `hasAction` & `hasFilter`. When checking if an action or filter exists, `hasAction` and `hasFilter` now accept an optional paramter to limit matches by namespace.
157
159
 
158
160
  ## 2.4.0 (2019-06-12)
159
161
 
160
- ### New Feature
162
+ ### New Features
161
163
 
162
164
  - Enable support for the 'all' hook in non production environments.
163
165
 
@@ -165,28 +167,28 @@
165
167
 
166
168
  ## 2.0.0 (2018-09-05)
167
169
 
168
- ### Breaking Change
170
+ ### Breaking Changes
169
171
 
170
172
  - Change how required built-ins are polyfilled with Babel 7 ([#9171](https://github.com/WordPress/gutenberg/pull/9171)). If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using [core-js](https://github.com/zloirock/core-js) or [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill) will add support for these methods.
171
173
 
172
174
  ## 1.2.0 (2018-07-12)
173
175
 
174
- ### New Feature
176
+ ### New Features
175
177
 
176
178
  - Updated build to work with Babel 7 ([#7832](https://github.com/WordPress/gutenberg/pull/7832))
177
179
 
178
- ### Polish
180
+ ### Internal
179
181
 
180
182
  - Moved `@WordPress/packages` repository to `@WordPress/gutenberg` ([#7805](https://github.com/WordPress/gutenberg/pull/7805))
181
183
 
182
184
  ## 1.1.8 (2018-05-08)
183
185
 
184
- ### Polish
186
+ ### Internal
185
187
 
186
188
  - Documentation: Improve usage examples ([#121](https://github.com/WordPress/packages/pull/121))
187
189
 
188
190
  ## 1.1.6 (2018-03-21)
189
191
 
190
- ### Bug Fix
192
+ ### Bug Fixes
191
193
 
192
194
  - Fix: Resolves issue where action argument would be undefined on all but the first action callback.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/hooks",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "WordPress hooks library.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
35
+ "gitHead": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
36
36
  }