Skip to content

Commit aa32b21

Browse files
committed
added changelog
1 parent 525c4e4 commit aa32b21

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: README.md

+18
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,22 @@ wildcardPattern.match('subsub.www.google.com');
144144
// => {sub: 'www', _: ['subsub', 'com']}
145145
```
146146

147+
## changelog
148+
149+
### 0.7
150+
151+
instead of
152+
153+
``` js
154+
var urlPattern = require('url-pattern');
155+
var pattern = urlPattern.newPattern('/example');
156+
```
157+
158+
now use
159+
160+
``` js
161+
var Pattern = require('url-pattern');
162+
var pattern = new Pattern('/example');
163+
```
164+
147165
## [license: MIT](LICENSE)

0 commit comments

Comments
 (0)