Releases: resuite/retend
Releases · resuite/retend
v0.0.29-alpha
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
What's Changed
- refactor(core, BREAKING): remove
Keep-Alivefeature andIncludecomponent by @adebola-io in #40 - refactor(core, BREAKING): remove
Relaycomponent 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
What's Changed
- Migrate Test Suite to Vitest browser mode with Playwright by @adebola-io in #35
- the
Uniquecomponent. by @adebola-io in #36 - Initialize useWindowSize() hooks with current window dimensions
- Optimize useMatchMedia() hook
Full Changelog: v0.0.21-alpha...v0.0.22-alpha
v0.0.21-alpha
Features
- Router API:
Link,Outlet, andRelaycan now be directly imported fromretend/routerfor a more idiomatic usage pattern. The legacyrouter.Link/router.Outletinstance-based access is maintained for backward compatibility. - Router Events: Introduced a new cancelable
beforenavigateevent, allowing developers to programmatically intercept and prevent route transitions. - Scaffolding: The
retend-starttool 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 handlesnull,undefined, or other non-iterable values without throwing an error, instead rendering an empty fragment.- Relay Effect Lifecycle: Corrected a critical issue where
useSetupEffectlifecycles (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/cellsto0.0.19. - CI: Pinned Bun version to
1.3.0in CI workflows to ensure build consistency.
v0.0.15-alpha
Full Changelog: v0.0.18-alpha...v0.0.20-alpha
v0.0.18-alpha
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
What's Changed
- Scopes by @adebola-io in #22
- Lazy Route Trees by @adebola-io in #23
v0.0.7
What's Changed
- Syntax Examples. by @adebola-io in #15
- v0.0.7 by @adebola-io in #16
Full Changelog: v0.0.15-alpha...v0.0.7-alpha
v0.0.15-alpha
What's Changed
- Implement VNode and related classes for virtual DOM representation.
- Add
setGlobalContextandgetGlobalContextfunctions to change rendering mode. - Static Site Generation with the
unfinished-ssgVite 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/pluginmodule. - Deno!
v0.0.14-alpha
- Rewrite algorithm for
Forfunction to reduce and batch DOM updates. - Implement custom caching keys for
Foritems. - Implement
onBeforeNodesMoveandonBeforeNodeRemoveFor hooks. - Deproxy
useObservercallback values automatically.