Prepare next release - #55
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
4 times, most recently
from
July 29, 2026 08:48
651bfc0 to
030e09e
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 29, 2026 16:54
030e09e to
d2e57b2
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@germ-network/oauth4swift@0.6.0
Minor Changes
#48
4458abeThanks @ThisIsMissEm! - AddClientAuth.MethodandClientAuth.SecretMethodprotocols; conformNone,SecretBasic, andSecretPost#48
fc3addbThanks @ThisIsMissEm! - AddrevocationRequesttoClientAuth.Authenticable; addRevocableTokenenum withtoken_type_hintsupport (RFC 7009)#48
98faa4cThanks @ThisIsMissEm! - Require GermConvenience 0.3.0, and adopt its response helpersThe dependency floor moves to 0.3.0, which makes
BundledHTTPRequest.requestprivate(set)andbodylet. The three sites that assigned header fields inplace now use
settingHeader(_:for:). Anything depending on oauth4swift resolves0.3.0 too.
Drops the local
HTTPDataResponse.successOrThrowcopy in favour of the versionlifted into GermConvenience as
expectSuccess(orError:), and collapses thehand-rolled
.result/.errorswitches in the PAR and token-endpoint paths ontoget(mapError:).0.3.0 also fixes
HTTPDataResponse.success, which both of those paths use: a 2xxwhose body fails to decode now reports the real
DecodingErrorrather than beingretried as an error body — previously a malformed token response surfaced as
Errors.invalidRequest. A non-2xx whose body is not an OAuth error response (aproxy's HTML, an empty body) now throws
HTTPResponseError.unsuccessfulwith thestatus and bytes intact rather than a bare
DecodingError.Patch Changes
#48
4f12212Thanks @ThisIsMissEm! - Make all AuthServerMetadata properties public#53
c0deef1Thanks @nnabeyang! - Preserve refresh tokens when token refresh fails with transient OAuth server errors.#56
fc515f0Thanks @germ-mark! - fix the client_secret_basic Authorization header: add the "Basic " scheme prefix and form-url-encode the client id and secret#52
0f47abcThanks @ThisIsMissEm! - Skip refresh token requests when the server does not advertiserefresh_tokeningrant_types_supported#48
b165de4Thanks @ThisIsMissEm! - Fix missing client_id when not using PAR for authorization#57
c0c2c42Thanks @germ-mark! - Preserve the session on any refresh failure other than a 400invalid_grant, including error bodies that aren't structured OAuth errors. ATokenRefreshOptions.validatethat throws now propagates rather than terminating the session, per its documented contract that throwing means validity couldn't be resolved; a throwntokenInvalidstill terminates, since validators shared with the authorize flow signal invalidity that way.#58
8b826f4Thanks @germ-mark! - AddOAuth.Errors.refreshNotSupportedThrown by the refresh gate when the server's
grant_types_supportedexcludesrefresh_token, so the session is preserved (skip) rather than terminated, andcallers can distinguish "this server can never refresh - plan around
access-token expiry" from a transient failure. Note: adding a case to a public
enum breaks exhaustive switches over
OAuth.Errors; no known consumer has one.#48
1da4bb8Thanks @ThisIsMissEm! - Add resolveMaybe to AuthServerMetadata to fetch optional URLs in AS metadata#48
88c1a79Thanks @ThisIsMissEm! - Add notSupported error to OAuth.Errors