Releases: webp-sh/webp_server_go
WebP Server Go 0.12.1
What's Changed
- Bump github.com/gofiber/fiber/v2 from 2.52.4 to 2.52.5 by @dependabot in #346
- Bump github.com/schollz/progressbar/v3 from 3.14.4 to 3.14.5 by @dependabot in #348
- Bump github.com/schollz/progressbar/v3 from 3.14.5 to 3.14.6 by @dependabot in #350
- Bump to Go 1.23 by @n0vad3v in #353
- Add iOS 18 support by @n0vad3v in #360
Full Changelog: 0.12.0...0.12.1
WebP Server Go 0.12.0
What's Changed
- Added
MAX_CACHE_SIZE
config by @n0vad3v in #344, which will solve the following issues: - Bugfix:
CACHE_TTL
should beWEBP_CACHE_TTL
in environment variable.
About MAX_CACHE_SIZE
MAX_CACHE_SIZE
is set in number, with unit of MiB, the default value is 0, which will remain current setup, if this value is set, for example 50, then a background task will run alongside with WebP Server Go once per minute, that task will ensure the following directories will be below 50MiB, seperately.
./metadata
./exhaust
./remote-raw
If any of the above directories' size goes above setting value, the oldest file will be deleted to make space.
Note, this will keep the above directories' size seperately, so there can be the following situation with total size of 101MiB.
./metadata
(4MiB)./exhaust
(48MiB)./remote-raw
(49MiB)
New Contributors
- @syedcherry made their first contribution in #337
Full Changelog: 0.11.3...0.12.0
WebP Server Go 0.11.3
WebP Server Go 0.11.2
What's Changed
Full Changelog: 0.11.1...0.11.2
WebP Server Go 0.11.1
What's Changed
- Fix: Use Accept header(
Accept: image/jxl
) to render jxl images for Firefox by @n0vad3v in #326, fixes #325
Full Changelog: 0.11.0...0.11.1
WebP Server Go 0.11.0
We've written blog post for this release, please checkout at:
- WebP Server Go 0.11.0 is released - WebP Cloud Services Blog
- WebP Server Go 0.11.0 发布 - WebP Cloud Services Blog
Changes
- Added JPEG XL supports
- Using forked version of https://github.com/jeremytorres/rawparser to reduce unnecessary notice on startup
- Added tests for resizeImage
- Added
max_height
andmax_width
parameters, fills the need in #305 - Bugfix: Prefetch should also respect AllowedType
- Now WebP Server Go will only convert supported formats on given browser
- Version bump from 0.10.8 to 0.11.0 due to breaking changes in config file
Config file changes
- Config update, drops
ENABLE_AVIF
support and change to"CONVERT_TYPES": ["webp","avif","jxl"],
to specify wanted convert types - Config update, planning to drop support for
IMG_PATH
to fully migrate toIMG_MAP
format - Config update, added
STRIP_METADATA
defaults to true - Fix: original image's metadata should be removed on
STRIP_METADATA
Note: STRIP_METADATA
, CONVERT_TYPES
are newly added, ENABLE_AVIF
is removed.
Full Changelog: 0.10.8...0.11.0
WebP Server Go 0.10.8
What's Changed
- Bump govips to v2.14.0 by @n0vad3v in #317, this contains lots of fixes, which can be seen at https://github.com/davidbyttow/govips/releases/tag/v2.14.0
- Optimized Dockerfile, stop building libwebp by our own by @n0vad3v in #318
Full Changelog: 0.10.7...0.10.8
WebP Server Go 0.10.7
What's Changed
- Bump github.com/gofiber/fiber/v2 from 2.51.0 to 2.52.0 by @dependabot in #309
- Upgrade to Go 1.22 by @n0vad3v in #311
- Added cache for remote images by @HolgerHuo in #310, more can be found on https://docs.webp.sh/usage/configuration/
Full Changelog: 0.10.6...0.10.7
WebP Server Go 0.10.6
What's Changed
- Read all pages by @n0vad3v in #308, , fixes bug that animated images will be static after conversion.
Full Changelog: 0.10.5...0.10.6
WebP Server Go 0.10.5
What's Changed
Full Changelog: 0.10.4...0.10.5