Change8

@vercel/routing-utils@6.0.0

📦 vercel-cliView on GitHub →
2 features1 deprecations🔧 9 symbols

Summary

The `routes` configuration is now fully interoperable with other routing settings like `rewrites` and `headers`, while specific properties within `routes` (`handle`, `important`, `override`) have been deprecated.

Migration Steps

  1. If you were using `handle`, `important`, or `override` properties inside your `routes` configuration, consider migrating away from them as they are now deprecated.

✨ New Features

  • The `routes` configuration is now allowed to coexist with `rewrites`, `headers`, `redirects`, `cleanUrls`, and `trailingSlash` configurations.
  • When coexisting, `routes` are processed after `cleanUrls` and `trailingSlash`, but before `redirects`, `headers`, and `rewrites` in the routing order.

Affected Symbols

⚡ Deprecations

  • The properties `handle`, `important`, and `override` within the `routes` schema are now deprecated.