Skip to content

Releases: mudge/re2

2.7.0: Support for strings with null bytes

20 Jan 15:02
5c2c887
Compare
Choose a tag to compare

Added

  • Support strings with null bytes as patterns and input throughout the library. Note this means strings with null bytes will no longer be truncated at the first null byte. Thanks to @manueljacob for reporting this bug.

SHA256 checksums:

778921298b6e8aba26a6230dd298c9b361b92e45024f81fa6aee788060fa307c  re2-2.7.0-aarch64-linux.gem
d328b5286d83ae265e13b855da8e348a976f80f91b748045b52073a570577954  re2-2.7.0-arm-linux.gem
7d993f27a1afac4001c539a829e2af211ced62604930c90df32a307cf74cb4a4  re2-2.7.0-arm64-darwin.gem
30ac6e9831f2e2237f5c6f2813f1f708110b7b707e571504aae56083eb26011c  re2-2.7.0-x64-mingw-ucrt.gem
78c98a7d4d272eedb6b5779c25b55d8f8ddd4ba4b0b6f402616e4717f785841d  re2-2.7.0-x64-mingw32.gem
0c7ba10b907738402577e4a4d7b980fbaae05850f418a4d7061a7ba531a4fe57  re2-2.7.0-x86-linux.gem
3560795ee796386a50f5c5f002d0a8570995da48599d524cac23d3822b9a1d7f  re2-2.7.0-x86-mingw32.gem
49afef32dbc8b0a0fe978668489bdc3f016c30afb20d0aecb75db0454297c4ff  re2-2.7.0-x86_64-darwin.gem
be9095c33e9628644fd876c1e6379cbd6a99a1c786d496e087491471f78d53fc  re2-2.7.0-x86_64-linux.gem
319d88d2a8ff32eba45286e58a8d49bd8b59167afa718946165b67fec2ea13dc  re2-2.7.0.gem

2.6.0: precompiled native gems for Ruby 3.3.0

27 Dec 19:30
ed4cbde
Compare
Choose a tag to compare

Added

  • Add precompiled native gem for Ruby 3.3.0.

SHA256 checksums:

1cb558bdeabe01bb935988f49969613a83681014392c81ed10caa62351fb91d6  re2-2.6.0-aarch64-linux.gem
b6007820d8a7a723d9549e44118a696dd289d8822a324c52d3663d3d1e9479f6  re2-2.6.0-arm-linux.gem
ba6fda7a29cd16179d5401c1b4917ba204c92e5ca9d25df80d840ed76fca439f  re2-2.6.0-arm64-darwin.gem
8332068cbb0ec170938bd27c518a298e9d78be53d2e7ea004f4994290559c330  re2-2.6.0-x64-mingw-ucrt.gem
e9c114c59332fa782e68d6695d2f511eb5eb973e535c55a903de4470501b4cf0  re2-2.6.0-x64-mingw32.gem
0177a4d83268cd125e15acef96d6bde625ab4bb892d04999733104e39155b270  re2-2.6.0-x86-linux.gem
5b3f1413edc3c0c54df27f6b27f130ed3d64a124df93fdf676f078dd6faf2bfe  re2-2.6.0-x86-mingw32.gem
0f2463816345fd5b6a1e552711c2a3d5f86275e3f72dcfee0d400c89e14842c2  re2-2.6.0-x86_64-darwin.gem
eabc7877470c5dd08f4ecd12040f6c44400403a9252dddda024a3092f2af1604  re2-2.6.0-x86_64-linux.gem
78e13aa6a9ee962b76eb2aa08b6e3246652a1ce3d7b097eb114b13ff4606486a  re2-2.6.0.gem

2.6.0.rc1: precompiled native gems for Ruby 3.3

13 Dec 10:13
5773397
Compare
Choose a tag to compare

Added

  • Add precompiled native gem for Ruby 3.3.0-rc1.

SHA256 checksums:

