feat!: regenerate the SDK from the enhanced generator#144
Open
mridang wants to merge 13 commits into
Open
Conversation
Contributor
Qodana for JSIt 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 Contact Qodana teamContact us at qodana-support@jetbrains.com
|
00374a5 to
dd33077
Compare
d198a1a to
24e2ac4
Compare
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.
24e2ac4 to
4987cac
Compare
…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.
…sdks # Conflicts: # release.config.mjs
Prettier-ignore it so the shared doc stays byte-identical across repos instead of being re-spaced by the markdown formatter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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