v2.0.0-rc6
Last updated
Released: July 1, 2026
GitHub release ยท Download binaries
This was the final v2 release candidate before v2.0.0. See the v2 RC changelog for the full rc1โrc6 history.
You can now combine filter conditions with OR logic using the _or query parameter, without writing a custom SQL query.
GET /db/public/articles?_or=title=$ilike.%search%||name=$ilike.%search%Alternatives are separated by || (double pipe). See Parameters for full syntax and examples.
pREST now validates JWT configuration at startup. When jwt.default = true (the default) and debug = false, the server refuses to start unless you provide jwt.key, jwt.jwks, or jwt.wellknownurl. This closes GHSA-fj7v-859r-2fm4, where an empty HMAC key allowed forged bearer tokens.
When auth.enabled = true, jwt.key is also required.
Superseded in v2.0.0: (#974) auto-disables JWT instead of refusing startup. See v2.0.0 release notes and Changes since rc6.
See Configuring pREST โ JWT for current behavior in v2.0.0.
v2 uses Go's slog package for structured logging. Set PREST_LOG_LEVEL to debug, info, warn, or error to control verbosity. SQL queries are logged at debug level.
_select whitespace trimming (#941)Field names in _select are now trimmed of surrounding whitespace. _select=id, name produces the same result as _select=id,name.
Docker images are now built via GoReleaser. Use prest/prest:v2.0.0-rc6 in your deployments.
Follow the Upgrading to v2 guide.
Last updated