> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gatojs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Release notes

> What changed in GatoJS releases and how to upgrade a project: kit format 12 and gato-cli 0.19.0, the split server registry, agent skills links, organization timezone, the breaking change to GatoJS file protection, the legal module and installer port handling.

Every kit version has a tag and a GitHub Release with the full list of commits ([Releases](https://docs.gatojs.com/contributing/releases.md)). This page summarizes the changes that affect projects and says what to do when you upgrade. Move a project to a newer kit version with [`gato update`](https://docs.gatojs.com/cli/update).

## Kit 0.44.0 to 0.56.0, gato-cli 0.19.0, create-gato-app 0.3.18

> [!WARNING]
>
> **Kit format 12 needs `gato-cli` 0.19.0.** Kit 0.49.0 and later use kit format 12. `gato-cli` 0.16.0 and older stop on it with `This project uses kit format 12`. New projects get a matching CLI from `create-gato-app` 0.3.18. For an existing project, run the update with the latest CLI, as shown below.

### Upgrade

Before you update, check `package.json` for a script named `verify:modules` that you wrote yourself. The name is reserved: `gato generate`, which the update runs, removes that script when no module declares `verify` and overwrites it when one does. Rename your script first. To keep the check in your verification, declare `verify` in the manifest of a project module (`projectModules` in `.wa/kit.json`, which the update does not rewrite), or run the renamed script yourself, for example in CI. The manifest of an installed kit module can be replaced by the update ([Kit state](https://docs.gatojs.com/cli/kit-json.md)).

```bash theme={null}
npx gato-cli@latest update 0.56.0 --dry-run
npx gato-cli@latest update 0.56.0
npm run wa -- generate
npm run wa -- doctor --files
npm run verify
```

After the update, check these:

* **Generated files change.** The server registry moves to the new file `src/server-registry.generated.ts`, and `src/modules.generated.ts` re-exports it. Your own imports from `@/modules.generated` keep working. Commit the regenerated files ([Module registry](https://docs.gatojs.com/concepts/module-registry.md)).
* **Tests that mock the registry for core code.** Mock `@/server-registry.generated`. Mocking only `@/modules.generated` no longer affects the core ([Domain events](https://docs.gatojs.com/guides/domain-events.md#testing)).
* **Skills.** Project skills live in `.agents/skills/` and are named `gato-*`. Claude Code reads generated links in `.claude/skills/`, which are git-ignored. A real folder in `.claude/skills/` is never overwritten; the link step warns about it ([Project skills](https://docs.gatojs.com/guides/ai-agents.md#project-skills)).

> [!NOTE]
>
> `gato-cli` 0.17.0 and 0.18.0, and `create-gato-app` 0.3.16 and 0.3.17, were never published to npm. Their changes are in `gato-cli` 0.19.0 and `create-gato-app` 0.3.18. `create-gato-app` 0.3.18 differs from 0.3.15 only in the `gato-cli` version it pins.

### New

* **`gato skills link`** (`gato-cli` 0.17.0). Links each `.agents/skills/<name>` folder that has a `SKILL.md` into `.claude/skills/<name>`: a relative symlink, and a junction on Windows. `gato generate` and the `postinstall` step run it too ([`gato skills link`](https://docs.gatojs.com/cli/overview#gato-skills-link)).
* **A split server registry** (`gato-cli` 0.18.0, kit format 12). `gato generate` writes `src/modules.data.generated.ts`, `src/server-registry.generated.ts`, `src/modules.generated.ts` and `src/modules.client.generated.ts`. The server registry has no Next.js or React imports, so a separate worker process can load it ([Module registry](https://docs.gatojs.com/concepts/module-registry.md)).
* **`jobs.ts` and `job-runtime.ts` in the registry** (`gato-cli` 0.18.0). The generator finds them and exports `moduleJobs`, `moduleSchedules` and `jobRuntimes`. The extension points catalog gets `jobs` and `schedules` ([Extension points catalog](https://docs.gatojs.com/concepts/extension-points.md)).
* **Module scripts and `verify`** (`gato-cli` 0.18.0). A manifest can declare `scripts`, which `gato generate` adds to `package.json`, and `verify`, which joins into the script `verify:modules`. `gato remove` deletes a module's scripts ([Kit state](https://docs.gatojs.com/cli/kit-json.md), [`gato generate`](https://docs.gatojs.com/cli/generate)).
* **`gatoConfig` from the server registry** (`gato-cli` 0.19.0). `src/server-registry.generated.ts` exports the project's `gato.config`, or an empty one when `src/gato.config.ts` does not exist.
* **Organization timezone** (kit 0.54.0). Every organization has a timezone, set on the organization settings page ([Organizations](https://docs.gatojs.com/concepts/organizations.md)).
* **`timezone` and `schedules` in `gato.config.ts`** (kit 0.50.0). A project-wide timezone and per-schedule overrides, with the cron rules described in [Project configuration](https://docs.gatojs.com/configuration/project-configuration.md).
* **`organizations.deleted` event** (kit 0.46.0). Emitted after a successful organization delete ([Domain events](https://docs.gatojs.com/guides/domain-events.md)).
* **The `jobs` module, experimental** (kit 0.52.0, extended up to 0.56.0). Jobs and schedules on BullMQ and Redis, with a transactional outbox, a consumer, the `jobs.failed` event and the purge of a deleted organization's queued jobs. The standalone worker process is not shipped yet, so enqueued jobs wait in the outbox ([Jobs](https://docs.gatojs.com/modules/jobs.md)).

### Good to know

* **`create-gato-app` downloads the highest kit tag.** `create-gato-app@latest` now creates projects on kit 0.56.0. Use `--kit-version <x.y.z>` to pin another one.
* **Schedules cron validation is stricter.** A cron expression with overlapping items in one field, such as `*,*` or `0,7` for the day of week, or a day and month that never occur together, such as `0 0 31 2 *`, is rejected when the job registry is built.

## Kit 0.40.0 to 0.43.1, gato-cli 0.16.0, create-gato-app 0.3.15

> [!WARNING]
>
> **Breaking: GatoJS file protection now blocks.** From kit 0.40.0 (core 0.36.0) and `gato-cli` 0.16.0, `npm run verify` fails when a GatoJS file is modified or deleted without an `ejected` entry, or when an `ejected` entry is stale. In Claude Code, the `protect-gato-files` hook blocks an agent's edit of such a file (exit code 2). Before, both only warned.

### Upgrade

```bash theme={null}
npx gato update 0.43.1 --dry-run
npx gato update 0.43.1
npm run wa -- doctor --files
```

For each `modified` or `deleted` line, do one of these:

* **Use an extension point.** Move the change into a project file through a key from `EXTENSION_POINTS.md` ([Extension points catalog](https://docs.gatojs.com/concepts/extension-points.md)), then restore the GatoJS file with `npm run wa -- eject --undo <file>` (or `git checkout HEAD -- <file>` while the last commit still has the kit's version).
* **Keep the change.** Record why: `npm run wa -- eject <file> --reason "<why>"` ([`gato eject`](https://docs.gatojs.com/cli/eject)).

For a `stale` line, remove the entry from `ejected` in `.wa/kit.json`. Then run `npm run verify`.

Project modules, `managed` and `seed` files, and new files inside GatoJS directories are not affected. See [`gato doctor`](https://docs.gatojs.com/cli/doctor#exit-code) and [Working with the kit](https://docs.gatojs.com/guides/working-with-the-kit.md#gatojs-files-and-project-files).

> [!NOTE]
>
> `gato-cli` 0.15.0 and `create-gato-app` 0.3.13 and 0.3.14 were never published to npm. The changes they carry are in `gato-cli` 0.16.0 and `create-gato-app` 0.3.15.

### New

* **The `legal` module** (kit 0.42.0). Public `/terms` and `/privacy` pages with template content you own as seed files, and a cookie consent banner that appears only when you declare optional cookies, with a client API (`ConsentGate`, `useCookieConsent`, `hasConsent`, `onConsentChange`, `openCookieSettings`). Add it with `npx gato add legal` ([Legal pages](https://docs.gatojs.com/modules/legal.md)).
* **Three core slots** (kit 0.42.0): `app.root` at the end of every page, `auth.footer` under the sign-in, sign-up and password pages, and `app.sidebar.footer` under the sidebar user menu. All three are `experimental` ([UI slots](https://docs.gatojs.com/guides/ui-slots.md#available-slots)).
* **`gato remove` lists kept seed files** (`gato-cli` 0.16.0): `Kept seed files of <module> (yours, edit or delete them):` ([`gato remove`](https://docs.gatojs.com/cli/remove#seed-files-stay)).
* **The installer moves busy Docker ports** (`create-gato-app` 0.3.15). A busy database, mailpit or MinIO port moves to the next free one, and `.env` is updated ([Busy ports](https://docs.gatojs.com/installation.md#busy-ports-in-create-gato-app)).
* **Tests use the moved ports** (kit 0.41.1). `npm run test:integration` and `npm run test:e2e` read `DB_PORT`, `MAILPIT_UI_PORT`, `MAILPIT_SMTP_PORT` and `MINIO_PORT` from the shell, `.env.local` or `.env` ([Testing](https://docs.gatojs.com/guides/testing.md)).
* **Home and not-found pages** (kit 0.41.1). `/` redirects to `/dashboard`, and unknown addresses show a localized "Page not found" page ([Home and not-found pages](https://docs.gatojs.com/concepts/core-features.md#home-and-not-found-pages)).
* **Editable account name** (kit 0.43.0). The account page has a form to change the display name. It emits no domain event and writes no audit entry, because the name belongs to the user, not to an organization ([`account`](https://docs.gatojs.com/concepts/core-features#account)).
* **Shared `PageHeader`** (kit 0.43.0) on the dashboard, account, users, members, API keys and audit log pages ([Shared parts](https://docs.gatojs.com/concepts/core-features.md#shared-parts)).

### Fixed

* **Membership events name the person who acted** (kit 0.41.0). An admin invite no longer writes a phantom "invitation accepted" audit entry for the invitee. A sign-up with an invitation now emits `users.invitation-accepted` and `organizations.member-added`; an admin invite and `npm run admin:create` emit `organizations.member-added` too. A subscriber of `organizations.member-added` now sees more members: filter by `actorUserId` if you need the narrower set. Phantom entries written by earlier versions stay in the audit log ([Domain events](https://docs.gatojs.com/guides/domain-events.md#core-events)).

### Good to know

* **Open the app at the `APP_URL` origin.** Signing in from `127.0.0.1` while `APP_URL` says `localhost` fails with `INVALID_ORIGIN` and looks like a redirect loop. It is not a bug ([Installation](https://docs.gatojs.com/installation.md#open-the-app-at-the-configured-origin)).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.