Skip to content

v1.1.126

Choose a tag to compare

@github-actions github-actions released this 12 Nov 08:21
· 14 commits to main since this release

This release also carries the notes of 1.1.125, which was never tagged: the chart and SSR
port fixes under "Fixed" below.

Changed

  • react-fancy 6.21.0 (was 6.19.1). The range moves from ^6.19.1 to ^6.21.0. New
    components you can use straight away: ContentReaction (emoji reactions on a comment,
    post or message), ImagePill (the composer's image pill, for sent messages) and
    HotkeyCapture (records a keyboard shortcut); new --fancy-success / --fancy-on-success
    theme tokens; PromptInput gains beforeSend and accepts any recorded submitKey.
    Two behaviour changes upstream, neither used by the kit's own pages: a directional
    Carousel now renders every slide (pass keepMounted={false} for the old
    active-only rendering), and PromptInput with sendButton="icon" now draws the
    send-key hint (pass showHint={false} to hide it).
  • fancy-inertia 0.15.0 (was 0.14.1). The range moves from >=0.14.1 <2.0 to
    >=0.15.0 <2.0. Security: the SSR server now listens on 127.0.0.1 by default instead
    of every network interface. The kit's INERTIA_SSR_URL already points at
    http://127.0.0.1:13714, so nothing changes for an app where Laravel and the SSR
    process share a machine.
    Consumer action: only if your app server reaches the SSR process from another host
    or container, pass host to createFancyServer in resources/js/ssr.tsx (for example
    host: "0.0.0.0") and keep that port off any public network.
  • fancy-echarts 6.3.0 (was 6.2.0). The range moves from ^6.2.0 to ^6.3.0. A chart
    whose type was never registered now reports the missing type by name (and through the
    new optional onRenderError) instead of taking the whole page down.
  • fancy-app-update 0.8.0 (was 0.7.1), installed through fancy-inertia and fancy-pwa;
    only the lockfile moves. pingUrl now accepts an array.

Consumer action: none for the kit's own pages. In an app made from an earlier kit,
npm install @particle-academy/react-fancy@^6.21.0 @particle-academy/fancy-echarts@^6.3.0 "@particle-academy/fancy-inertia@>=0.15.0 <2.0" to follow.

Bundle: the main client bundle is 477.75 kB minified, 141.86 kB gzip (477.23 / 141.88 kB in
the untagged 1.1.125 build); the on-demand ECharts chunk is 1,020.31 kB, 338.67 kB gzip (1,018.63 / 338.27 kB).

Dev-mode smoke on a fresh, git-initialised scaffold of this release (headless Chromium,
npm run dev, react-fancy 6.21.0, fancy-inertia 0.15.0, fancy-echarts 6.3.0 and
fancy-app-update 0.8.0 installed, composer test 52 passed, DB_* unset):

  • the Dashboard's chart drew one canvas and no element carried data-echart-error;
  • register submitted by clicking the button, sign out, log in submitted by pressing Enter;
  • profile saved (303) and password changed (303), both confirmed in the database;
  • the login page's "Log in" button is still #ffffff on #7f22fe (violet-600, 5.89:1)
    in light mode and on #7008e7 (violet-700, 7.30:1) in dark mode;
  • /login, /register and /forgot-password each have exactly one main with the h1
    inside it, and / runs h1 then six h2s; the placeholder, input-border, checkbox
    colour-scheme, error-colour, theme-toggle and :focus-visible checks of 1.1.124 still hold;
  • 0 console errors and 0 warnings, with the listener proven by a planted error and warning.

Fixed

These fixes were prepared as 1.1.125 (2026-11-11), which was never tagged; they ship in
this release.

  • Charts work in a fresh app, loaded on demand. The kit installs
    @particle-academy/fancy-echarts but mounts with appRoot: false, which skips the chart
    registration FancyAppRoot does, so the first <EChart> hit an unregistered chart type
    and could take the page down. Found by the lab's full-kit benchmark.
    The new <Chart> (resources/js/components/Chart.tsx) takes the same props as <EChart>
    plus height (default 300 px). It loads components/chart-runtime.ts, which imports
    fancy-echarts and calls registerAll() and registerBuiltinThemes(), through a dynamic
    import() after the chart mounts. The server, and the browser's hydrating render, show a
    placeholder of the same height, so the markup matches and the layout does not jump. The
    Dashboard renders a sample chart.
    Bundle: the main client bundle is unchanged from 1.1.124 (app-*.js 477 kB minified,
    142 kB gzip). ECharts is its own chunk (1,019 kB, 338 kB gzip), downloaded only by a page
    that renders a chart. Registering from both entries instead would have put it on every
    page (1,498 kB, 481 kB gzip). Server-rendered HTML of pages without a chart is unchanged.
    Consumer action: in an app made from an earlier kit, copy components/Chart.tsx and
    components/chart-runtime.ts, and render <Chart> rather than importing <EChart>: a
    value import of fancy-echarts in a page puts all of ECharts back into that page's bundle.
  • The SSR port is configurable. ssr.tsx passed no port, so the SSR server always took
    13714 whatever INERTIA_SSR_URL said, and two apps could not run SSR on one machine. It
    now listens on the port in INERTIA_SSR_URL, the URL Laravel already sends render requests
    to, so the two cannot disagree, and it fails at start with a clear error if that URL is not
    valid. .env.example now lists INERTIA_SSR_URL=http://127.0.0.1:13714.
    Consumer action: none unless you changed INERTIA_SSR_URL; if you did, the SSR server
    now actually follows it. In an app made from an earlier kit, copy the ssrPort() helper
    from resources/js/ssr.tsx.
  • bootstrap/app.php imports its two middleware classes instead of naming them inline, so
    vendor/bin/pint --test passes on a fresh scaffold. No behaviour change.

Checked: INERTIA_SSR_URL=http://127.0.0.1:13799 node bootstrap/ssr/ssr.js started on
13799 and rendered the Welcome page there, with nothing on 13714; unset, it started on
13714; INERTIA_SSR_ENABLED=true INERTIA_SSR_URL=http://127.0.0.1:13801 php artisan inertia:start-ssr started on 13801. In headless Chrome with SSR on: /login fetched no
chart code; /dashboard served the placeholder in its HTML, then fetched the chart chunks
and drew a 240 px canvas, with no console errors or warnings.