Skip to content

chore: raise jose and oauth4webapi minimum versions - #383

Merged
frederikprijck merged 1 commit into
mainfrom
chore/raise-jose-oauth4webapi-minimum
Dec 4, 2026
Merged

frederikprijck merged 1 commit into
mainfrom
chore/raise-jose-oauth4webapi-minimum

Conversation

@frederikprijck

@frederikprijck frederikprijck commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Raises the declared dependency minimums to the first releases that support newer JOSE algorithms and the AKP key type:

Package Dependency Before After
@auth0/auth0-api-js jose ^6.0.8 ^6.1.0
@auth0/auth0-api-js oauth4webapi ^3.3.0 ^3.8.0
@auth0/auth0-auth-js jose ^6.0.8 ^6.1.0
@auth0/auth0-server-js jose ^6.0.8 ^6.1.0

Not a breaking change: the ranges stay within the same major version, and there are no source changes. openid-client is already ^6.8.0 and is unchanged. The repo does not commit a lockfile (package-lock.json is gitignored), so only the three package.json files change.

References

None.

Testing

Run from the repo root on Node v24.18.0 / npm 11.16.0, on main before the change and on this branch after it:

  • npm install, npm run build, npm run lint, npm run test
  • Build: 7/7 tasks successful before and after
  • Lint: 3/3 tasks successful before and after
  • Tests: 892 (auth0-auth-js), 846 (auth0-api-js) and 1160 (auth0-server-js) passed, 0 failed, before and after
  • A fresh install resolves jose@6.2.19 and oauth4webapi@3.8.9 both before and after, so the change only raises the declared minimums that consumers' resolvers must honor.

No test changes: the existing suites cover the behavior and no source changed.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated underlying components used by authentication and API integrations across browser, server, and API packages.
    • No changes to public interfaces or user-facing behavior are included in this update. These maintenance updates do not add or remove any functionality.

Raise the declared minimums to the first releases that support newer
JOSE algorithms and the `AKP` key type:

- jose ^6.0.8 -> ^6.1.0 (auth0-api-js, auth0-auth-js, auth0-server-js)
- oauth4webapi ^3.3.0 -> ^3.8.0 (auth0-api-js)

No major version bump; the ranges stay within the same major and no
source changes are needed.

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Three package manifests now specify updated version ranges for jose. The API package manifest also specifies an updated range for oauth4webapi.

Changes: Package version updates

Layer / File(s) Summary
Update package version ranges
packages/auth0-api-js/package.json, packages/auth0-auth-js/package.json, packages/auth0-server-js/package.json
The three manifests use ^6.1.0 for jose. The API package manifest uses ^3.8.0 for oauth4webapi.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: nandan-bhat

Merge Risk: Minimal · up to 83517

This updates minimum dependency versions within the same major versions and changes no source code. No concrete problems were found, so it looks safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title says the change raises the minimum versions of jose and oauth4webapi. The raw summary confirms that the jose range moved from ^6.0.8 to ^6.1.0 in three package.json files, and oauth4webapi m…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title says the change raises the minimum versions of jose and oauth4webapi. The raw summary confirms that the jose range moved from ^6.0.8 to ^6.1.0 in three package.json files, and oauth4webapi moved from ^3.3.0 to ^3.8.0 in auth0-api-js. The title names the main change and the dependencies involved. It uses the conventional 'chore:' prefix, which fits a dependency-only change with no source edits.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 51f40726-a8e0-4814-9904-3364e4d10c07
Commits

Reviewing files that changed from the base of the PR and between b577885 and 8351742.

Files selected for processing: 3

  • packages/auth0-api-js/package.json
  • packages/auth0-auth-js/package.json
  • packages/auth0-server-js/package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@frederikprijck
frederikprijck merged commit a5ee6c3 into main Dec 4, 2026
18 checks passed
@frederikprijck
frederikprijck deleted the chore/raise-jose-oauth4webapi-minimum branch December 4, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants