Skip to content

Conversation

@nicknisi
Copy link
Member

Description

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@nicknisi nicknisi requested a review from a team as a code owner January 12, 2026 16:51
@nicknisi nicknisi requested a review from dandorman January 12, 2026 16:51
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 12, 2026

Greptile Overview

Greptile Summary

This PR promotes the WorkOS Node SDK from release candidate 8.0.0-rc.10 to the stable 8.0.0 release. This follows the major v8.0.0 release (#1370) which introduced universal runtime support, PKCE authentication, and API modernization.

Changes Made

The version string has been consistently updated across all three locations:

  • package.json: Version field updated from 8.0.0-rc.10 to 8.0.0
  • package-lock.json: Version fields updated in two locations to match package.json
  • src/workos.ts: VERSION constant updated to '8.0.0' (used in User-Agent headers for API requests)

Verification

All version references have been updated consistently. No other references to 8.0.0-rc.10 or rc.10 remain in the codebase. The VERSION constant in workos.ts is used to construct User-Agent headers (line 161), ensuring API requests will correctly identify themselves as v8.0.0.

Context

This is a standard version promotion after the RC period. The v8 release includes significant changes like Node 20+ requirement, ESM-first package structure, and PKCE support, all documented in the V8_MIGRATION_GUIDE.md.

Confidence Score: 5/5

  • This PR is safe to merge with no risk - it only updates version strings
  • Perfect score given because: (1) Changes are limited to version string updates only, (2) All three version locations are updated consistently (package.json, package-lock.json, and src/workos.ts), (3) No code logic changes whatsoever, (4) No security concerns per custom instructions (no SQL, CORS, sensitive logging, or TLS changes), (5) Verified no remaining references to old version string, (6) Standard release promotion workflow from RC to stable
  • No files require special attention - all changes are straightforward version bumps

Important Files Changed

File Analysis

Filename Score Overview
package.json 5/5 Version bumped from 8.0.0-rc.10 to 8.0.0 (stable release)
package-lock.json 5/5 Lockfile version updated to match package.json (8.0.0)
src/workos.ts 5/5 VERSION constant updated to '8.0.0' for User-Agent header

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant PR as PR #1446
    participant Package as package.json
    participant Lock as package-lock.json
    participant Source as src/workos.ts
    participant NPM as NPM Registry
    participant API as WorkOS API

    Dev->>PR: Create release PR
    PR->>Package: Update version: 8.0.0-rc.10 → 8.0.0
    PR->>Lock: Update version: 8.0.0-rc.10 → 8.0.0
    PR->>Source: Update VERSION: '8.0.0-rc.10' → '8.0.0'
    
    Note over Package,Source: All version strings<br/>updated consistently
    
    Dev->>PR: Merge to main
    PR->>NPM: Trigger release workflow
    NPM->>NPM: npm publish --tag latest
    
    Note over NPM: v8.0.0 now available<br/>as stable release
    
    NPM-->>API: SDK makes requests with<br/>User-Agent: workos-node/8.0.0
Loading

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.

No files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@nicknisi nicknisi merged commit 6da127b into main Jan 12, 2026
8 checks passed
@nicknisi nicknisi deleted the release/v8.0.0 branch January 12, 2026 17:34
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.

2 participants