Upgrading Prez
Prez is upgraded by changing the Prez API image tag. This page lists the available versions, the security fixes in each, and what changes when upgrading from an earlier version.
Images and Versioning
- The Prez API is published as
ghcr.io/rdflib/prez:<version>, one image per release. - The Prez UI packages (
prez-ui,prez-lib,prez-components) are published on npm and released together. Their version numbers are independent of the API's. - System and Python packages in the image are installed when it is built, so each release also picks up newer packages.
Tested Compatible Versions
| Version | Image | Compatible with |
|---|---|---|
| 4.25.2 | ghcr.io/rdflib/prez:4.25.2 |
Prez UI 4.1.4, 4.3.0; Fuseki 5.6.0-1, 6.2.0-1 |
| 4.14.2 | ghcr.io/rdflib/prez:4.14.2 |
Prez UI 4.1.3, 4.3.0; Fuseki 5.6.0-1, 6.2.0-1 |
| 4.9.3 | ghcr.io/rdflib/prez:4.9.3 |
Prez UI 4.1.3; Fuseki 5.6.0-1 |
Security fixes
| Version | Package | Issue | Fixed version |
|---|---|---|---|
| 4.25.2 | certifi | eMudhra emSign CA certificate incident | 2026.10.19 |
| 4.25.2 | pip | eMudhra emSign CA certificate incident | 26.2.2 |
Upgrade steps
- Read the things to check for every version between the current one and the target.
- Update custom themes first if an entry requires it (see Custom themes).
- Change the Prez API image tag to the target version.
- Restart Prez after any data or config load, because Prez reads endpoints, profiles and prefixes at startup.
Things to check when upgrading
Not a full list of changes: only what may need action or will look different after upgrading, newest first. Each entry applies when upgrading to that version from an earlier one. Full release notes are on GitHub.
4.25
- Requires Prez UI 4.1.4 or later. Responses now label datatypes (
xsd:string prez:label "string"), and item pages crash in themes on 4.1.3 or older. - Lists and concept hierarchies are no longer alphabetical. Since 4.15.0, responses are written with pyoxigraph, which doesn't keep the sorted order.
POST /cqlrequires a{"filter": …}body andContent-Type: application/json. This only affects clients that call the API directly; the Prez UI doesn't use it.
4.14 (From 4.9.3)
- Built-in vann prefixes were removed, so generated CURIEs in URLs can change.
- Prez's own dropdown JSON-LD and CSV output was removed. This only affects sites that used these downloads; the theme has to produce them instead.
Custom themes
Themes are built on the Prez UI packages. When an upgrade requires a newer Prez UI:
- Keep
prez-ui,prez-libandprez-componentson the same version, pinned exactly (for example"4.1.4"), so a laterpnpm updatecan't move to an incompatible version. - On Prez UI 4.1.x (Nuxt 3), replace
"vue": "latest"and"vue-router": "latest"(from thecreate-prez-apptemplate) with version ranges, and add pnpm overrides"vue": "$vue"and"vue-router": "$vue-router". Otherwise regenerating the lockfile pulls in vue-router 5, which Nuxt 3 doesn't use.