.. _changelog:

===============
Py7zr Changelog
===============

All notable changes to this project will be documented in this file.

`Unreleased`_
=============

`v1.1.0`_
=========

- Same as v1.1.0rc4

v1.1.0rc4
=========

Changed
-------
- CI: Ensure nearest tag is fetched in `publish-to-pypi` workflow
- Streamlined pypi source package by pruning docs, tests and utils

v1.1.0rc2
=========

Changed
-------
- CI: update workflows (#695,#696,#697,#698,#692)
- Update tox configuration with TOML native (#689)
- Type hint syntax for Python 3.10 and later (#690)

Document
--------
- README: Minimum & Recommended Python/PyPY versions (#700)

v1.1.0rc1
=========

Security
--------
- Bump Brotli@1.2.0 and limit output memory size (#686)

Added
-----
- Support Python 3.14

Changed
-------
- CI: update target Python versions, GitHub Actions configurations
- dependency: pyppmd@1.3.0, pybcj@1.0.6, inflate64@1.0.4
- use stdlib for Zstandard support instead of pyzstd (#682)
- fix(is_7zfile): accept any path-like instead of just pathlib.Path (#663)
- Accept IO[bytes] instead of BinaryIO (#661)
- Document: Fix WriterFactory example (#660)
- getInfo() returns FileInfo object (#676)
- make FileInfo and ArchiveInfo dataclasses (#678)

Removed
-------
- Drop support for Python 3.9 (#691)

`v1.0.0`_
=========

- Celebrating the official 1.0.0 release!

Changed
-------
- CI: check on Linux on ARM64 with GitHub hosted ARM64 runner.
- Improve issue report template
- Remove Travis-CI button from Documentation

`v1.0.0rc3`_
============

Fixed
-----
- Adjust MANIFEST.in
- Fix installation on python 3.13 by allowing pyppmd 1.2.0

Changed
-------
- CI: update aarch64 tests on Ubuntu 24.04

`v1.0.0rc2`_
============

There is big incompatible change after -rc1 version.

Removed
-------
* Remove SevenZipFile.read() and SevenZipFile.readall() (#620)
  This confuse users to use as same as ZipFile method, but not the same.
  Using this method can easily exhaust a machine memory.

Added
-----
* Add ``factory`` parameter that takes ``WriterFactory`` object which provides
  an object that implements ``Py7zIO`` interface. (#620)
  This allow user to interact with Py7zr for large archives. (#620)

Deprecated
----------
* deprecation for ``writed`` method

Changed
-------
* Minimum required Python version to be Python 3.9 (#619)
* Support Python 3.13 (#619)
    - Remove code paths that checked for python versions less than 3.9
* Update CI/GitHub Actions(#619)
    - Drops 3.8 and adds 3.13 to the test matrix
    - Update all the GitHub actions to their latest versions
    - Upgrade aarch64 from ubuntu20.04+py39 to ubuntu22.04+py310.
* Replace old style strings with f-strings(#619)
* Replace typing.List (and similar) with their standard equivalent(#619)

`v1.0.0-rc1`_
=============

Changed
-------
* Bump dependencies versions
    - pycryptodomex@3.32.0
    - pyzstd@0.16.1
    - sphinx@7.0.0
    - mypy@1.10.0
    - mypy_extensions@1.0.0
    - isort@5.13.2
    - black@24.8.0

`v0.22.0`_
==========

Added
-----
* Add mode "x" for SevenZipFile (#588)
* Add SevenZipFile#namelist method (#600)

Fixed
-----
* Append mode on non-existent files (#604)
* Fix NUMBER encoding of integer when 8 bytes(#591)

Changed
-------
* Minimum required Python version to be Python 3.8 (#601)
* Remove pyannotate from pyproject.toml (#598)

Document
--------
* Update user guide (#596)

`v0.21.1`_
==========
Fixed
-----
* Follow shutil.register_unpack_format() convention of raising a ReadError
  when the library cannot handle a file (#583)
* ensure unpack_7zarchive closes the archive (#584)
* 64bit OS detection (#580)

Added
-----
* Add recursive sub-directories and files extraction (#585)

Changed
-------
* check targets argument type for read and extract method (#577)
* Treat zero byte stream as a file (#551)


.. History links
.. _Unreleased: https://github.com/miurahr/py7zr/compare/v1.1.0...HEAD
.. _v1.1.0: https://github.com/miurahr/py7zr/compare/v1.0.0..v1.1.0
.. _v1.0.0: https://github.com/miurahr/py7zr/compare/v1.0.0-rc3...v1.0.0
.. _v1.0.0rc3: https://github.com/miurahr/py7zr/compare/v1.0.0-rc2...v1.0.0rc3
.. _v1.0.0rc2: https://github.com/miurahr/py7zr/compare/v1.0.0-rc1...v1.0.0rc2
.. _v1.0.0-rc1: https://github.com/miurahr/py7zr/compare/v0.22.0...v1.0.0-rc1
.. _v0.22.0: https://github.com/miurahr/py7zr/compare/v0.21.1...v0.22.0
.. _v0.21.1: https://github.com/miurahr/py7zr/compare/v0.21.0...v0.21.1
