0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.changeset/proud-donuts-check.md
Gao Sun 18181f892e
refactor(shared)!: standardize id and secret generators (#4550)
* refactor(shared)!: standardize id and secret generators

* refactor: fix tests
2023-09-22 13:43:56 +08:00

15 lines
544 B
Markdown

---
"@logto/shared": major
"@logto/console": patch
"@logto/schemas": patch
"@logto/core": patch
"@logto/cli": patch
---
standardize id and secret generators
- Remove `buildIdGenerator` export from `@logto/shared`
- Add `generateStandardSecret` and `generateStandardShortId` exports to `@logto/shared`
- Align comment and implementation of `buildIdGenerator` in `@logto/shared`
- The comment stated the function will include uppercase letters by default, but it did not; Now it does.
- Use `generateStandardSecret` for all secret generation