Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# [4.0.0](v3.11.3...v4.0.0) (2024-12-02) ### Bug Fixes * **deps:** adds support for path-to-regexp v8 ([5f21593](5f21593)), closes [#294](#294) * **deps:** fixed package missing deps ([f6ae2fa](f6ae2fa)) * **deps:** switched to jest because latest version of vitest did break dts-bundle-generator ([537cecb](537cecb)) * **example:** fixed example basic build step ([2e8c25e](2e8c25e)) * **examples-basic:** remove code that is dependent of the package itself from i18n file ([d83d26f](d83d26f)) * **i18n:** updated compilation on i18.ts files ([b09ee9b](b09ee9b)) ### Features * add support for Next.js 15 async params ([1c76871](1c76871)), closes [#302](#302) ### BREAKING CHANGES * StaticRouter.getPageHref() returns a promised string instead of a string * Function generateMetadata and generateViewPort will be passed an async getPageHref function and locale as a string instead of a compiled pageHref * **i18n:** export async function generateRouteNames is no longer supported. Must be defined as module.exports.generateRouteNames = generateRouteNames * **deps:** Catch all params like [...slug] must now be provided as array of strings e.g. ["first", "second"]. Passing them as a string like "first/second" is not supported anymore
- Loading branch information