# Changelog

All notable changes to `image-optimizer` will be documented in this file

## 1.6.1 - 2021-11-17

## What's Changed

- Add PHP 8.1 support by @freekmurze in https://github.com/spatie/image-optimizer/pull/154

**Full Changelog**: https://github.com/spatie/image-optimizer/compare/1.5.0...1.6.1

## 1.5.0 - 2021-10-18

- Support new releases of psr/log (#150)

## 1.4.0 - 2021-04-22

- use `--skip-if-larger` pngquant option by default (#140)

## 1.3.2 - 2020-11-28

- improve gifsicle (#131)

## 1.3.1 - 2020-10-20

- fix empty string setBinaryPath() (#129)

## 1.3.0 - 2020-10-10

- add support for php 8.0

## 1.2.1 - 2019-11-23

- allow symfony 5 components

## 1.2.0 - 2019-08-28

- add support for webp

## 1.1.6 - 2019-08-26

- do not export docs directory

## 1.1.5 - 2019-01-15

- fix for svg's
- make compatible with PHPUnit 8

## 1.1.4 - 2019-01-14

- fix deprecation warning for passing strings to processes

## 1.1.3 - 2018-11-19

- require the fileinfo extension

## 1.1.2 - 2018-10-10

- make sure all optimizers use `binaryPath`

## 1.1.1 - 2018-09-10

- fix logger output

## 1.1.0 - 2018-06-05

- add `setBinaryPath`

## 1.0.14 - 2018-03-07

- support more symfony versions

## 1.0.13 - 2018-02-26

- added `text/plain` to the list of valid svg mime types

## 1.0.12. - 2018-02-21

- added `image/svg+xml` mime type

## 1.0.11 - 2018-02-08

- SVG mime type detection in PHP 7.2

## 1.0.10 - 2018-02-08

- Support symfony ^4.0
- Support phpunit ^7.0

## 1.0.9 - 2017-11-03

- fix shell command quotes

## 1.0.8 - 2017-09-14

- allow Symfony 2 components
- make Google Pagespeed tests pass

## 1.0.7 - 2017-07-29

- lower requirements of dependencies

## 1.0.6 - 2017-07-10

- fix `jpegoptim` parameters

## 1.0.4 - 2017-07-07

- make `setTimeout` chainable

## 1.0.3 - 2017-07-06

- fix `composer.json`

## 1.0.2 - 2017-07-06

- fix for Laravel 5.5 users

## 1.0.1 - 2017-07-06

- improve security

## 1.0.0 - 2017-07-05

- initial release
