Skip to content

chore(main): release 6.0.0#608

Merged
gjtorikian merged 9 commits intomainfrom
release-please--branches--main
Apr 13, 2026
Merged

chore(main): release 6.0.0#608
gjtorikian merged 9 commits intomainfrom
release-please--branches--main

Conversation

@workos-sdk-automation
Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

6.0.0 (2026-04-13)

⚠ BREAKING CHANGES

  • release new version of Python SDK library (#599)

Features

  • release new version of Python SDK library (#599) (9aaec74)

This PR was generated with Release Please. See documentation.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 13, 2026

Greptile Summary

This is an automated release PR generated by Release Please, bumping the SDK version from 5.46.0 to 6.0.0. The key substantive change alongside the version bump is declaring typing_extensions~=4.0 as an explicit runtime dependency in pyproject.toml, and restoring tests/smoke_test.py to validate the built package.

Confidence Score: 5/5

This PR is safe to merge — it is an automated release bump with no logic changes.

All changed files are version metadata, a generated lock file, and smoke tests. The only substantive code change is correctly declaring typing_extensions as an explicit runtime dependency, which is a straightforward dependency-management fix. No P0 or P1 findings.

No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Version bumped to 6.0.0; typing_extensions~=4.0 correctly added to runtime dependencies alongside the existing cryptography, httpx, and pyjwt entries.
tests/smoke_test.py Restored smoke tests verify all 22 client module accessors, core type imports, error classes, pagination primitives, and runtime dependencies (including the newly declared typing_extensions).
CHANGELOG.md Adds 6.0.0 changelog entry with breaking change notation; generated by Release Please bot.
.release-please-manifest.json Tracks the current release version as 6.0.0, consistent with pyproject.toml.
uv.lock Lock file regenerated to reflect the updated runtime dependencies and latest compatible package versions.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Release Please Bot] -->|generates| B[chore: release 6.0.0 PR]
    B --> C[pyproject.toml\nversion = 6.0.0]
    B --> D[CHANGELOG.md\n6.0.0 entry]
    B --> E[.release-please-manifest.json\n6.0.0]
    B --> F[uv.lock\nregenerated]
    G[fix: typing_extensions\nruntime dep] --> C
    G --> H[tests/smoke_test.py\nrestored]
    C -->|declares| I[Runtime deps:\ncryptography~=46.0\nhttpx~=0.28\npyjwt~=2.12\ntyping_extensions~=4.0]
    H -->|validates| J[22 client modules\nCore types\nError classes\nPagination\nDependencies]
Loading

Reviews (2): Last reviewed commit: "fix: declare typing_extensions as a runt..." | Re-trigger Greptile

gjtorikian and others added 7 commits April 13, 2026 11:06
The smoke test was deleted during the SDK regeneration (#604) but the
CI workflow still invokes it, causing all release-PR smoke checks to
fail with "No such file or directory". Restore it, rewritten against
the current post-regeneration surface (dataclass models, *Error
exception names, updated module accessors, no pydantic dep).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Generated model files across the SDK import `TypeAlias` (and other
symbols) from `typing_extensions`, but it was not declared in
pyproject.toml. On Python 3.10–3.12 it was pulled in transitively, but
on 3.13/3.14 the smoke test against the built wheel failed with
`No module named 'typing_extensions'`. Add it to runtime deps and
assert on it in the smoke test so this regresses loudly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
`src/workos/_types.py` imports `Self`, which landed in stdlib `typing`
only in Python 3.11. Use a `sys.version_info` conditional so 3.11+ uses
stdlib and 3.10 falls back to `typing_extensions`, matching the SDK's
`requires-python = '>=3.10'`.

Mark `typing_extensions~=4.0` as `python_version < '3.11'` in the
dependency list so pip/uv only install it on 3.10 — 3.11+ users don't
pay the transitive-dep cost. Drop the now-unconditional typing_extensions
check from the smoke test (the conditional import is exercised whenever
workos itself is imported).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Drops the `typing_extensions` import from generated model/enum files in
favor of the stdlib `typing` module — `TypeAlias` has been in stdlib
typing since Python 3.10, which matches the SDK's minimum supported
version. Also removes 347 stale files left behind by prior regens
(alias/dedup targets that are no longer produced by the current IR).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Track every emitted path in `.oagen-manifest.json` so subsequent
`oagen generate` runs can deterministically delete files that fall out
of the IR, preventing the zombie accumulation that led to the prior
357-file cleanup. Deletion is header-guarded, so any hand-edited file
that loses the auto-generated marker is preserved and reported.

This is the first-adoption baseline; prune activates on the next regen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gjtorikian gjtorikian merged commit 5bbab38 into main Apr 13, 2026
14 checks passed
@gjtorikian gjtorikian deleted the release-please--branches--main branch April 13, 2026 15:54
@workos-sdk-automation
Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant