Skip to content

v0.1.1

Choose a tag to compare

@nicknisi nicknisi released this 06 Oct 13:49
· 35 commits to main since this release
3b2c364

Major DX and API improvements for framework-agnostic authentication.

Configuration & Validation

  • Add validateConfig() for batch validation with descriptive error messages
  • Export ConfigurationProvider class for framework implementers
  • Add getConfigurationProvider() function for advanced config access
  • Document environment variable naming convention (camelCase → WORKOS_UPPER_SNAKE_CASE)

API Enhancements

  • Enhance URL generation with organizationId, loginHint, and prompt parameters
  • Add shared AuthUrlOptions and GetAuthorizationUrlOptions interfaces
  • Improve API consistency across getAuthorizationUrl/getSignInUrl/getSignUpUrl
  • Add roles field support from JWT payload

Testing Infrastructure

  • Add comprehensive test suite with 122 tests (80%+ coverage)
  • Configure Vitest with proper Node environment

Build System

  • Migrate from tsup to native TypeScript compiler (tsc)
  • Update imports to use explicit .js extensions for ESM compatibility

Storage & Session Management

  • Refactor storage system to support TanStack Start and other frameworks
  • Improve CookieSessionStorage flexibility
  • Enhance generic type flow throughout the system

Encryption

  • Add pureWebcryptoEncryption implementation (POC)
  • Improve ironWebcryptoEncryption type safety
  • Add comprehensive encryption tests

Documentation

  • Expand README with configuration validation examples
  • Document new URL generation parameters
  • Add sections for framework implementers
  • Update code examples throughout

Dependencies

  • Update @workos-inc/node to v8.0.0-beta.4

Code Cleanup

  • Remove WorkOSLite (use official SDK)
  • Remove UserManagement lite wrapper
  • Remove ChromeExtensionStorage adapter
  • Remove custom HttpClient
  • Remove legacy iron.ts file

Full Changelog: https://github.com/workos/authkit-session/commits/v0.1.0

Full Changelog: v0.0.1-alpha.3...v0.1.1