Skip to content

Commit 352e151

Browse files
committed
Update changelog
1 parent e5fe0c9 commit 352e151

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88

9-
## [Unreleased](https://github.com/inspirum/xml-php/compare/v3.0.0...master)
9+
## [Unreleased](https://github.com/inspirum/xml-php/compare/v3.1.0...master)
10+
11+
12+
## [v3.1.0 (2023-11-05)](https://github.com/inspirum/xml-php/compare/v3.0.0...v3.1.0)
13+
### Fixed
14+
- Fixed [`Node::xpath`](./src/Builder/Node.php) method for node with child nodes
15+
16+
### Added
17+
- Added optional parameter **withoutRoot** to [`FlattenConfig`](./src/Formatter/FlattenConfig.php) to cast node to flatten (one-dimensional) array without root element node name
1018

1119

1220
## [v3.0.0 (2023-10-17)](https://github.com/inspirum/xml-php/compare/v2.3.1...v3.0.0)
@@ -15,8 +23,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1523
- Make [`Config`](./src/Formatter/Config.php) interface instead of readonly class
1624

1725
### Added
18-
- Added [`Node::xpath`](./src/Builder/Node.php) method using internally [`DOMXPath`](https://www.php.net/manual/en/class.domxpath.php)
19-
- Added option cast node to flatten (one-dimensional) array
26+
- Added [`Node::xpath`](./src/Builder/Node.php) method using internally [`\DOMXPath`](https://www.php.net/manual/en/class.domxpath.php)
27+
- Added option to cast node to flatten (one-dimensional) array
2028
- Added [`DefaultConfig`](./src/Formatter/DefaultConfig.php) config class
2129
- Added [`FullResponseConfig`](./src/Formatter/FullResponseConfig.php) config class
2230
- Added [`FlattenConfig`](./src/Formatter/FlattenConfig.php) config class
@@ -30,13 +38,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3038

3139
## [v2.3.0 (2023-04-27)](https://github.com/inspirum/xml-php/compare/v2.2.0...v2.3.0)
3240
### Added
33-
- Added option for [**Reader**](./src/Reader/Reader.php) to get/iterate nodes by its xpath.
41+
- Added option for [`Reader`](./src/Reader/Reader.php) to get/iterate nodes by its xpath.
3442

3543

3644
## [v2.2.0 (2023-04-24)](https://github.com/inspirum/xml-php/compare/v2.1.0...v2.2.0)
3745
### Added
3846
- Added support for **PHP 8.2**
39-
- Added optional parameter **withNamespaces** to [**Reader**](./src/Reader/Reader.php) `iterateNode()` to split into XML fragments with valid namespaces
47+
- Added optional parameter **withNamespaces** to [`Reader::iterateNode()`](./src/Reader/Reader.php) to split into XML fragments with valid namespaces
4048

4149

4250
## [v2.1.0 (2022-07-04)](https://github.com/inspirum/xml-php/compare/v2.0.0...v2.1.0)

0 commit comments

Comments
 (0)