authExchange() will now block and pass on errors if the initialization function passed to it fails, and will retry indefinitely. It’ll also output a warning for these cases, as the initialization function (i.e. authExchange(async (utils) => { /*...*/ })) is not expected to reject/throw
Submitted by @kitten (See #3343)
⚠️ Fix operations created by utilities.mutate() erroneously being retried and sent again like a regular operation
Submitted by @JoviDeCroock (See #3164)
Update exchanges to drop redundant share calls, since @urql/core’s composeExchanges utility now automatically does so for us
Submitted by @kitten (See #3082)
Patch Changes
⚠️ Fix source maps included with recently published packages, which lost their sourcesContent, including additional source files, and had incorrect paths in some of them
Submitted by @kitten (See #3053)
Upgrade to wonka@^6.3.0
Submitted by @kitten (See #3104)
Avoid infinite loop when didAuthError keeps returning true
Submitted by @JoviDeCroock (See #3112)
authExchange() will now block and pass on errors if the initialization function passed to it fails, and will retry indefinitely. It’ll also output a warning for these cases, as the initialization function (i.e. authExchange(async (utils) => { /*...*/ })) is not expected to reject/throw
Submitted by @kitten (See #3343)
2.1.5
Patch Changes
Handle refreshAuth rejections and pass the resulting error on to OperationResults on the authentication queue
Submitted by @kitten (See #3307)
2.1.4
Patch Changes
⚠️ Fix regression that caused teardowns to be ignored by an authExchange’s retry queue
Submitted by @kitten (See #3235)
2.1.3
Patch Changes
Update build process to generate correct source maps
Submitted by @kitten (See #3201)
2.1.2
Patch Changes
Publish with npm provenance
Submitted by @kitten (See #3180)
2.1.1
Patch Changes
⚠️ Fix operations created by utilities.mutate() erroneously being retried and sent again like a regular operation
Submitted by @JoviDeCroock (See #3164)
2.1.0
Minor Changes
Update exchanges to drop redundant share calls, since @urql/core’s composeExchanges utility now automatically does so for us
Submitted by @kitten (See #3082)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps @urql/exchange-auth from 1.0.0 to 2.1.6.
Release notes
Sourced from
@urql/exchange-auth
's releases.... (truncated)
Changelog
Sourced from
@urql/exchange-auth
's changelog.... (truncated)
Commits
15f12ae
Version Packages (#3344)51f67ad
fix(auth): Catch unexpected errors during initialization (#3343)e5fa521
Version Packages (#3318)76ad619
Version Packages (#3294)657bd0c
feat(auth): Handle refreshAuth rejections gracefully (#3307)32e3e53
chore(workspace): Update changesets (#3293)236f018
Version Packages (#3237)9bf5583
fix(auth): Fix authExchange’s retry queue ignoring teardowns (#3235)c356285
Version Packages (#3198)1470a9c
fix(types): movetypes
condition to the front (#3204)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show