Skip to content

Releases

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 17:55
Immutable release. Only release title and notes can be modified.
v0.9.0
99e5c52

Added

  • The published package now ships an llms.txt describing its API for LLM-based tools.

Changed

  • playOnHover now only replays on hover for hover-capable, fine pointers
    (@media (hover: hover) and (pointer: fine)) in the React component, the
    Astro component and <fluent-emoji>. On touch devices a tap no longer leaves
    a sticky :hover that loops the animation until the user taps elsewhere;
    keyboard focus (:focus-visible) playback is unchanged.
  • Every optional EmojiOptions property accepts an explicit undefined, so
    controller.update({ fallback: undefined }) type-checks for consumers that
    compile with exactOptionalPropertyTypes. Runtime behavior is unchanged.

Fixed

  • A manifest load that failed is no longer fetched a second time when an older load, superseded by configureEmojis, settles afterwards. onError fired twice for one failure in that case.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 07:14
Immutable release. Only release title and notes can be modified.
v0.8.0
4f348ba

Added

  • A public files site, https://animated-fluent-emojis-files.andryore.dev, with
    every emoji and skin tone as an animated GIF, an animated WebP and a
    poster-frame PNG at stable URLs such as /gif/<slug>.gif, plus an
    /index.json. Slugs are frozen in a committed registry. The artwork is
    Microsoft's, see ADR 0015.
  • The emoji lists show a preview and links to the public files of each emoji.

Changed

  • The asset site default URL is now
    https://animated-fluent-emojis-cdn.andryore.dev. Consumers with a strict
    Content Security Policy must allow that host in img-src and connect-src.
    The old pages.dev URL keeps working.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 03:32
Immutable release. Only release title and notes can be modified.
v0.7.0
21909b5

Removed

  • Breaking: the root Emoji export, deprecated in 0.6. Change the import
    path to animated-fluent-emojis/react, nothing else; props and behavior are
    identical:

    -import { Emoji } from 'animated-fluent-emojis'
    +import { Emoji } from 'animated-fluent-emojis/react'
  • Breaking: the EmojiProps type at the root. Import it from
    animated-fluent-emojis/react. configureEmojis, preloadEmojis,
    createEmoji, EmojiId, DiverseEmojiId and SkinTone stay at the root.

Changed

  • react and react-dom are now optional peer dependencies, so Vue, Svelte and
    Astro installs no longer get a React peer warning.

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 03:11
Immutable release. Only release title and notes can be modified.
v0.6.0
1ee294b

Added

  • Multi-framework support behind subpath exports, see
    ADR 0014:
    • animated-fluent-emojis/react exports Emoji and its types.
    • animated-fluent-emojis/vue exports a native Vue 3 Emoji with a
      fallback slot and load, error and playbackEnd events.
    • animated-fluent-emojis/svelte exports a native Svelte 5 Emoji with a
      fallback snippet.
    • animated-fluent-emojis/astro exports an Astro Emoji that renders at
      build time and starts playback with a small client script.
    • animated-fluent-emojis/element registers <fluent-emoji>, a Web Component
      for Angular, Solid, Preact, Lit, Alpine, htmx and plain HTML. It has a
      slot="fallback" and the emoji-load, emoji-error and playback-end
      events.
    • createEmoji at the root renders an emoji into any DOM node and returns a
      controller with update and destroy.
  • Install and usage steps for every framework in the
    usage guide, how-tos for
    Angular,
    Solid and
    Preact, and a "Works with" table in the
    README.
  • vue, svelte, astro, solid-js and preact as optional peer
    dependencies.

Changed

  • The playback logic moved to a framework-free core shared by every adapter, and
    one conformance suite checks that they behave alike.

Deprecated

  • The root Emoji export, removed in 0.7. Migrate by changing the import path
    to animated-fluent-emojis/react, nothing else. configureEmojis and
    preloadEmojis stay at the root. In 0.7 react also becomes an optional peer
    dependency.

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 06 Oct 00:12
Immutable release. Only release title and notes can be modified.
v0.5.3
23e65c5

Changed

  • Relicensed the code from ISC to MIT, see
    ADR 0013. Versions up to 0.5.2 stay ISC.
  • The package description, keywords and README intro describe what the component
    does today. The "Exclusive Feature" callout is removed.
  • Added a brand kit in docs/brand/ and the bun run brand:export script that
    generates its rasters.

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 05 Oct 17:17
Immutable release. Only release title and notes can be modified.
v0.5.2
bb9c995

