Skip to content

Conversation

@nicknisi
Copy link
Member

@nicknisi nicknisi commented Aug 4, 2025

This pull request updates the version of the @workos-inc/authkit-react-router package to 0.8.0, reflecting changes in the package metadata and the VERSION constant in the codebase.

Updates

Version update:

  • package.json: Updated the version field from 0.7.0 to 0.8.0.
  • src/workos.ts: Updated the VERSION constant from 0.7.0 to 0.8.0.

@nicknisi nicknisi marked this pull request as ready for review August 5, 2025 01:03
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Summary

This PR performs a version bump from 0.7.0 to 0.8.0 for the @workos-inc/authkit-react-router package. The changes are minimal but important:

  1. package.json: Updates the package version field to reflect the new release
  2. src/workos.ts: Updates the internal VERSION constant used by the WorkOS client

The VERSION constant in workos.ts is used in the WorkOS client's appInfo metadata when making API calls to WorkOS services. This helps with debugging, support, and tracking which version of the library is being used across different applications.

According to the PR description, this version bump accompanies two significant behavioral improvements referenced in issues #32 and #31: the withAuth function now returns { user: null } when access tokens are expired (instead of returning expired token data), and session refresh failures now preserve the return pathname instead of redirecting to the root path. These changes improve both security and user experience by preventing use of expired tokens and maintaining better navigation flow.

This is a standard version release process where the internal version tracking is kept in sync with the published package version, ensuring consistency across the codebase and proper identification in API communications with WorkOS services.

Confidence score: 5/5

  • This PR is safe to merge with minimal risk as it only updates version numbers
  • Score reflects simple, routine version bump changes with no logic modifications
  • No files require special attention as these are straightforward version updates

2 files reviewed, no comments

Edit Code Review Bot Settings | Greptile

@nicknisi nicknisi merged commit 3f62a6e into main Aug 5, 2025
6 checks passed
@nicknisi nicknisi deleted the v0.8.0 branch August 5, 2025 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants