Packages

@headlessui/react

2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @headlessui/react From 2.0.3 to 2.0.4

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.3Newest 2.x, Latest2.2.10
  1. 2.0.3yours
  2. 2.0.4target
1
change to make
0
advisories fixed
0
new
5
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated2.0.4

Release by release

  1. 2.0.4

    Deprecation24 May 20245 fixes
    • Deprecated

      Mark SwitchGroup as deprecated, prefer Field instead

    • Fixed

      Don’t set a focus fallback for Dialog’s in demo mode

    • Fixed

      Ensure page doesn't scroll down when pressing Escape to close the Dialog component

    • Fixed

      Fix crash when toggling between virtual and non-virtual mode in Combobox component

    • Fixed

      Ensure tabbing to a portalled PopoverPanel component moves focus inside (without using PortalGroup)

    • Fixed

      Only handle form reset when defaultValue is used

1 other line we could not sort, mostly version bumps
  • Use native fieldset instead of div by default for Fieldset component

    2.0.4

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.