diff --git a/HISTORY.md b/HISTORY.md index 2690521..ad7f247 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,15 @@ -unreleased -========================= +2.0.0 / 2024-09-09 +================== * Drop support for node <18 +* deps: path-to-regexp@^8.0.0 + - Drop support for partial capture group `router.route('/user(s?)/:user/:op')` but still have optional non-capture `/user{s}/:user/:op` + - `:name?` becomes `{:name}` + - `:name*` becomes `*name`. + - The splat change also changes splat from strings to an array of strings + - Optional splats become `{*name}` + - `:name+` becomes `*name` and thus equivalent to `*name` so I dropped those tests + - Strings as regular expressions are fully removed, need to be converted to native regular expressions 2.0.0-beta.2 / 2024-03-20 ========================= diff --git a/package.json b/package.json index 35de1ac..c118ec6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "router", "description": "Simple middleware-style router", - "version": "2.0.0-beta.2", + "version": "2.0.0", "author": "Douglas Christopher Wilson ", "contributors": [ "Blake Embrey "