Note for all Flow users: all projects in adeira/universe
now use implicit exact Flow types ({}
for strict objects and { ... }
for open objects, syntax {||}
is deprecated). We do not expect any issues as long as you are using exact_by_default=true
Flow option.
- Do not retry for POST requests with
FormData
body (for example GraphQL uploads).
Dependency cross-fetch
update:
- "cross-fetch": "^3.1.0"
+ "cross-fetch": "^3.1.3"
Dependency updates:
"dependencies": {
- "@adeira/js": "^1.3.0",
- "@babel/runtime": "^7.12.5",
- "cross-fetch": "^3.0.6"
+ "@adeira/js": "^2.1.0",
+ "@babel/runtime": "^7.13.10",
+ "cross-fetch": "^3.1.0"
},
Support for Node.js 12 has been removed. This package might continue working on older Node.js versions, however, it's highly recommended upgrading to Node.js version 14 or newer. For more details, see: https://nodejs.org/en/about/releases/, or discuss here: adeira/universe#1588
- internal stylistic changes, dependencies bump, documentation updates
@babel/runtime
added into dependencies
- UserAgent header on server changed to
@adeira/fetch (+https://github.com/adeira/universe; %s)
- HTTP status code 422 (Unprocessable entity) is now considered to be non-transient (no retries)
@kiwicom/fetch
now overwrites default User-Agent string with our custom value so you can easily identify it.
- HTTP status code 429 (Too Many Requests) is now considered to be non-transient (no retries)
- Cross-fetch ponyfill upgraded to the latest version (https://github.com/lquixada/cross-fetch/releases/tag/v3.0.1)
- Flow types are now strict about inputs values
- HTTP status code 400 is now considered to be non-transient (no retries)
- Upgrade dependencies, check this for breaking changes: https://github.com/github/fetch/releases/tag/v3.0.0