* fix(prerender): add check for settled queue to skip empty prerender filter
* test(prerender): add test for resolving when prerender filter matches no pages
* fix: optimize match retrieval by using a Map for previous matches
* feat: add strict false parameter handling and related routes
* replace params only when routeParams is fully parsed
---------
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
* add test to verify redirect
* handle redirect
* update tests
* cleanup unused code in decodePath
* use 308 instead of 302
* redirect is not relevant in spa mode
* docs: add Cloudflare Workers handlers section to server entry point
* docs: append link to official Cloudflare Workers docs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs: reduce to link per reviewer feedback
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* fix: do not pass signal into server function
* fix test
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* convert AuthKit example to use new SDK
* clean up and fixes
* remove vite dep in start-server-core
* fix(examples): remove unnecessary dotenv import from WorkOS example
Vite automatically loads .env files, so the manual dotenv.config() call is unnecessary and causes a build failure since dotenv is not installed as a dependency.
* fix lint issue
* fix(examples): fix WorkOS AuthKit sign-in and sign-out
- Add parentheses to handleCallbackRoute() in callback route
- Add reloadDocument to logout Links to prevent CORS errors
- Upgrade SDK to v0.5.0 and remove unused dependencies
The sign-out was failing with CORS errors because client-side
navigation via server functions caused fetch to follow the external
redirect to WorkOS. Using reloadDocument forces a full page navigation,
allowing the server to return a proper HTTP redirect.
* fix(examples): use re-exported User type from authkit package
Import User from @workos/authkit-tanstack-react-start instead of
@workos-inc/node to fix tsc --noEmit failure in CI. The authkit
package already re-exports this type to avoid server-only deps
in client code.
* fix(examples): restore authkit-tanstack-react-start dependency
Replace @workos-inc/node with @workos/authkit-tanstack-react-start
in the WorkOS example. The code imports from the authkit package,
not the low-level node SDK.
---------
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
* Updated typo in internationalization-i18n.md
Optional path parameters typescript example had a typo (/abotu not /about).
* ci: apply automated fixes
* Fix typo in internationalization guide
reapply change that was undone by ci: apply automated fixes
---------
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>