@vercel/routing-utils
6.6.1 · 28 Oct 2026Apache-2.02.3M / weekRepositoryHomepagenpmAtom feed
67 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 6.x · latest line
6.6.1
28 Oct 20266.6.0
14 Sep 2026Fix route ordering so project middleware always runs before builder-generated routes.
6.5.0
13 Aug 2026Move middleware matcher utils from node builder to general build utils.
6.4.1
3 Aug 2026Bump all workspace packages to trigger a full publish from vercel-internal.
6.4.0
25 Jun 2026Make hand-written service-targeted route/rewrite
destinationconfig less repetitive and verbose by making thetypediscriminator optional.{ "rewrites": [{ - "type": "service", "service": "my_backend", "path": "/api/$1" }] }The explicit
{ "type": "service", "service": NAME }format continues to
validate. Normalized route output continues to include"type": "service", so
machine-facing config remains canonical.
6.3.1
23 Jun 2026Support
request.pathtransforms on routes and high-level rewrites, lowering path-to-regexp parameters such as/:path*to low-level capture references such as/$1
[config] support request path transforms in the router builder
[cli] preserve request path transform syntax and environment metadata across AI/manual route edits
6.3.0
10 Jun 2026Support a service-targeted
destinationobject ({ type: "service", service, path }) on routes and rewrites, so a route/rewrite can delegate into a named service. The service handoff is terminal:continue: truetogether with a servicedestinationis rejected during normalization.
6.2.0
30 Apr 2026Upgrade to TypeScript 5.9
6.1.1
24 Mar 2026Redirect sources now support domains
6.1.0
21 Mar 2026Removed bulkRedirectsSchema
6.0.2
3 Mar 2026Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
6.0.1
27 Feb 2026Fix type error caused by
sourcenormalization in Routes
6.0.0
26 Feb 2026- Breaking
Allow
routesto coexist withrewrites,headers,redirects,cleanUrls, andtrailingSlash.This is part of our efforts to undeprecate
routes, which had previously been deprecated for a few years and replaced by the properties above. Now that we are undeprecatingroutesin favor of a more focused deprecation of properties within it, it is now allowed to coexist with the new properties.When used together,
routesare inserted aftercleanUrlsandtrailingSlashbut beforeredirects,headers, andrewritesin the routing order. - Deprecated
Deprecate
handle,important, andoverrideproperties inroutesschema
- 5.x
5.3.3
13 Feb 2026Services routing improvements:
5.3.2
12 Jan 2026Add respectOriginCacheControl to rewritesSchema
Add respectOriginCacheControl to routes schema
5.3.1
11 Dec 2025Add env field to redirects, rewrites, routes
5.3.0
20 Nov 2025Add support for the env field in transforms for explicit environment variable usage
5.2.2
13 Nov 2025Allow header values of up to 32kb in length in routes.
5.2.1
28 Oct 2025Add experimental support for routes.json
5.2.0
6 Oct 2025Support bulk redirects in routing-utils
Support underscores in named capture groups for routing patterns
5.1.1
16 Jul 2025Reverting support for
preferredRegion
5.1.0
2 Jul 2025Change where validation on the routing array happens (schema to api)
5.0.8
23 Jun 2025Support transform rules in vercel.json
5.0.7
13 Jun 2025Fixed TS literal type inference for compatibility with json-schema-to-ts
5.0.6
11 Jun 2025Adds support for conditionValues for
hasandmissingandmitigatein yourvercel.jsonfile.
5.0.5
30 May 2025Revert "[routing-utils] Support Conditions and Mitigate in vercel.json"
5.0.4
10 Feb 2025Fix dep bundling
5.0.3
5 Feb 2025Better path-to-regexp diff logging
5.0.2
31 Jan 2025Update routes schema for new limit of 2048
5.0.1
29 Jan 2025Log diff between current and updated versions of path-to-regexp
5.0.0
12 Dec 2024- Breaking
Revert path-to-regexp updates
- 4.x
4.0.0
12 Dec 2024- Breaking
Update path-to-regexp
- 3.x
3.1.0
20 Oct 2023Adds support for statusCode property on rewrites
3.0.0
21 Aug 2023- Breaking
Drop Node.js 14, bump minimum to Node.js 16
- 2.x
2.2.1
27 Apr 2023Reading the note…
2.2.0
7 Apr 2023Reading the note…
2.1.11
16 Mar 2023Reading the note…
2.1.10
28 Feb 2023Reading the note…
2.1.9
15 Feb 2023Reading the note…
2.1.8
13 Jan 2023Reading the note…
2.1.7
13 Jan 2023Reading the note…
2.1.3
9 Nov 2022Reading the note…
2.1.2
7 Nov 2022Reading the note…
2.1.1
2 Nov 2022Reading the note…
2.1.0
2 Nov 2022Reading the note…
2.0.2
4 Aug 2022Reading the note…
2.0.1
4 Aug 2022Reading the note…
2.0.0
15 Jul 2022Reading the note…
- 1.x
1.13.5
28 Jun 2022Reading the note…
1.13.4
2 Jun 2022Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.