Skip to content

Qore 2.0.0

Latest

Choose a tag to compare

@taosin taosin released this 10 Sep 13:59

Qore 2.0.0

Release channel: stable
Install: npm i @qorejs/qore

  • Breaking: narrow the default entrypoint to stream/response runtime, readonly
    contracts and inspection. Move mutable reactivity to /signals, standalone DOM
    rendering to /dom, provider adapters to /providers, and SSE responses to /server.
  • Ship React hooks at /react with React as an optional peer. The standalone React
    package becomes a compatibility wrapper over the same implementation.
  • Store callable streams without invoking them as React state updaters.
  • Cache emitted React snapshots, including defensive chunk arrays, and isolate
    selector closures between renders. Preserve null stream values and test managed
    cancellation, external ownership, StrictMode and server rendering/hydration.
  • Migrate examples and package consumer fixtures; document import migration and
    distinguish host rendering from the optional direct DOM path.
  • Gate every package entrypoint and verify the core dependency graph excludes
    optional integrations. Keep existing runtime, browser, benchmark and tarball gates.

Upgrade

This major release changes import paths. See the 1.x to 2.0 migration guide. Optional integrations are subpaths in the same npm package.

import { stream } from "@qorejs/qore";
import { useQoreStream } from "@qorejs/qore/react";
import { h, mount } from "@qorejs/qore/dom";
import { signal } from "@qorejs/qore/signals";
import { createOpenAI } from "@qorejs/qore/providers";
import { createSSEResponse } from "@qorejs/qore/server";

Validation

152 unit tests, 8 desktop/mobile browser tests, benchmark gate, API snapshots, isolated tarball runtime/type checks (including core without DOM types or React), and React 18.2/19 package smoke checks.