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

[pull] main from sparklemotion:main #173

Merged
merged 8 commits into from
Jan 6, 2025
36 changes: 18 additions & 18 deletions .cross_rubies
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
3.1.0:aarch64-linux-gnu
3.1.0:aarch64-linux-musl
3.1.0:arm-linux-gnu
3.1.0:arm-linux-musl
3.1.0:arm64-darwin
3.1.0:x64-mingw-ucrt
3.1.0:x86_64-darwin
3.1.0:x86_64-linux-gnu
3.1.0:x86_64-linux-musl
3.2.0:aarch64-linux-gnu
3.2.0:aarch64-linux-musl
3.2.0:arm-linux-gnu
3.2.0:arm-linux-musl
3.2.0:arm64-darwin
3.2.0:x64-mingw-ucrt
3.2.0:x86_64-darwin
3.2.0:x86_64-linux-gnu
3.2.0:x86_64-linux-musl
3.1.6:aarch64-linux-gnu
3.1.6:aarch64-linux-musl
3.1.6:arm-linux-gnu
3.1.6:arm-linux-musl
3.1.6:arm64-darwin
3.1.6:x64-mingw-ucrt
3.1.6:x86_64-darwin
3.1.6:x86_64-linux-gnu
3.1.6:x86_64-linux-musl
3.2.6:aarch64-linux-gnu
3.2.6:aarch64-linux-musl
3.2.6:arm-linux-gnu
3.2.6:arm-linux-musl
3.2.6:arm64-darwin
3.2.6:x64-mingw-ucrt
3.2.6:x86_64-darwin
3.2.6:x86_64-linux-gnu
3.2.6:x86_64-linux-musl
3.3.5:aarch64-linux-gnu
3.3.5:aarch64-linux-musl
3.3.5:arm-linux-gnu
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Nokogiri follows [Semantic Versioning](https://semver.org/), please see the [REA
* [CRuby] The HTML5 parser now has linear performance when parsing many attributes. Previously performance was quadratic due to two hotspots, one in detecting duplicate attributes and one in constructing the libxml2 data structures. (#3393) @flavorjones


### Dependencies

* [CRuby] Update to rake-compiler-dock v1.8.0 for building precompiled native gems. (#3404) @flavorjones


## v1.18.1 / 2024-12-29

### Fixed
Expand Down Expand Up @@ -38,6 +43,11 @@ This release drops precompiled native platform gems for `x86-linux` and `x86-min
* [CRuby] CSS and XPath queries are faster now that `Node#xpath`, `Node#css`, and related functions are using a faster XPathContext initialization process. We benchmarked a 1.9x improvement for a 6kb file. Big thanks to @nwellnhof for helping with this one. (#3378, superseded by #3389) @flavorjones


### Dependencies

* [CRuby] Update to rake-compiler-dock v1.7.0 for building precompiled native gems. (#3375, #3392) @flavorjones


## v1.17.2 / 2024-12-12

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ group :development do
gem "rake", "13.2.1"

# building extensions
gem "rake-compiler", "1.2.8"
gem "rake-compiler-dock", "1.7.1"
gem "rake-compiler", "1.2.9"
gem "rake-compiler-dock", "1.8.0"

# parser generator
gem "rexical", "1.0.8"

# tests
gem "minitest", "5.25.4"
gem "minitest-parallel_fork", "2.0.0"
gem "ruby_memcheck", "3.0.0"
gem "ruby_memcheck", "3.0.1"
gem "rubyzip", "~> 2.3.2"
gem "simplecov", "= 0.21.2"

Expand Down
6 changes: 1 addition & 5 deletions ext/nokogiri/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def do_clean
def needs_darwin_linker_hack
config_cross_build? &&
darwin? &&
Gem::Requirement.new("~> 3.2").satisfied_by?(Gem::Version.new(RbConfig::CONFIG["ruby_version"].split("+").first))
RbConfig::MAKEFILE_CONFIG["EXTDLDFLAGS"].include?("-bundle_loader")
end

#
Expand Down Expand Up @@ -764,10 +764,6 @@ def needs_darwin_linker_hack
cross_build_p = config_cross_build?
message "Cross build is #{cross_build_p ? "enabled" : "disabled"}.\n"

if needs_darwin_linker_hack
append_ldflags("-Wl,-flat_namespace")
end

require "yaml"
dependencies = YAML.load_file(File.join(PACKAGE_ROOT_DIR, "dependencies.yml"))

Expand Down
Loading