# Gipity changelog

What's new in Gipity, newest first, for you and your coding agent. Each entry names the commands and skills to use. From the CLI, `gipity changelog --newer` shows what changed since you last looked, and `gipity changelog --newer --json` puts it in an agent's context. The same entries are served at https://a.gipity.ai/changelog and https://docs.gipity.ai/changelog.html.

## 2026-11-18: AI services on the status page

Skills: app-function-services

- https://status.gipity.ai has a new AI services component: models, image, video, speech and audio generation. It shows degraded or down when an upstream AI service is failing, so a "provider error" from the LLM or media services can be checked against it.
- A function can `fetch` the same check at `https://a.gipity.ai/health/ai` (GET or HEAD, with `a.gipity.ai` in `fetch_domains`): 200 when every AI service is healthy, 503 with the affected services (`llm`, `embeddings`, `image`, `video`, `speech`, `audio`) when one is degraded.
- Failed image, video, speech, sound, music and transcription calls now appear as error rows in your app's service logs (`gipity logs app --type services`, Monitor), as failed LLM calls already did.

## 2026-11-18: Every write streams, jobs read secrets, failed functions fail the deploy

Skills: app-records, workflow, email, jobs, deploy, app-function-services

- Every committed write to a table declared in the `records` phase now reaches its live stream (`GET /records/<t>/stream`) and fires `record.*` workflow triggers, including a function's raw `db.query()`, a migration or a workflow SQL step. Raw writes still skip validation and the audit history.
- A soft delete (setting the `soft_delete_column`, by any path) streams as `record.deleted`; a rolled-back write never streams.
- Jobs can read secrets: declare them with `secrets: [NAME, ...]` on the job in `gipity.yaml`, and read them from the environment or with `ctx.secrets.get('NAME')` (Python and Node). An undeclared name fails loudly, a declared one that isn't set fails the run before it starts, and secret values are scrubbed from run output, errors and logs.
- A function, job or workflow that fails to register (for example a function with an unknown `services:` name) now fails its deploy phase and the deploy, naming the function and the problem, and `gipity deploy` exits non-zero. It used to report a warning.

Breaking:

