Skip to content

feat!: regenerate the SDK from the enhanced generator#144

Open
mridang wants to merge 13 commits into
mainfrom
feat/better-enhanced-sdks
Open

feat!: regenerate the SDK from the enhanced generator#144
mridang wants to merge 13 commits into
mainfrom
feat/better-enhanced-sdks

Conversation

@mridang

@mridang mridang commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Regenerates the SDK from the enhanced openapi-generator-plus, with bespoke authenticators ported to the new interfaces and full unit + integration suites passing locally.

Closes #97
Closes #133

@github-actions

github-actions Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Qodana for JS

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@mridang mridang force-pushed the feat/better-enhanced-sdks branch from 00374a5 to dd33077 Compare June 13, 2026 13:17
@mridang mridang changed the title feat: regenerate SDK from enhanced generator with ported authenticators feat!: regenerate the SDK from the enhanced generator Jun 13, 2026
@mridang mridang force-pushed the feat/better-enhanced-sdks branch 7 times, most recently from d198a1a to 24e2ac4 Compare June 14, 2026 13:44
Regenerate the client from openapi-generator-plus with modernized
templates, authenticators ported to the new interfaces, and house
tooling aligned to the generator's output.

BREAKING CHANGE: new generated API surface, a raised minimum runtime,
and updated dependencies; not source-compatible with the prior release.
@mridang mridang force-pushed the feat/better-enhanced-sdks branch from 24e2ac4 to 4987cac Compare June 14, 2026 13:59
mridang added 12 commits June 15, 2026 11:20
…nticator

Set clientClassName=Zitadel so the generator emits src/zitadel.ts (replacing
the bespoke facade and the old generated src/client.ts). Update callers to
Zitadel.withAuthenticator and the full-service-name accessors, and prime OAuth
tokens via getAuthHeadersAsync now that the facade no longer proxies methods.
…iError/ZitadelError

Removes the bespoke back-compat error alias shims. Consumers and specs now
use the generated ApiError and ZitadelError directly. ApiError extends
ZitadelError, so broad instanceof checks still hold.
…ets for parity

Align Node OAuth authenticators with the other SDKs: send client
credentials in the POST body (ClientSecretPost), refresh the token 300s
before expiry, and mask the cached token in inspect/JSON output.
…authenticator

Regenerated against the generator that derives the default user agent from the
npm package name. Mask the client secret in ClientCredentialsAuthenticator and
add a redaction test to each bespoke authenticator's own test file instead of an
aggregate file. README snippets pick up the formatter's canonical quoting.
Prettier-ignore it so the shared doc stays byte-identical across repos instead
of being re-spaced by the markdown formatter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bare process import breaks Deno compatibility Release SDK for V5

1 participant