Skip to content

Commit

Permalink
chore(release): 4.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [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
semantic-release-bot committed Dec 2, 2024
1 parent a0ca206 commit b21784d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# [4.0.0](https://github.com/svobik7/next-roots/compare/v3.11.3...v4.0.0) (2024-12-02)


### Bug Fixes

* **deps:** adds support for path-to-regexp v8 ([5f21593](https://github.com/svobik7/next-roots/commit/5f215935084b0297dbf9d61429eb3cc43cfa06bc)), closes [#294](https://github.com/svobik7/next-roots/issues/294)
* **deps:** fixed package missing deps ([f6ae2fa](https://github.com/svobik7/next-roots/commit/f6ae2fa77fcede5ca462de285d24a51c92983c6d))
* **deps:** switched to jest because latest version of vitest did break dts-bundle-generator ([537cecb](https://github.com/svobik7/next-roots/commit/537cecbfca940fbea6ad6d08f9527a3af560a315))
* **example:** fixed example basic build step ([2e8c25e](https://github.com/svobik7/next-roots/commit/2e8c25ebf203199cca99f9515ed6d319a861a90b))
* **examples-basic:** remove code that is dependent of the package itself from i18n file ([d83d26f](https://github.com/svobik7/next-roots/commit/d83d26fe1255729ccaa486c86d618e262d547085))
* **i18n:** updated compilation on i18.ts files ([b09ee9b](https://github.com/svobik7/next-roots/commit/b09ee9bf90e790e0f3c7e46a6b439ff4ada11648))


### Features

* add support for Next.js 15 async params ([1c76871](https://github.com/svobik7/next-roots/commit/1c768710e39e73152c6b7b42cd1d01e9a08dab74)), closes [#302](https://github.com/svobik7/next-roots/issues/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

## [3.11.3](https://github.com/svobik7/next-roots/compare/v3.11.2...v3.11.3) (2024-09-27)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-roots",
"version": "4.0.0-canary.0",
"version": "4.0.0",
"description": "Utility to handle internationalized routing for Next.js app folder.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit b21784d

Please sign in to comment.