- A raw SQL write to a table watched by a `record.*` workflow now fires it. A workflow that updates its own trigger table re-triggers itself (capped at 5 levels): add a `trigger_condition`.
- The `id` of a `record.updated` or `record.deleted` stream event now has the primary key's own type (a number for an integer key), the same as `record.created`, instead of a string.
- A deploy with a function, job or workflow that fails to register is now a failed deploy, and the phases after it are skipped.
- App SQL (a function's `db.query()`, migrations, `gipity db query`) can no longer use `LISTEN`/`NOTIFY`, `pg_notify` or `set_config`, including inside `DO` blocks and function bodies, or set `gipity.*` parameters.

## 2026-11-18: Gipity status page, and functions can health-check Gipity

Skills: getting-started, app-function-services, deploy

- https://status.gipity.ai shows the live health of every Gipity service (API, app hosting, dev environments, Gipity DB, Storage, CDN, Realtime, docs, changelog), checked every minute, with uptime for 24 hours, 7 days and 90 days, a 90-day history, latency, and incident notes. Docs pages link to it in the footer.
- A function can now `fetch` Gipity's public endpoints to check they are up: GET or HEAD to `https://a.gipity.ai/health`, `https://a.gipity.ai/changelog`, `https://rt.gipity.ai/health`, and any path on `app.gipity.ai`, `dev.gipity.ai`, `media.gipity.ai` and `docs.gipity.ai`, with the host listed in `fetch_domains`. So an app can watch its own live site. Every other `*.gipity.ai` URL, and any other method, stays blocked.

## 2026-11-18: page inspect and friends see your private pages

Skills: app-debugging, deploy, app-auth, app-auth-client

- `gipity page inspect`, `page screenshot`, `page eval`, `page test` and `deploy --inspect` now load a private site (gipity.yaml `access: members | app-users`) when your account may view it: you own the app, or you're a project member the `emails` allowlist admits. Works on app.gipity.ai, environments on dev.gipity.ai, and custom domains. No flag needed.
- The report says what happened: a `Private pages:` line, and a `pageAccess` field in `--json` (`{ private: true, granted: true }`). Without access you get the not-found page and `granted: false` with the reason.
- The sign-in client code moved out of the app-auth skill into a new app-auth-client skill (the `Gipity.auth` SDK, popup vs redirect, verifying with `--auth`, the low-level REST flow). app-auth keeps choosing the sign-in mode, the auth gate, private pages and the auth-wall UX.

## 2026-11-18: Private app pages open right after sign-in

- Opening a private app's page before signing in no longer leaves the browser stuck on "not found" for a day. The not-found page is no longer cached by browsers, so the page loads as soon as sign-in sends you back to it.

## 2026-11-18: App sign-in hardening: native sessions, push cleanup, token binding

Skills: app-users, app-auth, app-files

- Signing out one device (`POST /api/<PROJECT_GUID>/auth/signout { refreshToken }`) now voids that device's access token on its very next request, not within the hour. Refresh token reuse does the same. Other devices stay signed in.
- `gipity project users sessions <guid>` shows an app user's native app sessions (device, signed in, last used, expires) and their push devices (web browsers and iOS). `--revoke <ns_...>` ends one session now.
- Deleting an app user (`gipity project users delete`, or the user deleting their own account) and deleting a Gipity account now remove their web push subscriptions and iOS devices, so they get no more notifications.
- An app token works only on its own app: a token minted for one app (or environment) is refused with 403 on every other app's `/api/<guid>/...` routes.
- On the files routes, a Gipity account's session cookie counts as the uploader or a project member only after they signed in to the app (identity consent), the same rule as functions. The owner always counts.
- An app's owner and project members no longer see a consent screen for identity on their own app, so signing in to approve a request for your own app goes straight back to it.
- The passkeys page (https://a.gipity.ai/approvals/passkeys) signs a Gipity account in and comes straight back, instead of asking you to sign in elsewhere and reload.

Breaking:

- Native app access tokens issued before this release stop working once. Apps that refresh on a 401 (as the app-users skill says) recover by themselves; others sign in again.

## 2026-11-18: Sign in to Gipity with a passkey

Skills: getting-started

- Add a sign-in passkey (Face ID, Touch ID, a security key) at https://a.gipity.ai/auth/passkeys, linked from Monitor's Account tab. The login page then offers **Sign in with a passkey** beside the email code.
- Opt in to **require passkey**: an email code (or Google, Apple, Discord) alone no longer signs in. Turning it on signs out your other devices and shows a one-time recovery code; turning it off or removing a sign-in passkey asks for your passkey first; email code + recovery code signs you in if you lose your passkeys and turns the setting off.
- `gipity login` respects it: on an account that requires a passkey it prints a link, you confirm with your passkey in the browser, and the CLI finishes signing in. Agent API tokens (`GIPITY_TOKEN`) are unchanged.
- `gipity account passkeys` lists your sign-in passkeys with fingerprints and shows whether a passkey is required.
- Adding or removing a sign-in passkey, turning "require passkey" off, and using the recovery code each email you.

## 2026-11-18: Gipity GPU images from uploaded photos

Versions: server 9.14.790, CLI 1.1.46

Skills: app-image

- Gipity GPU image models now take photos your users upload: send `images: [{ file_guid }]` with a generation. Reference models (`image_mode: "reference"`) use them like earlier images ("picture 1"); the others (`image_mode: "start"`) redraw the photo from your prompt, with `strength` for how much changes.
- `GET /services/image/models` lists `max_images` and `image_mode` for each model, and every generation reports `from_upload`.
- Images made from uploaded photos are SFW only, and so is anything that uses one of them as a reference.
- `gipity generate image --input <photo>` with a `gipity-*` model uploads the photo to your project and starts from it (new `--strength`) or uses it as a reference; `gipity generate models` shows how each model takes photos.

## 2026-11-18: Passkey approvals sign the summary; fingerprints and key tracking

Versions: server 9.14.789, CLI 1.1.45

Skills: app-approvals, app-api-keys

- A passkey approval now signs the summary and details the approver read, not just the payload and expiry. The challenge format is `gipity-approval:v2`; the app-approvals skill documents it step by step with a complete test vector.
- The approval API returns `summary`, `details` and `summaryHash`, so a device can recompute the challenge itself.
- Every passkey has a fingerprint (first 16 hex characters of its RFC 7638 thumbprint), shown on https://a.gipity.ai/approvals/passkeys, by `gipity approval passkeys` and `gipity approval show`, and by `key_fingerprint()` in the Python device client. Compare it before a device pins a key.
- Adding or removing a passkey emails the person it belongs to.
- The approve page shows the full payload open, not collapsed.
- `gipity key list` shows the IP address each API key was last used from.

Breaking:

- Approvals signed before this change no longer verify with the updated `gipity approval verify` or Python client. Update both (`gipity update`, and pull the latest `gipity_device`) and request a new approval.

## 2026-11-18: Sign-in codes and unsubscribe links fix

Versions: server 9.14.786

- A sign-in code or an email unsubscribe link with non-ASCII characters in it is now simply rejected as wrong, instead of causing a server error.

## 2026-11-18: Python client for devices and scripts

Versions: server 9.14.785, CLI 1.1.42

Skills: app-api-keys, app-records, app-approvals

- `gipity_device` is a Python client for a Raspberry Pi, a box behind NAT or a cron job: `pip install` it from https://github.com/GipityAI/registry/tree/main/examples/python.
- `Client(app_guid, api_key)` gives you `fn.call`, `records.get/list/create`, `subscribe` (a Records change stream that resumes after drops and restarts), `upload` (any size, streamed) and `verify_approval` / `consume_approval` for passkey approvals.
- `gipity key create --approvals read` makes a key that can read and consume passkey approvals, and Bearer keys now work on the approvals routes.

## 2026-11-18: Save an app with its database rows

Versions: server 9.14.785, CLI 1.1.42

Skills: app-import

- `gipity save --with-data` adds every table's rows from the prod database to the `.gip` bundle (owner only, up to 250 MB of rows).
- `gipity load` restores those rows in one transaction, in foreign key order, and moves sequences past the loaded ids. Append-only tables load too.
- `gipity env create --data` and `gipity env reset --data` now work on apps with append-only tables.

## 2026-11-18: Push notifications for native iOS apps

Versions: server 9.14.783, CLI 1.1.41

Skills: app-notify

- The same `notify()` call now reaches native iOS apps through Apple Push (APNs) as well as browsers.
- Bring your Apple key once with `gipity notify apns set --team-id <team> --key-id <key>`; Gipity handles the connection, retries and dead device cleanup.
- Native apps register a signed-in app user's device with the app API; `badge` and `data` fields carry the icon badge and a small payload.

## 2026-11-18: Private app pages

Versions: server 9.14.783, CLI 1.1.41

Skills: deploy, app-users

- A top-level `access:` block in `gipity.yaml` makes every page and file of a deployed site private: `mode: members` (you and project members) or `mode: app-users` (people signed in to the app).
- `emails:` narrows it to known people or a whole domain, and `environments:` locks only some environments (for example a private `dev`).
- `gipity deploy` and `gipity status` print a `Pages:` line when a site is private. `gipity page inspect` loads pages signed out, so it sees the not-found page on a private site.

## 2026-11-18: Deploys go to prod or a named environment

Versions: server 9.14.782, CLI 1.1.41

Skills: deploy

- Every deploy now goes to prod or to one named environment; the old dev/prod deploy target is gone.
- Deploy results report `env` (prod or the environment's name), `appGuid` (the environment's own app id) and `created` (true when the deploy created the environment).
- Monitor shows the deploy state of prod and of each environment.

Breaking:

- The deploy API no longer accepts `target`, and `gipity deploy --json` reports `env` instead of `target`. Scripts that read `target` should read `env`.

## 2026-11-18: Passkey-signed approvals

Versions: server 9.14.782, CLI 1.1.41

Skills: app-approvals

- Ask one person to approve one exact action with their passkey (Face ID, Touch ID, a security key): add `services: ['approval']` to a function and call `approval.request({ summary, payload, approver })`.
- The approver gets a push (or an email) linking to a Gipity-hosted approve page. The approval is short-lived, single-use and carries a passkey signature.
- Anything outside Gipity can check it: `GET /api/<app>/approvals/<id>` with an API key, then consume it once before acting.
- `gipity approval show <id>`, `gipity approval passkeys` and `gipity approval verify <id>` (checks the signature offline, the way a device would).

## 2026-11-18: Native Sign in with Apple and refresh tokens

Versions: server 9.14.781, CLI 1.1.40

Skills: app-users, steam-game

- iOS apps sign users in with Sign in with Apple: `POST /api/<app>/auth/apple` with the identity token. Set it up with `gipity project auth provider apple --bundle-id <id>` plus your Apple key.
- Native sign-ins (Apple, Steam, guest, email code) return a 1 hour access token and a 60-day refresh token. `POST /api/<app>/auth/refresh` swaps the refresh token for a new pair.
- `POST /api/<app>/auth/signout` signs out one device; add `?everywhere=1` for every device. `gipity project users signout <guid>` does it from the owner's side.

Breaking:

- Native sign-in responses return `accessToken` and `refreshToken` (with expiry times) instead of `token`. Update native clients to store both and refresh before the access token expires.
- Web sign-in no longer hands tokens to page JavaScript; web apps use the session the sign-in page sets.

## 2026-11-18: Records live stream never misses an event

Versions: server 9.14.781, CLI 1.1.39

Skills: app-records

- Every stream event has an id. Reconnect with `Last-Event-ID` (a browser `EventSource` does it for you) and missed events from the last 24 hours replay in order, with no gaps or duplicates.
- `event: reset` means the gap is too old: reload the table, then keep reading.
- A heartbeat every 15 seconds shows the connection is alive, and rows over 64 KB arrive as `record_omitted` so you fetch them by id instead of losing them.
- The stream now applies the table's row conditions and column rules, so each caller only sees the rows and columns it is allowed to read.

## 2026-11-18: Append-only Records tables and history export

Versions: server 9.14.781, CLI 1.1.39

Skills: app-records

- `append_only: true` on a Records table (or `gipity records config <table> --append-only`) allows inserts only, for everyone, enforced by the database itself. Use it for command logs, ledgers and audit trails. It can't be turned off.
- `gipity records history <table> --jsonl` downloads the table's whole audit history as JSON Lines.

## 2026-11-18: Read a file's bytes in a function

Versions: server 9.14.781, CLI 1.1.39

Skills: app-files-storage

- `storage.read(fileGuid, { encoding })` returns one of your app's files from inside a function, as bytes or a string (up to 20 MB). Use it to parse an uploaded CSV or JSON or hash a firmware image.

## 2026-11-18: Realtime for devices with an API key

Versions: server 9.14.781, CLI 1.1.39

Skills: app-realtime, app-api-keys

- A device or server with no browser can join Gipity Realtime: `POST /api/<app>/realtime/ticket` with a project API key. It joins as the user who created the key.

## 2026-11-18: Scoped API keys

Versions: server 9.14.781, CLI 1.1.39

Skills: app-api-keys

- `gipity key create` takes scopes for keys that live on devices: `--functions a,b`, `--tables t:read,u:write`, `--files read|write` and `--ip <addr/range>`. A leaked scoped key can only do its one job.
- Send a key as `X-Api-Key` or `Authorization: Bearer <key>`.
- Each key has its own rate limit, separate from other keys and signed-in users.

Breaking:

- A key works only on the app (and environment) it was created for. Using it on another app, even your own, now returns 403.
- Changing table settings (`PATCH /records/<table>/config`) needs an owner key with no scopes.

## 2026-11-18: Private files and approval links locked down

Versions: server 9.14.781, CLI 1.1.39

Skills: app-files-display, workflow

- Private uploads are readable only by the uploader, the app owner and members, and the app's own API keys. Share one with others through the URL `Gipity.fileUrl` or `storage.fileUrl` returns.
- Workflow approval emails open a confirm page, so mail scanners that open links can't approve anything.
- `.gip` bundles no longer include users' uploads.

Breaking:

- A private upload can no longer be read by its guid alone.
- Approving or denying from a workflow approval email now needs you signed in to Gipity as the workflow's owner and pressing the button on the confirm page.

## 2026-11-18: Email the app owner, faster page eval, deploy cleanup

Versions: server 9.14.782, CLI 1.1.39

Skills: email, workflow, app-function-services, app-debugging, deploy

- To email yourself when something happens in your app, send to `to: 'owner'` from a function's `email()`, or `to: owner` in a workflow notify step. Gipity sends it to the app owner's address, and that address never reaches your code. `gipity email test owner` checks it.
- `gipity secrets get NAME` now says that secret values can't be read back, shows the last few characters, and shows how to keep a copy when you set one. Only a function can read a value, with `secrets.get`.
- `gipity page eval` and `gipity page screenshot` are much faster on busy pages like games and camera apps. `--timeout` is now a real limit, a script that never ran reports a timeout instead of "(empty result)", and every result shows how long each step took (`timing` in `--json`).
- The `app-itsm` app no longer lets anyone with its URL change data. Its automation functions are `auth: member` and its workflows run on the current step format. Reinstall it with `gipity add app-itsm --force` to pick this up.
- Monitor's Projects tab now reads the current deploy data. Monitors nobody has edited were updated automatically.

Breaking:

- The deploy API no longer accepts the old `{ target }` request that CLIs sent before app environments existed. Run `gipity update` if a deploy fails with a 400.
