@wordpress/api-fetch 7.1.0 → 7.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 +9 -7
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 7.2.0 (2024-06-26)
6
+
5
7
  ## 7.1.0 (2024-06-15)
6
8
 
7
9
  ## 7.0.0 (2024-05-31)
@@ -122,7 +124,7 @@
122
124
 
123
125
  ## 6.0.0 (2022-01-27)
124
126
 
125
- ### Breaking changes
127
+ ### Breaking Changes
126
128
 
127
129
  `OPTIONS` requests handled by the preloading middleware are now resolved as `window.Response` objects if you explicitly set `parse: false` (for consistency with how GET requests are resolved). They used to be resolved as `Plain Old JavaScript Objects`.
128
130
 
@@ -134,7 +136,7 @@
134
136
 
135
137
  ## 5.2.0 (2021-07-21)
136
138
 
137
- ### New feature
139
+ ### New Features
138
140
 
139
141
  - `AbortError` being thrown by the default fetch handler can now be caught and handled separately in user-land. Add documentation about aborting a request ([#32530](https://github.com/WordPress/gutenberg/pull/32530)).
140
142
 
@@ -161,7 +163,7 @@
161
163
 
162
164
  ## 3.23.0 (2021-04-06)
163
165
 
164
- ### New Feature
166
+ ### New Features
165
167
 
166
168
  - Publish TypeScript definitions.
167
169
 
@@ -184,7 +186,7 @@
184
186
 
185
187
  - A created nonce middleware will no longer automatically listen for `heartbeat.tick` actions. Assign to the new `nonce` middleware property instead.
186
188
 
187
- ### New Feature
189
+ ### New Features
188
190
 
189
191
  - The function returned by `createNonceMiddleware` includes an assignable `nonce` property corresponding to the active nonce to be used.
190
192
  - Default fetch handler can be overridden with a custom fetch handler
@@ -203,18 +205,18 @@
203
205
 
204
206
  ## 2.2.0 (2018-10-29)
205
207
 
206
- ### New Feature
208
+ ### New Features
207
209
 
208
210
  - Always request data in the user's locale ([#10862](https://github.com/WordPress/gutenberg/pull/10862)).
209
211
 
210
212
  ## 2.1.0 (2018-10-22)
211
213
 
212
- ### New Feature
214
+ ### New Features
213
215
 
214
216
  - Support `per_page=-1` paginated requests.
215
217
 
216
218
  ## 2.0.0 (2018-09-05)
217
219
 
218
- ### Breaking Change
220
+ ### Breaking Changes
219
221
 
220
222
  - 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/api-fetch",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "Utility to make WordPress REST API requests.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -29,11 +29,11 @@
29
29
  "types": "build-types",
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7.16.0",
32
- "@wordpress/i18n": "^5.1.0",
33
- "@wordpress/url": "^4.1.0"
32
+ "@wordpress/i18n": "^5.2.0",
33
+ "@wordpress/url": "^4.2.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
38
+ "gitHead": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
39
39
  }