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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [1.7.5] - 2024-08-28
### Added
- Add Python 3.13 support.


## [1.7.4] - 2024-06-20
### Changed
- Depend on numpy>=1.19.0.
- Build against numpy>=2.0.0.
- Drop Python 3.7 and 3.8 support.


## [1.7.3] - 2024-06-20
### Changed
- Update to libjpeg-turbo 3.0.3.
- Depend on numpy<2.
### Fixed
- Declare calc_height_width noexcept (fixed Cython warnings)


## [1.7.2] - 2023-09-08
### Added
- Add Python 3.12 support (w/o win32).


## [1.7.1] - 2023-08-06
### Fixed
- Exclude sources from wheels


## [1.7.0] - 2023-08-06
### Added
- Add "strict" argument to decode_jpeg/decode_jpeg_header.
### Changed
- Drop i686 support.
- Drop manylinux1 support.
- Update to libjpeg-turbo 3.0.
- Update to Cython 3.0


## [1.6.6] - 2023-04-06
### Changed
- Update to libjpeg-turbo 2.1.5.1.
- Drop Python 3.6 support.
### Added
- Add Python 3.11 support.


## [1.6.5] - 2022-08-12
### Changed
- Update to libjpeg-turbo 2.1.4.


## [1.6.4] - 2022-02-26
### Changed
- Add Python 3.10 support.
- Update to libjpeg-turbo 2.1.3.


## [1.6.3] - 2021-11-20
### Changed
- Update to libjpeg-turbo 2.1.2.


## [1.6.2] - 2021-08-10
### Changed
- Update to libjpeg-turbo 2.1.1.


## [1.6.1] - 2021-05-29
### Changed
- Update the build system:
    - Use PyPA build to... build
    - Add pyproject.toml to specify build requirements
    - Build against oldest-supported-numpy
- Require any version of numpy installed
- Add back Python 3.6 support


## [1.6.0] - 2021-04-29
### Changed
- Build against and require numpy 1.20.
- Drop Python 3.6 support since there are no numpy 1.20 wheels for it


## [1.5.0] - 2021-04-24
### Changed
- Update to libjpeg-turbo 2.1.0.


## [1.4.1] - 2021-02-25
### Fixed
- is_jpeg detects more JPEG/JFIF images.


## [1.4.0] - 2020-11-17
### Changed
- Update to libjpeg-turbo 2.0.6.


## [1.3.9] - 2020-11-10
### Added
- Add Python 3.9 wheels.


## [1.3.8] - 2020-09-06
### Added
- Build manylinux1 wheels.


## [1.3.7] - 2020-09-03
### Added
- Support MacOS.
- Build MacOS wheels on Appveyor.

### Fixed
- Encoding to grayscale JPEG requires colorsubsampling='GRAY'. (#4)


## [1.3.6] - 2020-06-24
### Changed
- Update to libjpeg-turbo 2.0.5.


## [1.3.5] - 2020-06-20
### Changed
- Improve error message in decode_jpeg for unsupported buffers.

### Fixed
- Request contiguous buffer in decode_jpeg.
- Check whether image is C contiguous in encode_jpeg.


## [1.3.4] - 2020-06-01
### Added
- Proper change log :)

### Changed
- Reduce linux binary size.


## [1.3.3] - 2020-01-16
### Fixed
- Linker warning for Windows build.


## [1.3.2] - 2020-01-06
### Added
- CI now builds libjpeg-turbo from source.
- Add Appyevor to CI for Windows builds.
- Distribute manylinux2010 wheels.

### Fixed
- ``min_width`` and ``min_height`` are now ignored if 0 as stated in the docs.
- License missing from linux wheels.


## [1.3.1] - 2019-12-15
### Fixed
- ``decode_jpeg`` requests writable buffer from ``buffer`` argument.


## [1.3.0] - 2019-12-15
### Added
- ``decode_jpeg`` accepts optional ``buffer`` argument.


## [1.2.6] - 2019-12-14
### Fixed
- Memory corruption caused by incorrect GIL handling.


## [1.2.5] - 2019-11-02
### Added
-  Initial public release.


[Unreleased]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.7.4...master
[1.7.4]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.7.3...1.7.4
[1.7.3]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.7.2...1.7.3
[1.7.2]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.7.1...1.7.2
[1.7.1]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.7.0...1.7.1
[1.7.0]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.6.6...1.7.0
[1.6.6]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.6.5...1.6.6
[1.6.5]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.6.4...1.6.5
[1.6.4]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.6.3...1.6.4
[1.6.3]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.6.2...1.6.3
[1.6.2]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.6.1...1.6.2
[1.6.1]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.6.0...1.6.1
[1.6.0]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.5.0...1.6.0
[1.5.0]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.4.1...1.5.0
[1.4.1]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.4.0...1.4.1
[1.4.0]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.9...1.4.0
[1.3.9]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.8...1.3.9
[1.3.8]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.7...1.3.8
[1.3.7]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.6...1.3.7
[1.3.6]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.5...1.3.6
[1.3.5]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.4...1.3.5
[1.3.4]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.3...1.3.4
[1.3.3]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.2...1.3.3
[1.3.2]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.1...1.3.2
[1.3.1]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.3.0...1.3.1
[1.3.0]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.2.6...1.3.0
[1.2.6]: https://gitlab.com/jfolz/simplejpeg/-/compare/1.2.5...1.2.6
[1.2.5]: https://gitlab.com/jfolz/simplejpeg/-/tags/1.2.5
