8000 Add link for history notes moving to releases · pillarjs/path-to-regexp@d830155 · GitHub
[go: up one dir, main page]

Skip to content

Commit d830155

Browse files
committed
Add link for history notes moving to releases
1 parent 4b8efcc commit d830155

File tree

1 file changed

+35
-33
lines changed

1 file changed

+35
-33
lines changed

History.md

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
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
24

35
- Always use prefix character as delimiter token, allowing any character to be a delimiter (e.g. `/:att1-:att2-:att3-:att4-:att5`)
46
- Remove `partial` support, prefer escaping the prefix delimiter explicitly (e.g. `\\/(apple-)?icon-:res(\\d+).png`)
57

6-
# 2.4.0 / 2018-08-26
8+
## 2.4.0 / 2018-08-26
79

810
- Support `start` option to disable anchoring from beginning of the string
911

10-
# 2.3.0 / 2018-08-20
12+
## 2.3.0 / 2018-08-20
1113

1214
- Use `delimiter` when processing repeated matching groups (e.g. `foo/bar` has no prefix, but has a delimiter)
1315

14-
# 2.2.1 / 2018-04-24
16+
## 2.2.1 / 2018-04-24
1517

1618
- Allow empty string with `end: false` to match both relative and absolute paths
1719

18-
# 2.2.0 / 2018-03-06
20+
## 2.2.0 / 2018-03-06
1921

2022
- Pass `token` as second argument to `encode` option (e.g. `encode(value, token)`)
2123

22-
# 2.1.0 / 2017-10-20
24+
## 2.1.0 / 2017-10-20
2325

2426
- Handle non-ending paths where the final character is a delimiter
2527
- E.g. `/foo/` before required either `/foo/` or `/foo//` to match in non-ending mode
2628

27-
# 2.0.0 / 2017-08-23
29+
## 2.0.0 / 2017-08-23
2830

