Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solidjs/solid-refresh
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: solidjs/solid-refresh
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: next
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 46 files changed
  • 1 contributor

Commits on Mar 2, 2026

  1. feat: Solid 2.0 compatibility + transparent HMR memo

    - Add transparent: true to HMRComp's createMemo so HMR wrapper doesn't shift hydration IDs
    - Fix createSignal to avoid Solid 2.0 function-as-compute-fn overload
    - Fix createMemo signature (options now 3rd arg in Solid 2.0)
    - Unify context HMR with component HMR (Context IS a component in Solid 2.0)
    - Remove separate $$context path, route through $$component with .id preservation
    - Update to solid-js@2.0.0-experimental.16 and babel-preset-solid@2.0.0-experimental.16
    - Bump version to 0.8.0-next.0
    
    Made-with: Cursor
    ryansolid committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    6346faa View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2026

  1. Merge main into next (import.meta.hot.accept fix)

    Made-with: Cursor
    ryansolid committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    2b4dcef View commit details
    Browse the repository at this point in the history
  2. fix: Solid 2.0 compatibility for HMR runtime

    - Use createSignal(fn) for synchronous component initialization (batched writes)
    - Wrap source() guard in untrack() to avoid reactive tracking warning
    - Update devDependencies and peerDependencies to Solid 2.0 experimental
    - Bump to 0.8.0-next.1
    
    Made-with: Cursor
    ryansolid committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    74e9888 View commit details
    Browse the repository at this point in the history
  3. fix: prevent stale closure in writable memo when computed goes LAZY

    createSignal(() => component) creates a computed node that captures
    the original component in its closure. When all subscribers are
    disposed (e.g. component unmounted by Show), the computed goes LAZY.
    On next read, re-evaluation runs the closure and returns the stale
    original value, discarding the setter's update.
    
    Fix: use a mutable `current` variable in the closure so re-evaluation
    always returns the latest component set via patchComponent.
    
    Made-with: Cursor
    ryansolid committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    7d7b357 View commit details
    Browse the repository at this point in the history
  4. update solid-js and babel-preset-solid to beta release

    Made-with: Cursor
    ryansolid committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    12a63ae View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2026

  1. Merge main into next (hoisted functions HMR fix)

    Made-with: Cursor
    ryansolid committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    4c96f76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c34adeb View commit details
    Browse the repository at this point in the history
  3. v0.8.0-next.2

    ryansolid committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    ce0bee8 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2026

  1. fix: pass strictRead label to untrack in HMR proxy

    Use untrack(fn, label) instead of separate setStrictRead calls, matching
    the updated API in @solidjs/signals where strictRead is now an optional
    parameter on untrack.
    
    Made-with: Cursor
    ryansolid committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    8edf4d0 View commit details
    Browse the repository at this point in the history
  2. v0.8.0-next.3

    ryansolid committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    69d013f View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2026

  1. fix: untrack source() reads in proxy traps to suppress false strict-r…

    …ead warnings
    
    The proxy get/set traps read source() which triggered "top level read"
    warnings in dev mode when accessed inside a strictRead context. These
    reads were already non-reactive in practice (component bodies run inside
    untrack), so wrapping with untrack() suppresses the false positive
    without any behavioral change.
    
    Made-with: Cursor
    ryansolid committed Mar 12, 2026
    Configuration menu
    Copy the full SHA
    c8f0620 View commit details
    Browse the repository at this point in the history
  2. v0.8.0-next.4

    ryansolid committed Mar 12, 2026
    Configuration menu
    Copy the full SHA
    27651bd View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2026

  1. fix: use stable transform name for strictRead label instead of functi…

    …on .name
    
    Bundlers like esbuild (used by Vite) can rename function expressions to
    avoid shadowing (e.g. function Counter -> Counter2), which caused the
    strictRead warning label to show mangled names. Use the name parameter
    from the babel transform which is always the correct identifier.
    
    Made-with: Cursor
    ryansolid committed Mar 21, 2026
    Configuration menu
    Copy the full SHA
    3ce2e04 View commit details
    Browse the repository at this point in the history
  2. v0.8.0-next.5

    ryansolid committed Mar 21, 2026
    Configuration menu
    Copy the full SHA
    1856453 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2026

  1. fix: recognize @solidjs/web render imports

    Treat Solid 2's @solidjs/web entrypoint as the canonical render import so refresh cleanup hooks still attach. Update the mirrored transform tests and snapshots to reflect the new import source.
    
    Made-with: Cursor
    ryansolid committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    d52cf49 View commit details
    Browse the repository at this point in the history
  2. v0.8.0-next.6

    ryansolid committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    9fe9d53 View commit details
    Browse the repository at this point in the history
Loading