2cbe51ee6248c7b351a1d4ad9ce9d069677c19df6f1038842f365b98aab2089f  re2-2.6.0.rc1-aarch64-linux.gem
32b94b5eca27273f4ffbd42aaf8e83c633c832d2c08c8ab495c6b3ad5715d3bf  re2-2.6.0.rc1-arm-linux.gem
dfbddbf46910db26e129c5e6002e8a511058487f92c14e768a8028fa5d917e37  re2-2.6.0.rc1-arm64-darwin.gem
ebef7f6931cecb75f503425d43a744eb5a85c6ecf50716282bdb05ceef5d0713  re2-2.6.0.rc1-x64-mingw-ucrt.gem
775663d97f1e85df3748f75c9d22e8a179393eaae463749dc349fdfedb2a6f73  re2-2.6.0.rc1-x64-mingw32.gem
93a173f1ed4c5989a8fdf2175389220f18a6c88775263e4df62283381b59980c  re2-2.6.0.rc1-x86-linux.gem
26a52d210ad401c2d06f9250496a7aaf9310c8ec083c9f8e8c78729d83b12a65  re2-2.6.0.rc1-x86-mingw32.gem
fb478162b19610bc1cbae814827f1f7afa91bbe0db208b8684847863bda348b1  re2-2.6.0.rc1-x86_64-darwin.gem
e743f557caf94cb3d15ad0f5b7ad51a5c4fe1916cb4af364e3edfe7b698adc3a  re2-2.6.0.rc1-x86_64-linux.gem
03ebefd2f58a1cedbf33f1e0dfb45888f8f17684c9704b0ec5e716a06ab3fd65  re2-2.6.0.rc1.gem

2.5.0: New matching interface

05 Dec 20:28
b04b9d9
Compare
Choose a tag to compare

Added

Changed

  • Overhaul much of the documentation to better explain the library and more closely match the underlying RE2 library's interface, primarily promoting the new full and partial matching APIs.
  • Remove workarounds for building Abseil on Windows now that pkgconf 2.1.0 has been released.

SHA256 checksums:

b370a5f08b011f86bd41e4934c21f66389a34ac9949b754b321986c560a2ae8d  re2-2.5.0-aarch64-linux.gem
91f73d83d638413f515a24e5a98e79c7bd40f1f059b13c857e751185f8b98b43  re2-2.5.0-arm-linux.gem
4b20c4539a12787102b22012e678968af23f87e35f88843744835bd13ac9f6bc  re2-2.5.0-arm64-darwin.gem
2d2a3c98e0dedebd1763f660773a776cb7d0a15d43428d68a7ff0f160d0c0d8f  re2-2.5.0-x64-mingw-ucrt.gem
3ccd08b73995d461646ca1515535c8715756cc674df75394d072e056c87c380f  re2-2.5.0-x64-mingw32.gem
ec165b08ee161c339582fb73ccd412f44b627ced1151cc8400c566b5bc2e8fbd  re2-2.5.0-x86-linux.gem
39de555fb04b3ce0d37ea961525cab7a77e7015f0fc0692b30e4950d4d6314f8  re2-2.5.0-x86-mingw32.gem
1c926ee5f7ed7649f7d84d677f499a1c04542a4bf007a5765f9f33906753e2d3  re2-2.5.0-x86_64-darwin.gem
fbe9c0e939dceb4117fd9da5d35f69de57d96ef077edfb14e2661c877f4290ef  re2-2.5.0-x86_64-linux.gem
42bbf4292ef80aef54070d0904d3a7ccbb5f907dcf9006914a8b2ce6ea8b0646  re2-2.5.0.gem

2.4.3: Restore support for older gcc versions

22 Nov 12:35
6129fe2
Compare
Choose a tag to compare

Fixed

  • Restore support for compiling the gem with gcc 7.3 (as used on Amazon Linux 2), fixing the "non-trivial designated initializers not supported" error introduced in version 2.4.0. Thanks to @stanhu for reporting this bug.

SHA256 checksums:

c61f88ed98553b67b5dcf89fcce4394845b51697983b50b59c8cbff438b2f43d  re2-2.4.3-aarch64-linux.gem
12a9f7044b8667bd0b95115576d811fa22d370203b31452212f69b397b10c1c1  re2-2.4.3-arm-linux.gem
3ea5da85de0b7d8dd9a871bc939fd340c47e52925a2f7786602bb0e9b558d3b1  re2-2.4.3-arm64-darwin.gem
12a4b345e013693d5bb974d6a975f3a192d0961394986a98063a317bfaf193ad  re2-2.4.3-x64-mingw-ucrt.gem
e7fef971923684598f3cdf2efa694c54681ef07c2f332b2109f7f9249d672f0c  re2-2.4.3-x64-mingw32.gem
7783d5f18781bf9f73b27d616d10660f2604b9c0f869fe86b702393eb070d49c  re2-2.4.3-x86-linux.gem
15a3c849cea067c5d71915231541e00753c69234ac403fc497bb55ee3878591a  re2-2.4.3-x86-mingw32.gem
4e695cfe5bf6297dfd78ed02ddb4e5cff39ff045aa59d1dc59e203530b073576  re2-2.4.3-x86_64-darwin.gem
8ec7616e492881b7703cb07ed2890d7b77b0af553415bf79b19ce6ef5e5c5fed  re2-2.4.3-x86_64-linux.gem
4b38ed4b8b3b75dd4fb02d5966b44a3a0d9b9c97d6ef98d264da39dc1a0d702d  re2-2.4.3.gem

