# Changelog

## v2.1

### v2.1.0 — 2026-11-28

New: Search, one field that looks in several layers at once.

**New**

- [GlassSearch](/docs/search.md): Search: type once and it looks through apps, files, people or any layers you give it, ranks what it finds and completes the text with the best match. Rest on the empty field and the layers bud off it as droplets; press one to search that layer alone. (`@vitrumui/react`)
- [GlassSearch](/docs/search.md): Layers can answer later: `search(query, signal)` results join the list when they arrive, and the request is cancelled as soon as the text changes. (`@vitrumui/react`)
- Glass can bud a row of up to four droplets off its end as one chain, draw an outline on its very edge and cast a shadow that starts right at it. (`@vitrumui/core`)

## v2.0

### v2.0.1 — 2026-11-28

The three.js controls show without WebGL2 and stop leaking GPU memory; the CLI works on Windows.

**Improved**

- [Licensing](/docs/licensing.md): Licence keys for plans added later are accepted as commercial licences, so a newer key keeps working with this version. (`@vitrumui/core`)
- The published build no longer contains readable shader source. Rendering is unchanged. (`@vitrumui/core`)

**Fixed**

- Switch, Checkbox and Slider draw a plain CSS track, box or thumb in browsers without WebGL2, and while the glass loads. Before, only the label showed. (`@vitrumui/react`)
- Switch, Checkbox and Slider share one GPU program. Before, every mount compiled a new one that was never freed. (`@vitrumui/react`)
- [GlassMenu](/docs/menu.md): `GlassMenuLabel` no longer crashes outside a `GlassMenuGroup`. (`@vitrumui/react`)
- The packages depend on each other with version ranges instead of exact versions, so an engine fix no longer puts two copies of the engine in your app. (`@vitrumui/react`)
- [@vitrumui/cli](/docs/cli.md): `vitrum init` installs packages on Windows. If an install fails, the error says why and suggests `--no-install`. (`@vitrumui/cli`)
- [@vitrumui/cli](/docs/cli.md): `vitrum activate` keeps Windows line endings and blank lines in `.env` files when it writes the licence key. (`@vitrumui/cli`)
- [@vitrumui/cli](/docs/cli.md): `vitrum --version` prints the installed version. (`@vitrumui/cli`)
- The springs package ships the current licence, readme and third-party notices. (`@vitrumui/springs`)

### v2.0.0 — 2026-11-27

Buttons melt together, glass bends when pulled, and the engine rests when nothing moves.

**New**

- [GlassButton](/docs/button.md): Cohesion: two buttons that come close melt into one body of glass and share the light of a press. (`@vitrumui/react`)
- [GlassButton](/docs/button.md): Pull: hold and drag a button and it stretches like rubber, then springs back. On by default; `pull={false}` keeps it in place. (`@vitrumui/react`)
- Rim reflections: clear glass now mirrors what sits around its edge, and refreshes the picture once everything settles. (`@vitrumui/core`)
- [GlassPopover](/docs/popover.md): Title, description and close parts: `GlassPopoverTitle`, `GlassPopoverDescription` and `GlassPopoverClose`. (`@vitrumui/react`)
- [GlassMenu](/docs/menu.md): Submenus (`GlassMenuSub`, `GlassMenuSubTrigger`, `GlassMenuSubContent`), checkbox and radio items, groups and shortcuts. (`@vitrumui/react`)
- [@vitrumui/cli](/docs/cli.md): The CLI is on npm: `npx @vitrumui/cli init` sets up a project, `activate` installs a licence key offline, `doctor` checks the setup. (`@vitrumui/cli`)

**Improved**

- One press light and glow across buttons, menus, popovers, badges, tabs and the three.js controls. (`@vitrumui/react`)
- The engine draws far less: one shared animation loop that stops completely at rest, skips frames that wouldn't change, and reuses its textures. (`@vitrumui/core`)
- [GlassCard](/docs/card.md): Large frosted cards blur at a lower resolution first, so they cost much less to draw. (`@vitrumui/react`)
- [GlassBadge](/docs/badge.md): The scrolling text stops while it is hidden behind the glass. (`@vitrumui/react`)
- [GlassPopover](/docs/popover.md): Choose where it opens: `over="center" | "edge"` and `from="top" | "bottom"`. Its label returns letter by letter as it closes. (`@vitrumui/react`)
- [GlassDropdownMenu](/docs/dropdown-menu.md): Choose where it opens with `over` and `from`, close faster, and hold the trigger to open it. (`@vitrumui/react`)
- [GlassSelect](/docs/select.md): The list closes faster, the press light runs across the seam to the list, and holding the trigger opens it. (`@vitrumui/react`)
- [GlassButtonGroup](/docs/button-group.md): A menu trigger can sit inside the group (`GlassMenuTrigger asChild`), so a "more" button opens a glass menu. (`@vitrumui/react`)
- [GlassActionButton](/docs/action-button.md): `resetKey` returns it to idle without remounting, and its label changes letter by letter. (`@vitrumui/react`)
- [GlassSlideToConfirm](/docs/slide-to-confirm.md): A bare track with `fill={false}`, rim reflections with `mirror`, and your own `icon` on the thumb. (`@vitrumui/react`)

**Fixed**

- [GlassPopover](/docs/popover.md): The panel no longer jumps to the top of the window when it opens; it stays centred on its trigger. (`@vitrumui/react`)
- [GlassSlideToConfirm](/docs/slide-to-confirm.md): Track, fill and thumb stay aligned at every size, and the chevron sits centred. (`@vitrumui/react`)
- Popups keep a small minimum blur in Safari. (`@vitrumui/react`)

## v1.1

### v1.1.0 — 2026-11-25

Popover and Menu, glass on your own elements, and themes.

**New**

- [GlassPopover](/docs/popover.md): Popover: a button that opens into a small glass panel right where it is. (`@vitrumui/react`)
- [GlassMenu](/docs/menu.md): Menu: a glass menu that opens toward any side, with labels, icons and shortcuts. (`@vitrumui/react`)
- [useGlass / GlassSurface](/docs/custom-glass.md): `useGlass()` and `<GlassSurface>` (`@vitrumui/react/surface`) put the glass on your own elements. (`@vitrumui/react`)
- [VitrumProvider / createGlassTheme](/docs/theming.md): `<VitrumProvider>`, `useVitrumTheme()` and `createGlassTheme()` in `@vitrumui/react/theme`, with built-in presets: frost, obsidian, aurora, amber and crystal. (`@vitrumui/react`)

## v1.0

### v1.0.0 — 2026-11-25

The first release on npm.

**New**

- [GlassButton](/docs/button.md): First release, in `@vitrumui/react/button`. (`@vitrumui/react`)
- [GlassActionButton](/docs/action-button.md): First release, in `@vitrumui/react/action-button`. (`@vitrumui/react`)
- [GlassTabs](/docs/tabs.md): First release, in `@vitrumui/react/tabs`. (`@vitrumui/react`)
- [GlassBadge](/docs/badge.md): First release, in `@vitrumui/react/badge`. (`@vitrumui/react`)
- [GlassSlideToConfirm](/docs/slide-to-confirm.md): First release, in `@vitrumui/react/slide-to-confirm`. (`@vitrumui/react`)
- [GlassCard](/docs/card.md): First release, in `@vitrumui/react/card`. (`@vitrumui/react`)
- [GlassButtonGroup](/docs/button-group.md): First release, in `@vitrumui/react/button-group`. (`@vitrumui/react`)
- [GlassSelect](/docs/select.md): First release, in `@vitrumui/react/select`. (`@vitrumui/react`)
- [GlassDropdownMenu](/docs/dropdown-menu.md): First release, in `@vitrumui/react/dropdown-menu`. (`@vitrumui/react`)
- [RangeSlider](/docs/slider.md): First release, in `@vitrumui/react/controls/range-slider`. (`@vitrumui/react`)
- [Switch](/docs/switch.md): First release, in `@vitrumui/react/controls/switch`. (`@vitrumui/react`)
- [Checkbox](/docs/checkbox.md): First release, in `@vitrumui/react/controls/checkbox`. (`@vitrumui/react`)
- A precompiled stylesheet, `@vitrumui/react/styles.css`, for apps with or without Tailwind. (`@vitrumui/react`)
- The WebGL2 glass engine as its own framework-agnostic package. (`@vitrumui/core`)
- Offline licence keys: a valid key removes the non-commercial badge in production. No network calls, and the check never blocks rendering. (`@vitrumui/core`)
- Spring physics and presets as a dependency-free package. (`@vitrumui/springs`)
