Skip to content

Release v0.4.0

Choose a tag to compare

@AronSoto AronSoto released this 04 Jul 08:12
0732356

[0.4.0] — 2026-07-04

Dogfooding release: rich text in the DOM interpreter + locale bootstrap helpers. No breaking changes. → details

Added

  • Rich text in bindDom (core): data-verbaly-rich renders tagged messages ('The build <em>gate</em>') as real elements — phrasing-tag whitelist, built programmatically (never innerHTML), attributes never come from messages; non-whitelisted tags unwrap to inert text. richTags option to override.
  • resolveLocale({ supported, fallback?, storageKey? }) + persistLocale(locale, storageKey?) (core): storage → navigator.languages (BCP-47 narrowing) → fallback, and persistence + <html lang> sync. SSR-safe.
  • locales getter on the instance — loaded locales for language switchers.