Skip to content

Releases: Ripple-TS/ripple

ripple@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

Patch Changes

  • #757
    9fb507d
    Thanks @leonidaz! - fixes compiler error that was
    generating async functions for call expressions inside if conditions when inside
    async context

  • #751
    e1de4bb
    Thanks @copilot-swe-agent! - Fix
    HMR "zoom" issue when a Ripple file is changed in the dev server.

    When a layout component contained children with nested if/for blocks,
    hydration would leave hydrate_node pointing deep inside the layout's root
    element (e.g. a HYDRATION_END comment inside <main>). The append()
    function's parentNode === dom check only handled direct children, so it missed
    grandchild/deeper positions and incorrectly updated the branch block's s.end
    to that deep internal node.

    This caused two problems on HMR re-render:

    1. remove_block_dom(s.start, s.end) removed wrong elements (the deep node was
      treated as a sibling boundary, causing removal of unrelated content including
      the root HYDRATION_END comment).
    2. target = hydrate_node (set after the initial render) became null or
      pointed outside the component's region, so new content was inserted at the
      wrong DOM location — producing a layout that appeared "zoomed" because it
      rendered outside its CSS container context.

    The fix changes the parentNode === dom check to dom.contains(hydrate_node),
    consistent with the anchor === dom branch that already used dom.contains().
    This correctly resets hydrate_node to dom's sibling level regardless of how
    deeply nested it was inside dom.

  • #764
    95ea864
    Thanks @leonidaz! - Fixes syntax color
    highlighting for pending

  • Updated dependencies
    [9fb507d,
    e1de4bb,
    95ea864]:

    • ripple@0.2.216

create-ripple@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @ripple-ts/cli@0.2.216

@ripple-ts/vite-plugin@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @ripple-ts/adapter@0.2.216

@ripple-ts/typescript-plugin@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

Patch Changes

@ripple-ts/rollup-plugin@0.2.216

27 Feb 21:01
9a4a39d

Choose a tag to compare

@ripple-ts/rollup-plugin@0.2.216

@ripple-ts/prettier-plugin@0.2.216

27 Feb 21:01
9a4a39d

Choose a tag to compare

@ripple-ts/prettier-plugin@0.2.216

@ripple-ts/language-server@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

Patch Changes

  • #764
    95ea864
    Thanks @leonidaz! - Fixes syntax color
    highlighting for pending

  • Updated dependencies
    [95ea864]:

    • @ripple-ts/typescript-plugin@0.2.216

@ripple-ts/eslint-plugin@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @ripple-ts/eslint-parser@0.2.216

@ripple-ts/eslint-parser@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

@ripple-ts/eslint-parser@0.2.216

@ripple-ts/compat-react@0.2.216

27 Feb 21:02
9a4a39d

Choose a tag to compare

Patch Changes