Skip to content

Commit b1fcd2d

Browse files
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@10
1 parent 7bc550e commit b1fcd2d

35 files changed

Lines changed: 1000 additions & 2794 deletions

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ EXPOSE 3000
99
WORKDIR /app
1010
COPY --from=build /app/dist /app/dist
1111
COPY --from=build /app/fonts /app/fonts
12-
COPY versions /app/versions
1312
COPY LICENSE /app/LICENSE
1413
COPY package.json /app/package.json
1514
COPY package-lock.json /app/package-lock.json

0 commit comments

Comments
 (0)