Fixed

  • Behavior change (lookup): findEmojiByUnicode requires the variation
    selector (U+FE0F) for text-default symbols such as © and ™, which no
    longer match as a bare character.

  • Behavior change (lookup): a text with mixed skin tones resolves to the
    base emoji, with no skinTone.

  • Behavior change (lookup): extractEmojis no longer rejects without
    Intl.Segmenter; it falls back to a code point grouper.

  • Behavior change (lookup): a searchEmojis limit that is not a positive
    number means no limit, and 0 returns nothing.

  • The manifest record has no prototype, so ids such as constructor resolve
    like any other, and a load superseded by configureEmojis returns the current
    load's result.

  • A run that the playback gate blocks mid-run is paused on its frame instead of
    restarting.

  • onError fires once per failure, and a numeric string size such as "48"
    is treated as a number. A string size gets sizes="auto".

  • Emoji shares one online listener across all instances.

  • The sync records skippedIds and limited in version.json and rebuilds
    until the site is complete; --limit must be a positive whole number.

  • Legacy /sprites/* files are cached for one day instead of a year, since
    their URLs are not content-addressed.

  • assets:verify-live checks the live v1 layout and pipeline version, and the
    release workflow runs it before publishing.

  • The release workflow publishes prereleases under their own dist tag.

  • The sync smoke test waits for the deployed builtAt and retries its fetches.

  • Behavior change (lookup): when several catalog entries share a glyph,
    findEmojiByUnicode and extractEmojis return the canonical emoji (the id
    prefixed with its code points, otherwise a reviewed override, otherwise the
    first in catalog order) instead of the last entry indexed, so ❤️ no longer
    resolves to a variant. A skin tone falls back to an entry sharing the glyph
    that has tones.

  • Behavior change (lookup): ZWJ sequences match without the variation
    selector (minimally qualified), and a fractional searchEmojis limit is
    rounded down.

  • Invalid numeric string sizes such as "-5" fall back to 100, like numeric
    sizes; ".5" is 0.5px and "2rem" stays a CSS length.

  • preloadEmojis sets sizes next to srcset for HD sheets, and the manifest
    load times out after 15 seconds without AbortSignal.timeout (Safari before
    16).

  • skippedIds lists only real failures. An HD frame count mismatch ships the
    emoji without HD instead of keeping the site stale, so scheduled syncs no
    longer rebuild forever; assets:verify-live retries its fetch.

  • The sync workflow runs its smoke checks on every run, pins Wrangler, times out
    after 90 minutes, and its changelog job only looks at [Unreleased].

  • Prereleases are published as GitHub prereleases, never "Latest", and numeric
    prereleases publish under the next dist tag.

  • engines.bun is removed from the published package.

Changed

  • Renovate manages dependency updates; @types/node is held below 25 and the
    npm pin in the workflows is tracked.
  • The shared manifest chunk has a stable name, chunks/manifest-[hash].js.
  • Bumped eslint-plugin-unicorn to 77 and @types/node to 24.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 12:12
Immutable release. Only release title and notes can be modified.
v0.5.1
fe419ec

Fixed

  • The release workflow passed the tarball to npm publish without a leading
    ./, so npm read it as a GitHub shorthand and the 0.5.0 publish failed. 0.5.0
    was never published to npm; 0.5.1 carries the same changes plus this fix.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 06:16
Immutable release. Only release title and notes can be modified.
v0.4.0
fc0efb4

Added

  • alt prop on Emoji: accessible text, defaulting to the emoji description;
    an empty string marks the emoji as decorative.
  • configureEmojis({ assetSiteUrl }) to serve the manifest and sprite sheets
    from your own asset site.
  • HD (@2x, 200px) sprite sheets for every emoji with an official counterpart,
    served through srcSet.
  • playOnHover also plays when the emoji sits inside a focused <button> or
    <a>.
  • EmojiId, EmojiProps and SkinTone are exported from the package.
  • The bundle starts with "use client";, so Emoji works from Next.js server
    components.

Changed

  • Breaking: while the manifest loads, Emoji renders an empty aria-hidden
    placeholder of the final size instead of null. It still renders null for
    an unknown id or a failed load.
  • Breaking: under prefers-reduced-motion: reduce, autoPlay is ignored
    and the emoji rests on its poster frame; with playOnHover, hover and focus
    still play it.
  • Breaking: images are rendered with loading="lazy" and
    decoding="async", so offscreen emojis load when they approach the viewport.
  • Breaking: the id prop is typed EmojiId | (string & {}) instead of
    string. Known ids autocomplete; any string still compiles.
  • Breaking: the runtime fetches manifest.slim.json instead of
    manifest.json, on first render instead of at import. Asset sites that mirror
    the catalog must publish the slim manifest.
  • Etags of converted sprites are content hashes that include a pipeline version,
    and the animation frame rate is exact instead of rounded.
  • The asset build validates every animation and sprite sheet and fails on any
    problem.

Fixed

  • Emojis animate again: no per-emoji <style> with a
    transform: ... !important rule overrides the keyframe anymore.
  • A failed manifest fetch is retried on the next render instead of leaving every
    emoji blank.

Migration

  • Make sure animated-fluent-emojis/style.css is imported: it carries the
    animation keyframes.
  • If you styled or tested around null while loading, handle the placeholder
    <span aria-hidden="true"> instead.
  • If you mirror the asset site, publish manifest.slim.json and, optionally,
    the @2x sheets, and call configureEmojis before the first render.
  • To get type checking against published ids, type your ids as EmojiId; plain
    string values keep compiling.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 02:16
Immutable release. Only release title and notes can be modified.
v0.3.0
2f81fc1

Added

  • skinTone prop on Emoji to pick a skin tone for emojis with variants.
  • The 40 official Fluent animated emojis that Teams does not ship, such as
    flags, 😀, 🖕 and the "facing right" variants.
  • Sprite URLs carry the emoji etag so updated sprites are never served stale.

Changed

  • The manifest and sprites are served from
    https://animated-fluent-emojis.pages.dev and refreshed automatically each
    week.

Fixed

  • Emojis no longer fail to load now that cdn.animated-fluent-emojis.com no
    longer exists.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 22:34
Immutable release. Only release title and notes can be modified.
v0.2.0
6c8d74e

Added

  • animated-fluent-emojis/style.css export for importing the component styles.
  • React 19 support in the react and react-dom peer dependency ranges.

Changed

  • Breaking: the package is now ESM-only. The UMD and CommonJS builds were
    removed.

Fixed

  • sideEffects now declares the stylesheet so bundlers no longer drop the
    component styles during tree shaking.