v1.18.0.rc1 / 2024-12-16
Notable Changes
Ruby
This release introduces native gem support for Ruby 3.4.
This release ends support for Ruby 3.0, for which upstream support ended 2024-04-23.
This release ships separate precompiled GNU and Musl gems for all linux platforms. Previously both GNU and Musl target systems could use and install the same gem, e.g., the platform gem for x86_64-linux
. Now, however, the precompiled gem platforms would be x86_64-linux-gnu
and x86_64-linux-musl
. So long as you're on bundler >= 2.5.6
this should be seamless other than perhaps needing to update the platforms in your "Gemfile.lock".
This release drops precompiled native platform gems for x86-linux
and x86-mingw32
. These platforms are still supported. Users on these platforms must install the "ruby platform" gem which requires a compiler toolchain. See Installing the ruby
platform gem in the installation docs. (#3369, #3081)
Improved
- [CRuby] CSS and XPath queries are faster now that
Node#xpath
,Node#css
, and related functions are re-using the underlying xpath context object (which is expensive to initialize). We benchmarked a 2.8x improvement for a 6kb file, and a more modest 1.3x improvement for a 70kb file. (#3378) @flavorjones
sha256 checksums
aeb64725f643bdaa59910a76104a527f41848ea04848819aa41147e1a5beef9e nokogiri-1.18.0.rc1-aarch64-linux-gnu.gem
484918b014c15b3910c5bb1d1048fd4d453c9f92fee481740e66e6cd653edb54 nokogiri-1.18.0.rc1-aarch64-linux-musl.gem
9dbfdb4743be84ba879a900ed0ed8186834b276778782bf53498e6fd489e99d2 nokogiri-1.18.0.rc1-arm64-darwin.gem
ce2b40c68639b523db3924f109ca885c61b2ab41a3edca4e6ae6edb588fb1a8b nokogiri-1.18.0.rc1-arm-linux-gnu.gem
87a44e2eae2fed4f9b5d9d4e5314c1408cbb0687315ea14c72e2263c349da80a nokogiri-1.18.0.rc1-arm-linux-musl.gem
a78c979ae122a104a125d032d9d596df9a2251a87995b0b51759f84aeedb37a6 nokogiri-1.18.0.rc1.gem
748d3c6de752dc79f9c6e03d610baaa2a9d1a749ebb59b3838746eaf590755b2 nokogiri-1.18.0.rc1-java.gem
f9c53e61f082c283b05d1f9c31b4ebd0b74b3f6b5403441950d19797dee18741 nokogiri-1.18.0.rc1-x64-mingw-ucrt.gem
4454b0ff5a7c2e01e5436f5ecf081efe0bc40dadb0c7e61ac9e4083ab30e9d3b nokogiri-1.18.0.rc1-x86_64-darwin.gem
62122eb4436967fd4cd396691a2833341d59b27782971586f4d39ad73e7d1cdd nokogiri-1.18.0.rc1-x86_64-linux-gnu.gem
fb49240f1c26ace2147afaf389e8a65986c309904d6de5a31397cd248a34c9b5 nokogiri-1.18.0.rc1-x86_64-linux-musl.gem