What's new¶
The latest MATVIS release. For every previous release, see the Archive.
1.29.0¶
Breaking changes¶
- Timestamps End in Z: Every timestamp the Firewall API and the Data API answer is ISO 8601 in UTC ending in Z: the filter answer timestamp, the created value of /api/v1/models, the creation and update times of configurations, models and add-ons, the Data retention times, and the analytics records with their CSV export. Times that had no offset before (2026-11-04T14:00:00.123456) now read 2026-11-04T14:00:00.123456Z, and creation times that ended in +00:00 now end in Z. Tools that parse these values with a fixed pattern instead of an ISO 8601 parser must accept the Z.
- Stored Request Times Need a Time Zone: An API key expires_at and an add-on updated_at sent to the Data API with a time of day must carry a UTC offset (2030-12-31T10:00:00Z or 2030-12-31T11:00:00+01:00); without one the Data API answers 422. A value with an offset is stored in UTC. An expiry given as a date alone (2030-12-31) still works and means midnight UTC of that day. The dashboard already sends both correctly.
- Deleting a Configuration With Records Retires It: Deleting a firewall or tool configuration that analytics records still name retires it instead: it leaves the configuration lists and can no longer be used for new scans, but it keeps its name and version history, so its records stay readable. The Data API answers the DELETE with outcome retired, answers a GET of the configuration with status retired instead of 404, and lists it with include_retired=true. A configuration no record names is deleted as before, and so is a model.
- Compose Deployments Need a One-Time Conversion: Each service receives only its own secrets, as files under /run/secrets; the filter APIs publish no port and share a network with the Firewall API only; a one-shot data-api-migrate service migrates the database, and the Data API logs in without schema rights. First set the MATVIS image tags in the compose file to 1.29.0 (the conversion gives the data-api-migrate service the Data API image), then run python3 convert_compose.py --dry-run
, python3 convert_compose.py , docker compose pull, docker compose stop data-api and docker compose up -d. Stop the Data API first: otherwise the 1.28 Data API keeps serving while the migration runs, and a configuration change saved through it in that window is lost. The generated setup script does all of this for you except the stop, so run docker compose stop data-api before it. Volumes are not touched, and the old compose and .env files are kept as dated backups. The conversion stops and names the variable when a secret in the .env file holds $ or a backslash outside single quotes, which Compose reads as a variable or an escape: write the value the services were given in single quotes (docker compose config shows it), or change the secret, and run it again. - Kubernetes: Migrations in Their Own Job, NetworkPolicies On: The chart migrates the database in a data-api-migrate Job and ships ingress NetworkPolicies, on by default, with egress left open. Set networkPolicy.ingressControllerNamespace and networkPolicy.monitoringNamespace when an ingress controller or Prometheus runs in another namespace, and postgres.runtimePassword (or postgres.runtimeUser with the runtimePassword key of your existing Secret) so the Data API runs without schema rights; without it the Data API keeps the migration login and logs a warning naming the setting. When the migration Job fails, its pods and their logs are kept (kubectl -n matvis get pods -l app=data-api-migrate); fix the cause, then delete the failed Job (kubectl -n matvis delete job data-api-migrate-
) before deploying again, since a deploy with unchanged values does not run it again. - The Message Cache Moves to a Bundled Valkey: The message cache leaves PostgreSQL for Valkey, a new component that ships with the deployment, keeps nothing on disk, serves TLS only and has one user and password per service. Compose: the same convert_compose.py command adds the valkey service, a generated password for each of its two users, and under valkey-certs/ a CA and a server certificate valid for about two years (the CA key stays there, readable by its owner only); run the command again when the services warn that the certificate expires within 30 days, then restart valkey. Kubernetes: set valkey.userApiPassword and valkey.dataApiPassword (or valkey.existingSecret) and the TLS material, either valkey.tls.certManager.issuerRef for cert-manager or valkey.tls.existingSecret with tls.crt, tls.key and ca.crt; the chart does not install without them. A Valkey of your own works with valkey.enabled=false, valkey.host, valkey.port and its CA in valkey.tls.existingSecret: create the users user-api and data-api from the ACL the chart ships, or use one shared user, about which both services log a warning. The Data API no longer serves /api/v1/cache/query and /api/v1/cache/commit. Valkey uses at most three quarters of its memory limit on Kubernetes (valkey.maxmemory sets it) and 768 MB with Compose, and at that point removes the cached results and filter sessions used least recently. On Kubernetes Valkey restarts by itself, within minutes and with an empty cache, when cert-manager renews its certificate or you replace the Secret that holds it.
- Firewall API and Data API Need a Projection Secret: The Firewall API and the Data API need the same PROJECTION_SECRET, standard base64 of at least 32 bytes (openssl rand -base64 32), and refuse to start without it, naming the setting but never its value. They seal model provider secrets and the Splunk HEC token in Valkey with it. Compose: convert_compose.py generates it. Kubernetes: set projectionSecret, or the PROJECTION_SECRET key of both userApi.existingSecret and dataApi.existingSecret; the chart does not generate it.
- One Splunk HEC Connector: MATVIS supports one Splunk HEC connector. The Data API refuses a second one with 409 naming the existing connector (the App Store already opens the existing one). Where several were created through the API before, the most recently updated one is used and the Data API logs a warning naming the others by name and id; delete them in the App Store. MCP connectors are not limited.
- Filter Sessions in Full Retention Only (Beta): A /filter call with a session_id is answered 409 in Metadata Only and Zero Retention: sessions run in Full Retention only while they are beta. Calls without a session_id are unchanged. A session belongs to the API key that opened it: a call or a DELETE of the session from another key is answered 403 and changes nothing.
- Firewall API Autoscaling on CPU: The Firewall API autoscaler (off by default) scales on CPU utilisation (userApi.autoscaling.targetCPUUtilizationPercentage, 80 by default) and needs metrics-server; with a custom-metrics adapter it can also scale on requests in flight (targetRequestsInFlight). The External metric inference_queue_depth, which the Firewall API never exported, is gone, and userApi.autoscaling.targetQueueDepth is ignored.
- Custom Regex Allowlist Moves to the PII Filter: Allowlisting a pattern is part of the PII filter and affects PII detection only; Content, Prompt Injection, Language and Custom Regex scan the full text. Custom Regex allowlist entries that cover PII (entries without a scope and entries whose scope includes PII) move into the PII allowlist on upgrade and from then on exempt PII detections only; entries scoped to other filters alone are removed, and each configuration that lost entries is named in a warning. The Data API answers 422 to a custom_regex entry that allowlists a pattern and to an applies_to scope; send the pattern in pii_allowlist (tool configurations: pii_filter.allowlist).
- Tool Allow Rules Move to the PII Allowlist: A tool's allow pattern rules move into its PII filter's Allowlist on upgrade and keep exempting exactly what they did: a detected value that matches the pattern. Pattern rules are deny rules only, and the Data API answers 422 to a pattern rule with rule allow. A moved rule the Data API would not accept today (one whose pattern matches empty text or any text, .* or .+ for example, or is longer than 1000 characters) is moved as it is and keeps working, but its configuration cannot be saved until that entry is changed; the upgrade names each such configuration and entry in a warning.
- Saving a Configuration Through the API Sets the New PII Fields: A save replaces the stored configuration. One that leaves out pii_public_names_exempt (tool configurations: pii_filter.public_names_exempt) switches the public-names exemption back on, and one that leaves out pii_allowlist (pii_filter.allowlist) empties the allowlist. Keep both in configuration files you apply. The upgrade adds a version only to a firewall or tool configuration it changes, so a file that carries the version such a configuration was exported with is refused once: export it again.
Added¶
- Configuration Versions: Firewall, tool and model configurations keep a version history. Each saved change becomes a new version that records when it became current and which release wrote it, and past versions open read-only with what changed from the version before. A model version shows its secrets only as set or not set. The Data API serves the history at /api/v1/configs/{kind}/{uuid}/versions. Configurations that existed before the upgrade start at version 1 with an unknown release. The database upgrade that adds the versions needs the right to create tables: when it cannot create them, it stops with an error naming the step and rolls back, and the database stays as 1.28 left it.
- Analytics Records Name Their Configuration Version: Each analytics record names the configuration version its request ran under. The Config column shows whether that version is current, superseded (with a link to the current one), retired, unknown or deleted, and filters by those states. Records from before the upgrade show an unknown version.
- Firewall Analytics Rebuilt Around the Filter Rail: Firewall Analytics filters from a rail beside the data. At its top are the direction, the time range, a search and a query bar; below them every facet lists its values with a count: Action, Valid, Monitoring, Handling, Severity Level, Block Reason, Config, Source, PII entity, content category, regex rule and tool-scan check. Every filter in force is listed as a chip you can remove, and Clear all returns to the last 30 days. The rail folds away to a narrow strip that still shows how many filters are in force, and the page remembers your choice. Stat tiles, a severity-by-action matrix, a filter impact table and the traffic timeline describe exactly the filtered records, and clicking a tile or a matrix cell filters by it.
- Analytics Table and Record Details: The table shows Timestamp, Config, Action, Block Reason, Severity Level, Severity, Valid, Monitoring, Handling, Direction, Source and Content, and every column sorts and filters. The CSV export carries the same columns in the same order, with the Timestamp in UTC. An opened record shows its verdict, what its block reason and severity came from, and the result of each filter. A record whose stored content cannot be read shows Unreadable instead of empty fields.
- Cached Scan Results on the Data Protection Page: In Full Retention the Data Protection page shows how many scan results are cached, beside Clear cache, and says that each expires after 12 hours. The Data API serves the number at /api/v1/settings/data-retention/cache.
- Firewall API Workers: USER_API_WORKERS (Compose) and userApi.workers (Kubernetes) run several Firewall API worker processes in one container, 1 by default; the filter queue limits apply per worker. With ICAP on, the Firewall API runs one worker, because every worker would listen on the ICAP port: Compose starts one and logs a warning, the chart refuses more than one. Scale ICAP with replicas.
- Public Names Switch for the PII Filter: The PII filter's built-in list of well-known places and public figures can be switched off per configuration, on chat, tool and ICAP configurations, with Ignore well-known public names (recommended). It is on by default and after the upgrade. Switched off, a place or a public figure is flagged, blocked or masked like any other detection of its class. Switched on, a place or a public figure the list leaves unflagged is reported as allowlisted, as a PII allowlist entry is.
- PII Allowlist: The PII filter has its own Allowlist of patterns, each with its own on/off switch. PII inside text a pattern matches is not flagged, and neither is a detected value that matches a pattern. No other filter is affected.
Improved¶
- Concurrent Edits No Longer Overwrite Each Other: When two people edit the same firewall, tool or model configuration, the second save is refused with a message to load the configuration again, instead of silently undoing the first. The Data API answers 409 when a save sends a version that is no longer the current one; a save without a version overwrites as before. A configuration file applied through the API that still carries the version it was exported with is refused once the configuration has changed: export it again or remove the version line.
- Local Times in the Dashboard: The model configuration card and the firewall analytics table, its day filters and its timeline show times in your browser time zone. Before, they showed UTC times as if they were local.
- One Clock for Analytics Records: An analytics record carries the time of the request it belongs to, in UTC, whatever time zone the Firewall API runs in.
- Timestamps Stored With Their Time Zone: On upgrade the Data API stores its timestamps in UTC with their time zone. A firewall or tool scan configuration whose stored creation time cannot be read keeps working, with the upgrade time as its creation time, and the upgrade logs a warning naming it. When a column cannot be converted (a view of your own reads it, for example), the upgrade stops with an error naming the table and column and rolls back, and the database stays as 1.28 left it.
- New Compose Deployments Start Without Extra Settings: The setup script for a new Compose deployment sets SYSLOG_HOST_SOCKET to the host's syslog socket (/run/systemd/journal/dev-log). Before, docker compose up stopped until it was set by hand.
- Changing the Provider of a Model Keeps Its Tool Scanning: Switching a model to another provider in its dialog keeps its firewall and tool configurations. Before, saving after the switch removed the tool configurations, so tool scanning stopped for that model. The dialog now names the fields still needed while Save or Update is off, and Open the live model on a version page opens the dialog of that model.
- Secret Changes on Kubernetes: Changing any secret in your values restarts every MATVIS pod that reads a secret and runs the data-api-migrate and keycloak-config-cli Jobs again. Before, only the pods that read the changed secret restarted.
- Changes Take Effect on the Next Request: A change to a configuration, an API key, the license or the Data retention mode takes effect on the next request in every Firewall API process, also with several replicas: the Firewall API reads them from Valkey, where the Data API keeps them current, instead of reloading its own copies. A revoked API key is refused at once everywhere. The Firewall API settings RESYNC_INTERVAL_SECONDS and LICENSE_POLL_INTERVAL no longer apply; a Firewall API that still has them set logs one warning naming each.
- Hardened Security: Stronger protection across the platform.
- Action, Valid, Monitoring and Handling Replace the Status: Firewall Analytics and the dashboard show the four facts a verdict records: whether the request was allowed or blocked, whether its content passed, whether monitoring was on, and how the content was handled (pseudonymized, bypassed or allowlisted). They replace the single combined status. A request that monitoring let through although it would have been blocked reads Allow, Valid No, Monitoring Yes, and is not counted as a block.
- Traffic Timeline Shows the Selection: The traffic timeline traces Action, Valid, Monitoring, Severity or Block Reason over the selected time range. Dragging across it no longer filters; the time range is set in the filter rail.
- Dashboard Firewall Card: The overview card shows allowed and blocked records per day in the colours Firewall Analytics uses, the same in both directions, and links to Firewall Analytics.
- Your Email as It Is Stored: The account menu and the user list show your email address in lower case, as it is stored, however you typed it when you signed in.
- A Calmer Header: The settings button no longer shows a red dot that led nowhere, and neither the settings button nor your account picture moves.
- Filter Sessions Across Pods and Restarts (Beta): A filter session works across Firewall API pods and workers and survives a Firewall API restart: its state is kept in Valkey, sealed, for its idle time-out. Renaming a configuration a session is bound to no longer ends the session; only a change to the configuration itself does. Restarting Valkey ends the open sessions.
- Rolling Updates Keep the Firewall API Serving: On Kubernetes a rolling update of the Firewall API keeps the old pod until the new one is ready (one extra pod during the update), unless the Firewall API asks for a GPU.
- Custom Regex in One Card: Custom Regex is one card listing its patterns, edited in one dialog together with its block message. A pattern written for the server (with (?i), for example) no longer keeps you from saving: the server checks it when you save.
- PII Settings at the Top: The PII dialog shows the PII Vault and public-names switches above its Classes and Allowlist tabs.
Known issues¶
- After the upgrade the message cache starts empty, so each message is scanned once more and the first replies can take longer.
- Restarting Valkey empties the message cache, so each message is scanned once more until it fills again.
- After an upgrade or a restart, the Firewall API serves only once the Data API has written the configurations, API keys and license into Valkey, which the Data API does within seconds of starting. Until then the Firewall API accepts no requests: on Kubernetes it starts only after the Data API answers and is ready about 10 seconds later; with Compose it waits about 30 seconds for the license, then exits and is restarted until the license is there.
- Rolling back to 1.28.2 or 1.28.1 needs a database downgrade with the 1.29.0 image first, run as the database owner because the Data API itself logs in without schema rights: with Compose, docker compose stop data-api, then docker compose run --rm -w /AICE/data_mgmt_api data-api-migrate alembic -c alembic.ini downgrade a1c3e5f7b9d2 (an on-prem layout adds -f docker-compose-matvis-on-prem.yml --env-file .env.matvis.onprem), then restore the compose and .env files from the dated backups the conversion kept; on Kubernetes, scale the Data API to 0 and run the downgrade in a Job cloned from the data-api-migrate Job, since the NetworkPolicies admit no other pod to the bundled Postgres (docs/k8s/README.md gives the command), then deploy the 1.28 chart. With column encryption on (beta), models created or changed in 1.29.0 come back without their provider secret, each named in a warning: enter the secret again. A configuration retired in 1.29.0 (deleted while analytics records still name it) is removed by the downgrade, so its records show a deleted configuration in 1.28. Rolling back to 1.28.0 then needs a second downgrade with the 1.28.1 image (alembic downgrade e7f8a9b0c1d2). The downgrade turns each PII allowlist entry back into a Custom Regex allowlist entry, one the upgrade moved with the scope it had before and any other scoped to PII, and each active tool allowlist entry into an allow rule, and restores the Custom Regex allowlist entries the upgrade removed, except on ICAP configurations, where moved entries come back scoped to PII. An inactive tool allowlist entry is left out, since 1.28 has no off state for an allow rule. Every configuration whose public-names switch was off, or that had inactive tool entries left out, is named in a warning.
- With De-pseudonymization on, the outbound scan reads the restored values, so a selected PII class can block or flag an answer on PII the user sent. The PII card warns about it; leave the outbound PII classes empty if you do not want this.
- Topics with short, general example sentences can match unrelated text. Write examples as complete, specific requests, including some that do not use a project code name.
- Firewall events recorded before 1.25.0 carry no severity level, so Firewall Analytics counts them as unrated and shows N/A as their Severity Level.
- Firewall events recorded before 1.26.0 carry no stored decision, so Firewall Analytics shows N/A as their Action and counts them as neither allowed nor blocked.
- There might be redirection errors in Microsoft Edge 139.0.3405.125 (Official build) (64-bit) for Linux
- Ollama reasoning text is not forwarded to the user
- Buffered streaming firewall block message (English) might trigger non-English Language Filter