Skip to content

Version Packages - #966

Merged
trueadm merged 1 commit into
mainfrom
changeset-release/main
Sep 6, 2026
Merged

trueadm merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

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

  • 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.
  • ab7bbc1: Index dynamic routes by their last static segment so parameter and catch-all matching is O(candidates that share that spine) instead of a linear RegExp scan, while preserving specificity and equal-spec insertion order.
  • 56c850e: Index static routes by exact path so request matching is O(1) instead of a linear scan, while still falling through to parameter and catch-all routes after a method miss.

@octanejs/[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.

@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 still OCTANE_HYDRATE_SPLIT_STYLE.

  • a059b46: Refresh an already-injected scoped stylesheet when injectStyle is 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 one injectStyle call, 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 new tsrx-style-standalone-needs-fragment diagnostic. Raw CSS in <style> is TSRX template syntax: a standalone block outside every @{ … } or @if/@for/@switch/@try body — a plain function returning JSX, an element assigned at module scope — is the new tsrx-style-standalone-outside-template diagnostic, 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). apply on 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 static Fragment descriptor 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 (the style attribute 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); a style(...) call anywhere else (a statement, a declaration initializer, a call argument, a callback body, a style={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 class when 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.class reaches the DOM on both client and SSR.

  • eb32683: Fold .tsx string-literal expression children such as Prettier's {" "} into the client template, matching the server and .tsrx compilers 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

  • 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.

@octanejs/[email protected]

Patch Changes

@octanejs/[email protected]

Patch Changes

@octanejs/[email protected]

Patch Changes

  • 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.

@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 application
    compiles these files with its own tsconfig and runs them in its own host. Both
    halves of that were broken.

    useStrayOwnerDiagnostic read process.env.NODE_ENV with nothing declaring
    process. In the repository the package's own tsconfig pins types: ["node"],
    which hid it; a browser application has no @types/node, so the file failed to
    compile, and a host that substitutes nothing threw a ReferenceError out of every
    <Head> render. The reference is now declared locally and guarded with typeof,
    and stays spelled out as process.env.NODE_ENV so bundlers still substitute it.

    The rest is exactOptionalPropertyTypes and noUncheckedIndexedAccess, which
    plenty of applications turn on. SeoConfig's fields now admit undefined
    alongside being optional, which is what they have always meant: applyConfig
    and the registry merge read every one of them with an !== undefined test, so
    an absent key and a present undefined behave identically, and <Seo> can go
    on 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 useStore when 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 went
    empty 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.compare hold undefined explicitly.

    This package publishes src/, so the consumer's compiler options are the ones
    that compile it. An application with exactOptionalPropertyTypes enabled could
    not build it at all: useStore normalises its variadic arguments into
    { compare }, where compare is the optional third argument, and passing that
    object to useSelector failed because the target property was declared without
    undefined.

    The same wall met anyone forwarding their own optional comparator, because
    { compare: maybeCompare } is not assignable to { compare?: Compare } under
    that flag. Declaring the property as compare?: Compare | undefined accepts
    both. The runtime is unchanged: useSelector has always read the option with
    options?.compare ?? defaultCompare, so an absent key and an explicit
    undefined already 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 } into
    createAtom for every atom, including the ones table-core creates without a
    comparator. AtomOptions.compare is declared optional without undefined, so
    that object is not an AtomOptions under exactOptionalPropertyTypes, and the
    error is worse than it looks: the failure knocks out the second createAtom
    overload, so createWritableAtom was reported as returning a ReadonlyAtom
    that does not satisfy the TableReactivityBindings contract.

    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. createAtom reads
    options?.compare ?? Object.is, so an omitted object and one holding
    undefined produce the same atom.

  • Updated dependencies [1ee2773]

@octanejs/[email protected]

Patch Changes

@octanejs/[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.

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, CLI octane-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 .tsx literal children, TSRX @tsrx/[email protected]; plus binding fixes (Redux falsy server state, TanStack Router useStore invalidation, store/table/seo exactOptionalPropertyTypes typing).

Reviewed by Cursor Bugbot for commit 690bd54. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 9 times, most recently from 7d7e9b8 to d645389 Compare September 6, 2026 19:20
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from d645389 to 690bd54 Compare September 6, 2026 19:53
@trueadm
trueadm merged commit 5ec6040 into main Sep 6, 2026
24 checks passed
@trueadm
trueadm deleted the changeset-release/main branch September 6, 2026 20:41
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant