Skip to content

v3.0.0.beta2

Pre-release
Pre-release
Compare
Choose a tag to compare
@DarthSim DarthSim released this 15 Nov 12:08
· 632 commits to master since this release

Added

  • Add X-Origin-Width and X-Origin-Height to debug headers.
  • Add IMGPROXY_COOKIE_PASSTHROUGH and IMGPROXY_COOKIE_BASE_URL configs.

Change

  • dpr processing option doesn't enlarge image unless enlarge is true.
  • 304 Not Modified responses includes Cache-Control, Expires, and Vary headers.
  • imgproxy responds with 500 HTTP code when the source image downloading error seems temporary (timeout, server error, etc).
  • When IMGPROXY_FALLBACK_IMAGE_HTTP_CODE is zero, imgproxy responds with the usual HTTP code.
  • BMP support doesn't require ImageMagick.

Fix

  • Fix Client Hints behavior. Width is physical size, so we should divide it by DPR value.
  • Fix scale-on-load in some rare cases.
  • Fix requests_total counter in Prometheus.