Skip to content

Conversation

mvantellingen
Copy link
Member

@mvantellingen mvantellingen commented Sep 15, 2025

This pull request introduces a minor release across all packages to update dependencies, enhance code quality, and improve type safety. The main changes include dependency upgrades, stricter linting rules, and some code refactoring for clarity and maintainability. Additionally, the React AuthProvider receives improvements for local token validation logic.

Dependency and Tooling Updates:

  • Updated dependencies to latest versions in all package manifests, including @apollo/server, jose, typescript, and testing tools. This ensures compatibility with recent releases and improved security/performance. (package.json, packages/*/package.json) [1] [2] [3] [4] [5] [6]
  • Added new workspace dependency cookie to express-adapter and updated peer dependencies as needed.

Linting and Formatting Improvements:

  • Migrated biome.json to biome.jsonc and expanded file inclusion/exclusion rules for formatting and linting.
  • Enhanced linting configuration: replaced noConsoleLog with stricter noConsole rule, enabled additional style and type safety rules for better code consistency. [1] [2]

Code Refactoring and Type Safety:

  • Improved type imports and exports for clarity and consistency in several packages, including explicit type exports and import ordering. (src/index.ts, src/tokensource/index.ts, src/provider.tsx) [1] [2] [3] [4] [5] [6]
  • Refactored React AuthProvider to add robust local JWT token validation logic, including expiration checks and value extraction, improving authentication reliability for clients. [1] [2] [3]

General Manifest Formatting:

  • Reformatted JSON arrays (e.g., keywords, files, dependencyTypes) for readability and consistency across all package manifests. [1] [2] [3] [4] [5] [6] [7] [8]

Release Management:

  • Added a changeset file to document the minor version bump and dependency updates for all packages. (.changeset/soft-views-grin.md)

Copy link

changeset-bot bot commented Sep 15, 2025

🦋 Changeset detected

Latest commit: f7d0bc9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@labdigital/federated-token-express-adapter Minor
@labdigital/federated-token-fastify-adapter Minor
@labdigital/federated-token-apollo Minor
@labdigital/federated-token-react Minor
@labdigital/federated-token Minor
@labdigital/federated-token-yoga Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mvantellingen mvantellingen merged commit 8f0d3ee into main Sep 15, 2025
5 checks passed
@mvantellingen mvantellingen deleted the feature/update-deps branch September 15, 2025 11:30
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.

1 participant