All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Add isort, black, pre-commit.
- Add typing, mypy.
- Now
RawIOChunk
instances can be closed. - Add
ClosedStreamError
exception, which inherits fromValueError
. - Now
RawIOChunk
instances can be used as a context manager. - Implement
truncate
forRawIOChunk
. - Add tests to ensure that
RawIOChunk
behaves consistently with all the other NowRawIOChunk
implementsIO
interface. - Implement
IO
interface forRawIOChunk
. - Add
exceptions.py
. - Add tox.
- Remove Python 2 support.
- Change
README.rst
toREADME.md
. - Replace
setup.py
withpyproject.toml
. - Renamed
chunks.py
toraw_io_chunk.py
. - Changed Sphinx doc to use Markdown with the Myst parser.
- Now returns an empty bytes instead of raising
EOFError
when the underlying stream is empty. - Raise
ValueError
when trying to seek at a negative position. - Prevent to reach negative seek positions.
- Fix hardcoded values in some
ValueError
raised. - Fix
flake8 .
scan the whole.tox
andbuild
directories.
- Add automatic doc generation with Sphinx.
- Complete missing doc.
- Add this changelog.
- Use
pytest
instead ofnose
for testing.
- Initial public release.
- Class
RawIOChunk
.