github.com/vapor/jwt breaking changes
github.com/vapor/jwt 2.0.0-beta.1 is its newest release with breaking changes, 2 of them. The first: Removes the different JWT encoding options in github.com/vapor/jwt 2.0.0-beta.1. Every breaking API change we have recorded in github.com/vapor/jwt on Swift Package Index: 14 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.2.0, released October 28, 2026. Source repository
- From 1.0.0 to 2.0.0-beta.1: 2 breaking changes in 1 version.
- From 0.3.0 to 2.0.0-beta.1: 13 breaking changes in 6 versions.
github.com/vapor/jwt 2.0.0-beta.1 breaking changes
- Removed
The release removed the choice of encoding options. Code that selects one of them must be updated to the remaining behavior. github.com - Behavior changed
The release changed the JWT to use bytes. Code that reads or builds JWT values may need to handle the new byte-based format. github.com
github.com/vapor/jwt 1.0.0 breaking changes
- Default changed
Default settings now use Base64url encoding as defined by RFC 7519. Check any code or external systems that depend on the previous default encoding. github.com
github.com/vapor/jwt 0.9.0 breaking changes
- Behavior changed
ExpirationTimeClaim
ExpirationTimeClaim now determines the evaluation time when verification runs rather than using a fixed time. Code that relied on the earlier evaluation time may see different results. github.com - Behavior changed
NotBeforeClaim
NotBeforeClaim now determines the evaluation time when verification runs rather than using a fixed time. Code that relied on the earlier evaluation time may see different results. github.com - Configuration changed
The package now depends on Vapor 2 Alpha. Users who stay on Vapor 1.0 must keep using tag 0.8. github.com - Signature changed
Claim verification no longer returns a boolean and now throws an error when verification fails. Code that checks the return value must catch the error instead. github.com
github.com/vapor/jwt 0.7.0 breaking changes
- Renamed
The package is now named JWT, so code that imports or refers to VaporJWT must switch to the new name. github.com
github.com/vapor/jwt 0.5.0 breaking changes
- Signature changed
init
The String-based Signer initializer is now init(encodedKey:encoding:) and throws. Code calling the existing String initializer should move to the encodedKey label and handle the throw; use the new init(key:) for unencoded keys. github.com
github.com/vapor/jwt 0.4.0 breaking changes
- Behavior changed
ExpirationClaim
The check logic of ExpirationClaim was inverted, so tokens may be accepted or rejected differently than before. github.com - Behavior changed
NotBeforeClaim
The check logic of NotBeforeClaim was inverted, so tokens may be accepted or rejected differently than before. github.com - Signature changed
Dates are represented as Ints rather than Doubles, so code that passes or reads Double dates must be updated. github.com - Signature changed
The JWT payload now uses Node instead of JSON, so code that builds or reads payloads must be updated. github.com
Older versions
1 older version.
Show 1 older version
github.com/vapor/jwt 0.3.0 breaking changes
- Removed
The release redesigns the API so creation of tokens can be customized through protocols for signing, encoding, and data storage. Code using the previous API will need to be updated to the new protocol-based interface. github.com
Related packages
- github.com/vapor/async-kit
- github.com/vapor/console-kit
- github.com/vapor/core
- github.com/vapor/fluent
- github.com/vapor/fluent-mysql-driver
- github.com/vapor/http
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.