Skip to content

Version Packages - #1850

Merged
trueadm merged 1 commit into
mainfrom
changeset-release/main
Oct 7, 2026
Merged

trueadm merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 7, 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

[email protected]

Patch Changes

  • 62e6448: Fix Strong mode rejecting effect setup that reads or writes a ref's current
    or calls a state getter. Neither is an effect dependency: a ref holds a value
    the effect uses without re-running, and a getter reads the latest state without
    subscribing. Strong mode reported both as OCTANE_STRONG_EFFECT_HIDDEN_DEPENDENCY,
    so previous-value refs, ref counters, a Map of callback-ref elements, a
    useLazyRef store, and getCount() failed to compile in useEffect,
    useLayoutEffect, and useInsertionEffect setup. They now compile as they do
    in React. The diagnostic still reports a reassigned module variable read in
    effect setup, and render-time ref reads and writes and state getter calls stay
    errors.

@octanejs/[email protected]

Patch Changes

  • 62e6448: Fix Strong mode rejecting effect setup that reads or writes a ref's current
    or calls a state getter. Neither is an effect dependency: a ref holds a value
    the effect uses without re-running, and a getter reads the latest state without
    subscribing. Strong mode reported both as OCTANE_STRONG_EFFECT_HIDDEN_DEPENDENCY,
    so previous-value refs, ref counters, a Map of callback-ref elements, a
    useLazyRef store, and getCount() failed to compile in useEffect,
    useLayoutEffect, and useInsertionEffect setup. They now compile as they do
    in React. The diagnostic still reports a reassigned module variable read in
    effect setup, and render-time ref reads and writes and state getter calls stay
    errors.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Low Risk
Patch release with version and changelog updates only in this PR; the underlying change relaxes a compiler diagnostic for common React effect patterns.

Overview
This Changesets release ships [email protected] and @octanejs/[email protected] after consuming the strong-effect-ref-access changeset.

The published patch (62e6448, described in both changelogs) narrows Strong mode’s OCTANE_STRONG_EFFECT_HIDDEN_DEPENDENCY check so useEffect, useLayoutEffect, and useInsertionEffect setup may read or write a ref’s current and call a state getter (getCount()), matching React semantics without treating those as missing inferred dependencies. Render-time ref/state-getter rules and module let/var reads in effect setup are unchanged.

The diff itself only bumps versions (package.json, generated version.ts, docs/packages.md) and adds changelog entries; it removes the applied changeset file.

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

@trueadm
trueadm merged commit aa039ad into main Oct 7, 2026
25 checks passed
@trueadm
trueadm deleted the changeset-release/main branch October 7, 2026 15:49
trueadm added a commit that referenced this pull request Oct 7, 2026
Conflict: the user-apps-v1 manifest.jsonl, regenerated by pnpm sync for
the 0.11.1 package versions. The merge takes #1849 and the Version
Packages release (#1850); the Lynx-lanes changeset with the 0.18.0
parser pin stays unreleased. #1849's three Strong test files pass on
this branch (683 tests).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
trueadm added a commit that referenced this pull request Oct 7, 2026
Version Packages #1829 bumped octane 0.10.0 to 0.11.0 because #1835's
changeset was marked minor, and #1850 then cut 0.11.1. Neither was
published: Publish hit a startup failure for 0.11.0, and main CI for
0.11.1 was cancelled before it could trigger Publish. Release these
changes as patches on 0.10.x instead.

- octane 0.11.1 -> 0.10.2; its 0.11.0 and 0.11.1 changelog sections
  become 0.10.1 and 0.10.2, with the optional-peer entry listed under
  patch changes.
- Dependents' octane peer ranges go back from workspace:^0.11.0 to
  workspace:^0.10.0, and their changelog dependency lines name
  [email protected].
- pnpm sync regenerates version.ts, the package inventory, and the
  evals manifest.

Co-Authored-By: Claude Opus 5.5 <[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