Skip to content

Releases

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 16:53
f0bbbec

Security

  • Site: Next.js 16.2.4 → 16.4.6. The older version is affected by several unauthenticated remote code execution
    advisories (image optimization, next/og, use cache). This affected the website only, not the npm packages.
  • MCP: componentPath is now validated (a relative folder with path-safe characters, no ..). Before, a crafted
    value could inject code into the usage snippet's import and GLASS.md, or point filePath outside the project.
  • MCP: moved to zod 4 and the latest MCP SDK (zod <4.6.6 could exhaust memory on oversized inputs).
  • Site: baseline security headers on every route (nosniff, referrer policy, no framing, Permissions-Policy).
  • Tooling: vitest 5, sharp, postcss and patched transitive packages; pnpm audit goes from 54 advisories to 3,
    all dev-only inside eslint-config-next. CI's token is declared read-only.

Added

  • Landing: Apple-style scroll scenes. A pinned "glass zoom" (a full-screen window pulls back and its card turns
    into frosted glass with a live blur readout and token chips), a statement whose words light up as you scroll,
    and a hero that recedes. Built on a new ScrollScene primitive (scroll progress as --p, CSS does the motion).
  • Landing: a word band whose two rows slide opposite ways with the scroll, one key word per statement sentence that light up in
    the accent gradient, masked word entrances in headings and the hero, and a parallax on the showcase phone.
  • Landing: the AI agents (MCP) section now leads, before GLASS.md, with a demo of the round trip: what you ask,
    the generate_component call the agent makes and the glass card you get.
  • Playground: on mid-width screens (1024–1279 px) the preview sits next to one side panel with a Properties /
    Code switch, instead of three squeezed columns.

Changed

  • Landing animations rebuilt on the Iron Fit pattern: a shared <Reveal> (one IntersectionObserver + CSS
    transitions) on every section, words rising in headings, and CSS keyframes for the hero. The anime.js scene
    engine (lib/landing-motion.ts) is gone from the landing; the playground keeps anime.js.
  • Landing counters come from @lemuayala/glass-ui-core (primitives, presets, code variants, registry items).

Fixed

  • Landing sections could stay blank after a fast scroll or an anchor jump (up to 15 s), and counters could stay at 0.
  • Poor scrolling on phones: hero particles no longer run on mobile or off-screen, scroll work is batched into one
    listener per frame, entrances skip filter on phones, large decorative blurs are desktop-only, and the zoom card
    only applies its backdrop blur once the window stops scaling.
  • The glass zoom looked cramped on small or short screens (truncated card text).
  • The zoom card's text showed before the glass frosted, over the sharp "GLASS" word; it now arrives with the blur.
    Scroll scenes are shorter, so they move faster.
  • Spanish copy said "vidrio" for glass in three landing lines; it now uses "glass", like the rest of the app.
  • CLI: --glass-md overwrote an existing GLASS-<primitive>.md without --force; it now keeps it.

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 26 Nov 16:08
168700f

Fixed

  • GlassInput failed strict type-checking (TS2320): its size variant clashed with the native <input size>
    attribute. Affected the CLI, the MCP server and the shadcn registry, which share the template.
  • The GlassSwitch usage example referenced an undeclared setOn; it is now a complete component.
  • Console errors on the landing (GitHub 403 rate limit, npm downloads 404): stars and npm stats now come from a
    server-cached /api/stats instead of the browser calling GitHub and npm.

Changed

  • New minimalist logo (a color orb behind a frosted pane) for the app icon, favicon and social preview image.

Added

  • Test that fully type-checks every generated web component and usage snippet against React, cva, clsx and
    tailwind-merge.