2931
- New option! Ability to set `endsWith` to match paths like `/test?query=string` up to the query string
3032
- New option! Set `delimiters` for specific characters to be treated as parameter prefixes (e.g. `/:test`)
@@ -35,110 +37,110 @@
3537
- Remove asterisk functionality (it's a real pain to properly encode)
3638
- Change `tokensToFunction` (e.g. `compile`) to accept an `encode` function for pretty encoding (e.g. pass your own implementation)
3739

38-
# 1.7.0 / 2016-11-08
40+
## 1.7.0 / 2016-11-08
3941

4042
- Allow a `delimiter` option to be passed in with `tokensToRegExp` which will be used for "non-ending" token match situations
4143

42-
# 1.6.0 / 2016-10-03
44+
## 1.6.0 / 2016-10-03
4345

4446
- Populate `RegExp.keys` when using the `tokensToRegExp` method (making it consistent with the main export)
4547
- Allow a `delimiter` option to be passed in with `parse`
4648
- Updated TypeScript definition with `Keys` and `Options` updated
4749

48-
# 1.5.3 / 2016-06-15
50+
## 1.5.3 / 2016-06-15
4951

5052
- Add `\\` to the ignore character group to avoid backtracking on mismatched parens
5153

52-
# 1.5.2 / 2016-06-15
54+
## 1.5.2 / 2016-06-15
5355

5456
- Escape `\\` in string segments of regexp
5557

56-
# 1.5.1 / 2016-06-08
58+
## 1.5.1 / 2016-06-08
5759

5860
- Add `index.d.ts` to NPM package
5961

60-
# 1.5.0 / 2016-05-20
62+
## 1.5.0 / 2016-05-20
6163

6264
- Handle partial token segments (better)
6365
- Allow compile to handle asterisk token segments
6466

65-
# 1.4.0 / 2016-05-18
67+
## 1.4.0 / 2016-05-18
6668

6769
- Handle RegExp unions in path matching groups
6870

69-
# 1.3.0 / 2016-05-08
71+
## 1.3.0 / 2016-05-08
7072

7173
- Clarify README language and named parameter token support
7274
- Support advanced Closure Compiler with type annotations
7375
- Add pretty paths options to compiled function output
7476
- Add TypeScript definition to project
7577
- Improved prefix handling with non-complete segment parameters (E.g. `/:foo?-bar`)
7678

77-
# 1.2.1 / 2015-08-17
79+
## 1.2.1 / 2015-08-17
7880

7981
- Encode values before validation with path compilation function
8082
- More examples of using compilation in README
8183

82-
# 1.2.0 / 2015-05-20
84+
## 1.2.0 / 2015-05-20
8385

8486
- Add support for matching an asterisk (`*`) as an unnamed match everything group (`(.*)`)
8587

86-
# 1.1.1 / 2015-05-11
88+
## 1.1.1 / 2015-05-11
8789

8890
- Expose methods for working with path tokens
8991

90-
# 1.1.0 / 2015-05-09
92+
## 1.1.0 / 2015-05-09
9193

9294
- Expose the parser implementation to consumers
9395
- Implement a compiler function to generate valid strings
9496
- Huge refactor of tests to be more DRY and cover new parse and compile functions
9597
- Use chai in tests
9698
- Add .editorconfig
9799

98-
# 1.0.3 / 2015-01-17
100+
## 1.0.3 / 2015-01-17
99101

100102
- Optimised function runtime
101103
- Added `files` to `package.json`
102104

103-
# 1.0.2 / 2014-12-17
105+
## 1.0.2 / 2014-12-17
104106

105107
- Use `Array.isArray` shim
106108
- Remove ES5 incompatible code
107109
- Fixed repository path
108110
- Added new readme badges
109111

110-
# 1.0.1 / 2014-08-27
112+
## 1.0.1 / 2014-08-27
111113

112114
- Ensure installation works correctly on 0.8
113115

114-
# 1.0.0 / 2014-08-17
116+
## 1.0.0 / 2014-08-17
115117

116118
- No more API changes
117119

118-
# 0.2.5 / 2014-08-07
120+
## 0.2.5 / 2014-08-07
119121

120122
- Allow keys parameter to be omitted
121123

122-
# 0.2.4 / 2014-08-02
124+
## 0.2.4 / 2014-08-02
123125

124126
- Code coverage badge
125127
- Updated readme
126128
- Attach keys to the generated regexp
127129

128-
# 0.2.3 / 2014-07-09
130+
## 0.2.3 / 2014-07-09
129131

130132
- Add MIT license
131133

132-
# 0.2.2 / 2014-07-06
134+
## 0.2.2 / 2014-07-06
133135

134136
- A passed in trailing slash in non-strict mode will become optional
135137
- In non-end mode, the optional trailing slash will only match at the end
136138

137-
# 0.2.1 / 2014-06-11
139+
## 0.2.1 / 2014-06-11
138140

139141
- Fixed a major capturing group regexp regression
140142

141-
# 0.2.0 / 2014-06-09
143+
## 0.2.0 / 2014-06-09
142144

143145
- Improved support for arrays
144146
- Improved support for regexps
@@ -150,20 +152,20 @@
150152
- Updated readme
151153
- Provide delimiter information with keys array
152154

153-
# 0.1.2 / 2014-03-10
155+
## 0.1.2 / 2014-03-10
154156

155157
- Move testing dependencies to `devDependencies`
156158

157-
# 0.1.1 / 2014-03-10
159+
## 0.1.1 / 2014-03-10
158160

159161
- Match entire substring with `options.end`
160162
- Properly handle ending and non-ending matches
161163

162-
# 0.1.0 / 2014-03-06
164+
## 0.1.0 / 2014-03-06
163165

164166
- Add `options.end`
165167

166-
# 0.0.2 / 2013-02-10
168+
## 0.0.2 / 2013-02-10
167169

168170
- Update to match current express
169171
- Add .license property to component.json

0 commit comments

Comments
 (0)
0