Skip to content

Commit 2eabe5d

Browse files
committed
Release Artifacts for v2.3.1
[skip ci]
1 parent 55a297c commit 2eabe5d

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

docs/recent-changes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11

2+
# Release v2.3.1
3+
4+
### Patch Changes
5+
6+
#### [set trailing slash optional in route matching (@touletan)](https://github.com/MithrilJS/mithril.js/pull/3025)
7+
8+
Regexp has been updated to set trailing slash as optional in route matching. link to issue 3024. New test has been added.
9+
210
# Release v2.3.0
311

412
### Minor Changes

mithril.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ var compileTemplate = function(template) {
14131413
if (extra === ".") return "([^/]+)\\."
14141414
return "([^/]+)" + (extra || "")
14151415
}
1416-
) + "$")
1416+
) + "\\/?$")
14171417
return function(data1) {
14181418
// First, check the params. Usually, there isn't any, and it's just
14191419
// checking a static set.

mithril.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mithril",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "A framework for building brilliant applications",
55
"author": "Leo Horie",
66
"license": "MIT",

0 commit comments

Comments
 (0)