# 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.6.4]
### Changed
- Add Python 3.10 support.
- Update to libjpeg-turbo 2.1.3.


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


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


## [1.6.1]
### 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]
### 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]
### Changed
- Update to libjpeg-turbo 2.1.0.


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


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


## [1.3.9]
### Added
- Add Python 3.9 wheels.


## [1.3.8]
### Added
- Build manylinux1 wheels.


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

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


## [1.3.6]
### 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.6.3...master
[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
