Skip to content

Releases: resuite/retend

v0.0.29-alpha

29 Apr 05:06

Choose a tag to compare

v0.0.29-alpha Pre-release
Pre-release

What's Changed

  • Remove Renderer.selectMatchingNodes(...) by @adebola-io in #49
  • createUnique and createUniqueTransition by @adebola-io in #50
  • Skills by @adebola-io in #51
  • Many, Many Changes. by @adebola-io in #52
  • Update name in Wrangler configuration file to match deployed Worker by @cloudflare-workers-and-pages[bot] in #53
  • createUnique, again. by @adebola-io in #54
  • Async Control Flow Support: Enhanced If and For directives to handle Promise and AsyncDerivedCell inputs, with automatic resolution of async values and proper pending state management
  • Async Attribute & Text Handling: Added Promise detection and resolution in DOM operations for async cell values in attributes, text nodes, and class attributes
  • Class Token List Fix: Fixed VDomTokenList.add and remove methods to properly filter empty strings and prevent duplicate class names
  • Type System Extensions: Added ValueOrCellOrPromise type definition to JSX namespace for async type support across all packages
  • Comprehensive Test Suite: Added new test suites covering async rendering scenarios (If, For, text, attributes, classes) in both Browser and VDom environments
  • Extensive Documentation: Added 20+ documentation files covering async patterns, migration guides, component structure, control flow, derived cells, routing, and 8 new validation rules for derivedAsync usage
    Dependency Upgrade: Updated @adbl/cells to version 8

New Contributors

  • @cloudflare-workers-and-pages[bot] made their first contribution in #53

Full Changelog: v0.0.24-alpha...v0.0.29-alpha

v0.0.24

07 Jan 20:29

Choose a tag to compare

v0.0.24 Pre-release
Pre-release

What's Changed

  • refactor(core, BREAKING): remove Keep-Alive feature and Include component by @adebola-io in #40
  • refactor(core, BREAKING): remove Relay component by @adebola-io in #40
  • refactor(hmr): better refresh reliability. by @adebola-io in #41
  • feat(core): automatic signal disposal and reactive context cleanup by @adebola-io in #44
  • BREAKING: Scope-Based router architecture by @adebola-io in #46
  • Support for Abstract Rendering. by @adebola-io in #48
  • BREAKING: new package for rendering on the web (retend-web), separate from the core.

Full Changelog: v0.0.22-alpha...v0.0.24-alpha

v0.0.22-alpha

05 Nov 06:02

Choose a tag to compare

v0.0.22-alpha Pre-release
Pre-release

What's Changed

Full Changelog: v0.0.21-alpha...v0.0.22-alpha

v0.0.21-alpha

11 Oct 14:18

Choose a tag to compare

v0.0.21-alpha Pre-release
Pre-release

Features

  • Router API: Link, Outlet, and Relay can now be directly imported from retend/router for a more idiomatic usage pattern. The legacy router.Link/router.Outlet instance-based access is maintained for backward compatibility.
  • Router Events: Introduced a new cancelable beforenavigate event, allowing developers to programmatically intercept and prevent route transitions.
  • Scaffolding: The retend-start tool has been updated to default to a modern stack: TypeScript, Tailwind CSS v4 (via @tailwindcss/vite), and Static Site Generation (SSG). SCSS support has been removed in favor of this streamlined setup.

Bug Fixes

  • <For> Component: The <For> component now correctly handles null, undefined, or other non-iterable values without throwing an error, instead rendering an empty fragment.
  • Relay Effect Lifecycle: Corrected a critical issue where useSetupEffect lifecycles (setup and cleanup functions) within <Relay> components were not properly managed across route navigations. Effects are now correctly persisted when a relay is present on both the old and new routes, and properly disposed of when a relay is unmounted.
  • HMR: The SSR check in the HMR module has been removed to ensure consistent behavior across development environments.

Chores

  • Dependencies: Updated core dependencies, including @adbl/cells to 0.0.19.
  • CI: Pinned Bun version to 1.3.0 in CI workflows to ensure build consistency.

v0.0.15-alpha

04 Oct 20:07

Choose a tag to compare

v0.0.15-alpha Pre-release
Pre-release

v0.0.18-alpha

13 Sep 16:35

Choose a tag to compare

v0.0.18-alpha Pre-release
Pre-release

What's Changed

  • fix(server): refactor hydration context to use existing global data. by @adebola-io in #27
  • feat(retend-utils): add useDocumentVisibility hook. by @adebola-io in #28
  • feat: Rearchitect HMR with a Cell-based Invalidation System by @adebola-io in #29
  • fix(For): Refactor key retrieval to prevent memory leaks by @adebola-io in #30
  • Preload CSS for lazy routes in SSG by @adebola-io in #31
  • The useSetupEffect() function. by @adebola-io in #32

Full Changelog: v0.0.14...v0.0.18-alpha

v0.0.14

26 Jul 18:32

Choose a tag to compare

v0.0.14 Pre-release
Pre-release

What's Changed

v0.0.7

03 Apr 14:53
52d002a

Choose a tag to compare

v0.0.7 Pre-release
Pre-release

What's Changed

Full Changelog: v0.0.15-alpha...v0.0.7-alpha

v0.0.15-alpha

07 Mar 17:18

Choose a tag to compare

v0.0.15-alpha Pre-release
Pre-release

What's Changed

  • Implement VNode and related classes for virtual DOM representation.
  • Add setGlobalContext and getGlobalContext functions to change rendering mode.
  • Static Site Generation with the unfinished-ssg Vite plugin.
  • Fixed a bug in the router where router.back() doesnt work for non-stack-mode apps.
  • Refactor Fast Refresh plugin and move it to @adbl/unfinished/plugin module.
  • Deno!

v0.0.14-alpha

19 Feb 19:36

Choose a tag to compare

v0.0.14-alpha Pre-release
Pre-release
  • Rewrite algorithm for For function to reduce and batch DOM updates.
  • Implement custom caching keys for For items.
  • Implement onBeforeNodesMove and onBeforeNodeRemove For hooks.
  • Deproxy useObserver callback values automatically.