Changelog

What changed in each release, newest first. Within 1.x, an avatar you already use never changes: new styles and options appear only when you ask for them.

1.4.0Minor

Moji, Inkwell, Isometric and Contour

Four new styles and Angular group options. Every 1.3 seed and option set renders the same bytes.

New

  • moji: bright cartoon people, with hair, outfit and expression. A circle by default.
  • inkwell: ink-line people, with hair, glasses, mouth, prop and expression. A square tile by default.
  • isometric: little block characters, with body, topper, prop, pattern, expression and palette.
  • contour: a contour map in the seed hue, with terrain: layers, island, lakes or thermal.
  • Moji, Inkwell and Isometric share 26 expressions. Skin tone never depends on hair, clothes or props.

Improved

  • The Angular group takes shape: 'none' and passes every per-style option to its members.
  • Bundles are slightly smaller with the same output: core + Morph is 6.56 KB gzipped, down from 6.61 KB. Optional shared parts move to 2.0.
Full release notes
  • Opaline 1.4 adds four styles. Every 1.3 seed and option set renders the same bytes.
    • The new styles are moji (bright cartoon people; hair, outfit, a circle by default), inkwell (ink-line people; hair, glasses, mouth, prop, a square tile by default), isometric (little block characters; body, topper, prop, pattern, palette, a square tile by default) and contour (a contour map in the seed's hue; terrain: layers, island, lakes or thermal). Moji, Inkwell and Isometric share 26 expressions and take shape: 'none' to drop their tile. Skin tone in Moji and Inkwell depends on nothing but the seed.
    • The Angular group takes shape: 'none' and passes every per-style option to its members, as the React, Vue and Svelte groups do. Its size budget rises from 3.35 to 4 KB.
    • The wrappers and LookOptions take every new style and option.
    • Bundles are slightly smaller with the same output: core + morph 6.61 to 6.56 KB gzipped. Making shared parts optional moves to 2.0, since it would change what 1.3 calls such as finish: 'gummy' load.
1.3.0Minor

Critters, Cosmos, Folk and Doodle

Four new styles, a status badge and a gummy finish. Every 1.2 seed and option set still renders the same bytes.

New

  • critters: 19 soft vinyl-toy animals, with animal and coat options.
  • cosmos: 15 glowing space objects, with object, tone and a night-sky tile through shape.
  • folk and doodle: people and face-only line drawings. Both have 18 expressions, 11 color looks (scheme) and a square tile by default. Folk defaults to duotone, in the seed palette color.
  • status: an online, away, busy or offline badge on every style. With title or alt the label reads "Ada (away)".
  • finish: 'gummy' on Morph, Gradient, Pip, Clay and Critters. Plush takes material: gummy, flat or soft, and still ignores finish.

Improved

  • Eight more expressions: starry, love, laugh, cool, nice, smug, yawn and wow.
  • More shapes, by name only: Gradient form, Morph families star, drop and bloom, five Pip forms, a Clay ghost body with fox and mouse ears, four Plush accessories. Seeds never land on them unless you set them.
  • Every wrapper takes every new style and option.

Changed

  • Bundles are larger: shared faces, the gummy finish, Gradient forms and the status badge ship with every style. Core + Morph is 6.6 KB gzipped, up from 4.9 KB. Making them optional is planned for 1.4.
Full release notes
  • Opaline 1.3 adds four styles and a set of opt-in options. Every 1.2 seed and option set renders the same bytes.
    • The new styles are critters (19 soft vinyl-toy animals; animal, coat: 'natural' | 'palette'), cosmos (15 glowing space objects; object, tone, and a night-sky tile with shape), folk (human-like people) and doodle (face-only line drawings). Folk and Doodle have their own expression set (18, by mood: happy, playful, attitude, moody, surprised), eleven colour looks (scheme), and a square tile by default (shape: 'none' drops it). Folk defaults to the duotone look, drawn in the seed's palette hue so a person keeps their colour across styles; duotone follows the palette in Doodle too.
    • Every style takes status: 'online' | 'away' | 'busy' | 'offline', which draws a badge, but not below 20px. With title or alt, the label reads Ada (away). Group members take their own status; a status set on the group goes to members without one. Without title or alt the status is not announced, and below 20px the label still names it though no badge is drawn.
    • finish: 'gummy' works on Morph, Gradient, Pip, Clay and Critters. Plush takes material: gummy (its 1.2 look, the default), flat or soft. Plush still ignores finish, as in 1.2, so a finish shared across looks never changes it.
    • These values are set by name, and seeds never land on them: eight expressions (starry, love, laugh, cool, nice, smug, yawn, wow), Gradient form (nine smooth outlines), Morph families star, drop, bloom, Pip forms star, clover, shield, octagon, ghost, Clay body: 'ghost' and ears: 'fox' | 'mouse', Plush accessory: 'pumpkin' | 'party' | 'headphones' | 'crown'.
    • The wrappers take every new style and option. LookOptions (core) is the shared props type.
    • The types Expression, Family, Finish, Accessory, PipForm and Clay body and ears take new values. Code that switches over every value or uses Record<Expression, …> needs the new keys.
    • Bundles are larger. The shared parts new in 1.3 (faces, the gummy finish, Gradient forms and the status badge) ship with every style, even when unused. Gzipped, from 1.2: core 1.27 to 1.58 KB, core + morph 4.91 to 6.61 KB, core + gradient 5.14 to 7.42 KB, core + clay 5.58 to 7.60 KB, core + plush 6.71 to 8.88 KB, core + pip 4.34 to 5.35 KB. Making them optional is planned for 1.4.
1.2.0Minor

Plush and Pip

Two new styles that keep the seed's color, so a user stays one color across looks. Existing output is unchanged.

New

  • plush: gummy critters with a face and a seeded accessory (accessory).
  • pip: bold geometric forms with two pill eyes (form).
  • Every wrapper accepts accessory and form.
Full release notes
  • Two new styles. plush draws gummy critters (a clear-looking body that sags into seeded drips, with a few bubbles inside) with a face and a seeded accessory (accessory: beret, cap, beanie, glasses, shades, flower, sprout, bow, star or none). pip draws bold geometric forms (form: circle, squircle, triangle, hexagon, diamond, heart, drop, pill, dome) with two pill eyes. Both use the same seeded color as every other style, so a user keeps one color across looks. All wrappers accept the new accessory and form options. Existing output is unchanged.
1.1.2Maintenance

Wider framework support

The wrappers now work with React 18 and Angular 20 to 22. The core package has no changes.

Improved

  • React 18 and Angular 20 to 22 supported by the wrappers.
Full release notes

No changes in this release.

1.1.1Patch

Readable initials, PNG export and groups

Initials now clear WCAG AA contrast, and avatars can leave the browser as PNG.

New

  • @inlaylab/opaline/png: toPng(avatar, { size, vars }) renders a PNG Blob in the browser with no dependencies. forRaster prepares the SVG for a server rasterizer such as resvg.
  • avatarGroup(members, { max, size, shape }): the shared layout behind every wrapper's avatar group.
  • contrast(a, b) gives the WCAG contrast ratio of two hex colors.

Improved

  • Initials letters are a deep shade of the tile's own hue, at least 4.5:1 on every palette. White letters were as low as 1.9:1. --avatar-fg still overrides.

Fixed

  • The ellipse shape is removed. shape takes circle, squircle or square; anything else falls back like an unknown value. 1.0 output is unchanged.
Full release notes
  • Initials are easier to read: the letters are now a deep shade of the tile's own hue, chosen to clear WCAG AA (4.5:1) on every palette. White letters on 1.1.0's bright tiles were as low as 1.9:1. Only the letter color changes, and pastel tiles keep their 1.1.0 output. --avatar-fg still overrides it.
  • New @inlaylab/opaline/png entry: toPng(avatar, { size, vars }) renders a PNG Blob in the browser with no dependencies, and forRaster(avatar, { size, vars }) prepares the SVG for a server rasterizer such as resvg.
  • New avatarGroup(members, { max, size, shape }): the shared layout behind every wrapper's avatar group. New contrast(a, b) gives the WCAG contrast ratio of two hex colors.
  • Hotfix: remove the ellipse shape. shape takes circle, squircle or square. shape: 'ellipse' now falls back like any unknown value: a circle on Aura and Initials, and no tile on Morph, Gradient and Clay. 1.0 output is unchanged.
1.1.0Minor

Initials and shapes

Letters on a seeded tile, and a shape option on every style.

New

  • initials (@inlaylab/opaline/initials): the person's initials from the seed, or from text.
  • shape on every style. Leaving it unset gives exactly the 1.0 output.
Full release notes
  • New initials style (@inlaylab/opaline/initials): the person's initials on a seeded tile, taken from the seed or set with text. Every style now takes shape: circle, squircle, square or ellipse. Aura and Initials draw their tile in that shape; Morph, Gradient and Clay draw a tinted tile behind the character. Leaving shape unset gives exactly the 1.0 output.
1.0.0Major

Stable output

The same seed and options give a byte-identical SVG for every 1.x release, guarded by a checksum file in CI.

Improved

  • An option set to its default gives exactly the unset output, gradient IDs included, in every style.
  • Every package ships a README, the MIT license and full npm metadata.
Full release notes
  • 1.0: stable output. The same seed and options now give a byte-identical SVG for every 1.x release, guarded by a checksum file in CI. Options set to their default give exactly the unset output, including gradient IDs, in every style. Every package now ships a README, the MIT license and full npm metadata.
0.4.0Minor

Clay

Little characters, and two new finishes.

New

  • clay with jelly and hood bodies, in every wrapper.
  • soft and gloss finishes for Morph, Gradient and Clay. Morph and Gradient output is unchanged from 0.2.
Full release notes
  • Clay style with jelly and hood bodies, soft and gloss finishes for Morph, Gradient and Clay, and Clay support in every wrapper. Morph and Gradient output is unchanged from 0.2.
0.3.0Minor

Vue and Svelte

Two more frameworks, and sample apps for server rendering.

New

  • Vue and Svelte wrappers that pass the shared contract suite.
  • SSR sample apps for Next, Angular SSR, Nuxt and SvelteKit.
Full release notes
  • Vue and Svelte wrappers that pass the shared contract suite, and SSR sample apps for Next, Angular SSR, Nuxt and SvelteKit.
0.2.0Minor

The blob family

The first three styles and the first wrappers, all on one contract.

New

  • Aura, Morph and Gradient (@inlaylab/opaline/aura, /morph, /gradient), a seeded shape genome, 12 expressions and OKLCH palettes.
  • Wrappers: the <opaline-avatar> custom element, React Avatar and Angular op-avatar. All share image fallback, an accessible name from alt and unique gradient IDs.
Full release notes
  • Blob family: Aura, Morph and Gradient styles (@inlaylab/opaline/aura, /morph, /gradient), a seeded shape genome, 12 curated expressions and OKLCH palettes. New wrappers: <opaline-avatar> custom element, React Avatar, Angular op-avatar. All share one contract: image fallback, accessible name from alt, and unique gradient IDs per instance.
0.1.0Minor

Foundation

The seeded core, an SVG builder, OKLCH color and golden tests.

Full release notes
  • Foundation: seeded core, SVG builder, OKLCH color, golden tests.