Commit b1fcd2d
committed
Simplify API for v10: replace version workspaces with definition-based architecture
Remove @dicebear/api-5 through api-9 workspace packages and version routing layer.
Styles are now loaded from @dicebear/definitions via npm aliases, validated against
@dicebear/schema/options.json, and rendered with @dicebear/core's Avatar class.
- Add variant:weight query string parsing (e.g. eyesVariant=happy:3,wink:1)
- Compute query string limits dynamically from style definitions
- Use app.decorate for shared queryLimits (same pattern as fontLookup)
- Bump to Node 22+, @dicebear/core@10, @dicebear/converter@101 parent 7bc550e commit b1fcd2d
35 files changed
Lines changed: 1000 additions & 2794 deletions
File tree
- src
- handler
- routes
- utils
- tests
- versions
- 5.x
- 6.x
- 7.x
- 8.x
- 9.x
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
0 commit comments