Skip to content

v5.0.0

Choose a tag to compare

@gjtorikian gjtorikian released this 06 May 01:11
· 79 commits to main since this release
d8b0ba2

⚠ BREAKING CHANGES

  • Release the next major SDK version (#357)
  • Upgrade to Java 17 and migrate any Fuel-based HTTP customization to OkHttpClient
  • Recreate WorkOS clients with constructor-based configuration instead of mutating apiHostname, https, or port
  • Update service accessors and method names across the SDK, including renamed services such as PortalApi -> AdminPortal, MfaApi -> MultiFactorAuth, and FgaApi -> Authorization
  • Replace per-service model, type, and builder imports with the consolidated shared packages and newer flat method arguments or option classes
  • Adopt the new pagination, webhook verification, and request handling patterns used across v5
  • Review any existing FGA integrations closely, since the v5 Authorization API is a redesign rather than a direct rename

Features

  • Release the next major SDK version (#357) (0b2b9e8)
  • Regenerate service clients from the OpenAPI spec and standardize retries, pagination, request overrides, and error handling across the SDK
  • Consolidate generated models and enums into shared packages to reduce service-specific surface area
  • Move webhook signature verification to the standalone Webhook helper while keeping webhook endpoint management on the Webhooks service

Please read the v5 migration guide before upgrading: https://github.com/workos/workos-kotlin/blob/v5.0.0/docs/V5_MIGRATION_GUIDE.md

Full Changelog: v4.25.0...v5.0.0