Skip to content

cors: v2.0.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 11:48
159c276

@routup/cors 2.0.1 is a maintenance release covering the changes since 2.0.0, with an updated Routup peer dependency.

👀 Highlights

⬆️ Routup 6.1 baseline

The routup peer dependency moves from ^6.0.0 to ^6.1.0. If you are still on Routup 6.0.x, update it alongside the plugin. This release does not change the CORS options or preflight behavior; the CORS source changes are formatting and an equivalent origin-check simplification.

⚠️ Heads-Up Before Upgrading

Change What to do
routup now requires ^6.1.0 Upgrade Routup 6.0.x before using this patch.

⬆️ Upgrading

npm install @routup/cors@2.0.1 routup@^6.1.0

Your existing CORS configuration can stay as it is. See the CORS README at this tag for usage and options.

👉 Changelog

2.0.1 (2026-11-08)

Bug Fixes

  • deps: bump the minorandpatch group across 1 directory with 16 updates (#851) (135bf8f)