diff --git a/CHANGELOG.md b/CHANGELOG.md index c5973c4..c639351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,9 +14,12 @@ For the purpose of determining breaking changes: [python-versions]: https://devguide.python.org/versions/#supported-versions -## [Unreleased] +## [1.1.0] - 2024-10-10 -[unreleased]: https://github.com/rogdham/bigxml/compare/v1.0.1...HEAD +[1.1.0]: https://github.com/rogdham/bigxml/compare/v1.0.1...v1.1.0 + +This release adds support for the buffer protocol. It was working already in previous +versions, but now it's official. ### :rocket: Added diff --git a/docs/src/streams.md b/docs/src/streams.md index 0cd7cb4..94ca236 100644 --- a/docs/src/streams.md +++ b/docs/src/streams.md @@ -23,7 +23,10 @@ Files open **in binary mode**, `io.BytesIO`, etc. ## Bytes-like objects -`bytes`, `bytearray`, `memoryview`, etc. +Any object supporting the [buffer protocol][bufproto]: `bytes`, `bytearray`, +`memoryview`, etc. + +[bufproto]: https://docs.python.org/3/reference/datamodel.html#python-buffer-protocol :::python >>> @xml_handle_element("root")