@wordpress/hooks 4.0.1 → 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.
- package/CHANGELOG.md +14 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 4.2.0 (2024-06-26)
|
|
6
|
+
|
|
7
|
+
## 4.1.0 (2024-06-15)
|
|
8
|
+
|
|
5
9
|
## 4.0.0 (2024-05-31)
|
|
6
10
|
|
|
7
11
|
### Breaking Changes
|
|
@@ -133,29 +137,29 @@
|
|
|
133
137
|
|
|
134
138
|
## 2.12.0 (2021-03-17)
|
|
135
139
|
|
|
136
|
-
### New
|
|
140
|
+
### New Features
|
|
137
141
|
|
|
138
142
|
- Export the default `createHooks` singleton instance as `defaultHooks`, in addition to exporting the individual methods.
|
|
139
143
|
|
|
140
144
|
## 2.11.0 (2020-12-17)
|
|
141
145
|
|
|
142
|
-
### New
|
|
146
|
+
### New Features
|
|
143
147
|
|
|
144
148
|
- Include TypeScript type declarations ([#26430](https://github.com/WordPress/gutenberg/pull/26430))
|
|
145
149
|
|
|
146
|
-
### Bug
|
|
150
|
+
### Bug Fixes
|
|
147
151
|
|
|
148
152
|
- Fix: Use own instance's `doAction` method for built-in `hookAdded` and `hookRemoved` hooks ([#26498](https://github.com/WordPress/gutenberg/pull/26498))
|
|
149
153
|
|
|
150
154
|
## 2.6.0 (2019-08-29)
|
|
151
155
|
|
|
152
|
-
### New
|
|
156
|
+
### New Features
|
|
153
157
|
|
|
154
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.
|
|
155
159
|
|
|
156
160
|
## 2.4.0 (2019-06-12)
|
|
157
161
|
|
|
158
|
-
### New
|
|
162
|
+
### New Features
|
|
159
163
|
|
|
160
164
|
- Enable support for the 'all' hook in non production environments.
|
|
161
165
|
|
|
@@ -163,28 +167,28 @@
|
|
|
163
167
|
|
|
164
168
|
## 2.0.0 (2018-09-05)
|
|
165
169
|
|
|
166
|
-
### Breaking
|
|
170
|
+
### Breaking Changes
|
|
167
171
|
|
|
168
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.
|
|
169
173
|
|
|
170
174
|
## 1.2.0 (2018-07-12)
|
|
171
175
|
|
|
172
|
-
### New
|
|
176
|
+
### New Features
|
|
173
177
|
|
|
174
178
|
- Updated build to work with Babel 7 ([#7832](https://github.com/WordPress/gutenberg/pull/7832))
|
|
175
179
|
|
|
176
|
-
###
|
|
180
|
+
### Internal
|
|
177
181
|
|
|
178
182
|
- Moved `@WordPress/packages` repository to `@WordPress/gutenberg` ([#7805](https://github.com/WordPress/gutenberg/pull/7805))
|
|
179
183
|
|
|
180
184
|
## 1.1.8 (2018-05-08)
|
|
181
185
|
|
|
182
|
-
###
|
|
186
|
+
### Internal
|
|
183
187
|
|
|
184
188
|
- Documentation: Improve usage examples ([#121](https://github.com/WordPress/packages/pull/121))
|
|
185
189
|
|
|
186
190
|
## 1.1.6 (2018-03-21)
|
|
187
191
|
|
|
188
|
-
### Bug
|
|
192
|
+
### Bug Fixes
|
|
189
193
|
|
|
190
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.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": "
|
|
35
|
+
"gitHead": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
|
|
36
36
|
}
|