-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Release v4.0.0 #205
Release v4.0.0 #205
Conversation
I'm down with using the current state as a new release to get Note that this would be releasing Apart from the changes in your commits, it would also be nice to add
You're right about the remaining steps for publishing. Should be easy like you said, though I might get to the website updates later. It's pretty silly that I don't have a better system for the docs, or at least have the docs in the repo so others can help with updating them. Right now the code for them is fairly messy, though. Here's a fuller list of changes that can be needed with new releases:
|
Good point, I had forgotten that we've dropped ES3 support, and I agree that it's a breaking change. Do you still want to also get #89 into v4.0.0 (see #89 (comment)), or can it wait until v5.0.0?
Agreed, I'll open a PR with the example you suggested, and think about potential improvements.
No worries on the code being messy! I'm just happy to hear that it doesn't have to be updated alongside a new release.
Thanks for listing these out, it'll be useful for reference in the future. |
Adapted from the example in slevithan#205 (comment)
* Add documentation for XRegExp.tag Adapted from the example in #205 (comment) * Add example to XRegExp.tag docs This was copied from the source code comment.
Thanks, Joseph. Other breaking changes can wait until v5.0.0, in the interest of not delaying this further. I'm fine with breaking changes coming in rapid succession, BTW, whenever they're ready, assuming they are substantial/worthwhile changes like #89. Not directly related, but FYI: I've usually avoided introducing regex or replacement text syntax changes except in major versions (x.0.0), even when they aren't breaking changes. This is because of tools like RegexBuddy that need to reference/emulate multiple versions of XRegExp syntax. I know the author of RegexBuddy would prefer not to have to differentiate between syntax in minor versions. |
Great, thanks for the additional info about the breaking/syntax changes, I'll try to keep those points in mind. Once we land #207, I'll update this PR. |
Tagged and published as v4.0.0. |
Yay, thanks! |
It was published in v4.0.0: slevithan/xregexp#205
* Upgrade xregexp to v4.0.0 * Use XRegExp.tag instead of re-implementing it It was published in v4.0.0: slevithan/xregexp#205
* Add documentation for XRegExp.tag Adapted from the example in slevithan/xregexp#205 (comment) * Add example to XRegExp.tag docs This was copied from the source code comment.
* Add documentation for XRegExp.tag Adapted from the example in slevithan/xregexp#205 (comment) * Add example to XRegExp.tag docs This was copied from the source code comment.
Changes include: * Upgrading from Unicode 11.0.0 to Unicode 12.1.0: slevithan#278 * Upgrading from `@babel/runtime-corejs2` to `@babel/runtime-corejs3`: slevithan#280 To generate this commit, I followed the steps at slevithan#205 (comment) See more context at slevithan#280 (comment)
Changes include: * Upgrading from Unicode 11.0.0 to Unicode 12.1.0: #278 * Upgrading from `@babel/runtime-corejs2` to `@babel/runtime-corejs3`: #280 To generate this commit, I followed the steps at #205 (comment) See more context at #280 (comment)
Changes include: * Remove no longer relevant lastIndex code from replace method, fixes slevithan#287 * Add browser field to package.json to fix webpack: slevithan#308 To generate this commit, I adapted the steps at slevithan#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 year in LICENSE. > * 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: * Add browser field to package.json to fix webpack: #308 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 year in LICENSE. > * 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`.
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`.
* Upgrade xregexp to v4.0.0 * Use XRegExp.tag instead of re-implementing it It was published in v4.0.0: slevithan/xregexp#205
Hey @slevithan, thanks for giving me commit access in #204 (comment)
Do you think we could go ahead and release/publish v3.3.0 in order to make
XRegExp.tag
available to npm users? I've modeled the commits in this PR after 5b974aa and ddf24c5, so I'm hoping all that's needed to do is:npm publish
Ideally, the website would also be updated, but I'm not sure if/where the source code for that is available, so I can't make any changes there at the moment.
EDIT: This should also fix #198