# Changelog

> Changes to the Shotfly screenshot API, newest first: new parameters, behaviour changes and releases, with dates.

Changes to the Shotfly API and its tools, newest first. API v1 only changes in backward-compatible ways; anything that could affect a client says so here. Dates are UTC.

## 2026-12-01: Consent banners left on screen count as cookie_wall

- `cookie_wall` no longer means only a wall that covers the page. With `block_cookie_banners` on (the default), a consent banner of any size that is still on screen after handling returns `cookie_wall` and is not charged. The error message now says "cookie banner or wall" and suggests `block_cookie_banners=false` to capture the page with its banner. Error codes and HTTP statuses are unchanged.

## 2026-12-01: MCP server

- The MCP server is published as `@shotfly/mcp` 0.1.0 on npm and listed in the official MCP Registry as `dev.shotfly/mcp`. It gives MCP clients a `take_screenshot` tool; see [MCP server](https://shotfly.dev/docs/mcp).

## 2026-11-30: Smaller PNG files

- PNG screenshots and monitor diff images (`diff_image_url`) are smaller. Decoded pixels are identical to before; no parameter changed.
- The PNG encoding itself can differ: fully opaque images no longer carry an alpha channel, and images with at most 256 colours may be 8-bit palette PNGs. Clients that parse PNG files with a hard-coded channel count should read the channel information from the file instead.

## 2026-11-30: Tall WebP captures are cut instead of failing

- A `format=webp` image is at most 16,383 pixels on each side (the WebP encoder limit). Requests whose output exceeded that used to fail; they now succeed with the extra part cut off.
- With `full_page=true` the height cap is the smaller of `full_page_max_height` and 16,383 ÷ `device_scale_factor` CSS pixels, rounded down: 5,461 for `device=iphone_15` (3×), 8,191 at 2× and 16,383 at 1×.
- Elements captured with `selector` are cut at 16,383 pixels too, measured after `thumbnail_width` resizing; content that is too wide is cut on the right.
- PNG and JPEG are unchanged. Use them for full-page images taller than the WebP limit.

## 2026-11-30: Launch: API v1

- Endpoints: `GET` and `POST /v1/screenshot` (synchronous; the file, or metadata and a temporary link with `response_type=json`), `POST /v1/jobs` and `GET /v1/jobs/:id` (asynchronous, results kept 24 hours, optional `webhook_url`), `/v1/monitors`, `/v1/storage-integrations`, `GET /v1/webhook-deliveries`, `GET /v1/usage`, `POST /v1/reports` and `GET /v1/files/:token`.
- Authentication: `Authorization: Bearer sk_…` or `access_key=sk_…`; embeddable signed URLs use `access_key=pk_…` with `signature` and an optional `expires`. See [authentication](https://shotfly.dev/docs/authentication).
- Response headers: `X-Request-Id`, `X-Cache`, `X-Credits-Charged`, `X-Render-Outcome`, `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`.
- Webhook events `screenshot.completed`, `screenshot.failed` and `monitor.changed`, signed with `X-Shotfly-Signature`. See [async jobs](https://shotfly.dev/docs/async-jobs).
- Unknown parameters are rejected with `invalid_params`. A page that redirects or connects to a disallowed address during the render fails the whole request with `url_not_allowed`, produces no screenshot and is not charged.
- Retention: the effective maximum of `cache_ttl` is the current retention for cached screenshots (30 days by default); longer values are shortened to it without an error. Monitor runs older than 90 days return `null` for `screenshot_url` and `diff_image_url`, and archives stored by Shotfly carry a `stored_until` timestamp in `manifest.json`.
- Plan limits follow the active subscription period: when a subscription ends, Free limits apply, and monitors over a lower plan's limits are paused with a `paused_reason`.

---

Source: https://shotfly.dev/changelog · Last updated 2026-12-01
