Skip to content

v11.2.0

Latest

Choose a tag to compare

@fkhadra fkhadra released this 28 Oct 15:43
v11.2.0
f306989

Release Notes

Features

  • theme="auto" follows the OS color scheme (prefers-color-scheme). Opt-in;
    default stays light. Closes #1186.
  • transition={false} disables enter/exit animations, on the container or per
    toast. Closes #857.
  • appendStyleSheet prop on <ToastContainer> appends the injected <style>
    tag to <head> instead of prepending it.

Fixes

  • The injected stylesheet is prepended to <head> again, so CSS variable overrides
    work without !important (regression in 11.1.0). Thanks @Aakashpai, #1295.
    Closes #1287.

Internal

  • Build migrated from tsup to tsdown. Publish layout unchanged.
  • tsconfig: dropped deprecated baseUrl, scoped to library sources.
  • CI: latest Node LTS, pnpm 12.
  • Playground: type fixes, none transition option.

Thanks to @Aakashpai and reporters of the fixed issues.