|
1 |
| -# 3.0.0 / 2019-01-13 |
| 1 | +# Moved to [GitHub Releases](https://github.com/pillarjs/path-to-regexp/releases) |
| 2 | + |
| 3 | +## 3.0.0 / 2019-01-13 |
2 | 4 |
|
3 | 5 | - Always use prefix character as delimiter token, allowing any character to be a delimiter (e.g. `/:att1-:att2-:att3-:att4-:att5`)
|
4 | 6 | - Remove `partial` support, prefer escaping the prefix delimiter explicitly (e.g. `\\/(apple-)?icon-:res(\\d+).png`)
|
5 | 7 |
|
6 |
| -# 2.4.0 / 2018-08-26 |
| 8 | +## 2.4.0 / 2018-08-26 |
7 | 9 |
|
8 | 10 | - Support `start` option to disable anchoring from beginning of the string
|
9 | 11 |
|
10 |
| -# 2.3.0 / 2018-08-20 |
| 12 | +## 2.3.0 / 2018-08-20 |
11 | 13 |
|
12 | 14 | - Use `delimiter` when processing repeated matching groups (e.g. `foo/bar` has no prefix, but has a delimiter)
|
13 | 15 |
|
14 |
| -# 2.2.1 / 2018-04-24 |
| 16 | +## 2.2.1 / 2018-04-24 |
15 | 17 |
|
16 | 18 | - Allow empty string with `end: false` to match both relative and absolute paths
|
17 | 19 |
|
18 |
| -# 2.2.0 / 2018-03-06 |
| 20 | +## 2.2.0 / 2018-03-06 |
19 | 21 |
|
20 | 22 | - Pass `token` as second argument to `encode` option (e.g. `encode(value, token)`)
|
21 | 23 |
|
22 |
| -# 2.1.0 / 2017-10-20 |
| 24 | +## 2.1.0 / 2017-10-20 |
23 | 25 |
|
24 | 26 | - Handle non-ending paths where the final character is a delimiter
|
25 | 27 | - E.g. `/foo/` before required either `/foo/` or `/foo//` to match in non-ending mode
|
26 | 28 |
|
27 |
| -# 2.0.0 / 2017-08-23 |
| 29 | +## 2.0.0 / 2017-08-23 |
28 | 30 |
|
29 | 31 | - New option! Ability to set `endsWith` to match paths like `/test?query=string` up to the query string
|
30 | 32 | - New option! Set `delimiters` for specific characters to be treated as parameter prefixes (e.g. `/:test`)
|
|
35 | 37 | - Remove asterisk functionality (it's a real pain to properly encode)
|
36 | 38 | - Change `tokensToFunction` (e.g. `compile`) to accept an `encode` function for pretty encoding (e.g. pass your own implementation)
|
37 | 39 |
|
38 |
| -# 1.7.0 / 2016-11-08 |
| 40 | +## 1.7.0 / 2016-11-08 |
39 | 41 |
|
40 | 42 | - Allow a `delimiter` option to be passed in with `tokensToRegExp` which will be used for "non-ending" token match situations
|
41 | 43 |
|
42 |
| -# 1.6.0 / 2016-10-03 |
| 44 | +## 1.6.0 / 2016-10-03 |
43 | 45 |
|
44 | 46 | - Populate `RegExp.keys` when using the `tokensToRegExp` method (making it consistent with the main export)
|
45 | 47 | - Allow a `delimiter` option to be passed in with `parse`
|
46 | 48 | - Updated TypeScript definition with `Keys` and `Options` updated
|
47 | 49 |
|
48 |
| -# 1.5.3 / 2016-06-15 |
| 50 | +## 1.5.3 / 2016-06-15 |
49 | 51 |
|
50 | 52 | - Add `\\` to the ignore character group to avoid backtracking on mismatched parens
|
51 | 53 |
|
52 |
| -# 1.5.2 / 2016-06-15 |
| 54 | +## 1.5.2 / 2016-06-15 |
53 | 55 |
|
54 | 56 | - Escape `\\` in string segments of regexp
|
55 | 57 |
|
56 |
| -# 1.5.1 / 2016-06-08 |
| 58 | +## 1.5.1 / 2016-06-08 |
57 | 59 |
|
58 | 60 | - Add `index.d.ts` to NPM package
|
59 | 61 |
|
60 |
| -# 1.5.0 / 2016-05-20 |
| 62 | +## 1.5.0 / 2016-05-20 |
61 | 63 |
|
62 | 64 | - Handle partial token segments (better)
|
63 | 65 | - Allow compile to handle asterisk token segments
|
64 | 66 |
|
65 |
| -# 1.4.0 / 2016-05-18 |
| 67 | +## 1.4.0 / 2016-05-18 |
66 | 68 |
|
67 | 69 | - Handle RegExp unions in path matching groups
|
68 | 70 |
|
69 |
| -# 1.3.0 / 2016-05-08 |
| 71 | +## 1.3.0 / 2016-05-08 |
70 | 72 |
|
71 | 73 | - Clarify README language and named parameter token support
|
72 | 74 | - Support advanced Closure Compiler with type annotations
|
73 | 75 | - Add pretty paths options to compiled function output
|
74 | 76 | - Add TypeScript definition to project
|
75 | 77 | - Improved prefix handling with non-complete segment parameters (E.g. `/:foo?-bar`)
|
76 | 78 |
|
77 |
| -# 1.2.1 / 2015-08-17 |
| 79 | +## 1.2.1 / 2015-08-17 |
78 | 80 |
|
79 | 81 | - Encode values before validation with path compilation function
|
80 | 82 | - More examples of using compilation in README
|
81 | 83 |
|
82 |
| -# 1.2.0 / 2015-05-20 |
| 84 | +## 1.2.0 / 2015-05-20 |
83 | 85 |
|
84 | 86 | - Add support for matching an asterisk (`*`) as an unnamed match everything group (`(.*)`)
|
85 | 87 |
|
86 |
| -# 1.1.1 / 2015-05-11 |
| 88 | +## 1.1.1 / 2015-05-11 |
87 | 89 |
|
88 | 90 | - Expose methods for working with path tokens
|
89 | 91 |
|
90 |
| -# 1.1.0 / 2015-05-09 |
| 92 | +## 1.1.0 / 2015-05-09 |
91 | 93 |
|
92 | 94 | - Expose the parser implementation to consumers
|
93 | 95 | - Implement a compiler function to generate valid strings
|
94 | 96 | - Huge refactor of tests to be more DRY and cover new parse and compile functions
|
95 | 97 | - Use chai in tests
|
96 | 98 | - Add .editorconfig
|
97 | 99 |
|
98 |
| -# 1.0.3 / 2015-01-17 |
| 100 | +## 1.0.3 / 2015-01-17 |
99 | 101 |
|
100 | 102 | - Optimised function runtime
|
101 | 103 | - Added `files` to `package.json`
|
102 | 104 |
|
103 |
| -# 1.0.2 / 2014-12-17 |
| 105 | +## 1.0.2 / 2014-12-17 |
104 | 106 |
|
105 | 107 | - Use `Array.isArray` shim
|
106 | 108 | - Remove ES5 incompatible code
|
107 | 109 | - Fixed repository path
|
108 | 110 | - Added new readme badges
|
109 | 111 |
|
110 |
| -# 1.0.1 / 2014-08-27 |
| 112 | +## 1.0.1 / 2014-08-27 |
111 | 113 |
|
112 | 114 | - Ensure installation works correctly on 0.8
|
113 | 115 |
|
114 |
| -# 1.0.0 / 2014-08-17 |
| 116 | +## 1.0.0 / 2014-08-17 |
115 | 117 |
|
116 | 118 | - No more API changes
|
117 | 119 |
|
118 |
| -# 0.2.5 / 2014-08-07 |
| 120 | +## 0.2.5 / 2014-08-07 |
119 | 121 |
|
120 | 122 | - Allow keys parameter to be omitted
|
121 | 123 |
|
122 |
| -# 0.2.4 / 2014-08-02 |
| 124 | +## 0.2.4 / 2014-08-02 |
123 | 125 |
|
124 | 126 | - Code coverage badge
|
125 | 127 | - Updated readme
|
126 | 128 | - Attach keys to the generated regexp
|
127 | 129 |
|
128 |
| -# 0.2.3 / 2014-07-09 |
| 130 | +## 0.2.3 / 2014-07-09 |
129 | 131 |
|
130 | 132 | - Add MIT license
|
131 | 133 |
|
132 |
| -# 0.2.2 / 2014-07-06 |
| 134 | +## 0.2.2 / 2014-07-06 |
133 | 135 |
|
134 | 136 | - A passed in trailing slash in non-strict mode will become optional
|
135 | 137 | - In non-end mode, the optional trailing slash will only match at the end
|
136 | 138 |
|
137 |
| -# 0.2.1 / 2014-06-11 |
| 139 | +## 0.2.1 / 2014-06-11 |
138 | 140 |
|
139 | 141 | - Fixed a major capturing group regexp regression
|
140 | 142 |
|
141 |
| -# 0.2.0 / 2014-06-09 |
| 143 | +## 0.2.0 / 2014-06-09 |
142 | 144 |
|
143 | 145 | - Improved support for arrays
|
144 | 146 | - Improved support for regexps
|
|
150 | 152 | - Updated readme
|
151 | 153 | - Provide delimiter information with keys array
|
152 | 154 |
|
153 |
| -# 0.1.2 / 2014-03-10 |
| 155 | +## 0.1.2 / 2014-03-10 |
154 | 156 |
|
155 | 157 | - Move testing dependencies to `devDependencies`
|
156 | 158 |
|
157 |
| -# 0.1.1 / 2014-03-10 |
| 159 | +## 0.1.1 / 2014-03-10 |
158 | 160 |
|
159 | 161 | - Match entire substring with `options.end`
|
160 | 162 | - Properly handle ending and non-ending matches
|
161 | 163 |
|
162 |
| -# 0.1.0 / 2014-03-06 |
| 164 | +## 0.1.0 / 2014-03-06 |
163 | 165 |
|
164 | 166 | - Add `options.end`
|
165 | 167 |
|
166 |
| -# 0.0.2 / 2013-02-10 |
| 168 | +## 0.0.2 / 2013-02-10 |
167 | 169 |
|
168 | 170 | - Update to match current express
|
169 | 171 | - Add .license property to component.json
|
0 commit comments