Repository navigation
Releases
Releases · puri-adityakumar/palletface
v1.0.0
Highlights
- First stable release. palletface turns any string, such as a user ID, into a deterministic SVG avatar. It runs on the server or in the browser, makes no network requests, and has zero runtime dependencies.
- Twelve styles. Seven are new since the beta:
geometric-tile,random-contours,pixel-emotes,mirrored-signal,pixel-flora,pixel-relic, andpixel-stamp. Each one also has its own renderer export, such aspixelFlora. (#3, #5) - Avatars stay put. From
1.0.0on, minor and patch releases never change existing avatars. Only a major release can. - Docs and playground at palletface.palletism.art: a quick start, examples, the API reference, every style, integrations, and a playground to try any seed. (#7)
Upgrade notes
If you used 0.2.0-beta, the public names changed. (#9)
| Beta | 1.0.0 |
|---|---|
ditherFace() |
palletface() |
DitherFaceOptions |
PalletfaceOptions |
DitherFace browser global |
Palletface |
dist/dither-face.js |
dist/palletface.js |
// Before
import { ditherFace } from 'palletface'
const svg = ditherFace('user-123', { style: 'dither-orb' })
// After
import { palletface } from 'palletface'
const svg = palletface('user-123', { style: 'dither-orb' })- Avatars from the eight beta styles do not change. The same seed, style, size, and name draw the same SVG as in
0.2.0-beta. STYLESnow lists the twelve current styles in a new order. The ASCII styles (ascii-letter,ascii-field, andascii-face) are no longer inSTYLES, butpalletface()still accepts their slugs. If you pick a style by its position inSTYLES, store the slug instead, or some users will get a different style.
Full changelog
v0.2.0-beta
This beta updates the project’s release and contribution process. Install it with npm install palletface@beta.
Highlights
- Added a release guide covering versioning, package verification, and staged npm publishing. The release workflow now defaults to the reviewed
mainbranch. #2 - Updated the GitHub issue and pull request templates to clarify what to include in reports and contributions.