Releases: wakujs/waku
v1.0.0-beta.1
This release includes security updates, bug fixes, and internal refactors to improve stability and maintainability.
What's Changed
- fix(cloudflare): node_compat warning by @dai-shi in #2087
- fix(adapters/cloudflare): broken build with dynamic page by @dai-shi in #2085
- fix: check origin for csrf by @dai-shi in #2089
- fix(router): sanitize location in unstable_redirect by @dai-shi in #2090
- fix: security concerns and others by @dai-shi in #2091
- refactor(minimal,router): simplify initial route handling by @dai-shi in #2084
- fix(plugins): allow overriding vite plugins by @dai-shi in #2101
- fix(router): map prefetch module ids by @jxom in #2102
- update pnpm etc (minimal requirement: Node 22.13.0) by @dai-shi in #2103
Full Changelog: v1.0.0-beta.0...v1.0.0-beta.1
v1.0.0-beta.0
We're excited to announce the release of Waku 1.0-beta!
What's Changed
- fix(router): remove migration warning (api dir) by @dai-shi in #2064
- support node 26 and drop node 20 by @dai-shi in #2066
- Update react by @dai-shi in #2067
- breaking(router): remove base option from fsRouter usage by @dai-shi in #2068
- refactor: rename vite plugins by @dai-shi in #2069
- feat(cloudflare-example): configure assets caching by @nihalgonsalves in #2071
- breaking(minimal): refactor renderRsc by @dai-shi in #2073
- feat(router): expose createPages types by @dai-shi in #2070
- fix: set charset=utf-8 on SSR HTML responses by @withxat in #2074
- feat: version skew by @dai-shi in #2072
- fix: do not leak node:module in build bundle by @dai-shi in #2080
New Contributors
Full Changelog: v1.0.0-alpha.10...v1.0.0-beta.0
v1.0.0-alpha.10
We've refactored the waku/router code and added a "prune build output" capability, which eliminates code that is only used for SSG from the bundle.
What's Changed
- fix(router): apiPathMap key by @dai-shi in #2046
- fix(router): slices in grouped path by @dai-shi in #2047
- fix(router): unstable_disableSsr by @dai-shi in #2048
- refactor(router): createPages map object value by @dai-shi in #2050
- refactor(router): createPages avoid noSsr WeakSet by @dai-shi in #2051
- refactor(router): rename variables and functions in createPages by @dai-shi in #2052
- refactor(router): extract logic to functions in createPages by @dai-shi in #2053
- refactor(router): factor out helpers in createPages by @dai-shi in #2054
- refactor(router): some more changes in createPages by @dai-shi in #2055
- refactor(router): some clean ups in createPages by @dai-shi in #2056
- feat: prune build output by @dai-shi in #2044
- fix(router): unstable_rerenderRoute with no JS by @dai-shi in #2063
Full Changelog: v1.0.0-alpha.9...v1.0.0-alpha.10
v1.0.0-alpha.9
This release includes various improvements and fixes.
There's one behavioral breaking change to note.
If you have a static layout shared across different routes, it will no longer be shared (the app doesn't break.)
See #2035 for migration.
What's Changed
- fix(router): slice with children by @dai-shi in #2033
- feat(cli): add
waku router typegencommand by @dai-shi in #2032 - refactor(lib): build metadata by @dai-shi in #2036
- fix: cache static elements by @dai-shi in #2037
- refactor(define-router): serializable configs by @dai-shi in #2038
- fix(router): static slices with slugs by @dai-shi in #2039
- fix(router): cache static elements 2 by @dai-shi in #2040
- refactor(router): clean up leftovers for page parts feature by @dai-shi in #2042
- feat(router): layout slug props [breaking behavior] by @dai-shi in #2035
- refactor(minimal): (de)serialize rsc utils [internal breaking] by @dai-shi in #2043
Full Changelog: v1.0.0-alpha.8...v1.0.0-alpha.9
v1.0.0-alpha.8
We are making progress on framework stability and getting close to beta. Stay tuned, and please report issues meanwhile!
What's Changed
- refactor(client): unstable fetchRscStore by @dai-shi in #2017
- fix(ssr): don't output unnecessary console.error with handled exceptions like NotFound and Redirect by @t6adev in #2015
- chore(deps): update hono by @dai-shi in #2021
- feat(router): support building routes selectively by @dai-shi in #2023
- refactor(lib): rename to loadDotEnv by @dai-shi in #2024
- fix(router): incorrect warnings for wildcard API routes by @fuma-nama in #2022
- fix: canary ci with defaultRootOptions by @dai-shi in #2027
New Contributors
- @fuma-nama made their first contribution in #2022
Full Changelog: v1.0.0-alpha.7...v1.0.0-alpha.8
v1.0.0-alpha.7
This release upgrades to Vite 8 and includes bug fixes and improvements.
What's Changed
- fix: refetch should wait for page component to start streaming by @rmarscher in #1516
- feat: migrate to Vite 8 by @Master-Hash in #1982
- fix(canary-ci): a workaround for closing rsc stream by @dai-shi in #1997
- feat(router): support slug slices by @tylersayshi in #2001
- fix(define-router): Cache bytes instead of promises by @jamesopstad in #2002
- fix(router): respect scroll-margin-top in hash scrolling by @nihgwu in #2003
- fix: ensure waku build exits after completion by @restareaByWeezy in #2004
- fix(adapters): revert the middleware order by @dai-shi in #2007
- chore(template): update react by @dai-shi in #2010
- fix(router): account for empty catch all routes by @tylersayshi in #2011
New Contributors
- @jamesopstad made their first contribution in #2002
- @restareaByWeezy made their first contribution in #2004
Full Changelog: v1.0.0-alpha.6...v1.0.0-alpha.7
v1.0.0-alpha.6
This version introduces trailing slash support, performance track for server components, and fixes and improvements in waku/router.
What's Changed
- feat(router): support trailing slash by @dai-shi in #1980
- feat: support no-trailing-slash middleware in template by @dai-shi in #1981
- fix(router): empty router issue and added mapping by @tylersayshi in #1979
- feat(router): support prefixed slugs by @tylersayshi in #1986
- feat: support performance tracks for server components by @dai-shi in #1984
- fix(minimal/client): do not pass findSourceMapURL unnecessarily by @dai-shi in #1993
- fix(cli): avoid HOST env usage by @dai-shi in #1994
- fix(router): restore cross-page hash scrolling after navigation by @nihgwu in #1990
- fix(templates): pin tailwingcss/vite package by @dai-shi in #1996
- refactor: ssr util by @dai-shi in #1998
- refactor: ssr stream by @dai-shi in #1999
Full Changelog: v1.0.0-alpha.5...v1.0.0-alpha.6
v1.0.0-alpha.5
This version introduces a new implementation of Waku Router. While the API remains unchanged, there may be slight differences in behavior. If you notice any issues or unexpected behavior, please report them.
This release also includes several bug fixes.
What's Changed
- refactor(router): refactor router/client by @dai-shi in #1954
- fix(router/client): warn some usages and fix notfound and redirect behaviors by @dai-shi in #1956
- fix(adapters/cloudflare): fix build without cloudflare vite plugin by @dai-shi in #1958
- fix(router/client): improve scroll behavior by @dai-shi in #1959
- feat(router): support types for query and hash update links by @tylersayshi in #1960
- fix: eliminate limitation of rsc path ending with _ by @dai-shi in #1962
- fix(adapters/cloudflare): follow-up fixing build without cloudflare vite plugin by @dai-shi in #1965
- refactor(router): refactor router/client by @dai-shi in #1961
- fix(router): literal route prioritized over slug by @tylersayshi in #1970
- refactor(router): redesign router/client implementation by @dai-shi in #1969
Full Changelog: v1.0.0-alpha.4...v1.0.0-alpha.5
v1.0.0-alpha.4
This release includes various fixes and improvements. Most notably, the Cloudflare adapter has been updated to work with @cloudflare/vite-plugin. It's still fairly new, and Cloudflare users are highly encouraged to try it out and share feedback.
Migration Guide
If you are using Cloudflare Workers for deployment, there is a breaking change to the main entry point. Update your wrangler.jsonc like this:
- "main": "./dist/server/serve-cloudflare.js",
+ "main": "./src/waku.server",What's Changed
- fix: netlify build enhancer path config by @yunho1017 in #1931
- chore: use hono/tiny preset by @Master-Hash in #1928
- breaking: avoid decodeURI internally by @dai-shi in #1939
- fix(router): inconsistent URI encoded path between SSR and client by @Master-Hash in #1910
- update vitejs/plugin-rsc by @dai-shi in #1941
- feat(router): typed api request handling as a utility by @tylersayshi in #1938
- feat(cli): restart Waku dev server on Vite server restart by @yunho1017 in #1929
- refactor: rename type file by @dai-shi in #1945
- fix(internals): expose unstable_resolveConfig separating adapter builders by @nihgwu in #1944
- feat(adapters/cloudflare): build static files with vite preview server by @dai-shi in #1943
- chore: update some dependencies by @dai-shi in #1949
New Contributors
- @Ariel-GonzAguer made their first contribution in #1926
- @yunho1017 made their first contribution in #1931
- @pavan-sh made their first contribution in #1946
Full Changelog: v1.0.0-alpha.3...v1.0.0-alpha.4
v1.0.0-alpha.3
This release includes various improvements and updates React in our templates.
What's Changed
- fix(router): unstable_routeInterceptor by @dai-shi in #1914
- refactor(vite-plugins): avoid estree types by @dai-shi in #1916
- fix(managed): exclude test and spec files from middleware auto-discovery by @struong in #1920
- breaking(minimal): rename renderHtml option by @dai-shi in #1924
- feat: support for csp by @dai-shi in #1922
- fix(router): restore router prefetch behavior by @dai-shi in #1915
- chore: update react by @dai-shi in #1930
- chore: update deps by @dai-shi in #1934
New Contributors
Full Changelog: v1.0.0-alpha.2...v1.0.0-alpha.3