Re-enable Dart SDK generation/release (kratos-client-dart lagging behind v26.2.0)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 178
- Forks
- 96
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
Context
Self-hosted Kratos is at v26.2.0, and the OpenAPI spec is already in this repo (spec/kratos/v26.2.0.json). Most language SDKs (e.g. Go, JS) were released for that version, but Dart is stuck:
| Artifact | Latest |
|---|---|
| ory/kratos | v26.2.0 |
| ory/kratos-client-go / JS, etc. | v26.2.0 |
| ory/kratos-client-dart | v25.4.0 |
pub.dev ory_kratos_client |
1.1.0 |
Observation
Dart appears to be intentionally disabled in the SDK pipeline:
- PR #455 (
feat: bump dependencies and re-enable dotnet) commented# dartout ofscripts/generate.shwhile re-enablingdotnet. - PR #468 (
chore: disable dart) then commented Dart out ofscripts/test.shandscripts/release.shon the same day Kratosv26.2.0landed.
Neither PR explains why Dart had to be turned off (failure mode, generator bug, pub publish issue, etc.).
Questions
- Why was Dart commented out? Was there a specific generation/test/publish failure after the OpenAPI Generator bump, and is there a linked issue or known upstream bug?
- Is re-enabling Dart + releasing kratos (and hydra) clients for v26.2.0 on the roadmap?
- Until then, is generating a local
dart-dioclient fromspec/kratos/v26.2.0.jsonthe recommended workaround for self-hosted Kratos?
Ask
If Dart is only temporarily disabled: please re-enable generation/test/release and cut v26.2.0 for ory/kratos-client-dart (and ideally publish to pub.dev as well).
Happy to help test a regenerated Dart client if useful.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing scripts/generate.sh, scripts/test.sh, and scripts/release.sh alongside PRs #455 and #468 to identify why Dart was disabled. Check spec/kratos/v26.2.0.json and the existing Dart client workflow, then verify that generation, tests, and release steps complete for the Kratos and Hydra clients; done means a v26.2.0 client can be released and published as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, openapi
- Domain
- build-system, release, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100