v0.10.0
版本发布时间: 2022-05-30 21:09:17
ory/kratos最新发布版本:v1.2.0(2024-06-05 19:02:56)
We achieved a major milestone - Ory Kratos is out of alpha! Ory Kratos had no major changes in the APIs for the last months and feel confident that no large breaking changes will need to be introduced in the near future.
This release focuses on quality-of-live improvements, resolves several bugs, irons out developer experience issues, and introduces session renew capabilities!
Breaking Changes
Please be aware that the SDK method signatures for submitSelfServiceRecoveryFlow
, submitSelfServiceRegistrationFlow
, submitSelfServiceLoginFlow
, submitSelfServiceSettingsFlow
, submitSelfServiceVerificationFlow
might have changed in your SDK.
This patch moves several CLI command to comply with the Ory CLI command structure:
- ory identities get ...
+ ory get identity ...
- ory identities delete ...
+ ory delete identity ...
- ory identities import ...
+ ory import identity ...
- ory identities list ...
+ ory list identities ...
- ory identities validate ...
+ ory validate identity ...
- ory jsonnet format ...
+ ory format jsonnet ...
- ory jsonnet lint ...
+ ory lint jsonnet ...
This patch moves several CLI command to comply with the Ory CLI command structure:
- ory identities get ...
+ ory get identity ...
- ory identities delete ...
+ ory delete identity ...
- ory identities import ...
+ ory import identity ...
- ory identities list ...
+ ory list identities ...
- ory identities validate ...
+ ory validate identity ...
- ory jsonnet format ...
+ ory format jsonnet ...
- ory jsonnet lint ...
+ ory lint jsonnet ...
Bug Fixes
-
Add flow id when return_to is passed to the verification (#2482) (c2b1c23)
-
Add indices for slow queries (e0cdbc9)
-
auth0: Created_at workaround (#2492) (52a965d), closes #2485
-
Avoid excessive memory allocations in HIBP cache (#2389) (ee2d410), closes #2354
-
Change SQLite database mode to 0600 (#2344) (0e5d3b7):
The default mode is 0644, which is allows broader access than necessary.
-
Correct location (b249aaa)
-
Do not expose debug in a response when a schema is not found (#2348) (aee2b1e)
-
Do not fail release if no changes needed (114c93e)
-
Dockerfile: Use existing builder base image (#2390) (37de25a)
-
Embed schema (b797bba)
-
Get user first name and last name from Apple (#2331) (4779909)
-
Improve error reporting from OpenAPI (8a1009b)
-
Improve performance of identity schema call (af28de2)
-
Internal Server Error on Empty PUT /identities/id body (#2417) (5a50231)
-
Load return_to and append to errors (#2333) (5efe4a3), closes #2275 #2279 #2285
-
Make delete formattable (0005f35)
-
New issue templates (b9ad684)
-
Refresh is always false when session exists (d3436d7), closes #2341
-
Remove wrong templates (4fe2d25)
-
Reorder transactions (78ca4c6)
-
Resolve index naming issues (d5550b5)
-
Resolve MySQL index issues (50bdba9)
-
Resolve otelx panics (6613a02)
-
sdk: Improved OpenAPI specifications for UI nodes (#2375) (a42a0f7), closes #2357
-
Serve.admin.request_log.disable_for_health behaviour (#2399) (0a381fa)
-
sql: Add additional join argument to resolve MySQL query issue (854e5cb), closes #2262
-
Use
path
instead offilepath
to join http route paths (16b1244), closes #2292 -
Use JOIN instead of iterative queries (0998cfb), closes #2402
-
Use pointer of string for PasswordIdentifier in example code (#2421) (61f12e7)
-
Use predictable SQLite in memory DSNs (#2415) (51a13f7), closes #2059
Code Generation
- Pin v0.10.0 release commit (87e0de7)
Code Refactoring
- Deprecate fizz renderer (5277668)
- Move CLI commands to match Ory CLI structure (d11a9a9)
- Move CLI commands to match Ory CLI structure (73910a3)
Documentation
- Add docs about change in default schema (#2447) (5093cd4)
- Remove notice importing credentials not possible (#2418) (b80ed69)
Features
-
Add certificate based authentication for smtp client (#2351) (7200037)
-
Add ID to the recovery error when already logged in (#2483) (29e4a51)
-
Add localName to smtp config (#2445) (27336b6), closes #2425
-
Add render-schema script (a0c006e)
-
Add session renew capabilities (#2146) (4348b86), closes #615
-
Add tracing to persister (391c54e)
-
identity: Add admin and public metadata fields (562e340), closes #2388 #47:
This patch adds two new keys to identities,
metadata_public
andmetadata_admin
that can be used to store additional metadata about identities in Ory. -
Read subject id from https://graph.microsoft.com/v1.0/me for microsoft (#2347) (852f24f):
Adds the ability to read the OIDC subject ID from the
https://graph.microsoft.com/v1.0/me
endpoint. This introduces a new fieldsubject_source
to the OIDC configuration. -
sdk: Add cookie headers to all form submissions (#2467) (9a969fd), closes #2003 #2454
-
sdk: Add csrf cookie for login flow submission (#2454) (2bffee8)
-
Upgrade to Go 1.18 (725d202)
Tests
Unclassified
-
BREAKING CHANGES: This patch group updates the tracing provider from OpenTracing to OpenTelemetry. Due to these changes, tracing providers Zipkin, DataDog, Elastic APM have been deactivated temporarily. The best way to re-add support for them is to make a pull request at https://github.com/ory/x/tree/master/otelx and check the status of https://github.com/ory/x/issues/499 (7165fa0):
The configuration has not changed, and thus no changes to your system are required if you use Jaeger.
Changelog
- 7165fa04 BREAKING CHANGES: This patch group updates the tracing provider from OpenTracing to OpenTelemetry. Due to these changes, tracing providers Zipkin, DataDog, Elastic APM have been deactivated temporarily. The best way to re-add support for them is to make a pull request at https://github.com/ory/x/tree/master/otelx and check the status of https://github.com/ory/x/issues/499
- 895aa89d autogen(docs): generate and bump docs
- b682689d autogen(docs): regenerate and update changelog
- d942c5d5 autogen(docs): regenerate and update changelog
- 794c2fdc autogen(docs): regenerate and update changelog
- d9503202 autogen(docs): regenerate and update changelog
- b85c0e66 autogen(docs): regenerate and update changelog
- d1375ea8 autogen(docs): regenerate and update changelog
- e5055133 autogen(docs): regenerate and update changelog
- 9097a60e autogen(docs): regenerate and update changelog
- 1fbabc24 autogen(docs): regenerate and update changelog
- 2db93776 autogen(docs): regenerate and update changelog
- 744b84e0 autogen(docs): regenerate and update changelog
- 2c07b171 autogen(docs): regenerate and update changelog
- de776022 autogen(docs): regenerate and update changelog
- 51cdc341 autogen(docs): regenerate and update changelog
- 083e67f6 autogen(docs): regenerate and update changelog
- 8f29d45a autogen(docs): regenerate and update changelog
- d2b729a8 autogen(docs): regenerate and update changelog
- 7f87bca4 autogen(docs): regenerate and update changelog
- 5ed4ca47 autogen(docs): regenerate and update changelog
- 72c17ac9 autogen(docs): regenerate and update changelog
- ca1dab89 autogen(docs): regenerate and update changelog
- 77f5bbd6 autogen(docs): regenerate and update changelog
- 96bcba06 autogen(docs): regenerate and update changelog
- d8727cb6 autogen(docs): regenerate and update changelog
- d1f5748f autogen(docs): regenerate and update changelog
- 75d0826d autogen(docs): regenerate and update changelog
- e6b38c25 autogen(docs): regenerate and update changelog
- 9adbcc43 autogen(docs): regenerate and update changelog
- 2e26ddee autogen(openapi): regenerate swagger spec and internal client
- d3df7196 autogen(openapi): regenerate swagger spec and internal client
- a2009ff6 autogen(openapi): regenerate swagger spec and internal client
- 6735be56 autogen(openapi): regenerate swagger spec and internal client
- 7d66e5c1 autogen(openapi): regenerate swagger spec and internal client
- e0fc0dfe autogen(openapi): regenerate swagger spec and internal client
- db638cd3 autogen(openapi): regenerate swagger spec and internal client
- 9c9477a2 autogen: add v0.9.0-alpha.3 to version.schema.json
- 87e0de7a autogen: pin v0.10.0 release commit
- 1fea8021 autogen: pin v0.10.0-pre.0 release commit
- 1090a82b chore(deps): bump
ory/x
- fe69e291 chore(deps): bump ansi-regex from 4.1.0 to 4.1.1 in /test/e2e/proxy
- 18282475 chore(deps): bump minimist from 1.2.5 to 1.2.6
- f23ef2f6 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /test/e2e
- 92c1a2f1 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /test/e2e/proxy
- 16056034 chore: Fix typo in README (#2411)
- 1ff1d79f chore: add missing down migrations (#2476)
- e38ecbc8 chore: bump SQLite for better JSON support
- b5b4ba7c chore: bump alpine image version
- f04a58e0 chore: go mod tidy
- 10badccf chore: resolve lint and formatting issues
- 9519978c chore: update go mod
- 617949cb chore: update repository templates
- 37cb4ce1 ci: add codeball
- 5093cd47 docs: add docs about change in default schema (#2447)
- b80ed695 docs: remove notice importing credentials not possible (#2418)
- 562e340f feat(identity): add admin and public metadata fields
- 9a969fd9 feat(sdk): add cookie headers to all form submissions (#2467)
- 2bffee81 feat(sdk): add csrf cookie for login flow submission (#2454)
- b90a5582 feat(tracing): improved tracing for requests (#2475)
- 29e4a51c feat: add ID to the recovery error when already logged in (#2483)
- 72000375 feat: add certificate based authentication for smtp client (#2351)
- 27336b63 feat: add localName to smtp config (#2445)
- a0c006e4 feat: add render-schema script
- 4348b864 feat: add session renew capabilities (#2146)
- ee7fc79d feat: add support for netID provider (#2394)
- 391c54eb feat: add tracing to persister
- 852f24fb feat: read subject id from https://graph.microsoft.com/v1.0/me for microsoft (#2347)
- 8fdadf9d feat: support argon2i password (#2395)
- 121a4d3f feat: switch to opentelemetry tracing (#2318)
- 725d202e feat: upgrade to Go 1.18
- 37de25a5 fix(Dockerfile): use existing builder base image (#2390)
- 52a965dc fix(auth0): created_at workaround (#2492)
- bf970f32 fix(courier): add ability to specify backoff (#2349)
- a42a0f77 fix(sdk): improved OpenAPI specifications for UI nodes (#2375)
- 854e5cba fix(sql): add additional join argument to resolve MySQL query issue
- 5a50231b fix: Internal Server Error on Empty PUT /identities/id body (#2417)
- c2b1c230 fix: add flow id when return_to is passed to the verification (#2482)
- e0cdbc9a fix: add indices for slow queries
- ecfd0521 fix: add legacy session value
- ee2d4105 fix: avoid excessive memory allocations in HIBP cache (#2389)
- 0e5d3b77 fix: change SQLite database mode to 0600 (#2344)
- 85a90c89 fix: compile issues from merge conflict (#2419)
- b249aaad fix: correct location
- aee2b1ed fix: do not expose debug in a response when a schema is not found (#2348)
- 114c93eb fix: do not fail release if no changes needed
- b797bba5 fix: embed schema
- 47799098 fix: get user first name and last name from Apple (#2331)
- 8a1009b1 fix: improve error reporting from OpenAPI
- af28de26 fix: improve performance of identity schema call
- 5efe4a33 fix: load return_to and append to errors (#2333)
- 0005f357 fix: make delete formattable
- c9ae1175 fix: mark body as required (#2479)
- b9ad6843 fix: new issue templates
- 37a3369c fix: openapi regression (#2465)
- 97177629 fix: quickstart docker-compose (#2490)
- d3436d7f fix: refresh is always false when session exists
- 638d45ca fix: remove required legacy field (#2410)
- 4fe2d25d fix: remove wrong templates
- 78ca4c6c fix: reorder transactions
- 50bdba9f fix: resolve MySQL index issues
- d5550b5d fix: resolve index naming issues
- 6613a02b fix: resolve otelx panics
- 0a381fa3 fix: serve.admin.request_log.disable_for_health behaviour (#2399)
- 93bf1e2c fix: unreliable HIBP caching strategy (#2468)
- 0998cfb2 fix: use JOIN instead of iterative queries
- 16b12449 fix: use
path
instead offilepath
to join http route paths Windows users were broken since #2292, as routes were registered with backslashes. - 61f12e75 fix: use pointer of string for PasswordIdentifier in example code (#2421)
- 51a13f71 fix: use predictable SQLite in memory DSNs (#2415)
- 5277668b refactor: deprecate fizz renderer
- d11a9a9d refactor: move CLI commands to match Ory CLI structure
- 73910a32 refactor: move CLI commands to match Ory CLI structure
- b5b1361d test: fix incorrect assertion
- dd44593a test: resolve regressions
Artifacts can be verified with cosign using this public key.
1、 checksums.txt 2.43KB
2、 checksums.txt.sig 96B
3、 kratos_0.10.0-linux_32bit.tar.gz 11.68MB
4、 kratos_0.10.0-linux_64bit.tar.gz 12.36MB
5、 kratos_0.10.0-linux_arm64.tar.gz 11.47MB
6、 kratos_0.10.0-linux_armv6.tar.gz 11.67MB
7、 kratos_0.10.0-linux_armv7.tar.gz 11.67MB
8、 kratos_0.10.0-linux_sqlite_64bit.tar.gz 13MB
9、 kratos_0.10.0-linux_sqlite_arm64.tar.gz 12.11MB
10、 kratos_0.10.0-linux_sqlite_armv6.tar.gz 12.26MB
11、 kratos_0.10.0-linux_sqlite_armv7.tar.gz 12.25MB
12、 kratos_0.10.0-linux_sqlite_libmusl_64bit.tar.gz 12.99MB
13、 kratos_0.10.0-linux_sqlite_libmusl_arm64.tar.gz 12.12MB
14、 kratos_0.10.0-linux_sqlite_libmusl_armv6.tar.gz 12.29MB
15、 kratos_0.10.0-linux_sqlite_libmusl_armv7.tar.gz 12.28MB
16、 kratos_0.10.0-macOS_64bit.tar.gz 12.86MB
17、 kratos_0.10.0-macOS_arm64.tar.gz 12.94MB
18、 kratos_0.10.0-macOS_sqlite_64bit.tar.gz 14MB
19、 kratos_0.10.0-macOS_sqlite_all.tar.gz 27.25MB
20、 kratos_0.10.0-macOS_sqlite_arm64.tar.gz 13.4MB
21、 kratos_0.10.0-windows_32bit.zip 12.18MB
22、 kratos_0.10.0-windows_64bit.zip 12.54MB
23、 kratos_0.10.0-windows_arm64.zip 11.64MB
24、 kratos_0.10.0-windows_armv6.zip 12MB
25、 kratos_0.10.0-windows_armv7.zip 11.98MB
26、 kratos_0.10.0-windows_sqlite_64bit.zip 13.13MB
27、 kratos_0.10.0_sqlite_darwin_amd64.bom.json 189.48KB
28、 kratos_0.10.0_sqlite_darwin_arm64.bom.json 189.48KB
29、 kratos_0.10.0_sqlite_linux_386.bom.json 189.48KB
30、 kratos_0.10.0_sqlite_linux_amd64.bom.json 189.48KB
31、 kratos_0.10.0_sqlite_linux_arm64.bom.json 189.48KB
32、 kratos_0.10.0_sqlite_linux_arm_6.bom.json 189.48KB
33、 kratos_0.10.0_sqlite_linux_arm_7.bom.json 189.48KB
34、 kratos_0.10.0_sqlite_windows_386.bom.json 189.48KB
35、 kratos_0.10.0_sqlite_windows_amd64.bom.json 189.48KB
36、 kratos_0.10.0_sqlite_windows_arm64.bom.json 189.48KB
37、 kratos_0.10.0_sqlite_windows_arm_6.bom.json 189.48KB
38、 kratos_0.10.0_sqlite_windows_arm_7.bom.json 189.48KB