CHANGELOG.md
## [4.2.41](https://github.com/pmb0/express-sharp/compare/v4.2.40...v4.2.41) (2022-04-25)
### Bug Fixes
* **deps:** update dependency sharp to ^0.30.0 ([9832bbd](https://github.com/pmb0/express-sharp/commit/9832bbd0ac7c8d3cd9d2ea65129070db8ceaf822))
## [4.2.40](https://github.com/pmb0/express-sharp/compare/v4.2.39...v4.2.40) (2021-10-18)
### Bug Fixes
* import optional deps gracefully ([#554](https://github.com/pmb0/express-sharp/issues/554)) ([e2254dc](https://github.com/pmb0/express-sharp/commit/e2254dc0c1528f709f61ca50a61691218603aed7))
* keyv is a prod dependency ([4998f56](https://github.com/pmb0/express-sharp/commit/4998f566399b44893df889f68d0d78845d1ecc5a))
* upgrade deps ([972babb](https://github.com/pmb0/express-sharp/commit/972babbf2a701bd0b78feffbaa07883735a5c9e1))
## [4.2.39](https://github.com/pmb0/express-sharp/compare/v4.2.38...v4.2.39) (2021-09-05)
### Bug Fixes
* release process ([41afb20](https://github.com/pmb0/express-sharp/commit/41afb2006549343746ac1bb081089b1695522e5c))
## [4.2.38](https://github.com/pmb0/express-sharp/compare/v4.2.37...v4.2.38) (2021-09-05)
### Bug Fixes
* upgrade deps ([80c4ae8](https://github.com/pmb0/express-sharp/commit/80c4ae8934d7fefc687620cb20d2685dcb3e4827))
## [4.2.37](https://github.com/pmb0/express-sharp/compare/v4.2.36...v4.2.37) (2021-09-05)
### Bug Fixes
* only require `pnpm` for contributors ([a20813f](https://github.com/pmb0/express-sharp/commit/a20813f4f15cd3576663b2c8496f6c13b7e8c776)), closes [#560](https://github.com/pmb0/express-sharp/issues/560)
## [4.2.37](https://github.com/pmb0/express-sharp/compare/v4.2.36...v4.2.37) (2021-09-05)
### Bug Fixes
* only require `pnpm` for contributors ([a20813f](https://github.com/pmb0/express-sharp/commit/a20813f4f15cd3576663b2c8496f6c13b7e8c776)), closes [#560](https://github.com/pmb0/express-sharp/issues/560)
## [4.2.36](https://github.com/pmb0/express-sharp/compare/v4.2.35...v4.2.36) (2021-09-04)
### Bug Fixes
* publish only necessary files to npm ([26a9191](https://github.com/pmb0/express-sharp/commit/26a91913b1a771e60fe0131523bd5b9d81af93af))
## [4.2.35](https://github.com/pmb0/express-sharp/compare/v4.2.34...v4.2.35) (2021-09-04)
### Bug Fixes
* aws-sdk and got are optional dependencies ([#554](https://github.com/pmb0/express-sharp/issues/554)) ([5d7f6b3](https://github.com/pmb0/express-sharp/commit/5d7f6b39980156574c08127d366b34dbf087d225))
## [4.2.34](https://github.com/pmb0/express-sharp/compare/v4.2.33...v4.2.34) (2021-08-17)
### Bug Fixes
* **deps:** update dependency sharp to ^0.29.0 ([6a82c91](https://github.com/pmb0/express-sharp/commit/6a82c91a9ae30fa04969b365accb7e52aab3f42e))
## [4.2.33](https://github.com/pmb0/express-sharp/compare/v4.2.32...v4.2.33) (2021-07-07)
### Bug Fixes
* **deps:** update dependency tsyringe to v4.6.0 ([4760b4e](https://github.com/pmb0/express-sharp/commit/4760b4e57658ac0250049dd625f3fcb386163463))
## [4.2.32](https://github.com/pmb0/express-sharp/compare/v4.2.31...v4.2.32) (2021-07-04)
### Bug Fixes
* **deps:** update dependency debug to v4.3.2 ([8314be7](https://github.com/pmb0/express-sharp/commit/8314be771b0faf565d12be59c2fe69ec381c87d3))
## [4.2.31](https://github.com/pmb0/express-sharp/compare/v4.2.30...v4.2.31) (2021-06-21)
### Bug Fixes
* upgrade deps ([312298f](https://github.com/pmb0/express-sharp/commit/312298f72c5dd45343290f8884497df4d59ce472))
## [4.2.30](https://github.com/pmb0/express-sharp/compare/v4.2.29...v4.2.30) (2021-06-21)
### Bug Fixes
* resolve memory leak in CachedImage ([f1a8849](https://github.com/pmb0/express-sharp/commit/f1a88496dd2d117dacf79738475d974194cca554))
## [4.2.29](https://github.com/pmb0/express-sharp/compare/v4.2.28...v4.2.29) (2021-05-27)
### Bug Fixes
* **deps:** update dependency dotenv to v10 ([7c95fd5](https://github.com/pmb0/express-sharp/commit/7c95fd5fb7fd0298906a9a10f7bbd5b1498147ed))
## [4.2.28](https://github.com/pmb0/express-sharp/compare/v4.2.27...v4.2.28) (2021-05-24)
### Bug Fixes
* **deps:** update dependency sharp to v0.28.3 ([d12c297](https://github.com/pmb0/express-sharp/commit/d12c297894abe3caad252e3243609ae1eed4aab0))
## [4.2.27](https://github.com/pmb0/express-sharp/compare/v4.2.26...v4.2.27) (2021-05-22)
### Bug Fixes
* use EXIF orientation tag ([#343](https://github.com/pmb0/express-sharp/issues/343)) ([f4f9022](https://github.com/pmb0/express-sharp/commit/f4f9022674eab60114f2ea5b75e22441c884fd53))
## [4.2.26](https://github.com/pmb0/express-sharp/compare/v4.2.25...v4.2.26) (2021-05-18)
### Bug Fixes
* upgrade class-validator@^0.13 ([91a55c2](https://github.com/pmb0/express-sharp/commit/91a55c285694c9ba1cce634576d798a71ff3e66d))
* upgrade dotenv@^9 ([73c6fa2](https://github.com/pmb0/express-sharp/commit/73c6fa2dd74b6f6c532c8d634a8fcb24147983e3))
* upgrade sharp@^0.28 ([e7c2838](https://github.com/pmb0/express-sharp/commit/e7c28385dd4acf63ad0fbd2d367316e6ecfbfd05))
## [4.2.25](https://github.com/pmb0/express-sharp/compare/v4.2.24...v4.2.25) (2021-05-18)
### Bug Fixes
* `heic` is no longer supported in Sharp ([9da9a73](https://github.com/pmb0/express-sharp/commit/9da9a73d3e5f2a1bcca01fa4c862145368ac5d5e))
* upgrade deps ([265526a](https://github.com/pmb0/express-sharp/commit/265526af388d281cb3d357c870e1c168e1045a77))
## [4.2.24](https://github.com/pmb0/express-sharp/compare/v4.2.23...v4.2.24) (2021-02-23)
### Bug Fixes
* **deps:** update dependency sharp to v0.27.2 ([754803d](https://github.com/pmb0/express-sharp/commit/754803d6b90191f997313a105f74ae9031a04fb4))
## [4.2.23](https://github.com/pmb0/express-sharp/compare/v4.2.22...v4.2.23) (2021-01-27)
### Bug Fixes
* **deps:** update dependency sharp to v0.27.1 ([265cec9](https://github.com/pmb0/express-sharp/commit/265cec906cf45bb046736a8d5f4de370db1ebde9))
## [4.2.22](https://github.com/pmb0/express-sharp/compare/v4.2.21...v4.2.22) (2020-12-28)
### Bug Fixes
* **s3-adapter:** catch S3 errors ([9ce4efc](https://github.com/pmb0/express-sharp/commit/9ce4efc6cea2e9f4de5812b03278c223943c2ef7))
## [4.2.21](https://github.com/pmb0/express-sharp/compare/v4.2.20...v4.2.21) (2020-12-28)
### Bug Fixes
* upgrade deps ([2c9ec46](https://github.com/pmb0/express-sharp/commit/2c9ec4635e069a6be049565739660b3a56bd7986))
* **s3-adapter:** add missing runtime check ([5140051](https://github.com/pmb0/express-sharp/commit/5140051c54a7ad6a3b8ff59765b0768811c9f731))
## [4.2.20](https://github.com/pmb0/express-sharp/compare/v4.2.19...v4.2.20) (2020-12-26)
### Bug Fixes
* **deps:** update dependency sharp to ^0.27.0 ([d2d5a10](https://github.com/pmb0/express-sharp/commit/d2d5a10310ea33f5aa18138dbf8b598e4267d58f))
## [4.2.19](https://github.com/pmb0/express-sharp/compare/v4.2.18...v4.2.19) (2020-11-19)
### Bug Fixes
* **deps:** update dependency debug to v4.3.1 ([aa7feeb](https://github.com/pmb0/express-sharp/commit/aa7feeb73c0d4adbabac13f41302c08a54b16448))
## [4.2.18](https://github.com/pmb0/express-sharp/compare/v4.2.17...v4.2.18) (2020-11-19)
### Bug Fixes
* **deps:** update dependency debug to v4.3.0 ([57e0948](https://github.com/pmb0/express-sharp/commit/57e094842b1cb8a4e838e75a5ad47acd0d607265))
## [4.2.17](https://github.com/pmb0/express-sharp/compare/v4.2.16...v4.2.17) (2020-11-16)
### Bug Fixes
* **deps:** update dependency sharp to v0.26.3 ([602a91b](https://github.com/pmb0/express-sharp/commit/602a91b08ae00c2e5932d93ffc33fbe30f42710e))
## [4.2.16](https://github.com/pmb0/express-sharp/compare/v4.2.15...v4.2.16) (2020-11-09)
### Bug Fixes
* **deps:** update dependency tsyringe to v4.4.0 ([ec4e454](https://github.com/pmb0/express-sharp/commit/ec4e454875f3ddedc7f938a40aaa6342cf68343e))
## [4.2.15](https://github.com/pmb0/express-sharp/compare/v4.2.14...v4.2.15) (2020-10-14)
### Bug Fixes
* **deps:** update dependency sharp to v0.26.2 ([e3a7203](https://github.com/pmb0/express-sharp/commit/e3a7203cb2a99599db259cd722d39f84e58aa087))
## [4.2.14](https://github.com/pmb0/express-sharp/compare/v4.2.13...v4.2.14) (2020-10-13)
### Bug Fixes
* improve URL validating ([899baf2](https://github.com/pmb0/express-sharp/commit/899baf2ae7be46d3f841679f27faf183c85c4764))
## [4.2.13](https://github.com/pmb0/express-sharp/compare/v4.2.12...v4.2.13) (2020-09-20)
### Bug Fixes
* **deps:** update dependency sharp to v0.26.1 ([3ee3294](https://github.com/pmb0/express-sharp/commit/3ee3294a2c31c9b032008be109a11fe40ef42150))
## [4.2.12](https://github.com/pmb0/express-sharp/compare/v4.2.11...v4.2.12) (2020-09-20)
### Bug Fixes
* validate image URLs more effectively ([8e4ff79](https://github.com/pmb0/express-sharp/commit/8e4ff7939a26469f2db7b13881a8aaf2f0e76289))
## [4.2.11](https://github.com/pmb0/express-sharp/compare/v4.2.10...v4.2.11) (2020-09-20)
### Bug Fixes
* allow underscores in image file names ([be9fbeb](https://github.com/pmb0/express-sharp/commit/be9fbeb52b745a11572472b30518c7ac522e7515))
## [4.2.10](https://github.com/pmb0/express-sharp/compare/v4.2.9...v4.2.10) (2020-09-19)
### Bug Fixes
* **deps:** update dependency debug to v4.2.0 ([163558d](https://github.com/pmb0/express-sharp/commit/163558dbbdae3266b31f8468e63ade92c08cb543))
## [4.2.9](https://github.com/pmb0/express-sharp/compare/v4.2.8...v4.2.9) (2020-08-25)
### Bug Fixes
* **deps:** update dependency sharp to ^0.26.0 ([131bb07](https://github.com/pmb0/express-sharp/commit/131bb07581515ebb1affec8abc3e85080e42cf6f))
## [4.2.8](https://github.com/pmb0/express-sharp/compare/v4.2.7...v4.2.8) (2020-07-11)
### Bug Fixes
* **exception:** set the `stack` property on exception objects ([5a15e14](https://github.com/pmb0/express-sharp/commit/5a15e14b1be2a8fe2825ef9213b6123ad08964ba))
## [4.2.7](https://github.com/pmb0/express-sharp/compare/v4.2.6...v4.2.7) (2020-07-11)
### Bug Fixes
* **validation:** handle missing error constraints ([df84f76](https://github.com/pmb0/express-sharp/commit/df84f76186191de587b72fb4d4e7364088cbcbb6))
## [4.2.6](https://github.com/pmb0/express-sharp/compare/v4.2.5...v4.2.6) (2020-07-11)
### Bug Fixes
* **image-url:** filter query params without values ([563fb07](https://github.com/pmb0/express-sharp/commit/563fb07f24626c33e1de315098bc1baccd7666ff))
## [4.2.5](https://github.com/pmb0/express-sharp/compare/v4.2.4...v4.2.5) (2020-07-11)
### Bug Fixes
* **deps:** set aws-sdk as peer dependency ([e2be316](https://github.com/pmb0/express-sharp/commit/e2be3160e65671301c2e8f6357edc71955db1ad1))
* **deps:** set got as peer dependency ([21517e7](https://github.com/pmb0/express-sharp/commit/21517e7f7ad887f8b65b98c4e466458022103a07))
## [4.2.4](https://github.com/pmb0/express-sharp/compare/v4.2.3...v4.2.4) (2020-07-08)
### Bug Fixes
* **deps:** update dependency got to v11.5.0 ([0d92aaa](https://github.com/pmb0/express-sharp/commit/0d92aaaed50f14190e1039a8ebe597618c6ffa37))
## [4.2.3](https://github.com/pmb0/express-sharp/compare/v4.2.2...v4.2.3) (2020-07-04)
### Bug Fixes
* **deps:** update dependency got to v11.4.0 ([3f12e2c](https://github.com/pmb0/express-sharp/commit/3f12e2cd0fb7108a30a409d31bf8b218486c90fa))
## [4.2.2](https://github.com/pmb0/express-sharp/compare/v4.2.1...v4.2.2) (2020-06-20)
### Bug Fixes
* provide missing interface exports ([3cf55e8](https://github.com/pmb0/express-sharp/commit/3cf55e86228edf4478871325037ff6a3899826d9))
## [4.2.1](https://github.com/pmb0/express-sharp/compare/v4.2.0...v4.2.1) (2020-06-20)
### Bug Fixes
* **crop:** round crop dimensions ([8891d81](https://github.com/pmb0/express-sharp/commit/8891d815ded98b42f4fd61a6d18b437779c1008b))
# [4.2.0](https://github.com/pmb0/express-sharp/compare/v4.1.3...v4.2.0) (2020-06-20)
### Bug Fixes
* do not set image adapter globally ([dbf7911](https://github.com/pmb0/express-sharp/commit/dbf79115ca7c7d7fc8b3effb9fb3e9f7d5ea02ab))
* image IDs may contain slashes again ([34811d0](https://github.com/pmb0/express-sharp/commit/34811d042e75c5fb78c9ca84161304801a1663a1))
* slicing the image url seems no longer needed ([35107dc](https://github.com/pmb0/express-sharp/commit/35107dc63bd9f23abd41c27e7ebe53fab8f8d4b4))
### Features
* **image-adapters:** add Amazon S3 adapter ([edc628d](https://github.com/pmb0/express-sharp/commit/edc628ded14133c26d784dc00894130c86095427))
## [4.1.3](https://github.com/pmb0/express-sharp/compare/v4.1.2...v4.1.3) (2020-06-18)
### Bug Fixes
* **deps:** express should be a peer dependency ([d3ada7e](https://github.com/pmb0/express-sharp/commit/d3ada7e983a122aa3808f916ac6b5a8f7db35eab))
* **npm:** do not bundle config files ([648bc92](https://github.com/pmb0/express-sharp/commit/648bc92dbc6b9cd6b424e3ae60a3adb54913c49c))
## [4.1.2](https://github.com/pmb0/express-sharp/compare/v4.1.1...v4.1.2) (2020-06-18)
### Bug Fixes
* **npm:** add missing build artifacts ([63012f9](https://github.com/pmb0/express-sharp/commit/63012f9ef76442bba347d294fd1d771bc8dc7476))
## [4.1.1](https://github.com/pmb0/express-sharp/compare/v4.1.0...v4.1.1) (2020-06-18)
### Bug Fixes
* **deps:** @types/cache-manager is a dev dependency ([0c55b3e](https://github.com/pmb0/express-sharp/commit/0c55b3e0eabad76958a4f8ab0bd639080195b109))
* **deps:** do not use unmaintained class-transformer ([600c95b](https://github.com/pmb0/express-sharp/commit/600c95b498f703f79a38280458c926105a5e2167))
* **deps:** update dependency sharp to v0.25.4 ([1bd52bf](https://github.com/pmb0/express-sharp/commit/1bd52bf1e413bf0cf3b5969e81cd9cbf8f3fb691))