Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 5.0.0 #321

Merged
merged 1 commit into from
Feb 8, 2021
Merged

Bump version to 5.0.0 #321

merged 1 commit into from
Feb 8, 2021

Conversation

josephfrazier
Copy link
Collaborator

Changes include:

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.

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`.
@josephfrazier josephfrazier marked this pull request as ready for review February 7, 2021 18:48
@josephfrazier josephfrazier merged commit e52e0a0 into master Feb 8, 2021
@josephfrazier josephfrazier deleted the v500 branch February 8, 2021 23:49
slevithan added a commit that referenced this pull request Feb 9, 2021
@slevithan
Copy link
Owner

slevithan commented Feb 9, 2021

Sweet!

I've just finished a major update for every page on xregexp.com, updating the docs for v5.0.0. The last time it was updated was for v3.2.0 so it was fairly out of date! E.g., it didn't yet include XRegExp.tag.

To make the documentation easier to keep up to date, I've added all the content from xregexp.com to the repo here in the new docs folder. (This was requested years ago.) It contains locally browse-able webpages.

Note that after you published, I fixed the version number in README, removing "-next" (124adc0). Sorry about the confusion... I'd changed the version there to say 4.4.1-next since I'd previously updated README to reflect v5 API changes (so putting a v4.4.1 heading on it was misleading). I didn't want it to say 5.0.0 though until v5 was ready to go -- hence 4.4.1-next.

@slevithan
Copy link
Owner

slevithan commented Feb 9, 2021

Thanks again for releasing this! I've updated the release notes at https://github.com/slevithan/xregexp/releases/tag/v5.0.0 to more fully cover the changes in v5.0.0 (added a few things and removed "restore perf tweak" since that wasn't a change relative to v4.4.1):

Breaking Changes

Improvements

Bug Fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants