Skip to content

Tags

Tags

v0.2.13

Toggle v0.2.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
CLI 0.2.13: upload refuses files that would be the same snapshot (nam…

…es drop the extension) before sending anything, naming both; --keep-extension (and keep_extension on a visualci.yml upload) keeps extensions in names; our CI's emails upload uses it, fixing the visual job's 409 on every PR (#45)

v0.2.12

Toggle v0.2.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release: snapshot-diff publishes with crates.io trusted publishing (G…

…itHub OIDC, rust-lang/crates-io-auth-action), with no stored token (#35)

v0.2.11

Toggle v0.2.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
snapshot-diff: a standalone crate for text snapshot diffs (sc-8792) (#20

)

* snapshot-diff 0.1.0 (sc-8792): text, JSON and HTML snapshot normalization, ignore rules, JSON changes by path and unified diffs, moved out of visualci-core into a standalone crate (regex, serde, serde_json, similar; schemars optional) that visualci-core re-exports as snapshot_text; release.yml publishes it to crates.io once per version; workspace 0.2.10

* Workspace 0.2.11 (visualci-core changed after CLI 0.2.10)

v0.2.10

Toggle v0.2.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Always show the snapshot: baseline and this build, for every kind (#7)

* Always show the snapshot: any snapshot can be seen as it was. Unchanged text, JSON and HTML show their content with a No changes badge (it used to say only "No differences"); changed ones get a View switch (Diff, This build, Baseline), added ones show this build and removed ones the baseline. Images and PDF pages gain Baseline and This build views (keys 4 and 5) beside side by side, diff and slider, the old side labelled "Baseline at that time". The snapshot API carries each side's whole normalized text; get_snapshot sends an unchanged snapshot's images (its first pages) and, with images: head, base or all, a text snapshot's whole version

* Snapshot views: the view modes wrap on a phone (no keyboard hints), the new side is "This build", and added and removed text snapshots show their one version

* Text snapshots: the unchanged-snapshot test sends the text the API sends, and a version whose text is missing says so instead of showing one empty line

v0.2.9

Toggle v0.2.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
A change made of other PRs' approved changes says so (sc-8785): two p…

…ull requests that change the same screen and merge separately leave an image neither showed. While processing, a changed snapshot whose every changed region is exactly a region a merged PR's build changed and approved (the same box, the same old and new pixels) points at that build (snapshots.matches_build_id, migration 000038, models::matching): get_build's matches and the build page say 'matches PR #8's approved change'; a hint that approves nothing, and review with only: "matching" (MCP and the web app's 'Approve all matching') approves those. Between merged approvals in a build's history the nearer merge wins, whatever order the webhooks came in. Docs: Agents, design; plugin 0.1.30 (#19)

v0.2.8

Toggle v0.2.8's commit message

Verified

This commit was signed with the committer’s verified signature.
ndbroadbent Nathan Broadbent
Stripe (sc-8735): subscription events apply only if newer than the la…

…st applied (organizations.stripe_event_at, migration 000030) and only to the organization's own subscription, so a late or retried 'active' can't undo a cancellation; a second Team subscription (two checkout tabs) becomes a billing problem, not the plan; checkout refuses while a subscription exists; a purchase's credits are added once per reference by a unique index, even when a reload and its invoice.paid race

v0.2.7

Toggle v0.2.7's commit message

Verified

This commit was signed with the committer’s verified signature.
ndbroadbent Nathan Broadbent
Security (sc-8721), second round: a sign-in's state names the forge i…

…t started at (a state handed to any organization's self-managed GitLab can't finish a GitHub sign-in), and a new identity is linked to the signed-in user only through an explicit link (POST /auth/<forge>/link from the account or org page), never from a followed link; forge calls (self-managed GitLab) go only to public addresses, follow no redirects, and have time and size limits, and an instance's URL must be a name; each GitLab project's hook has its own URL (/webhooks/gitlab/<project>) and acts on that project only (an organization linking the same repository could forge merges into another's); project tokens act as members over MCP (no tokens, settings or members; get_organization without members or other projects); baseline notes (who approved locally, on which machine) only for members; invitations never lower a role; comments can't be changed by non-members, and a deleted person's comment isn't a token's; GitLab fork merge requests name the fork's branch <fork>:<branch> (server and CLI); images decode within size limits and HTML normalizes in linear time; CLI 0.2.7, plugin 0.1.20

v0.2.6

Toggle v0.2.6's commit message

Verified

This commit was signed with the committer’s verified signature.
ndbroadbent Nathan Broadbent
cargo fmt

v0.2.5

Toggle v0.2.5's commit message

Verified

This commit was signed with the committer’s verified signature.
ndbroadbent Nathan Broadbent
CLI 0.2.5: a visualci.yml field the CLI doesn't know says it may be a…

… typo or a field from a newer release, with the CLI's version and how to update (Fleetlayer's CLI 0.2.1 refused gallery with only 'unknown field')

v0.2.4

Toggle v0.2.4's commit message

Verified

This commit was signed with the committer’s verified signature.
ndbroadbent Nathan Broadbent
Public gallery serving (sc-8533): approved default-branch screenshots…

… at stable public URLs, a JSON manifest, Cloudflare caching purged on approval, a credit per image the origin sends; CLI 0.2.3 knows visualci.yml's gallery

- visualci.yml `gallery: {groups: [{name, title?, include: [globs]}]}` (visualci-core; schema regenerated). Nothing is
  public unless a group includes it.
- models::gallery: what's published comes from the newest completed CI build of each suite on the default branch;
  each screenshot's approved state there (what the next default-branch build would compare with) is served, so a
  pending, rejected or branch change never reaches the public URL. CI-environment images only.
- /g/<org>/<project>.json and /g/<org>/<project>/<name>.<ext> on the app host: the stored image as it is, no query
  parameters or variants (404), CORS open, `public, max-age=300, s-maxage=86400`, ETag/304, a per-address rate limit.
  Each 200 image costs its organization one credit (kind `gallery`), recorded even when it's out of credits.
- workers::build_changed queues the forge check and GalleryPurgeWorker, which purges exactly the URLs of the
  screenshots a default-branch build changed, plus the manifest (Cloudflare API, 30 a call); turning a gallery off
  purges everything it published. Without the Cloudflare env vars nothing is purged.
- Project settings list what's public with a switch (gallery_enabled); get_project/update_project too.
- Docs: Public gallery page, visualci.yml and credits references, design.md and deploy.md.