Skip to content

Commit fa58f11

Browse files
committed
feat!: regenerate the SDK from the enhanced generator
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.
1 parent 1b28415 commit fa58f11

1,474 files changed

Lines changed: 108310 additions & 355291 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.editorconfig‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ root = true
33
[*]
44
charset = utf-8
55
indent_style = space
6-
indent_size = 2
76
end_of_line = lf
87
trim_trailing_whitespace = true
98
insert_final_newline = true
10-
max_line_length = 120
119

1210
[*.java]
13-
indent_size = 4
11+
indent_size = 4

‎.github/workflows/integration.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
java-version: [ '11', '17', '21' ]
22+
java-version: [ '25' ]
2323
fail-fast: false
2424

2525
steps:

‎.github/workflows/linting.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup Java
4040
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4141
with:
42-
java-version: '17'
42+
java-version: '25'
4343
distribution: 'corretto'
4444
cache: maven
4545

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Java
4545
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4646
with:
47-
java-version: '17'
47+
java-version: '25'
4848
distribution: 'corretto'
4949
cache: maven
5050

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Java
3131
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
3232
with:
33-
java-version: '17'
33+
java-version: '25'
3434
distribution: 'corretto'
3535
cache: maven
3636

‎.github/workflows/unused.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Java
3333
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
3434
with:
35-
java-version: '17'
35+
java-version: '25'
3636
distribution: 'corretto'
3737
cache: maven
3838

‎.gitignore‎

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
1+
# Maven build output
2+
/target/
13
*.class
24

3-
# Mobile Tools for Java (J2ME)
4-
.mtj.tmp/
5+
# IDE files
6+
*.iml
7+
.idea/
58

6-
# Package Files #
7-
*.jar
8-
*.war
9-
*.ear
10-
11-
# exclude jar for gradle wrapper
12-
!gradle/wrapper/*.jar
13-
14-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
15-
hs_err_pid*
16-
17-
# build files
18-
**/target
19-
target
20-
.gradle
21-
build
9+
# Coverage output
10+
.out/
2211

12+
# integration-test stack output (PAT, service-account key) — never commit
13+
etc/zitadel_output/
2314
.env
24-
25-
devbox.json
26-
devbox.lock
27-
.devbox

‎.openapi-generator-ignore‎

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Keep-list: files the generator must NOT overwrite, and the Makefile's
2+
# `prune` step must NOT delete. Everything else is generator-owned.
3+
4+
# --- bespoke token-minting authenticators (ported onto the new
5+
# Authenticator / BaseAuthenticator / HttpAwareAuthenticator interfaces) ---
6+
#
7+
# NOTE: the old hand-written Authenticator.java (abstract base) is NOT kept;
8+
# the generator now owns Authenticator (interface), BaseAuthenticator,
9+
# BearerAuthenticator, HttpAwareAuthenticator and ZitadelAccessTokenAuthenticator.
10+
src/main/java/com/zitadel/auth/ClientCredentialsAuthenticator.java
11+
src/main/java/com/zitadel/auth/NoAuthAuthenticator.java
12+
src/main/java/com/zitadel/auth/OAuthAuthenticator.java
13+
src/main/java/com/zitadel/auth/OpenId.java
14+
src/main/java/com/zitadel/auth/PersonalAccessTokenAuthenticator.java
15+
src/main/java/com/zitadel/auth/WebTokenAuthenticator.java
16+
17+
# --- bespoke support classes the ported authenticators depend on and the
18+
# new generator no longer emits (the old generator used to) ---
19+
src/main/java/com/zitadel/ZitadelException.java
20+
src/main/java/com/zitadel/utils/KeyUtil.java
21+
src/main/java/com/zitadel/utils/URLUtil.java
22+
23+
# --- bespoke integration specs + Zitadel server fixtures ---
24+
#
25+
# NOTE: the six spec-independent unit tests (ValueSerializerTest,
26+
# HeaderSelectorTest, ConfigurationTest, TransportOptionsTest,
27+
# TraceContextUtilTest, DefaultApiClientUnitTest) are now generator-owned
28+
# and land under src/test/java/com/zitadel/...; they are NOT kept here.
29+
# Only the bespoke test RESOURCES (wiremock mappings, certs, squid.conf,
30+
# junit-platform.properties) are kept — the generator does not emit those.
31+
src/test/resources/**
32+
src/spec/**
33+
etc/**
34+
35+
# --- repo identity, docs (team-owned, not generated) ---
36+
README.md
37+
LICENSE
38+
SECURITY.md
39+
VERSIONING.md
40+
41+
# --- house tooling (team-owned, not generated) ---
42+
.github/**
43+
.mvn/**
44+
devbox.json
45+
devbox.lock
46+
lefthook.yml
47+
qodana.yaml
48+
settings.xml
49+
.editorconfig
50+
.gitignore
51+
.dockerignore
52+
Dockerfile
53+
.releaserc.json
54+
.commitlintrc.json
55+
.pre-commit-config.yaml
56+
.idea/**
57+
*.iml
58+
SKILLS.md
59+
.env
60+
61+
# --- build config (team-owned): pom.xml carries the repo identity, the
62+
# Maven Central release/deployment profile, and the bespoke-auth deps
63+
# (nimbus-jose-jwt, bouncycastle bcprov/bcpkix) that the kept
64+
# authenticators need and the generator does not emit. Its toolchain is
65+
# aligned to the generator's output: checkstyle google_checks.xml +
66+
# default spotbugs, no custom checkstyle.xml / spotbugs.xml (those are
67+
# gone; the generator emits class-level @SuppressWarnings / @SuppressFBWarnings
68+
# instead). ---
69+
pom.xml
70+
71+
# --- generation tooling we added ---
72+
proc.yml
73+
Makefile
74+
.openapi-generator-ignore
75+
76+
# generator-owned metadata (FILES manifest + VERSION) — always rewritten by
77+
# the generator, but keep-listed so prune does not treat them as orphans
78+
# (the FILES manifest does not list itself, so it would otherwise be deleted)
79+
.openapi-generator/
80+
src/main/java/com/zitadel/Zitadel.java
81+
src/main/java/com/zitadel/Version.java
82+
src/main/java/com/zitadel/utils/StringUtil.java
83+
84+
# bespoke facade + helpers (hand-written glue over generated code)

0 commit comments

Comments
 (0)