Skip to content

Commit e52e0a0

Browse files
Bump version to 5.0.0 (#321)
Changes include: * BREAKING: Handle ES2018 capture names: #247 * BREAKING: Enable `namespacing` feature by default: #316 * BREAKING: Remove Unicode Blocks addon: 4860122 * restore perf tweak that made a meaningful difference in regex construction perf tests: 5f18261 * XRegExp.exec: preserve groups obj that comes from native ES2018 named capture: c4a83e7 * Make XRegExp.exec set groups prop to undefined if there are no named captures (closes #320): 7fea476 * Support optional 'Script=' prefix (from ES2018 syntax) for Unicode script tokens (#225): bb35ead * XRegExp.matchRecursive: Add delimiter and pos info when unbalanced delimiters are found (closes #293): 9660b90 * XRegExp.escape: Escape whitespace in a way that works with ES6 flag u (fixes #197): e22a52b To generate this commit, I adapted the steps at #205 (comment) Here's a fuller list of changes that can be needed with new releases: > * Version number > * Update version number and year in headers, config files, README. > * Update version number in `XRegExp.version`. > * Publish > * Publish new git tag. E.g.: > * `git tag -a v3.1.0 -m "Release 3.1.0"`. > * `git push origin v3.1.0`. > * `npm publish`.
1 parent b709238 commit e52e0a0

10 files changed

+12
-12
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# XRegExp 4.4.1-next
1+
# XRegExp 5.0.0-next
22

33
[![Build Status](https://github.com/slevithan/xregexp/workflows/Node.js%20CI/badge.svg)](https://github.com/slevithan/xregexp/actions)
44

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xregexp",
3-
"version": "4.4.1",
3+
"version": "5.0.0",
44
"description": "Extended regular expressions",
55
"homepage": "http://xregexp.com/",
66
"author": "Steven Levithan <[email protected]>",

src/addons/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* XRegExp.build 4.4.1
2+
* XRegExp.build 5.0.0
33
* <xregexp.com>
44
* Steven Levithan (c) 2012-present MIT License
55
*/

src/addons/matchrecursive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* XRegExp.matchRecursive 4.4.1
2+
* XRegExp.matchRecursive 5.0.0
33
* <xregexp.com>
44
* Steven Levithan (c) 2009-present MIT License
55
*/

src/addons/unicode-base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* XRegExp Unicode Base 4.4.1
2+
* XRegExp Unicode Base 5.0.0
33
* <xregexp.com>
44
* Steven Levithan (c) 2008-present MIT License
55
*/

src/addons/unicode-categories.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* XRegExp Unicode Categories 4.4.1
2+
* XRegExp Unicode Categories 5.0.0
33
* <xregexp.com>
44
* Steven Levithan (c) 2010-present MIT License
55
* Unicode data by Mathias Bynens <mathiasbynens.be>

src/addons/unicode-properties.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* XRegExp Unicode Properties 4.4.1
2+
* XRegExp Unicode Properties 5.0.0
33
* <xregexp.com>
44
* Steven Levithan (c) 2012-present MIT License
55
* Unicode data by Mathias Bynens <mathiasbynens.be>

src/addons/unicode-scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* XRegExp Unicode Scripts 4.4.1
2+
* XRegExp Unicode Scripts 5.0.0
33
* <xregexp.com>
44
* Steven Levithan (c) 2010-present MIT License
55
* Unicode data by Mathias Bynens <mathiasbynens.be>

src/xregexp.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* XRegExp 4.4.1
2+
* XRegExp 5.0.0
33
* <xregexp.com>
44
* Steven Levithan (c) 2007-present MIT License
55
*/
@@ -646,7 +646,7 @@ XRegExp.prototype = new RegExp();
646646
* @memberOf XRegExp
647647
* @type String
648648
*/
649-
XRegExp.version = '4.4.1';
649+
XRegExp.version = '5.0.0';
650650

651651
// ==--------------------------==
652652
// Public methods

0 commit comments

Comments
 (0)