@wordpress/api-fetch 7.0.1 → 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 +11 -7
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 7.2.0 (2024-06-26)
6
+
7
+ ## 7.1.0 (2024-06-15)
8
+
5
9
  ## 7.0.0 (2024-05-31)
6
10
 
7
11
  ### Breaking Changes
@@ -120,7 +124,7 @@
120
124
 
121
125
  ## 6.0.0 (2022-01-27)
122
126
 
123
- ### Breaking changes
127
+ ### Breaking Changes
124
128
 
125
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`.
126
130
 
@@ -132,7 +136,7 @@
132
136
 
133
137
  ## 5.2.0 (2021-07-21)
134
138
 
135
- ### New feature
139
+ ### New Features
136
140
 
137
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)).
138
142
 
@@ -159,7 +163,7 @@
159
163
 
160
164
  ## 3.23.0 (2021-04-06)
161
165
 
162
- ### New Feature
166
+ ### New Features
163
167
 
164
168
  - Publish TypeScript definitions.
165
169
 
@@ -182,7 +186,7 @@
182
186
 
183
187
  - A created nonce middleware will no longer automatically listen for `heartbeat.tick` actions. Assign to the new `nonce` middleware property instead.
184
188
 
185
- ### New Feature
189
+ ### New Features
186
190
 
187
191
  - The function returned by `createNonceMiddleware` includes an assignable `nonce` property corresponding to the active nonce to be used.
188
192
  - Default fetch handler can be overridden with a custom fetch handler
@@ -201,18 +205,18 @@
201
205
 
202
206
  ## 2.2.0 (2018-10-29)
203
207
 
204
- ### New Feature
208
+ ### New Features
205
209
 
206
210
  - Always request data in the user's locale ([#10862](https://github.com/WordPress/gutenberg/pull/10862)).
207
211
 
208
212
  ## 2.1.0 (2018-10-22)
209
213
 
210
- ### New Feature
214
+ ### New Features
211
215
 
212
216
  - Support `per_page=-1` paginated requests.
213
217
 
214
218
  ## 2.0.0 (2018-09-05)
215
219
 
216
- ### Breaking Change
220
+ ### Breaking Changes
217
221
 
218
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.0.1",
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.0.1",
33
- "@wordpress/url": "^4.0.1"
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": "0e973525f7787401b5a544e0727774d52a78639f"
38
+ "gitHead": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
39
39
  }