Repository navigation
Version Packages - #966
Merged
Merged
Version Packages#966
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
9 times, most recently
from
September 6, 2026 19:20
7d7e9b8 to
d645389
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 6, 2026 19:53
d645389 to
690bd54
Compare
cursor Bot
pushed a commit
to jonkwheeler/octane
that referenced
this pull request
Sep 6, 2026
Bring in Version Packages (octanejs#966) so PR octanejs#973 is mergeable against latest octanejs/octane main. The only conflict was generated user-apps-v1 manifest hashes; regenerate them with pnpm sync. Co-authored-by: Jon Wheeler <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
[email protected]
Patch Changes
aec5373: Reevaluate Octane app configs safely across environment changes and concurrent builds. Correct form controls, hoisted head metadata, and descriptor-children lexical shadowing. Align Window and Day Picker bindings with Octane's types and native events, and honor falsy Redux server state.
1f19beb: Prevent production API errors and static-file symlinks from disclosing server details or files outside the built asset tree. Preserve injected HTML and settle streaming SSR when callbacks fail, and compile imported descriptor-children components correctly through Rspack and Rsbuild.
d38cd81: Allow a scoped
<style>inside a split<Hydrate>child when its whole lexical style scope — the block and the host elements it stamps — sits inside the boundary. Client and server keep the authored-position hash. A scope that straddles the boundary is stillOCTANE_HYDRATE_SPLIT_STYLE.a059b46: Refresh an already-injected scoped stylesheet when
injectStyleis called again with the same hash and different CSS, so HMR updates take effect.a40dae1: Speed up production server rendering of elements with canonical attribute names
by avoiding redundant attribute aggregation while preserving spread precedence,
value coercion order, and rendered output.
d38cd81: Scope
<style>blocks to their siblings (RFC tsrx-org/RFCs#1): a block styles its siblings and everything below them — the children list of the element or fragment it is written in, including the fragment a nested@{ … }block, a control-flow branch body, or an assigned element/fragment template renders — sibling blocks share one hash and oneinjectStylecall, nested scopes get their own hash and CSS is injected in lexical order,<style>may sit beside the output node in a code block or directive body, assigned blocks lower anywhere a declaration is legal and expose$class, exported or applied blocks keep every selector,<style apply={theme} />stamps a theme's classes on a scope, and{style(expr)}resolves to the full scope chain.Amendment A1 to the scope model: a standalone
<style>block is a child of an element or a fragment and styles the items beside it and everything below them — never the element that contains it. Every children list that holds a block is a scope with its own hash; two blocks among the same children share one, and a block in an element's children no longer stamps that element or any ancestor. To style an element, make the block and the element fragment siblings (<><style>…</style><div>…</div></>), inside@{ … }and directive bodies too: a body holds exactly one output node, so a block beside the output node is the multiple-outputs parser error and a lone block as the output is the newtsrx-style-standalone-needs-fragmentdiagnostic. Raw CSS in<style>is TSRX template syntax: a standalone block outside every@{ … }or@if/@for/@switch/@trybody — a plain function returning JSX, an element assigned at module scope — is the newtsrx-style-standalone-outside-templatediagnostic, and plain TSX keeps its own rule, where<style>{css}</style>is an ordinary element the client and server emitters pass through untouched (the Node parser entry now retries that shape in the JavaScript parser when the native facade's CSS reader rejects it).applyon a standalone block reaches the same elements as its CSS, and a standalone block's selectors are pruned against those elements: a rule that reaches none of them — one aimed at the containing element, say — survives only as a/* (unused) … */comment, as it does in@tsrx/core. A value factory written in plain TSX keeps its scoped CSS in a render-only@{ <>…</> }inside the returned fragment; that block is transparent grouping in value position too, so the returned styled fragment stays a staticFragmentdescriptor rather than lowering to a compiled renderer.style(expr)resolves to the scope chain only where TSRX reads a class value — the expression of a JSX attribute value (thestyleattribute excepted) or of a template child hole, directly or nested in array/conditional/logical/template expressions there (nested in the class value of an element the chain is stamped on, the call yields its value alone and the stamp adds the chain once, so a composed class never carries a hash twice); astyle(...)call anywhere else (a statement, a declaration initializer, a call argument, a callback body, astyle={style(p)}value) is a user call and prints as authored.c6516c0: In opt-in Strong mode, add compiler errors when a built-in hook value and its dependent effect are declared outside the sole nested
@{…}block that uses them, or a named native event handler is declared outside the sole deeper block containing its direct event use. Permit parent-owned hooks in conditional and keyed arms, plus inline and same-scope named handlers, including shorthand event attributes. Report the source declaration and suggested block location in compiler and editor diagnostics.3988e85: Memoize unitless CSS property classification so numeric style writes skip repeated string allocation.
20e2c96: Keep a spread
classwhen a styled host adds its scope hash.A synthesized scope class now merges with a preceding spread's class instead of
replacing it, so
props.classreaches the DOM on both client and SSR.eb32683: Fold
.tsxstring-literal expression children such as Prettier's{" "}into the client template, matching the server and.tsrxcompilers so hydration no longer duplicates the following element.3c5d2df: Update the TSRX compiler dependency to
@tsrx/[email protected]from Version Packages tsrx-org/tsrx#74 and preserve matching sibling selectors (+and~) at the top of a style scope and inside branch fragments. Unmatched selectors remain pruned, and a scoped block still never styles its containing element.@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
395ebe8: Compile and run this package's published source outside Node.
The package ships
src/and points its exports at it, so an applicationcompiles these files with its own tsconfig and runs them in its own host. Both
halves of that were broken.
useStrayOwnerDiagnosticreadprocess.env.NODE_ENVwith nothing declaringprocess. In the repository the package's own tsconfig pinstypes: ["node"],which hid it; a browser application has no
@types/node, so the file failed tocompile, and a host that substitutes nothing threw a ReferenceError out of every
<Head>render. The reference is now declared locally and guarded withtypeof,and stays spelled out as
process.env.NODE_ENVso bundlers still substitute it.The rest is
exactOptionalPropertyTypesandnoUncheckedIndexedAccess, whichplenty of applications turn on.
SeoConfig's fields now admitundefinedalongside being optional, which is what they have always meant:
applyConfigand the registry merge read every one of them with an
!== undefinedtest, soan absent key and a present
undefinedbehave identically, and<Seo>can goon passing its optional props straight through. The two loops that index an
array they just measured say so.
No behavior changes for an application that already built.
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
67ae07f: Re-evaluate
useStorewhen the selector, atom, or comparator changes.The previous snapshot cache keyed only on store input. A selector that captured a
route match id could therefore keep the selection computed for the previous id
after navigation had already published the new match list. Nested
Outlets wentempty when moving between sibling parameterized routes until reload.
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
1ee2773: Let
UseSelectorOptions.compareholdundefinedexplicitly.This package publishes
src/, so the consumer's compiler options are the onesthat compile it. An application with
exactOptionalPropertyTypesenabled couldnot build it at all:
useStorenormalises its variadic arguments into{ compare }, wherecompareis the optional third argument, and passing thatobject to
useSelectorfailed because the target property was declared withoutundefined.The same wall met anyone forwarding their own optional comparator, because
{ compare: maybeCompare }is not assignable to{ compare?: Compare }underthat flag. Declaring the property as
compare?: Compare | undefinedacceptsboth. The runtime is unchanged:
useSelectorhas always read the option withoptions?.compare ?? defaultCompare, so an absent key and an explicitundefinedalready behaved identically.@octanejs/[email protected]
Patch Changes
d3020df: Build atom options only when table-core supplies a comparator.
The reactivity bindings forwarded
{ compare: options?.compare }intocreateAtomfor every atom, including the ones table-core creates without acomparator.
AtomOptions.compareis declared optional withoutundefined, sothat object is not an
AtomOptionsunderexactOptionalPropertyTypes, and theerror is worse than it looks: the failure knocks out the second
createAtomoverload, so
createWritableAtomwas reported as returning aReadonlyAtomthat does not satisfy the
TableReactivityBindingscontract.This package publishes
src/, so those are the consumer's compiler options.An application with the flag on could not build it. The options object is now
constructed only when there is a comparator to put in it.
createAtomreadsoptions?.compare ?? Object.is, so an omitted object and one holdingundefinedproduce the same atom.Updated dependencies [1ee2773]
@octanejs/[email protected]
Patch Changes
@octanejs/[email protected]
Patch Changes
Note
Medium Risk
Wide patch release touching core SSR, routing, compiler/scoped styles, and several framework bindings; low risk for pure version/doc edits in this PR, but the published artifacts bundle security- and behavior-sensitive fixes.
Overview
Automated Changesets release that clears the pending
.changeset/*notes, bumps patch versions across the monorepo (notably[email protected],@octanejs/[email protected], adapters/plugins, TanStack bindings, Redux, SEO, Window/Day Picker), and rolls their notes into package CHANGELOG entries. Docs inventory (docs/packages.md,docs/bindings-status.md, CLIoctane-data.json) and eval task pins (manifest.jsonl→[email protected]) are synced to match.The release text being published (not new code in this diff) covers a broad correctness/perf pass: app-core config re-evaluation, form/head/descriptor-children fixes, O(1) static and indexed dynamic routing, production SSR/API hardening and Rspack/Rsbuild descriptor-children compilation; octane scoped
<style>/ hydrate-split / HMR style refresh, Strong-mode locality diagnostics, SSR attribute fast path, hydration fix for.tsxliteral children, TSRX@tsrx/[email protected]; plus binding fixes (Redux falsy server state, TanStack RouteruseStoreinvalidation, store/table/seoexactOptionalPropertyTypestyping).Reviewed by Cursor Bugbot for commit 690bd54. Bugbot is set up for automated code reviews on this repo. Configure here.