Skip to content

Commit

Permalink
Version 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed Jan 8, 2024
1 parent c40497d commit 8911320
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
14 changes: 14 additions & 0 deletions HISTORY
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
= Release History

== 5.0.0 / 2024-01-07

* This release is major version bump because it removes access to global parser options
that libxml2 version 2.12.0 deprecated (see https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.0)
In the unlikely event your code uses these options, then you will need to update it.
Specifically, instead of setting global parser options, pass them directly to either Parsers
or ParserContexts when creating them. Options are defined as constants in
LibXML::XML::Parser::Options and LibXML::HTML::Parser::Options
* Update Parser initialize methods to take named parameters instead of a hash table (you should *not*
have to update your code due to this change)
* Fix broken compiliation with libxml2 version 2.12.0 (due to libxml2 header changes)
* Add support for Ruby 3.3.*
* Remove support for Ruby 2.7.* (gem should still work but is no longer tested)

== 4.1.2 / 2023-11-04

* Fix Ruby warnings about undefined allocators (yuuji.yaginuma, Christopher Sahnwaldt)
Expand Down
10 changes: 5 additions & 5 deletions ext/libxml/ruby_xml_version.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* Don't nuke this block! It is used for automatically updating the
* versions below. VERSION = string formatting, VERNUM = numbered
* version for inline testing: increment both or none at all.*/
#define RUBY_LIBXML_VERSION "4.1.2"
#define RUBY_LIBXML_VERNUM 400
#define RUBY_LIBXML_VER_MAJ 4
#define RUBY_LIBXML_VER_MIN 1
#define RUBY_LIBXML_VER_MIC 2
#define RUBY_LIBXML_VERSION "5.0.0"
#define RUBY_LIBXML_VERNUM 500
#define RUBY_LIBXML_VER_MAJ 5
#define RUBY_LIBXML_VER_MIN 0
#define RUBY_LIBXML_VER_MIC 0
#define RUBY_LIBXML_VER_PATCH 0

0 comments on commit 8911320

Please sign in to comment.