2.4.2: Improved memsize for RE2::Regexp, RE2::Scanner and RE2::Set

17 Nov 19:44
5aed5c1
Compare
Choose a tag to compare

Changed

  • Improve the reported consuming memory size of RE2::Regexp, RE2::Set and RE2::Scanner objects.

SHA256 checksums:

db0a7e0dbfffa2e04bcab5e643f1b11365002df4d717aabd8338a684339a9a86  re2-2.4.2-aarch64-linux.gem
45edc0a3808f05aa5cc34a4719a33d9a24e8c17e4db34d9d6c448bbe4333cfbe  re2-2.4.2-arm-linux.gem
ff0898d5cd7512df9d69b0f7c407c18249003053c74a9eadf2a83deeecc6ed68  re2-2.4.2-arm64-darwin.gem
15d24af6c8e4bc60a52d69289a50c971965305e87af9b84e9de6a4247397eab3  re2-2.4.2-x64-mingw-ucrt.gem
e088d987b3b353eb80817427e187dd2d1ad6a3fb11a6f6717564d014e33a1cca  re2-2.4.2-x64-mingw32.gem
49fea56db05ad78d32dcc9ef0873eabb26a89b50ba28eee27ba926e254212b4c  re2-2.4.2-x86-linux.gem
013d993d2d53b56872ba608ed995864565ae0e21d1cee52e9e09e460c3c74258  re2-2.4.2-x86-mingw32.gem
48414e345defb87e87529917028e1b2098b158f12205e3bcf05185953389353d  re2-2.4.2-x86_64-darwin.gem
7f3bf0d1225b288fa7acab688fc6dbcf26d5737216eb926847c047d45d205ef7  re2-2.4.2-x86_64-linux.gem
634dfa080f6356e7221c4f7e1edc102c7b2f22c3f085dd921eaf085164b2a35a  re2-2.4.2.gem

2.4.1: Improved reported memsize of RE2::MatchData

12 Nov 14:12
7fa9ff8
Compare
Choose a tag to compare

Changed

  • Improve the reported consuming memory size of RE2::MatchData objects. Thanks to @byroot again for suggesting a better way to calculate this.

SHA256 checksums:

9465a8182ac88906b54a06aa0c52e4d90be5402f79835c6ae70c997d9792c1fd  re2-2.4.1-aarch64-linux.gem
2a5bf5cb7179d4225ce67d8d765db8ecaf5273cde43de30859f0ea1aebc57cb2  re2-2.4.1-arm-linux.gem
ee67ba3dca9e7020c2dce33cf276995f9d19ced31e44d0907dbdaca437207231  re2-2.4.1-arm64-darwin.gem
33cef5a584503761d31239db0a11016dcf1ba4e476f7021e6191d73b38032b52  re2-2.4.1-x64-mingw-ucrt.gem
5d46f90c8ac320b9c144175a53778d497700fc86aa8c1390a936b48c39010fdf  re2-2.4.1-x64-mingw32.gem
4f29f01f335bec1613b20a050c5f12a3427cb7cfc963a5aa2641c3d2eff7d70b  re2-2.4.1-x86-linux.gem
ce98b1b4abc6140802a9f3c4fe9962218f7ed92af8fc31ef19286c575682d73a  re2-2.4.1-x86-mingw32.gem
2c8bdf58011c26efe41e9b4498c4e65ffee4a461bd5e3400ca0b778079291d0f  re2-2.4.1-x86_64-darwin.gem
3e74b73388332b74afb91330d27f555d0b722c8eecc0f20046f44e7e217e370e  re2-2.4.1-x86_64-linux.gem
e58552cb02f140419af2cfcce6fc0b713a33e248b35d09b1c65524ca1d28aa62  re2-2.4.1.gem

2.4.0: Garbage collection improvements

11 Nov 14:12
967b568
Compare
Choose a tag to compare

Added

  • Improve garbage collection and support compaction in newer versions of Ruby. Thanks to @byroot for contributing this by switching to Ruby's TypedData API.

Changed

  • No longer needlessly return copies of frozen strings passed to RE2::Regexp#match and return the original instead.

SHA256 checksums:

