Skip to content

fix(deps): update all dependencies - #508

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/all
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/all

Conversation

@renovate

@renovate renovate Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence Type Update
assertpy ==2.36.0 → ==2.36.1 age confidence project.dependencies patch
astral-sh/ruff-pre-commit v0.17.4 → v0.17.6 age confidence repository patch
astral-sh/setup-uv v10.3.3 → v10.4.0 age confidence action minor
deprecated (changelog) ==1.3.1 → ==3.0.1 age confidence project.dependencies major
pytest-check ==3.0.3 → ==3.1.0 age confidence project.dependencies minor
python-jsonschema/check-jsonschema 0.39.0 → 0.40.0 age confidence repository minor
ruff (source, changelog) ==0.17.4 → ==0.17.6 age confidence dependency-groups patch
selenium ==4.52.0 → ==4.54.0 age confidence project.dependencies minor
visual-regression-tracker ==5.1.0 → ==6.0.0 age confidence project.dependencies major

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

assertpy/assertpy (assertpy)

v2.36.1: 2.36.1

Compare Source

Tests now skip checks that need an absent optional dependency

TL;DR

Fixed
The test suite run from the sdist without jsonpath-ng failed with ImportError instead of skipping unavailable checks (#​167)
The same suite without idna, pytest-xdist, attrs, pydantic, typing_extensions, ruff or ty failed in one or a few tests of each instead of skipping them

The test suite skips what it cannot run without an optional library

The six tests reported in #​167, run from the sdist with httpx installed and jsonpath-ng absent

Before

FAILED tests/test_http.py::TestTheFailureSaysWhichResponseItCameFrom::test_a_failure_two_pivots_below_the_response
FAILED tests/test_http.py::TestTheFailureSaysWhichResponseItCameFrom::test_a_response_that_is_falsey_still_carries_its_note
FAILED tests/test_http.py::TestTheClientsThemselves::test_an_httpx_response
FAILED tests/test_verdict_corpus.py::test_no_input_decides_differently
FAILED tests/test_warn.py::test_a_pivot_keeps_the_warn_logger
FAILED tests/test_warn_on_failure.py::test_a_pivot_and_an_extraction_keep_the_callback

E   ImportError: jsonpath-ng is required for JSON path assertions. Install it with: pip install assertpy[json]

Now

SKIPPED [3] tests/optional.py:78: needs jsonpath_ng: not installed
3 passed, 3 skipped

What running the suite needs

Required the test dependency group: pytest and hypothesis
Installed with pip install --group test from the unpacked sdist, pip 25.1 or later
Optional everything else, ruff and ty included: a test whose library is absent skips
Checked in CI from the sdist with nothing optional, and without each optional distribution and what requires it

Found and fixed the same way

  • the hostname check of the OpenAPI oracle reads an xn-- label through idna
  • tests/test_exact_oracle.py imported typing_extensions before it skipped without pydantic
  • the doc-example guard reads jsonpath-ng, jsonschema, attrs, pydantic and typing_extensions on some pages
  • the snapshot tests across xdist workers need pytest-xdist
  • the type check of the docs gave ty no interpreter, so outside a project environment it resolved no import

Guide: Running the suite from the sdist

Everything else

  • build: ty 0.0.104 in the lock file and as the declared minimum
  • build: mypy 2.4.1, Ruff 0.17.4, Pyrefly 1.4.1 and Django 5.2.19 in the lock file
  • build: mutmut and pytest-codspeed updated in the lock file
  • ci: GitHub Actions bumped
  • docs: the HTML, number and snapshot passages of the guides rewritten into short lists
  • test: documented counter-examples must fail with the ty rules named by their markers
  • test: documentation type checks fail if ty does not finish
  • test: the poll timing tests run on a controlled clock, so a slow runner cannot cut them to one poll
  • test: the pandas corpus declares the numeric column type and checks that the assertion preserves it
  • test: the HTTP response fixture initializes the fields it declares
astral-sh/ruff-pre-commit

v0.17.6

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/0.17.6

v0.17.5

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/0.17.5

astral-sh/setup-uv

v10.4.0: 🌈 New input require-checksums and bug fixing

Compare Source

Changes

This release adds the new input require-checksums. Its false by default and when you enable it, it will fail the action when no checksum is known for a release. This can happen when you use version: latest and the version of astral-sh/setup-uv that you are running does not bundle the known checksum for the uv version just released. In that case you can always supply the checksum yourself using the checksum input.

It is also a second layer of defense when using version: latest-known


Special thanks to @​yamamoto7 that fixed using PEP440 specifiers in the version and @​zsol for fixing cache-python: true on Windows runners.

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

laurent-laporte-pro/deprecated (deprecated)

v3.0.1

Compare Source

Patch release: preserve the constructor signatures of deprecated classes

Fixed
  • Preserve constructor signatures on deprecated classes, including in Sphinx autodoc,
    instead of displaying the warning wrapper's generic arguments (#​86).
    See PR #​115 (Mirochill).
Other
  • Bump the dev-dependencies group (Dependabot). See PR #​114.
  • Add the social preview image of the repository and document its release steps. See PR #​113.

v3.0.0

Compare Source

Major release: Python 3.12+ modernization

[!WARNING]
This release drops the support of Python 2.7 and of Python 3 versions older than 3.12.
Use Deprecated 1.3.x on these versions: pip keeps resolving to 1.3.x on Python < 3.12.

[!IMPORTANT]
Upgrading from 1.x — the public API (@deprecated, @deprecated_params,
deprecated.sphinx, ClassicAdapter) is unchanged, but check the following points:

  • wrapt >= 1.16 is required (was >= 1.10);
  • deprecated.__date__ and deprecated.classic.string_types are removed;
  • from deprecated import * only exports deprecated and deprecated_params;
  • stacked @deprecated_params decorators emit one warning per deprecated parameter;
  • the warnings of deprecated subclasses now refer to the user code: tests which assert
    the file name or the line number of a warning may need to be updated.

[!NOTE]
There is no 2.x release: the major version 3 was chosen to match Python 3.

Changed
  • Require Python >= 3.12 and wrapt >= 1.16 (first wrapt release supporting Python 3.12).
    See PR #​102.
  • Migrate the packaging from setuptools (setup.py/setup.cfg/MANIFEST.in) to
    pyproject.toml with the Hatchling build backend; the version is read from
    src/deprecated/__init__.py.
  • Adopt the src layout: the package moves to src/deprecated
    (the tests stay in tests and the documentation in docs).
  • Manage the project with uv (uv.lock) and Hatch: tox is dropped and replaced
    by the hatch test matrix.
  • Modernize the Makefile (uv/Hatch based targets, run make help).
  • Replace bump2version by hatch version <major|minor|patch>: the version is only defined
    in src/deprecated/__init__.py, and the git tag is created by GitHub when the release
    is published.
  • Update the Fedora RPM spec file to the %pyproject_* macros.
Removed
  • Remove the inspect2 dependency (it was only used on Python 2). See PR #​102.
  • Remove the Python 2 compatibility constructs (u"" literals, coding cookies,
    class Foo(object), super(Class, self), OrderedDict...). See PR #​102.
  • Remove the undocumented deprecated.classic.string_types compatibility tuple.
    A bytes positional reason is still accepted by @deprecated, as before. See PR #​102.
  • Remove the deprecated.__date__ attribute (the release dates are in the changelog).
    See PR #​102.
Added
  • Add the deprecated.google module: the @deprecated, @versionadded and @versionchanged
    decorators insert a Deprecated:, Version added: or Version changed: section
    in Google style
    docstrings (see the "Google" decorators
    page). See PR #​105.
  • Add the deprecated.numpy module: the @deprecated, @versionadded and @versionchanged
    decorators insert a Deprecated, Version added or Version changed section
    in NumPy style
    docstrings (see the "NumPy" decorators
    page). See PR #​106.
  • Add the ClassicAdapter.warn() method used to emit the deprecation warning
    (can be overridden by custom adapters). See PR #​102.
  • Add Python 3.12 type annotations to the public API and ship the py.typed marker (PEP 561):
    the decorators preserve the signature of the decorated functions and classes. See PR #​102.
  • Add __all__ to the deprecated package: from deprecated import * only exports
    deprecated and deprecated_params. See PR #​102.
Fixed
  • Deprecated functions and methods can now be pickled (by reference, like regular functions),
    so they can be used with multiprocessing and the spawn start method (the default one on
    Windows and macOS), for instance as a Process target or with Pool.map().
    Previously, pickling failed with NotImplementedError: object proxy must define __reduce_ex__()
    (#​16). See PR #​108 and PR #​111
    (a function decorated with @deprecated above @staticmethod could not be pickled).
  • When a deprecated class inherits from a deprecated class, all the deprecation warnings now refer
    to the user code (previously, the warning of the parent class referred to classic.py).
    The warnings are emitted with skip_file_prefixes (Python 3.12+): the frames of this library
    and of wrapt are skipped, whatever the wrapt implementation (C extension or pure Python).
    See PR #​102.
  • Stacked @deprecated_params decorators now emit only one warning for each deprecated
    parameter: the message (and category) of the outermost decorator wins, as documented
    in the tutorial. The warnings refer to the caller. See PR #​102.
Documentation
  • Convert the documentation from reStructuredText to Markdown (MyST), built with Sphinx 9.1
    and MyST-Parser 5.1. The API page remains in reStructuredText (autodoc), and the docstrings
    are still written in reStructuredText. See PR #​103.
  • Convert the root files to plain Markdown, readable on GitHub: CHANGELOG.md,
    CONTRIBUTING.md and LICENSE.md.
  • Declare the documentation dependencies in the docs dependency group of pyproject.toml
    (docs/requirements.txt is removed); ReadTheDocs installs them with uv.
  • Check the documentation build in the CI (make docs-check: warnings are errors).
  • Rewrite the white paper: state of the art of deprecation in Python (warning categories and
    stack level, PEP 702 and the type checkers, the CPython policy, practices of major Open Source
    projects, best practices), and how to combine warnings.deprecated with this library.
    See PR #​104.
  • Remove the ebook, LaTeX, manual page and Texinfo configuration of the documentation (HTML only),
    with the files used by the ebook (cover, title page and blurb).
  • Rework the README: a short presentation, the warning emitted, the options of @deprecated,
    @deprecated_params, and how the library complements warnings.deprecated (PEP 702).
    The "Authors" section now tells who started the library and who maintains it.
  • New logo (a "best before: next major" price tag), shown in the README and on the home page
    of the documentation; it replaces the rusty tools image. See PR #​109.
  • Switch the documentation to the Furo theme, with light, dark
    and automatic (system preference) modes, and the red of the logo as accent color.
    The code is highlighted with the Lovelace (light) and Gruvbox dark (dark) Pygments styles,
    tuned for contrast (WCAG AA). See PR #​110.
  • Add make docs-live to preview the documentation while editing it: the pages are rebuilt
    and the browser is reloaded on each change (sphinx-autobuild, docs-live dependency group).
    See PR #​110.
  • Present the Google and NumPy docstring decorators in the documentation. See PR #​107.
  • Document the release process (docs/source/release.md).
  • Fix the outputs quoted in the tutorial and in the Sphinx page, stale references and typos
    of the documentation and of the docstrings. See PR #​111.
Other
  • Run the CI with uv and Hatch on Python 3.12, 3.13 and 3.14 (Linux, macOS and Windows),
    plus the wrapt compatibility matrix (wrapt 1.16, 1.17 and 2.x on every supported Python)
    and the pure Python implementation of wrapt. See PR #​102 and PR #​111.
  • Add the hatch check code (Ruff lint), hatch check fmt (Ruff format)
    and hatch check types (mypy, strict mode) quality checks. See PR #​102.
  • Add non-regression tests for the behaviours which differ between Python 2 and Python 3,
    and make the test_sphinx_metaclass tests test the Sphinx decorator. See PR #​102.
  • Bump the GitHub Actions versions. See PR #​99.
  • Run CodeQL on the develop and master branches, and add Dependabot version updates
    (GitHub Actions and uv.lock). See PR #​111.
  • Publish the coverage to Coveralls (README badge), and fail the tests below 95% of coverage.
    See PR #​111.
  • Add AGENTS.md and CLAUDE.md: guidance for AI coding agents.
okken/pytest-check (pytest-check)

v3.1.0

Compare Source

Removed
  • Support for Python 3.9
    • pytest now requires 3.10+, so we may as well also
Fixed
  • Release completed thread context wrappers without requiring cyclic garbage
    collection, preserving existing run overrides and cleaning up failed starts (#​217).
  • Keep custom check context messages separate when contexts are nested, saved for later, or used in different threads (#​215).
  • Preserve pytest's source highlighting for assertions that fail after a soft
    check, retaining both failure reports (#​216).
  • check.raises() no longer consumes a generator or other one-shot iterable of
    expected exceptions while validating it (#​214).
  • README: corrected the --maxfail option spelling.
Developer Experience
  • Coverage environment now installs pytest-xdist and measures subprocesses
    (patch = subprocess in .coveragerc), so code paths that only run in
    xdist workers are covered.
python-jsonschema/check-jsonschema

v0.40.0

Compare Source

  • Update vendored schemas: bitbucket-pipelines, buildkite, circle-ci, cloudbuild,
    codecov, compose-spec, dependabot, github-funding, github-workflows, gitlab-ci,
    mergify, renovate, woodpecker-ci (2026-11-27)
  • Added a github-funding schema and pre-commit hook. Thanks :user:pygarap! (:issue:725)
astral-sh/ruff (ruff)

v0.17.6

Compare Source

Released on 2026-11-19.

Preview features
  • [flake8-type-checking] Add a fix for runtime-string-union (TC010) (#​15635)
Bug fixes
  • Fix handling of parenthesized duplicate items (B033, RUF068) (#​30493)
  • [pyflakes] Fix false negative when a name is assigned more than once (F823) (#​30524)
  • [pylint] Avoid false positive when collection is modified in loop (PLR1733, PLR1736) (#​30466)
  • [ruff] Avoid syntax error in useless-finally fix for inline try bodies (RUF072) (#​30349)
  • Treat relative imports from .__future__ as ordinary imports (#​30260)
Rule changes
  • [flake8-simplify] Avoid redundant bool wrappers in SIM208 fixes (#​30457)
  • [pyflakes] Ignore __traceback_hide__ in unused-variable (F841) (#​29600)
Performance
  • Decode in-memory notebooks directly from their source string (#​30385)
  • Short-circuit exact qualified-name checks (#​30058)
  • Stream JSON diagnostics to the output writer (#​30384)
Documentation
  • Fix the multiline string example in Known Deviations from Black (#​30447)
  • Include the category in individual rule documentation pages (#​30503)
Other changes
  • Update Rust toolchain to 1.100 and MSRV to 1.98 (#​30416)
Contributors

v0.17.5

Compare Source

Released on 2026-11-12.

Preview features
  • Redirect renamed rules (#​30081)
  • [flake8-async] Implement pytest-raises-exception-group (ASYNC401) (#​28772)
  • [flake8-logging-format] Mark G004 fix as unsafe (#​30087)
  • [pylint] Implement no-method-argument (PLE0211) (#​29748)
  • [refurb] Do not offer fix when write is nested in an expression (FURB103) (#​29789)
  • [ruff] Add renamed-rule (RUF202) (#​30079)
  • [ruff] Expand redirected-noqa to other suppression comments (RUF101) (#​30078)
Bug fixes
  • Avoid crashing when Ruff logs to a closed stderr pipe (#​30209)
  • Fix fixes that add or remove a keyword argument with a parenthesized value (#​30189)
  • [flake8-import-conventions] Avoid shadowing names when fixing import aliases (ICN001) (#​30035)
  • [flake8-bugbear] Fix B010 autofix for parenthesized setattr calls (#​30168)
  • [flake8-pyi] Fix PYI034 autofix for parenthesized self annotations (#​30173)
  • [pyupgrade] Fix UP031 duplicating closing parentheses around the format string (#​30172)
Rule changes
  • [flake8-bugbear] Ignore frozen dataclass instantiations (B008) (#​29231)
Performance
Other changes
  • Fix FreeBSD source builds with libc 0.2.190 (#​30176)
Contributors
Visual-Regression-Tracker/Visual-Regression-Tracker (visual-regression-tracker)

v6.0.0

Compare Source

VRT 6.0 flags rendering noise, lets you undo a decision and comes with a redesigned UI.

It is also the most secure VRT so far.

[!IMPORTANT]
Upgrading from 5.x? The database moves to PostgreSQL 18.
UI and API are upgraded together.
Read Breaking changes, then follow Upgrade steps.

Highlights

Redesign

A new UI in light and dark, built around your projects.

  • Project page with tabs: Builds, Variations, Statistics, Settings.
  • Run list: filter chips, table or grid, bulk actions, comments at a glance.
  • Run dialog: Side by side, Diff and Fade, plus edit mode for ignore areas.
  • Undo approval and Undo rejection, also from the toast after bulk actions.
  • Favourites: star a project to pin it to the top of the list and the switcher.
  • Statistics: results per build, with a branch filter.
  • Users page: search, role filter, joined date.
  • Dark mode follows your system until you pick one.

The test run dialog in the dark theme

Performance

Image comparison no longer blocks the API.

  • Diffs run in a worker pool, off the event loop.
  • The pool has CPUs − 1 workers (1 to 8) and queues up to 256 jobs.
  • A full queue answers 503 instead of stalling.
  • Three new indexes, built without blocking writes, speed up large projects.
  • Nightly cleanup runs once and ages branches by last use.
Security

Secure by default.

  • JWT_SECRET is required; the public sample key is refused.
  • Live updates need a login and reach only people viewing that project or build.
  • Containers run unprivileged: uid 1000, dinov2 as nobody.
  • REGISTRATION_ENABLED=false turns off sign-up.
  • A leak of approvers' API keys and password hashes is closed (details).
Noise

Review the real changes first.

  • Run Analyse noise from the build menu, the selection bar or a run's noise chip.
  • Each unresolved run gets a verdict: Likely change or Likely noise.
  • It is a hint: it never changes a status and never approves anything.
  • Off by default; switch it on in project Settings → Post-analysis.
  • Stage one is blur, on the API server.
  • Stage two is optional DINOv2: image visualregressiontracker/dinov2, compose profile dinov2.
  • Point the API at it with DINOV2_URL; start it with docker compose --profile dinov2 up -d.

A build with Likely change and Likely noise labels

Upgrade in one sentence

Dump PostgreSQL 12, restore into PostgreSQL 18, set JWT_SECRET, then start 6.0.

Container versions

VRT_UI_VERSION=6.0.0
VRT_API_VERSION=6.0.0
VRT_MIGRATION_VERSION=6.0.0
VRT_DINOV2_VERSION=6.0.0   # optional, profile "dinov2"

New optional settings in .env, commented out with their defaults:

  • REGISTRATION_ENABLED, LOG_LEVEL, MAX_IMAGE_PIXELS, MULTIPART_FILE_SIZE_LIMIT
  • DINOV2_URL and the other DINOV2_*
  • REDIS_URL: needed with more than one API instance, so live updates reach every client

Read by the API but not passed by docker-compose.yml; add them to its api environment:

  • HTTPS_KEY_PATH, HTTPS_CERT_PATH
  • DIFF_WORKER_MAX_HEAP_MB, SERVER_HEADERS_TIMEOUT

See Configuration.

New

Compose and install

  • postgres:18; the api starts after migration has finished.
  • Optional dinov2 service (profile dinov2).
  • vrt-install.sh uses Compose v2 and creates ./imageUploads for uid 1000.
  • User docs live in the wiki, linked from the Help menu.

UI

  • Variations: filters and the baseline history of each screen.
  • Add project page, sectioned project settings, profile page with API key regenerate.
  • Build header shows status counters.
  • Project list: press / to search.
  • Undoing a feature-branch approval restores that branch's ignore areas and comment.

API

  • GET /projects/favorites, PUT|DELETE /projects/:id/favorite
  • POST /test-runs/revert: 204, or 409 if the status changed
  • POST /test-variations/merge: merge branches
  • GET /statistics/results: run counts per build
  • GET /dinov2/status
  • User summaries include createdAt.
  • Bulk approve, reject and delete report the result of each run.

Breaking changes

Install and runtime

  • PostgreSQL 18 cannot read a PostgreSQL 12 data directory: dump and restore once.
  • An external database is not affected; 12 still works but is end of life, so move to 15+.
  • The API and migration run as uid 1000. On Linux, chown ./imageUploads (and mounted TLS files).
  • Without it the API stops with EACCES.
  • The image command is now node dist/main under tini; check it if you override command or entrypoint.
  • JWT_SECRET is required; the API refuses the public sample value.
  • Everyone signs in again once; API keys keep working.
  • UI and API ship together. UI 6.0 needs API 6.0.
  • UI 5.x gets no live updates from API 6.0 and misreads its bulk results.
  • DIFF_WORKERS_COUNT and DIFF_QUEUE_LIMIT are no longer read.
  • Under a CPU quota below the host's CPU count, the worker count cannot be lowered.
  • DIFF_WORKER_MAX_HEAP_MB stays.
  • Docker Compose v2 and Node 26.

Noise

  • Only blur.enabled and dinov2.enabled of noiseAnalysisConfig are read.
  • Other thresholds are constants; old keys are accepted and ignored.

API

  • Errors are 4xx, not 200/500:
    • 400 validation
    • 404 missing
    • 409 conflict
    • 413 too large
    • 422 image over MAX_IMAGE_PIXELS (100 MP)
    • 503 diff queue full
  • Check clients that treat any 2xx as success.
  • Error bodies are { statusCode, path, name, message }.
  • /health returns 503 without the database.
  • Stricter uploads:
    • Non-PNG screenshots get 400.
    • GET /images/:name refuses unexpected names with 400.
    • Multipart uploads are capped at MULTIPART_FILE_SIZE_LIMIT (100 MB).
  • Live updates (socket.io):
    • Send auth: { token } and join the project or build room.
    • testRun_* payloads are TestRunDto.
    • A socket closes when its token expires.
  • Removed endpoints:
    • GET /test-variations/merge: use POST with { projectId, fromBranch, toBranch }.
    • PATCH /builds/:id/approve: use POST /test-runs/approve.
    • POST /ollama/compare; GET /ollama/models stays.
  • PATCH /builds/:id rejects unknown fields.
  • PATCH /test-runs/update/:id accepts only comment; unknown fields are dropped everywhere.
  • Deleting users is all or nothing.
  • The UI logs you out when the server closes the live connection.

Results and database

  • Comparison results can change:
    • The project's comparison config is applied over the defaults.
    • pixelmatch treats different sizes as different.
    • looks-same honours diffTollerancePercent.
    • odiff is 4.5.0.
  • TLS to PostgreSQL only when DATABASE_URL asks (?sslmode=require).
  • sslmode=prefer now means require.
  • pgbouncer, statement_cache_size, socket_timeout, sslidentity, sslpassword are ignored (Prisma 7).
  • SSO: OIDC_REDIRECT_URI must not contain a query string.

Removed

  • The Merge branches panel (the API stays).
  • The guided tour; the Help menu links to the documentation.

Clients

The 6.0.0 SDKs and agents are released for this server. They need newer runtimes; on older ones the latest 5.x releases keep working with 6.0 and handle its statuses and error codes.

Client 6.0 release Runtime Or, on an older runtime Why that 5.x
sdk-js 6.0.0 Node.js 26 5.9.0 sourceBranch; clear 404/409/413/422/503 messages; S3 image URLs
agent-cypress 6.0.0 Node.js 26 5.9.0 sourceBranch / VRT_SOURCEBRANCH
agent-playwright 6.0.0 Node.js 26 5.5.0 sourceBranch / VRT_SOURCEBRANCH
agent-codeceptjs 6.0.0 Node.js 26 5.0.0 sdk-js 5, CodeceptJS 3.7
sdk-java 6.0.0 Java 25 5.6.1 stops builds correctly; branchName from the build
sdk-python 6.0.0 Python 3.15 5.1.0 4.9.0 and earlier crash on autoApproved; Python 3.10+
sdk-dotnet 6.0.0 .NET 10 5.1.0 .NET 10; stops builds correctly; image URLs
  • baselineBranchName never had an effect; use sourceBranch (sdk-js 5.8.0+).
  • Screenshots over BODY_PARSER_JSON_LIMIT (5 MB in .env) get 413.
  • sdk-js and agent-cypress can upload them as multipart.

Security

[!WARNING]
From api 4.16.0 to 5.7.0, GET /test-variations/details/:id leaked approvers' API keys and password hashes.
Any signed-in user, guests included, could read them.
If untrusted users could sign in, change those users' passwords.
Then regenerate their API keys (profile page → Regenerate).

  • GET /images/%2F… no longer redirects to another site.
  • Before 6.0, an editor's API key could rewrite a build's branchName, number, status or projectId.
  • /ollama/* needs an admin or editor login.
  • GET /users/all and role changes no longer return other users' API keys.
  • The Gemini API key is masked in project responses.
  • .env still ships sample DEFAULT_USER_PASSWORD and DEFAULT_USER_API_KEY: change both before exposing VRT.

Fixed

  • Comparison: different sizes, looks-same tolerance, odiff results, project config over defaults.
  • Branches:
    • Editing a feature-branch run no longer changes main's variation.
    • Merging into an older variation works.
    • Variations list in a stable order.
  • Builds:
    • An empty PATCH /builds/:id stops the build again.
    • maxBuildAllowed never removes the reused build.
  • VLM: ignore areas are masked in images sent to the model; stale VLM text is cleared.
  • API:
    • POST /test-runs to a missing project returns 404.
    • A run that cannot be compared is refused before it is stored.
    • OIDC trusts the issuer the provider advertises.
    • dinov2 answers 503 / 413 past DINOV2_MAX_QUEUE / DINOV2_MAX_PIXELS.
  • UI:
    • Bulk actions act only on the selected runs.
    • Ignore areas stay inside the image.
    • Hotkeys and Escape work in the run dialog.
    • Guests no longer see project edit controls.
    • Tag filters search their own field.

Upgrade steps

Run in the VRT folder (Linux, macOS or WSL).

  1. Dump the database with UI and API stopped:
    docker compose stop ui api
    docker compose exec -T postgres sh -c 'pg_dump -U "$POSTGRES_USER" -Fc "$POSTGRES_DB"' > vrt-pg12.dump
    docker compose down && mv db db-pg12
  2. Take .env and docker-compose.yml from this release.
  3. Keep your values; keep the old files for a rollback.
  4. Set JWT_SECRET (openssl rand -hex 32).
  5. Change DEFAULT_USER_PASSWORD and DEFAULT_USER_API_KEY if they are the samples.
  6. Restore into PostgreSQL 18:
    docker compose up -d --wait postgres
    docker compose exec -T postgres sh -c 'pg_restore -U "$POSTGRES_USER" -d "$POSTGRES_DB" --exit-on-error' < vrt-pg12.dump
  7. Linux only: sudo chown -R 1000:1000 ./imageUploads (and your TLS files, if mounted).
  8. Start: docker compose pull && docker compose up -d.
  9. The migration service updates the schema before the API starts.
  10. From 5.5 or later it applies four migrations: three concurrent indexes, then upgrade_to_6_0_0.
  11. Check that docker compose logs migration ends with All migrations have been successfully applied.
  12. Check that the Help menu shows 6.0.0.
  13. Delete ./db-pg12 and vrt-pg12.dump.

Rollback:

  1. docker compose down
  2. mv db db-new && mv db-pg12 db
  3. Restore the old .env and docker-compose.yml.
  4. docker compose up -d

Data written on 6.0 is lost.

If an index build fails (P3009, the migration container keeps restarting)

A cancelled CREATE INDEX CONCURRENTLY (for example a statement_timeout) leaves an invalid index.

  1. Find the invalid index:
    docker compose exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "select indexrelid::regclass from pg_index where not indisvalid"'
  2. Drop it:
    docker compose exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "DROP INDEX CONCURRENTLY \"TestRun_testVariationId_idx\""'
  3. Mark its migration as rolled back:
    docker compose run --rm --entrypoint npx migration \
      prisma migrate resolve --rolled-back 20261024174953_add_test_run_test_variation_index
  4. Run the migrations again: docker compose up -d migration api
Index Migration
TestRun_testVariationId_idx 20261024174953_add_test_run_test_variation_index
Baseline_testVariationId_createdAt_idx 20261024175021_add_baseline_test_variation_index
TestRun_name_baselineName_idx 20261024175038_add_test_run_name_baseline_name_index

PostgreSQL

  • Bundled database: PostgreSQL 18, volume ./db:/var/lib/postgresql.
  • Your own PostgreSQL 12 still works but is end of life; move to 15+.
  • Only the bundled postgres service needs the dump and restore above.

Component releases

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "monthly"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uv.lock
Using CPython 3.15.2 interpreter at: /opt/containerbase/tools/python/3.15.2/bin/python3
error: No solution found when resolving dependencies for split (markers: python_full_version >= '3.12' and python_full_version < '3.15')
  cause: Because the requested Python version (>=3.11, <4) does not satisfy Python>=3.15 and visual-regression-tracker==6.0.0 depends on Python>=3.15, we can conclude that visual-regression-tracker==6.0.0 cannot be used.
         And because only visual-regression-tracker<=6.0.0 is available and your project depends on visual-regression-tracker==6.0.0, we can conclude that your project's requirements are unsatisfiable.

hint: While the active Python version is 3.15, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions using `requires-python`.

hint: The `requires-python` value (>=3.11, <4) includes Python versions that are not supported by your dependencies (e.g., visual-regression-tracker==6.0.0 only supports >=3.15). Consider using a more restrictive `requires-python` value (like >=3.15).

@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e3f7c438-1212-4452-9b69-bbc7b6ed6484

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants