···176176| context | `OperationContext` | Additional metadata passed to exchange. |
177177178178> **Note:** In `urql` the `operationName` on the `Operation` isn't the actual name of an operation
179179-> and dervied from the GraphQL `DocumentNode`, but instead a type of operation, like `'query'` or
179179+> and derived from the GraphQL `DocumentNode`, but instead a type of operation, like `'query'` or
180180> `'teardown'`
181181182182### RequestPolicy
+2-2
docs/api/graphcache.md
···153153| ------------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
154154| writeData | `(delta: SerializedEntries) => Promise<void>` | This provided method must be able to accept an object of key-value entries that will be persisted to the storage. This method is called as a batch of updated entries becomes ready. |
155155| readData | `() => Promise<SerializedEntries>` | This provided method must be able to return a single combined object of previous key-value entries that have been previously preserved using `writeData`. It's only called on startup. |
156156-| writeMetadata | `(json: SerializedRequest[]) => void` | This provided method must be able to persist metdata for the cache. For backwards compatibility it should be able to accept any JSON data. |
157157-| readMetadata | `() => Promise<null | SerializedRequest[]>` | This provided method must be able to read the persisted metdata that has previously been written using `writeMetadata`. It's only called on startup. |
156156+| writeMetadata | `(json: SerializedRequest[]) => void` | This provided method must be able to persist metadata for the cache. For backwards compatibility it should be able to accept any JSON data. |
157157+| readMetadata | `() => Promise<null | SerializedRequest[]>` | This provided method must be able to read the persisted metadata that has previously been written using `writeMetadata`. It's only called on startup. |
158158| onOnline | `(cb: () => void) => void` | This method must be able to accept a callback that is called when the user's device comes back online. |
159159160160These options are split into three parts:
+1-1
docs/concepts/README.md
···88In this chapter we'll learn about the motivation behind `urql`, the architecture that drives it, the
99inner workings of the `Client`, and how to write extensions and addons, also known as _Exchanges_.
10101111-Each page goes a little further in explaning a core concept of `urql`.
1111+Each page goes a little further in explaining a core concept of `urql`.
12121313- [**Philosophy**](./philosophy.md) gives a quick overview of the different aspects of GraphQL clients and `urql` in
1414 particular, which shines a light on why you may want to use `urql`.
+1-1
docs/concepts/core-package.md
···89899090Since the streams in `urql` operate synchronously, internally this method subscribes to
9191`client.executeQuery` and unsubscribes immediately. If a result is available in the cache it will be
9292-resolved synchronosuly prior to the unsubscribe. If not, the query is cancelled and no request will be sent to the GraphQL API.
9292+resolved synchronously prior to the unsubscribe. If not, the query is cancelled and no request will be sent to the GraphQL API.
93939494## Common Utilities in Core
9595
+1-1
docs/concepts/stream-patterns.md
···4040asynchronously.
41414242Also most Observable libraries come with a toolkit of helper functions that are similar to the
4343-methods on arrays, so you're likely to see `map` and `filter` — amongst other utlities — in those
4343+methods on arrays, so you're likely to see `map` and `filter` — amongst other utilities — in those
4444libraries.
45454646Read [this Gist](https://gist.github.com/staltz/868e7e9bc2a7b8c1f754) for a more in-depth
+1-1
docs/graphcache/README.md
···66666767The package exports the `cacheExchange` which replaces the default `cacheExchange` in `@urql/core`.
6868This new `cacheExchange` must be instantiated using some options, which are used to customise
6969-_Graphcache_ as introduced in the ["Features" section above.](#features) Howver, you can get started
6969+_Graphcache_ as introduced in the ["Features" section above.](#features) However, you can get started
7070without passing any options.
71717272```js
+3-3
docs/graphcache/computed-queries.md
···8383];
8484```
85858686-Let's get the `author` for a todo.
8686+Lets get the `author` for a todo.
87878888```js
8989const parent = {
···160160> [graphql-tag](https://github.com/apollographql/graphql-tag) because `writeFragment` only accepts
161161> GraphQL `DocumentNode`s as inputs, and not strings.
162162163163-This way we'll get the Todo with id 1 and the relevant data we are askng for in the
163163+This way we'll get the Todo with id 1 and the relevant data we are asking for in the
164164fragment.
165165166166## Pagination
···197197Given you have a [relay-compatible schema](https://facebook.github.io/relay/graphql/connections.htm)
198198on your backend we offer the possibility of endless data resolving.
199199This means that when you fetch the next page in your data
200200-received in `useQuery` you'll see the previous pages as well. This is usefull for
200200+received in `useQuery` you'll see the previous pages as well. This is useful for
201201endless scrolling.
202202203203You can achieve this by importing `relayPagination` from `@urql/exchange-graphcache/extras`.
+3-3
exchanges/graphcache/CHANGELOG.md
···2323### Major Changes
24242525- Remove the deprecated `populateExchange` export from `@urql/exchange-graphcache`.
2626- If you're using the `populateExchange`, please install the seprate `@urql/exchange-populate` package and import it from there, by [@kitten](https://github.com/kitten) (See [#840](https://github.com/FormidableLabs/urql/pull/840))
2626+ If you're using the `populateExchange`, please install the separate `@urql/exchange-populate` package and import it from there, by [@kitten](https://github.com/kitten) (See [#840](https://github.com/FormidableLabs/urql/pull/840))
2727- The deprecated `cache.invalidateQuery()` method has been removed. Please migrate over to `cache.invalidate()` instead, which operates on individual fields instead of queries, by [@kitten](https://github.com/kitten) (See [#840](https://github.com/FormidableLabs/urql/pull/840))
28282929### Minor Changes
···295295then you now need to use `inspectFields` and `resolveFieldByKey` instead. You may also now make
296296use of `cache.keyOfField`. (More info on [#128](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/128))
297297298298-- ✨ Implement `populateExchange` (eee [#120](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/120))
298298+- ✨ Implement `populateExchange` (see [#120](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/120))
299299- Improve type safety of `invariant` and `warning` (see [#121](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/121))
300300- Reduce size of `populateExchange` (see [#122](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/122))
301301- Move more code to KVMap (see [#125](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/125))
···352352353353- Trims down the size by 100 bytes (see [#96](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/96))
354354- Include the `/extras` build in the published version (see [#97](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/97))
355355-- Invariant and warnings will now have an error code associated with a more elabore explanation (see [#99](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/99))
355355+- Invariant and warnings will now have an error code associated with a more elaborate explanation (see [#99](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/99))
356356- Invariant errors will now be included in your production bundle (see [#100](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/100))
357357- Fixes the relayPagination helper to correctly return partial results (see [#101](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/101))
358358- Add special case to relayPagination for first and last during inwards merge (see [#102](https://github.com/FormidableLabs/urql-exchange-graphcache/pull/102))
+1-1
exchanges/suspense/README.md
···116116### Usage with `ssrExchange`
117117118118If you're also using the `ssrExchange` for server-side rendered data, you will have to use
119119-an additonal flag to indicate to it when it's running on the server-side and when it's running
119119+an additional flag to indicate to it when it's running on the server-side and when it's running
120120on the client-side.
121121122122By default, the `ssrExchange` will look at `client.suspense`. If the `urql` Client is in suspense
+2-2
packages/next-urql/CHANGELOG.md
···40404141The second argument may now be used to pass `{ ssr: true }` explicitly, when you are
4242wrapping a page without another `getInitialProps` method. This gives you better support
4343-when you're implement custom methods like `getStaticProps`.
4343+when you implement custom methods like `getStaticProps`.
44444545### Major Changes
4646···197197198198## 0.2.1
199199200200-This release fixes a regression introduced in 0.2.0 involving circular structures created bt `withUrqlClient`'s `getInitialProps` method.
200200+This release fixes a regression introduced in 0.2.0 involving circular structures created by `withUrqlClient`'s `getInitialProps` method.
201201202202### Fixed
203203
+1-1
packages/react-urql/CHANGELOG.md
···281281282282## 1.1.1
283283284284-This release comes with two small patches. One being a crticial fix,
284284+This release comes with two small patches. One being a critical fix,
285285where cancelled requests would be erroneously deduped, which meant
286286a previously cancelled query would never be fetched.
287287