4.0.6 (2025-02-07)
- types: fixed types generation for static routes (49a5726)
4.0.5 (2025-01-13)
- deps: bump esbuild-node-externals from 1.15.0 to 1.16.0 (431b526)
4.0.4 (2025-01-13)
- deps: bump esbuild from 0.24.0 to 0.24.2 (9b349d6)
4.0.3 (2024-12-30)
4.0.2 (2024-12-17)
- templates: removed unused compileHref from page template and fixed generateViewport function (ebc5e0f), closes #320
4.0.1 (2024-12-02)
- deps: bump cross-spawn from 7.0.3 to 7.0.6 (697b683)
4.0.0 (2024-12-02)
- 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)
- 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)
- deps: bump rollup from 3.29.4 to 3.29.5 (27ac13a)
3.11.2 (2024-09-21)
- deps: bump path-to-regexp from 6.2.2 to 6.3.0 (62e755b)
3.11.1 (2024-09-21)
- 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)
3.10.2 (2024-07-31)
- deps: moved required deps to package dependencies (14de3a4)
3.10.1 (2024-07-24)
3.10.0 (2024-07-24)
- templates: support: passing the received params to the origin
generateStaticParams
function (56cad89), closes #242
3.9.0 (2024-07-21)
3.8.0 (2024-07-19)
- basic-esm: added esm option to script (0e0419c)
- examples: update basic-esm to the latest next (499ab83)
- esm: allowed roots.config.cjs (a107f9d)
3.7.0 (2024-05-15)
- cli: added number of generated routes into logs (0a75138)
3.6.1 (2024-05-06)
- deps: bump tar from 6.2.0 to 6.2.1 (eb6f8cc)
3.6.0 (2024-03-04)
- routes: added support for catch all non-optional routes (57d800e)
3.5.1 (2024-02-26)
- deps: bump ip from 2.0.0 to 2.0.1 (e383c3f)
3.5.0 (2024-02-26)
- formathref: fiexd replacing slashes (d62de76)
- routes: add support for optional catch all routes (1330cf4)
3.4.1 (2023-10-28)
- deps: bump @babel/traverse from 7.21.3 to 7.23.2 (11f04ba)
3.4.0 (2023-10-07)
- cli: added watch option ang cfg option to cli (7e26a29)
3.3.0 (2023-09-20)
- cli: added afterGenerate callback to cli params (3348f4e)
3.2.2 (2023-09-19)
- ci: added commitizen, semantic-release, release workflow (e0db0f3)