Skip to content

Releases

v1.0.0

Choose a tag to compare

@puri-adityakumar puri-adityakumar released this 25 Nov 20:09
42d24dd

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, and pixel-stamp. Each one also has its own renderer export, such as pixelFlora. (#3, #5)
  • Avatars stay put. From 1.0.0 on, 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.
  • STYLES now lists the twelve current styles in a new order. The ASCII styles (ascii-letter, ascii-field, and ascii-face) are no longer in STYLES, but palletface() still accepts their slugs. If you pick a style by its position in STYLES, store the slug instead, or some users will get a different style.

Full changelog

Compare with the previous release

v0.2.0-beta

v0.2.0-beta Pre-release
Pre-release

Choose a tag to compare

@puri-adityakumar puri-adityakumar released this 24 Nov 08:43
e7ae1ca

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 main branch. #2
  • Updated the GitHub issue and pull request templates to clarify what to include in reports and contributions.

Full changelog

Compare with v0.1.0-beta.3