Skip to content

Commit 2fa5b5a

Browse files
committed
v0.3.5
1 parent 2f30b2d commit 2fa5b5a

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,32 @@
11
# Change Log
22

3-
## [0.3.5] (in development)
3+
## [0.3.6] (in development)
4+
5+
## [0.3.5] (2025-28-04)
6+
7+
This release stabilizes the new "bindgen during build" approach of v0.3.4 to more platforms.
8+
9+
Support for newer libxml2 versions has been improved.
10+
- CI support for v2.12.9, v2.13.8, v2.14.1
11+
12+
Thanks go to @wetneb and @charmitro for contributing.
13+
14+
### Added
15+
16+
* cargo build: expose libxml2 version to main build script;
17+
* creating a new `Parser` now initializes via `bindings::xmlInitParser`, called at most once.
18+
19+
### Changes
20+
21+
* cargo build: mark `max_align_t` as opaque to fix i386 build failure
22+
* cfg: adapt mutability of error pointer depending on libxml version
23+
* change the return type of `xmlGetNodeType` from `u32` to the more portable `bindings::xmlElementType`
24+
* change the argument type of `NodeType::from_int` from `u32` to the more portable `bindings::xmlElementType`
25+
* protect `Schema` initialization to be closer to thread-safe (note that this wrapper is NOT thread-safe in general)
26+
27+
### Removed
28+
* The use of `SchemaParserContext` and `SchemaValidationContext` is currently NOT thread safe.
29+
Hence, The `schema_test` has been weakened to run in a single thread (future improvements welcome).
430

531
## [0.3.4] (2025-16-04)
632

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libxml"
3-
version = "0.3.4"
3+
version = "0.3.5"
44
edition = "2021"
55
authors = ["Andreas Franzén <[email protected]>", "Deyan Ginev <[email protected]>","Jan Frederik Schaefer <[email protected]>"]
66
description = "A Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome project"

0 commit comments

Comments
 (0)