Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
216 changes: 125 additions & 91 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,103 +2,137 @@

## Unreleased

- **New**
- Add support for Python 3.14
- **Changed**
- Bump pybind11 from 2.13.6 to 3.0.4 ([#141], [#159], [#198])
- **Removed**
- Drop support for CMake old than 3.15
- Drop support for Python 3.9

## v0.7.0 (2025-01-13)

- **New**
- Add support for Python 3.13
- **Changed**
- Update pugixml from 1.14 to 1.15 ([#109](https://github.com/miute/pugixml-python/pull/109))
- Update pybind11 from 2.12.0 to 2.13.6
- **Removed**
- Drop support for Python 3.8

## v0.6.0 (2024-04-30)
### Changed

- Bump pybind11 from 2.13.6 to 3.0.4 ([#141], [#159], [#198])

### Added

- Add support for Python 3.14 ([#154])

### Removed

- Drop support for CMake old than 3.15 ([#130])
- Drop support for Python 3.9 ([#153])

## 0.7.0 - 2025-01-13

### Changed

- Bump pugixml from 1.14 to 1.15 ([#109])
- Bump pybind11 from 2.12.0 to 2.13.6

### Added

- Add support for Python 3.13

### Removed

- Drop support for Python 3.8

## 0.6.0 - 2024-04-30

Maintenance release.

- **Changed**
- Update pybind11 from 2.11.1 to 2.12.0
- **Fixed**
- Fix problems with macOS builds ([#82](https://github.com/miute/pugixml-python/pull/82), [#85](https://github.com/miute/pugixml-python/pull/85))
- **Removed**
- Drop support for macOS 11
- Drop support for Python 3.7

## v0.5.0 (2023-10-04)

- **New**
- Add support for Python 3.12
- **Changed**
- Update pugixml from 1.13 to 1.14
- Add `pugixml.pugi.PARSE_MERGE_PCDATA`
- Add `pugixml.pugi.XMLAttribute.set_name(name: str, size: int)`
- Add `pugixml.pugi.XMLNode.set_name(name: str, size: int)`
- Update pybind11 from 2.10.1 to 2.11.1
- **Fixed**
- Remove unnecessary length check:
- `pugixml.pugi.XMLAttribute.set_value(value: str, size: int)`
- `pugixml.pugi.XMLNode.set_value(value: str, size: int)`
- `pugixml.pugi.XMLText.set(value: str, size: int)`

## v0.4.0 (2022-11-11)

- **Changed**
- Update pugixml from [521b2cd854f8d65f173107d056d2b9c6d49b6563](https://github.com/zeux/pugixml/tree/521b2cd854f8d65f173107d056d2b9c6d49b6563) to 1.13
- Add `pugixml.pugi.XMLAttribute.set_value(value: str, size: int)`
- Add `pugixml.pugi.XMLNode.set_value(value: str, size: int)`
- Add `pugixml.pugi.XMLText.set(value: str, size: int)`
- Update pybind11 from 2.10.0 to 2.10.1
- **Improved**
- Improve type checking

## v0.3.0 (2022-10-03)

- **New**
- Add support for Python 3.11
- Add `pugixml.pugi.BytesWriter` class
- Add `pugixml.pugi.FileWriter` class
- Add `pugixml.pugi.limits` submodule
- **Added**
- Add `pugixml.pugi.StringWriter.__len__()`
- **Changed**
- Update pugixml from 1.12 to [521b2cd854f8d65f173107d056d2b9c6d49b6563](https://github.com/zeux/pugixml/tree/521b2cd854f8d65f173107d056d2b9c6d49b6563)
- Update pybind11 from 2.9.2 to 2.10.0
- **Fixed**
- Fix `pugixml.pugi.PrintWriter` to raise an exception when encoding fails
- **Improved**
- Update docstring
- Change arguments of `pugixml.pugi.StringWriter.getvalue()` → `getvalue(encoding: str = 'utf-8', errors: str = 'strict')`

## v0.2.0 (2022-06-10)

- **New**
- Add `pugixml.pugi.XMLAttributeStruct` class
- Add `pugixml.pugi.XMLNodeStruct` class
- Add `pugixml.pugi.XMLAttributeIterator` class
- Add `pugixml.pugi.XMLNodeIterator` class
- Add `pugixml.pugi.XMLNamedNodeIterator` class
- **Added**
- Add `pugixml.pugi.XMLAttribute.internal_object()`
- Add `pugixml.pugi.XMLAttribute.__init__(p: XMLAttributeStruct)`
- Add `pugixml.pugi.XMLNode.internal_object()`
- Add `pugixml.pugi.XMLNode.__init__(p: XMLNodeStruct)`
- **Fixed**
- Change return type of `pugixml.pugi.XMLNode.attributes() -> List[XMLAttribute]` → `XMLAttributeIterator`
- Change return type of `pugixml.pugi.XMLNode.children() -> List[XMLNode]` → `XMLNodeIterator`
- Change return type of `pugixml.pugi.XMLNode.children(name: str) -> List[XMLNode]` → `XMLNamedNodeIterator`

## v0.1.0 (2022-05-27)
### Changed

- Bump pybind11 from 2.11.1 to 2.12.0

### Removed

- Drop support for macOS 11
- Drop support for Python 3.7

### Fixed

- Fix problems with macOS builds ([#82], [#85])

## 0.5.0 - 2023-10-04

### Changed

- Bump pugixml from 1.13 to 1.14
- Add `pugixml.pugi.PARSE_MERGE_PCDATA`
- Add `pugixml.pugi.XMLAttribute.set_name(name: str, size: int)`
- Add `pugixml.pugi.XMLNode.set_name(name: str, size: int)`
- Bump pybind11 from 2.10.1 to 2.11.1

### Added

- Add support for Python 3.12

### Fixed

- Remove unnecessary length check
- `pugixml.pugi.XMLAttribute.set_value(value: str, size: int)`
- `pugixml.pugi.XMLNode.set_value(value: str, size: int)`
- `pugixml.pugi.XMLText.set(value: str, size: int)`

## 0.4.0 - 2022-11-11

### Changed

- Bump pugixml from [521b2cd](https://github.com/zeux/pugixml/tree/521b2cd854f8d65f173107d056d2b9c6d49b6563) to 1.13
- Add `pugixml.pugi.XMLAttribute.set_value(value: str, size: int)`
- Add `pugixml.pugi.XMLNode.set_value(value: str, size: int)`
- Add `pugixml.pugi.XMLText.set(value: str, size: int)`
- Bump pybind11 from 2.10.0 to 2.10.1
- Improve type checking

## 0.3.0 - 2022-10-03

### Changed

- Bump pugixml from 1.12 to [521b2cd](https://github.com/zeux/pugixml/tree/521b2cd854f8d65f173107d056d2b9c6d49b6563)
- Bump pybind11 from 2.9.2 to 2.10.0
- Add `pugixml.pugi.StringWriter.__len__()`
- Change the parameters of `pugixml.pugi.StringWriter.getvalue()` to `getvalue(encoding: str = 'utf-8', errors: str = 'strict')`
- Update docstring

### Added

- Add support for Python 3.11
- Add `pugixml.pugi.BytesWriter` class
- Add `pugixml.pugi.FileWriter` class
- Add `pugixml.pugi.limits` submodule

### Fixed

- Fix `pugixml.pugi.PrintWriter` to raise an exception when encoding fails

## 0.2.0 - 2022-06-10

### Changed

- Add `pugixml.pugi.XMLAttribute.internal_object()`
- Add `pugixml.pugi.XMLAttribute.__init__(p: XMLAttributeStruct)`
- Add `pugixml.pugi.XMLNode.internal_object()`
- Add `pugixml.pugi.XMLNode.__init__(p: XMLNodeStruct)`

### Added

- Add `pugixml.pugi.XMLAttributeStruct` class
- Add `pugixml.pugi.XMLNodeStruct` class
- Add `pugixml.pugi.XMLAttributeIterator` class
- Add `pugixml.pugi.XMLNodeIterator` class
- Add `pugixml.pugi.XMLNamedNodeIterator` class

### Fixed

- Change the return type of `pugixml.pugi.XMLNode.attributes()`: `list[XMLAttribute]` → `XMLAttributeIterator`
- Change the return type of `pugixml.pugi.XMLNode.children()`: `list[XMLNode]` → `XMLNodeIterator`
- Change the return type of `pugixml.pugi.XMLNode.children(name: str)`: `list[XMLNode]` → `XMLNamedNodeIterator`

## 0.1.0 - 2022-05-27

Initial release.

[#82]: https://github.com/miute/pugixml-python/pull/82
[#85]: https://github.com/miute/pugixml-python/pull/85
[#109]: https://github.com/miute/pugixml-python/pull/109
[#130]: https://github.com/miute/pugixml-python/pull/130
[#141]: https://github.com/miute/pugixml-python/pull/141
[#153]: https://github.com/miute/pugixml-python/pull/153
[#154]: https://github.com/miute/pugixml-python/pull/154
[#159]: https://github.com/miute/pugixml-python/pull/159
[#198]: https://github.com/miute/pugixml-python/pull/198
Loading