Skip to content

Latest commit

 

History

History
207 lines (97 loc) · 9.2 KB

CHANGELOG.md

File metadata and controls

207 lines (97 loc) · 9.2 KB

4.0.6 (2025-02-07)

Bug Fixes

  • types: fixed types generation for static routes (49a5726)

4.0.5 (2025-01-13)

Bug Fixes

  • deps: bump esbuild-node-externals from 1.15.0 to 1.16.0 (431b526)

4.0.4 (2025-01-13)

Bug Fixes

  • deps: bump esbuild from 0.24.0 to 0.24.2 (9b349d6)

4.0.3 (2024-12-30)

Bug Fixes

  • pkg: removes yarn from postinstall (4a678fe), closes #336

4.0.2 (2024-12-17)

Bug Fixes

  • templates: removed unused compileHref from page template and fixed generateViewport function (ebc5e0f), closes #320

4.0.1 (2024-12-02)

Bug Fixes

  • deps: bump cross-spawn from 7.0.3 to 7.0.6 (697b683)

4.0.0 (2024-12-02)

Bug Fixes

  • deps: adds support for path-to-regexp v8 (5f21593), closes #294
  • deps: fixed package missing deps (f6ae2fa)
  • deps: switched to jest because latest version of vitest did break dts-bundle-generator (537cecb)
  • example: fixed example basic build step (2e8c25e)
  • examples-basic: remove code that is dependent of the package itself from i18n file (d83d26f)
  • i18n: updated compilation on i18.ts files (b09ee9b)

Features

  • add support for Next.js 15 async params (1c76871), closes #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 (2024-09-27)

Bug Fixes

  • deps: bump rollup from 3.29.4 to 3.29.5 (27ac13a)

3.11.2 (2024-09-21)

Bug Fixes

  • deps: bump path-to-regexp from 6.2.2 to 6.3.0 (62e755b)

3.11.1 (2024-09-21)

Bug Fixes

  • deps: bump esbuild from 0.23.0 to 0.23.1 (b2a9767)
  • deps: bump micromatch from 4.0.7 to 4.0.8 (a30ccbc)

3.11.0 (2024-08-14)

Features

  • templates: add support for viewport object and generateViewport function (b0ce7df), closes #271

3.10.2 (2024-07-31)

Bug Fixes

  • deps: moved required deps to package dependencies (14de3a4)

3.10.1 (2024-07-24)

Bug Fixes

  • router: fix the sort function of the router (9dc055c), closes #248

3.10.0 (2024-07-24)

Features

  • templates: support: passing the received params to the origin generateStaticParams function (56cad89), closes #242

3.9.0 (2024-07-21)

Features

  • templates: include generateStaticParams Function in Generated layout.tsx (070153c), closes #245

3.8.0 (2024-07-19)

Bug Fixes

  • basic-esm: added esm option to script (0e0419c)
  • examples: update basic-esm to the latest next (499ab83)

Features

  • esm: allowed roots.config.cjs (a107f9d)

3.7.0 (2024-05-15)

Bug Fixes

  • cli: fixed localisation of page.js (07f477f), closes #222

Features

  • cli: added number of generated routes into logs (0a75138)

3.6.1 (2024-05-06)

Bug Fixes

  • deps: bump tar from 6.2.0 to 6.2.1 (eb6f8cc)

3.6.0 (2024-03-04)

Features

  • routes: added support for catch all non-optional routes (57d800e)

3.5.1 (2024-02-26)

Bug Fixes

  • deps: bump ip from 2.0.0 to 2.0.1 (e383c3f)

3.5.0 (2024-02-26)

Bug Fixes

  • formathref: fiexd replacing slashes (d62de76)

Features

  • routes: add support for optional catch all routes (1330cf4)

3.4.1 (2023-10-28)

Bug Fixes

  • deps: bump @babel/traverse from 7.21.3 to 7.23.2 (11f04ba)

3.4.0 (2023-10-07)

Features

  • cli: added watch option ang cfg option to cli (7e26a29)

3.3.0 (2023-09-20)

Features

  • cli: added afterGenerate callback to cli params (3348f4e)

3.2.2 (2023-09-19)

Bug Fixes

  • ci: added commitizen, semantic-release, release workflow (e0db0f3)