Skip to content

Releases: wakujs/waku

v1.0.0-alpha.5

01 Mar 04:25

Choose a tag to compare

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

17 Feb 06:08

Choose a tag to compare

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

New Contributors

Full Changelog: v1.0.0-alpha.3...v1.0.0-alpha.4

v1.0.0-alpha.3

27 Jan 13:58

Choose a tag to compare

This release includes various improvements and updates React in our templates.

What's Changed

New Contributors

Full Changelog: v1.0.0-alpha.2...v1.0.0-alpha.3

v1.0.0-alpha.2

14 Jan 02:24

Choose a tag to compare

Includes a bunch of small fixes.

What's Changed

  • fix(router): typegen plugin without getConfig functions by @dai-shi in #1899
  • fix(router): expose client internals by @dai-shi in #1898
  • fix(internals): expose combined plugins by @dai-shi in #1900
  • fix(adapter): Polish Cloudflare default config by @Master-Hash in #1892
  • fix(router): typegen plugin without getConfig functions again by @dai-shi in #1902

New Contributors

Full Changelog: v1.0.0-alpha.1...v1.0.0-alpha.2

v1.0.0-alpha.1

06 Jan 12:18

Choose a tag to compare

Excited to release Waku v1-alpha.1! This release improves support for Cloudflare Workers and introduces a breaking change to API route handling.

Migration Guide

Previously, API routes with file-based routing used ./src/pages/api/. In v1-alpha.1, this directory has been renamed to ./src/pages/_api/, and the _api/ segment is stripped from the URL path.

To preserve the api/ prefix in your URLs, move your previous ./src/pages/api/ directory to ./src/pages/_api/api/.

See #1885 for more information.

What's Changed

  • feat(internals): expose resolveConfig etc. by @dai-shi in #1877
  • refactor(adapter): pass handlers to adapters by @dai-shi in #1879
  • breaking: Replace api/ directory with _api/ and strip prefix from routes by @Copilot in #1885
  • feat: updated cloudflare adapter by @rmarscher in #1795

New Contributors

Full Changelog: v1.0.0-alpha.0...v1.0.0-alpha.1

v1.0.0-alpha.0

23 Dec 13:31

Choose a tag to compare

Waku 1.0 (alpha)

Waku's public APIs are now marked as stable.

We're excited to announce the release of Waku 1.0-alpha!

Our public API surface area is now stable as we shift focus towards bug fixes and compatibility. Moving forward we'll write release notes with each version and provide migration guides if needed.

Waku shines for mostly-static sites with some dynamic routes (marketing sites, blogs, docs, light ecommerce). The simple per-route config makes it easy to go fully static or fully dynamic. Or even blend static and dynamic with layouts, slices, and pages each having their own rendering config.

Our updated home page now also includes config-based routing examples for those who prefer a programmatic approach instead of file-based routing.

We'd love for you to help us battle-test Waku! We invite you to try it on a side project over the holiday break. Let us know how it goes in our GitHub discussions or Discord server. Your feedback will help us work towards v1-beta and v1-rc.

Happy holidays! 🎄


Release notes

Breaking change

We've renamed the entry files from server-entry.ts(x) and client-entry.ts(x) to waku.server.ts(x) and waku.client.ts(x). This affects those who were using config-based routing or deployment adapters.