This file contains all notable changes to imageproxy. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
updated docker image to use go1.12 compiler and build imageproxy as a go module.
-
options are now sorted when converting to string. This is a breaking change for anyone relying on the option order, and will additionally invalidate most cached values, since the option string is part of the cache key.
Both the original remote image, as well as any transformations on that image are cached, but only the transformed images will be impacted by this change. This will result in imageproxy having to re-perform the transformations, but should not result in re-fetching the remote image, unless it has already otherwise expired.
- removed deprecated
whitelist
flag andProxy.Whitelist
struct field. UseallowHosts
andProxy.AllowHosts
instead.
0.8.0 (2019-03-21)
- added support for restricting proxied URLs based on Content-Type headers (#141, ccbrown)
- added ability to deny requests for certain remote hosts (#85, geriljaSA)
- added
userAgent
flag to specify a custom user agent when fetching images (#83, huguesalary) - added support for s3 compatible storage providers (#147, ruledio)
- log URL when image transform fails for easier debugging (#149, daohoangson)
- added support for building imageproxy as a go module. A future version will remove vendored dependencies, at which point building as a module will be the only supported method of building imageproxy.
- when a remote URL is denied, return a generic error message that does not specify exactly why it failed (7e19b5c)
whitelist
flag andProxy.Whitelist
struct field renamed toallowHosts
andProxy.AllowHosts
. Old values are still supported, but will be removed in a future release.
Additional changelog entries for older versions to be written as time permits. Contributions are welcome.