···11-# @urql/exchange-multipart-fetch
22-33-## 1.1.0
44-55-### Minor Changes
66-77-- Update exchanges to drop redundant `share` calls, since `@urql/core`’s `composeExchanges` utility now automatically does so for us
88- Submitted by [@kitten](https://github.com/kitten) (See [#3082](https://github.com/urql-graphql/urql/pull/3082))
99-1010-### Patch Changes
1111-1212-- Upgrade to `wonka@^6.3.0`
1313- Submitted by [@kitten](https://github.com/kitten) (See [#3104](https://github.com/urql-graphql/urql/pull/3104))
1414-- Deprecate `@urql/exchange-multipart-fetch` as behaviour has been absorbed into `@urql/core`. If you're using the `multipartFetchExchange`, you should now be able to simply remove it
1515- Submitted by [@kitten](https://github.com/kitten) (See [#3051](https://github.com/urql-graphql/urql/pull/3051))
1616-- Updated dependencies (See [#3101](https://github.com/urql-graphql/urql/pull/3101), [#3033](https://github.com/urql-graphql/urql/pull/3033), [#3054](https://github.com/urql-graphql/urql/pull/3054), [#3053](https://github.com/urql-graphql/urql/pull/3053), [#3060](https://github.com/urql-graphql/urql/pull/3060), [#3081](https://github.com/urql-graphql/urql/pull/3081), [#3039](https://github.com/urql-graphql/urql/pull/3039), [#3104](https://github.com/urql-graphql/urql/pull/3104), [#3082](https://github.com/urql-graphql/urql/pull/3082), [#3097](https://github.com/urql-graphql/urql/pull/3097), [#3061](https://github.com/urql-graphql/urql/pull/3061), [#3055](https://github.com/urql-graphql/urql/pull/3055), [#3085](https://github.com/urql-graphql/urql/pull/3085), [#3079](https://github.com/urql-graphql/urql/pull/3079), [#3087](https://github.com/urql-graphql/urql/pull/3087), [#3059](https://github.com/urql-graphql/urql/pull/3059), [#3055](https://github.com/urql-graphql/urql/pull/3055), [#3057](https://github.com/urql-graphql/urql/pull/3057), [#3050](https://github.com/urql-graphql/urql/pull/3050), [#3062](https://github.com/urql-graphql/urql/pull/3062), [#3051](https://github.com/urql-graphql/urql/pull/3051), [#3043](https://github.com/urql-graphql/urql/pull/3043), [#3063](https://github.com/urql-graphql/urql/pull/3063), [#3054](https://github.com/urql-graphql/urql/pull/3054), [#3102](https://github.com/urql-graphql/urql/pull/3102), [#3097](https://github.com/urql-graphql/urql/pull/3097), [#3106](https://github.com/urql-graphql/urql/pull/3106), [#3058](https://github.com/urql-graphql/urql/pull/3058), and [#3062](https://github.com/urql-graphql/urql/pull/3062))
1717- - @urql/core@4.0.0
1818-1919-## 1.0.1
2020-2121-### Patch Changes
2222-2323-- ⚠️ Fix issue where we construct the fetchOptions before constructing the url resulting in our overflow fix not working, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#2653](https://github.com/FormidableLabs/urql/pull/2653))
2424-2525-## 1.0.0
2626-2727-### Major Changes
2828-2929-- **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, by [@kitten](https://github.com/kitten) (See [#2504](https://github.com/FormidableLabs/urql/pull/2504))
3030-- 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.
3131- The library has fully been migrated to TypeScript which will hopefully help with making contributions easier!, by [@kitten](https://github.com/kitten) (See [#2504](https://github.com/FormidableLabs/urql/pull/2504))
3232-3333-### Patch Changes
3434-3535-- Updated dependencies (See [#2551](https://github.com/FormidableLabs/urql/pull/2551), [#2504](https://github.com/FormidableLabs/urql/pull/2504), [#2619](https://github.com/FormidableLabs/urql/pull/2619), [#2607](https://github.com/FormidableLabs/urql/pull/2607), and [#2504](https://github.com/FormidableLabs/urql/pull/2504))
3636- - @urql/core@3.0.0
3737-3838-## 0.1.14
3939-4040-### Patch Changes
4141-4242-- Extend peer dependency range of `graphql` to include `^16.0.0`.
4343- As always when upgrading across many packages of `urql`, especially including `@urql/core` we recommend you to deduplicate dependencies after upgrading, using `npm dedupe` or `npx yarn-deduplicate`, by [@kitten](https://github.com/kitten) (See [#2133](https://github.com/FormidableLabs/urql/pull/2133))
4444-- Updated dependencies (See [#2133](https://github.com/FormidableLabs/urql/pull/2133))
4545- - @urql/core@2.3.6
4646-4747-## 0.1.13
4848-4949-### Patch Changes
5050-5151-- Bump extract-files package to 11.0.0, by [@haswalt](https://github.com/haswalt) (See [#1795](https://github.com/FormidableLabs/urql/pull/1795))
5252-5353-## 0.1.12
5454-5555-### Patch Changes
5656-5757-- Remove closure-compiler from the build step (See [#1570](https://github.com/FormidableLabs/urql/pull/1570))
5858-- Updated dependencies (See [#1570](https://github.com/FormidableLabs/urql/pull/1570), [#1509](https://github.com/FormidableLabs/urql/pull/1509), [#1600](https://github.com/FormidableLabs/urql/pull/1600), and [#1515](https://github.com/FormidableLabs/urql/pull/1515))
5959- - @urql/core@2.1.0
6060-6161-## 0.1.11
6262-6363-### Patch Changes
6464-6565-- ⚠️ Fix the production build overwriting the development build. Specifically in the previous release we mistakenly replaced all development bundles with production bundles. This doesn't have any direct influence on how these packages work, but prevented development warnings from being logged or full errors from being thrown, by [@kitten](https://github.com/kitten) (See [#1097](https://github.com/FormidableLabs/urql/pull/1097))
6666-- Updated dependencies (See [#1097](https://github.com/FormidableLabs/urql/pull/1097))
6767- - @urql/core@1.14.1
6868-6969-## 0.1.10
7070-7171-### Patch Changes
7272-7373-- Deprecate the `Operation.operationName` property in favor of `Operation.kind`. This name was
7474- previously confusing as `operationName` was effectively referring to two different things. You can
7575- safely upgrade to this new version, however to mute all deprecation warnings you will have to
7676- **upgrade** all `urql` packages you use. If you have custom exchanges that spread operations, please
7777- use [the new `makeOperation` helper
7878- function](https://formidable.com/open-source/urql/docs/api/core/#makeoperation) instead, by [@bkonkle](https://github.com/bkonkle) (See [#1045](https://github.com/FormidableLabs/urql/pull/1045))
7979-- Updated dependencies (See [#1094](https://github.com/FormidableLabs/urql/pull/1094) and [#1045](https://github.com/FormidableLabs/urql/pull/1045))
8080- - @urql/core@1.14.0
8181-8282-## 0.1.9
8383-8484-### Patch Changes
8585-8686-- Omit the `Content-Type: application/json` HTTP header when using GET in the `fetchExchange`, `persistedFetchExchange`, or `multipartFetchExchange`, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#957](https://github.com/FormidableLabs/urql/pull/957))
8787-- Updated dependencies (See [#947](https://github.com/FormidableLabs/urql/pull/947), [#962](https://github.com/FormidableLabs/urql/pull/962), and [#957](https://github.com/FormidableLabs/urql/pull/957))
8888- - @urql/core@1.13.0
8989-9090-## 0.1.8
9191-9292-### Patch Changes
9393-9494-- Upgrade to a minimum version of wonka@^4.0.14 to work around issues with React Native's minification builds, which use uglify-es and could lead to broken bundles, by [@kitten](https://github.com/kitten) (See [#842](https://github.com/FormidableLabs/urql/pull/842))
9595-- Updated dependencies (See [#838](https://github.com/FormidableLabs/urql/pull/838) and [#842](https://github.com/FormidableLabs/urql/pull/842))
9696- - @urql/core@1.12.0
9797-9898-## 0.1.7
9999-100100-### Patch Changes
101101-102102-- Add `source` debug name to all `dispatchDebug` calls during build time to identify events by which exchange dispatched them, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#780](https://github.com/FormidableLabs/urql/pull/780))
103103-- Updated dependencies (See [#780](https://github.com/FormidableLabs/urql/pull/780))
104104- - @urql/core@1.11.7
105105-106106-## 0.1.6
107107-108108-### Patch Changes
109109-110110-- Add a `"./package.json"` entry to the `package.json`'s `"exports"` field for Node 14. This seems to be required by packages like `rollup-plugin-svelte` to function properly, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#771](https://github.com/FormidableLabs/urql/pull/771))
111111-- Updated dependencies (See [#771](https://github.com/FormidableLabs/urql/pull/771))
112112- - @urql/core@1.11.6
113113-114114-## 0.1.5
115115-116116-### Patch Changes
117117-118118-- Add debugging events to exchanges that add more detailed information on what is happening
119119- internally, which will be displayed by devtools like the urql [Chrome / Firefox extension](https://github.com/FormidableLabs/urql-devtools), by [@andyrichardson](https://github.com/andyrichardson) (See [#608](https://github.com/FormidableLabs/urql/pull/608))
120120-- Add @urql/core/internal entrypoint for internally shared utilities and start sharing fetchExchange-related code, by [@kitten](https://github.com/kitten) (See [#722](https://github.com/FormidableLabs/urql/pull/722))
121121-- Updated dependencies (See [#608](https://github.com/FormidableLabs/urql/pull/608), [#718](https://github.com/FormidableLabs/urql/pull/718), and [#722](https://github.com/FormidableLabs/urql/pull/722))
122122- - @urql/core@1.11.0
123123-124124-## 0.1.4
125125-126126-### Patch Changes
127127-128128-- Add graphql@^15.0.0 to peer dependency range, by [@kitten](https://github.com/kitten) (See [#688](https://github.com/FormidableLabs/urql/pull/688))
129129-- Bump extract-files to ^8.1.0, by [@kitten](https://github.com/kitten) (See [#688](https://github.com/FormidableLabs/urql/pull/688))
130130-- ⚠️ Fix non-2xx results never being parsed as GraphQL results. This can result in valid GraphQLErrors being hidden, which should take precedence over generic HTTP NetworkErrors, by [@kitten](https://github.com/kitten) (See [#678](https://github.com/FormidableLabs/urql/pull/678))
131131-- Updated dependencies (See [#688](https://github.com/FormidableLabs/urql/pull/688) and [#678](https://github.com/FormidableLabs/urql/pull/678))
132132- - @urql/core@1.10.8
133133-134134-## 0.1.3
135135-136136-### Patch Changes
137137-138138-- ⚠️ Fix node resolution when using Webpack, which experiences a bug where it only resolves
139139- `package.json:main` instead of `module` when an `.mjs` file imports a package, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#642](https://github.com/FormidableLabs/urql/pull/642))
140140-- Updated dependencies (See [#642](https://github.com/FormidableLabs/urql/pull/642))
141141- - @urql/core@1.10.4
142142-143143-## 0.1.2
144144-145145-### Patch Changes
146146-147147-- ⚠️ Fix multipart conversion, in the `extract-files` dependency (used by multipart-fetch) there is an explicit check for the constructor property of an object. This made the files unretrievable, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#639](https://github.com/FormidableLabs/urql/pull/639))
148148-- ⚠️ Fix Node.js Module support for v13 (experimental-modules) and v14. If your bundler doesn't support
149149- `.mjs` files and fails to resolve the new version, please double check your configuration for
150150- Webpack, or similar tools, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#637](https://github.com/FormidableLabs/urql/pull/637))
151151-- Updated dependencies (See [#637](https://github.com/FormidableLabs/urql/pull/637))
152152- - @urql/core@1.10.3
153153-154154-## 0.1.1
155155-156156-### Patch Changes
157157-158158-- ⚠️ Fix Rollup bundle output being written to .es.js instead of .esm.js, by [@kitten](https://github.com/kitten) (See [#609](https://github.com/FormidableLabs/urql/pull/609))
159159-- Updated dependencies (See [#609](https://github.com/FormidableLabs/urql/pull/609))
160160- - @urql/core@1.10.1
161161-162162-## 0.1.0
163163-164164-### Initial release
165165-166166-- Release the `multipartFetchExchange`
-34
exchanges/multipart-fetch/README.md
···11-# @urql/exchange-multipart-fetch
22-33-> **DEPRECATION NOTICE**: The `multipartFetchExchange` has been deprecated, and
44-> `@urql/core` now supports GraphQL Multipart Requests natively. This won't
55-> break the behaviour of your existing apps, however, it's recommended to remove
66-> the `multipartFetchExchange` from your apps.
77-88-The `multipartFetchExchange` is an exchange that builds on the regular `fetchExchange`
99-but adds the multipart file upload capability.
1010-1111-## Quick Start Guide
1212-1313-First install `@urql/exchange-multipart-fetch` alongside `urql`:
1414-1515-```sh
1616-yarn add @urql/exchange-multipart-fetch
1717-# or
1818-npm install --save @urql/exchange-multipart-fetch
1919-```
2020-2121-You'll then need to add the `multipartFetchExchange` method, that this package exposes,
2222-to your `exchanges`.
2323-2424-```js
2525-import { createClient, dedupExchange, cacheExchange } from 'urql';
2626-import { multipartFetchExchange } from '@urql/exchange-multipart-fetch';
2727-2828-const client = createClient({
2929- url: 'http://localhost:1234/graphql',
3030- exchanges: [dedupExchange, cacheExchange, multipartFetchExchange],
3131-});
3232-```
3333-3434-Now we can start uploading files to our server!