ce2e1a55e03a1834b09b13ddb001c55c8bc16396704cb7c6c63647c4618efa28  re2-2.4.0-aarch64-linux.gem
acae59ffd34b51b75f1c78fc9c699fdfb6bc55d970deaf961018528955db0a90  re2-2.4.0-arm-linux.gem
73a1e402b40c163e1f55445b6600c5308ea85b316b92f27d2cbac06f7105cef4  re2-2.4.0-arm64-darwin.gem
f8de0fda9139d6291be662d9b514dcda400b97de8676063d25d6dcf4ca5aa7a9  re2-2.4.0-x64-mingw-ucrt.gem
b1207fb77c18c4b41e5ac36f6081b03d46da048e10753867cdbc4332e40b3d5d  re2-2.4.0-x64-mingw32.gem
5d0774e22cb56bf68ac38c7b8872935d3dda90ef37503670fa08ff4e5012132f  re2-2.4.0-x86-linux.gem
fd5958a79bc9322d57f00d68f8b2417c809318256d202bc9e56ebf85687fa6cf  re2-2.4.0-x86-mingw32.gem
e6bcb50274149f8929163bb17edb321f64e3b4db662e077d3b9d4745e9ca008c  re2-2.4.0-x86_64-darwin.gem
7ef74d97cbfbe737f0da50d88dee376c302c042660aa9bd813c60fa8b9b2e338  re2-2.4.0-x86_64-linux.gem
15bed471de3f5fd9a66f185e6720b61599e3833cddd4de4d6b5eb6e15c39e845  re2-2.4.0.gem

2.3.0: RE2 2023-11-01

31 Oct 18:50
c7ef817
Compare
Choose a tag to compare

Changed

  • Upgrade the bundled version of RE2 to 2023-11-01.

SHA256 checksums:

a5481148af570cac64196de1c2b87409e731181d8688885cf0e9633e1b19cccf  re2-2.3.0-aarch64-linux.gem
93a973fa68ceee1ba34b12fe45131e3a3dde33b034b3b38f68dbcfac4da9ab9e  re2-2.3.0-arm-linux.gem
bce955006e6efd9d6c45d98b00a7aa7af2d2465e983c1794e82eef0356fc7331  re2-2.3.0-arm64-darwin.gem
b26623ed48eb9b5463658cd7fcac7a65fbe2be95731d5b6dcdf9c50dce4c3071  re2-2.3.0-x64-mingw-ucrt.gem
95555a31d418ae54e77a35bf9cee248ba1633e4c076445ee3bbde31c692a9973  re2-2.3.0-x64-mingw32.gem
2e693b321dada711e97f492172ad7dabb3ffa687758979ba08f2c68f170b1a55  re2-2.3.0-x86-linux.gem
be81627fc0b2360ba14638b421d89f14410cd3c56924b9f6b5114170726b077d  re2-2.3.0-x86-mingw32.gem
b87a3920333363dc18fd898737a8e892ead62a81805fe829d9804e36d05f350b  re2-2.3.0-x86_64-darwin.gem
b0953007ffc5683c587db62fd5f2e4d332d8577b23d7ea611b5ea5c1f521337e  re2-2.3.0-x86_64-linux.gem
15021a0e80f3b8934d6709c3ae410570c187625d46e24d4d8d472d5ef400a274  re2-2.3.0.gem

2.2.0: Abseil 20230802.1 and smaller compiled gems

23 Oct 11:05
3255e64
Compare
Choose a tag to compare

Changed

  • Upgrade the bundled version of Abseil to 20230802.1.
  • Upgrade MiniPortile to 2.8.5 which significantly reduces the size of the precompiled native gems (up to 45%) due to its switch to build Abseil in Release mode.

SHA256 checksums:

2bf4905969d36b17df14c034bc051f0b7eac2a2317a93b0a02479e11f9032e73  re2-2.2.0-aarch64-linux.gem
69cf9926935a1bb8cfccda8632ed20cc72153c038cf7a70ea1d9b890d6caa477  re2-2.2.0-arm-linux.gem
3e6a3dfe649539309d82190988febc82b1bce15c33abf84fe9359daeca23cbfa  re2-2.2.0-arm64-darwin.gem
5f49ffc900d42799761ac1c51ecc6b4aa56d0dc9d5dc20e2afe2f48b6bd03510  re2-2.2.0-x64-mingw-ucrt.gem
129f31a45d4ae940ccdcc8cfce0cc8c0ac8bc755932b05f771522bf531f114c8  re2-2.2.0-x64-mingw32.gem
0a650b420d914f2f28b40993bf1933345f44f7829ceee782a29827a935b2f7ce  re2-2.2.0-x86-linux.gem
62bc3f6773f582500fb7e7a902a23f6b316198582e66928e9c8a8dec77b5663d  re2-2.2.0-x86-mingw32.gem
682a71da596a863637f501ef688db957f3bd3d1735852d5284c808e1209837a6  re2-2.2.0-x86_64-darwin.gem
f501b94d98b61f0efaac33d7496b1467d4e79b8bc324b5986cbd2d8c86746aa6  re2-2.2.0-x86_64-linux.gem
cfb28090edc30f236b965244942a84cb219ca522e92d6da1deb461597e3ceca8  re2-2.2.0.gem