-
-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Remove IE11 transpilation and target ES2015-ish What we'll be targeting from now on is approximately: ``` last 3 ios_saf versions last 3 and_chr major versions last 3 samsung major versions last 3 opera versions last 3 safari versions last 10 chrome major versions last 8 firefox major versions last 3 edge versions not ie not op_mini not and_uc ``` * Remove transform-function-expressions babel transform * Update Rollup config * Update eslint config to allow ES6 static methods and functions * Remove IE11 support from @urql/exchange-persisted-fetch * Add changeset * Deduplicate dependencies * Fix cjs-check-plugin * Upgrade @babel/core and terser * Permit for-of * Simplif core code where for-of is needed * Replace dictionaries with Set where for-of may be used * Replace several dictionaries with maps * Prevent empty object allocation if possible * Simplify ast helpers in graphcache * Tweak ownership and gc timings * Switch schema checks to Map rather than dictionary * Upgrade to wonka@^6.0.0 * Remove invalid import from retryExchange * Upgrade Rollup/Babel and disable Buble's for-of transform * Rewrite makeFetchURL with URL/URLSearchParams As these are built-ins in Node 10+ and in all evergreen browsers we support, we can just use `new URL` * Remove Buble entirely * Fix faulty type in retryExchange * Update new tests for updated data structures
- Loading branch information
Showing
42 changed files
with
567 additions
and
725 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
'@urql/exchange-graphcache': major | ||
'@urql/exchange-persisted-fetch': major | ||
'next-urql': major | ||
'@urql/preact': major | ||
'urql': major | ||
'@urql/storybook-addon': major | ||
'@urql/svelte': major | ||
'@urql/vue': major | ||
'@urql/exchange-auth': major | ||
'@urql/exchange-execute': major | ||
'@urql/exchange-multipart-fetch': major | ||
'@urql/exchange-populate': major | ||
'@urql/exchange-refocus': major | ||
'@urql/exchange-request-policy': major | ||
'@urql/exchange-retry': major | ||
'@urql/core': major | ||
'@urql/introspection': major | ||
'urql-docs': major | ||
'@urql/storage-rn': major | ||
--- | ||
|
||
**Goodbye IE11!** 👋 This major release removes support for IE11. All code that is shipped will be transpiled much less and will _not_ be ES5-compatible anymore. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
'@urql/exchange-auth': major | ||
'@urql/exchange-execute': major | ||
'@urql/exchange-graphcache': major | ||
'@urql/exchange-multipart-fetch': major | ||
'@urql/exchange-persisted-fetch': major | ||
'@urql/exchange-populate': major | ||
'@urql/exchange-refocus': major | ||
'@urql/exchange-request-policy': major | ||
'@urql/exchange-retry': major | ||
'@urql/core': major | ||
'@urql/preact': major | ||
'urql': major | ||
'@urql/storybook-addon': major | ||
'@urql/svelte': major | ||
'@urql/vue': major | ||
--- | ||
|
||
Upgrade to [Wonka v6](https://github.com/0no-co/wonka) (`wonka@^6.0.0`), which has no breaking changes but is built to target ES2015 and comes with other minor improvements. | ||
The library has fully been migrated to TypeScript which will hopefully help with making contributions easier! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.