Skip to content

Commit 8911320

Browse files
committed
Version 5.0.0
1 parent c40497d commit 8911320

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

HISTORY

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
= Release History
22

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

519
* Fix Ruby warnings about undefined allocators (yuuji.yaginuma, Christopher Sahnwaldt)

ext/libxml/ruby_xml_version.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Don't nuke this block! It is used for automatically updating the
22
* versions below. VERSION = string formatting, VERNUM = numbered
33
* version for inline testing: increment both or none at all.*/
4-
#define RUBY_LIBXML_VERSION "4.1.2"
5-
#define RUBY_LIBXML_VERNUM 400
6-
#define RUBY_LIBXML_VER_MAJ 4
7-
#define RUBY_LIBXML_VER_MIN 1
8-
#define RUBY_LIBXML_VER_MIC 2
4+
#define RUBY_LIBXML_VERSION "5.0.0"
5+
#define RUBY_LIBXML_VERNUM 500
6+
#define RUBY_LIBXML_VER_MAJ 5
7+
#define RUBY_LIBXML_VER_MIN 0
8+
#define RUBY_LIBXML_VER_MIC 0
99
#define RUBY_LIBXML_VER_PATCH 0

0 commit comments

Comments
 (0)