Repository navigation
release: 0.4.0 - #57
Merged
Merged
Conversation
stefan-it
approved these changes
Nov 24, 2026
stefan-it
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changed
of logging the error and starting without it. An extension that is configured but not loaded no
longer enforces its hooks, so e.g. an
authorizeextension that failed to load left the serverpublicly accessible. The startup error lists every failing extension together with the position
in the extension code that caused the failure. The
validateandinstall-extensionssubcommands are exempt, they log the failure and continue with the remaining extensions.
(UID/GID
10001) by default. Existing bind mounts or volumes for/app/datathat are owned by root must be writable by this user (or, in Kubernetes,
use
securityContext.fsGroup: 10001). Mounted configuration and image files mustbe readable by this user. The default user can be changed. The image itself does not
require a writable home directory: GraalVM's native resource cache and the npm and pip
caches used for installing extensions live below the data directory.
If-None-Match,If-Modified-Since) are no longerforwarded to HTTP image sources. Wolpi evaluates them after reading the source, so a conditional
request may download the full source before returning
304, including when the HTTP source cacheis disabled. An origin
304without a stored body now produces HTTP502, not a client304.directory for each instance. Existing Kubernetes Deployments with multiple replicas must mount
a pod-local
emptyDirat the cache directory, switch to a StatefulSet with a separate volume perreplica, or disable caching with
wolpi.http-source-cache.enabled: false. Replicas cannot shareone cache directory; Wolpi refuses to start if another instance owns it. The
validate,install-validator, andinstall-extensionssubcommands are exempt: when another instanceowns the configured directory they log a warning and use a temporary directory for that
invocation, so they remain usable next to a running server.
wolpi.image-processing.exif-orientation, which controls whether the source's EXIFOrientationtag is baked into the pixels (rotate) or ignored (ignore, the default).ignorereproduces the previous behaviour and keeps reported dimensions unchanged;rotatechanges the reported dimensions of affected images, so derivative and client-side caches need to
be invalidated after switching.
Added
http-timeouts.{connect,request}settings (defaults10s/30s), with optionalextensionsandsourcesoverrides to differentiate between HTTP requests made by Wolpi itselfand those made by extensions through the
httpClienton the context or the JavaScriptwolpi:fetchSyncfunctionbyte limit, maximum freshness (default
1h), and per-resource size limit. Upstream cache directivesand conditional revalidation govern reuse. Configurable
stale-if-errorfallback (default7d,0sto disable) can serve expired bodies during origin failures when HTTP policy allows it.The optional
X-Wolpi-Http-Source-Cacheresponse header reports hits, misses, revalidation, stalefallback, and bypass reasons. Unknown-length and partial responses
bypass caching.
HttpResolvedImage.cacheIdentitysupplies a stable, resolver-controlledsource identity for cache reuse across rotating signed URLs and fetch headers, including S3
presigned URLs. Omitting it preserves URL-and-header cache keying.
Removed
Maven Repository, GitHub Releases and the GitHub Container Registry remain as
the sole distribution channels. This is due to Maven Central's draconian
limits that were introduced in October 2026, but it also serves to discourage
inheriting from Wolpi in other Java projects, since the Extension API is
intended as the sole officially supported means of customizing Wolpi.
Fixed
bitonalquality with the defaultotsubinarization method no longer fails witha HTTP 500 response for JPEG sources. Computing the threshold and applying it evaluated the
source twice, and sequential JPEG decoding cannot rewind.
authorizeandresolvehookloops. The remaining extension calls are cancelled and the request fails with an error response
instead.
results in a HTTP 400 response instead of a HTTP 500 response.
indexare no longer passed to pip on thecommand line and are masked in logs. Packages are now resolved only from the
custom index, no longer from both the custom index and PyPI.
/in identifiers are now properly supported, this wasdocumented as working before, but was actually broken due to a bad Tomcat
default setting