Nokogiri update - April 2025
Published on April 6, 2025 by Mike Dalessio
Hello!
I want to let you all know how important your support is, so I've started sending a periodic message letting folks know about the work I've done on Nokogiri. Here's a summary for the past month:
Releases
- Release v1.18.4 / 2025-03-14 · sparklemotion/nokogiri
- and wrote the accompanying GHSA Nokogiri updates packaged libxslt to v1.1.43 to resolve multiple CVEs · Advisory · sparklemotion/nokogiri
- Release v1.18.5 / 2025-03-19 · sparklemotion/nokogiri to unblock a major ruby-saml release.
- Release v1.18.6 / 2025-03-24 · sparklemotion/nokogiri
- Release v1.18.7 / 2025-03-31 · sparklemotion/nokogiri
Contributions
- Fixed a JRuby namespace bug when creating a new element: fix(jruby): create_element should not set the doc's default ns by flavorjones · Pull Request #3463 · sparklemotion/nokogiri
- Removed the JRuby implementation's namespace cache, which was causing subtle issues: fix(java): stop using the cache for Node#namespace_definitions by flavorjones · Pull Request #3460 · sparklemotion/nokogiri
- Fixed a Builder namespace issue: fix: XML::Builder namespace stitching by flavorjones · Pull Request #3461 · sparklemotion/nokogiri
- Added downstream ruby-saml testing for JRuby: ci: add jruby coverage for ruby-saml by flavorjones · Pull Request #3465 · sparklemotion/nokogiri
- Updated vendored libxslt to 1.1.43: dep: update libxslt to 1.1.43 (v1.18.x branch) by flavorjones · Pull Request #3467 · sparklemotion/nokogiri
- Updated vendored libxml to v2.13.7: dep: bump libxml2 to 2.13.7 by flavorjones · Pull Request #3494 · sparklemotion/nokogiri
- Fixed a JRuby regression fix(jruby): Node#attribute in HTML documents by flavorjones · Pull Request #3490 · sparklemotion/nokogiri.
- Work in progress:
- Another subtle namespace issue, which needs more work to not break downstream projects: fix(cruby): reconciliation of ns on unparented nodes by flavorjones · Pull Request #3462 · sparklemotion/nokogiri
- Simplifying library linking on windows: IN_LIBXML no longer needed for windows linkage by flavorjones · Pull Request #3475 · sparklemotion/nokogiri
- An API improvement: feat: Implement Document#parent, which always returns nil by flavorjones · Pull Request #3481 · sparklemotion/nokogiri
- Updating vendored libxml to v2.14.1, which promises to be a nice performance improvement, particularly for XPath queries: dep: update packaged libxml2 to v2.14.1 by flavorjones · Pull Request #3499 · sparklemotion/nokogiri
Reviews and user help
- Reviewed some great work by Johnny Shields to fix a JRuby issue that was blocking a ruby-saml release Fix MRI Ruby vs. JRuby XML child namespace output differences by johnnyshields · Pull Request #3456 · sparklemotion/nokogiri
- Charlie Nutter contributed:
- Documentation improvements from Burdette and Anton:
- Doc for Node#add_child by BurdetteLamar · Pull Request #3453 · sparklemotion/nokogiri
- Tweaks for Node subclass list by BurdetteLamar · Pull Request #3471 · sparklemotion/nokogiri
- doc: Nokogiri::XML::Node.traverse is recursively called on children first by AntonKhorev · Pull Request #3480 · sparklemotion/nokogiri
Thank you for reading and thank you for your support!
❤️❤️❤️,
-mike
-mike