Compare commits

...
5 Commits
Author SHA1 Message Date
OpenCloud Devops 392e8965d0 🎉 Release 4.0.7 (#2776)
* 🎉 Release 4.0.7

* 🎉 Release 4.0.7
2026-05-18 14:16:46 +02:00
Viktor Scharf 5caa34d51a [stable-4.0][decomposed] Bump version 4.0.7 (#2778) 2026-05-18 13:58:08 +02:00
Ralf Haferkamp 8f743fe9f3 Merge pull request #2761 from rhafer/backport/no-tiff
[stable/4.0] Backports
2026-05-18 10:30:51 +02:00
Ralf Haferkamp 08eb7321ee chore: bump docker base image to alpine 3.23 (#2754) 2026-05-13 15:19:37 +02:00
Ralf Haferkamp 66ba9504a2 fix: disallow thumbnails for tiff and jpeg2000 images 2026-05-13 15:19:06 +02:00
5 changed files with 23 additions and 5 deletions

No files matched your search

+10
View File
@@ -1,5 +1,15 @@
# Changelog
## [4.0.7](https://github.com/opencloud-eu/opencloud/releases/tag/v4.0.7) - 2026-05-18
### ❤️ Thanks to all contributors! ❤️
@ScharfViktor, @rhafer
### 🔒 Security
- [stable/4.0] Backports [[#2761](https://github.com/opencloud-eu/opencloud/pull/2761)]
## [4.0.6](https://github.com/opencloud-eu/opencloud/releases/tag/v4.0.6) - 2026-04-29
### ❤️ Thanks to all contributors! ❤️
+1 -1
View File
@@ -29,7 +29,7 @@ COPY --from=generate /opencloud /opencloud
WORKDIR /opencloud/opencloud
RUN make go-generate build ENABLE_VIPS=true
FROM alpine:3.20
FROM alpine:3.23
RUN apk add --no-cache attr ca-certificates curl mailcap tree vips && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
+2 -2
View File
@@ -1,4 +1,4 @@
FROM golang:alpine3.22 AS build
FROM golang:alpine3.23 AS build
ARG TARGETOS
ARG TARGETARCH
ARG VERSION
@@ -14,7 +14,7 @@ RUN --mount=type=bind,target=/build,rw \
GOOS="${TARGETOS:-linux}" GOARCH="${TARGETARCH:-amd64}" ; \
make -C opencloud/opencloud release-linux-docker-${TARGETARCH} ENABLE_VIPS=true DIST=/dist
FROM alpine:3.22
FROM alpine:3.23
ARG VERSION
ARG REVISION
ARG TARGETOS
+1 -1
View File
@@ -34,7 +34,7 @@ var (
// LatestTag is the latest released version plus the dev meta version.
// Will be overwritten by the release pipeline
// Needs a manual change for every tagged release
LatestTag = "4.0.6+dev"
LatestTag = "4.0.7+dev"
// Date indicates the build date.
// This has been removed, it looks like you can only replace static strings with recent go versions
@@ -2,6 +2,15 @@
package thumbnail
import "github.com/davidbyttow/govips/v2/vips"
func init() {
// temporary remove TIFF and JP2K from go-vips' list of supported
// imagetypes
delete(vips.ImageTypes, vips.ImageTypeTIFF)
delete(vips.ImageTypes, vips.ImageTypeJP2K)
}
var (
// SupportedMimeTypes contains an all mimetypes which are supported by the thumbnailer.
SupportedMimeTypes = map[string]struct{}{
@@ -11,7 +20,6 @@ var (
"image/gif": {},
"image/bmp": {},
"image/x-ms-bmp": {},
"image/tiff": {},
"text/plain": {},
"audio/flac": {},
"audio/mpeg": {},