npm · npm:@sanity/codegen
@sanity/codegen active
Codegen toolkit for Sanity.io
The latest stable version of @sanity/codegen is 8.3.1, published on 2026-11-11. Verified by Vigia on 2026-11-12.
| Latest stable version | 8.3.1 |
|---|---|
| Published | 2026-11-11 23:41:34 UTC |
| Install | npm install @sanity/codegen@latest |
| Requires (engines) | {"node":">=22.12"} |
| Peer dependencies | oxfmt * |
| Dist-tags | gdr: 3.79.1-gdr.75 mcp: 3.78.2-mcp.9 ui3: 3.95.1-ui3.25.95f33c4bf6 cops: 3.65.2-cops.39 next: 5.7.0-next.21 corel: 3.74.2-corel.18 mmm-c: 3.45.1-mmm-c.139 canary: 6.0.3-canary.0 coreui: 3.74.2-coreui.20 latest: 8.3.1 stable: 5.1.0 v3-esm: 3.36.5-v3-esm.81 mmm-can: 3.45.1-mmm-can.140 sdk-265: 3.80.2-sdk-265.17 sdk-295: 3.81.1-sdk-295.36 pangolin: 3.80.2-pangolin.60 sdx-1339: 3.42.2-sdx-1339.35 search24: 3.64.4-search24.53 manifests: 3.62.1-manifests.36 node-test: 4.0.0-0 sapp-2511: 3.80.2-sapp-2511.2 sapp-2525: 3.80.2-sapp-2525.10 content-os: 3.67.2-content-os.38 mmm-canary: 3.45.1-mmm-canary.140 next-major: 5.0.0-next-major.20251216134019 watch-mode: 5.9.0-watch-mode.2 styled-fork: 3.53.1-styled-fork.4 bitter-lemon: 3.99.1-bitter-lemon.5 cds-unstable: 3.37.3-cds-unstable.27 cli-validate: 3.71.3-cli-validate.41 mmm-canary-2: 3.45.1-mmm-canary-2.139 presentation: 3.39.1-presentation.16 asset-library: 3.78.1-asset-library.60 media-library: 3.88.4-media-library.21 use-lodash-es: 3.42.1-use-lodash-es.1 bump-pkg-utils: 4.1.1-bump-pkg-utils.6 copy-arrayitem: 3.53.1-copy-arrayitem.11 maintenance-v4: 4.22.1 react-compiler: 3.64.2-react-compiler.0 create-unstable: 3.43.1-create-unstable.45 export-comments: 3.70.1-export-comments.45 ref-focus-repro: 3.54.1-ref-focus-repro.4 upgrade-vite-v5: 3.66.2-upgrade-vite-v5.30 upgrade-vite-v6: 3.71.2-upgrade-vite-v6.11 after-pane-break: 3.41.3-after-pane-break.10 update-pkg-utils: 3.52.3-update-pkg-utils.17 before-pane-break: 3.41.3-before-pane-break.11 remove-guard-test: 3.95.1-remove-guard-test.59.c91871d65a memoized-form-state: 3.57.4-memoized-form-state.18 rita-prerelease-ref: 4.1.2-rita-prerelease-ref.28 server-side-schemas: 3.77.3-server-side-schemas.41 initial-values-deopt: 3.80.2-initial-values-deopt.14 use-live-content-api: 3.72.2-use-live-content-api.9 detect-context-errors: 3.50.1-detect-context-errors.12 server-side-schemas-1: 3.72.2-server-side-schemas-1.19 fix-babel-traverse-bug: 4.20.2-fix-babel-traverse-bug.2.03a7495fed fix-circular-reference: 3.41.3-fix-circular-reference.33 add-input-error-boundary: 3.45.1-add-input-error-boundary.14 corel-presentation-lcapi: 3.59.2-corel-presentation-lcapi.562 release-duplicate-action: 3.80.2-release-duplicate-action.44 4.2.0-rita-prerelease-tag.0: 4.1.2-4.2.0-rita-prerelease-tag.0.28 interruptible-initial-values: 3.80.2-interruptible-initial-values.18 fix-tsa-expression-not-allowed: 4.20.2-fix-tsa-expression-not-allowed.2.5e90622c2d typegen-experimental-2025-04-23: 3.88.1-typegen-experimental.0 corel-fix-presentation-perspective-switching: 3.59.2-corel-fix-presentation-perspective-switching.536 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 01:09:50 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "@sanity/codegen", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/@sanity/codegen . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-11 23:41:34 UTC · 0 days ago |
| Stable releases in the last 12 months | 49 |
| Published versions | 2189 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
8.3.1 | 2026-11-11 23:41:34 UTC |
8.3.0 | 2026-10-22 22:26:19 UTC |
8.2.0 | 2026-10-07 20:23:01 UTC |
8.1.1 | 2026-09-28 18:03:52 UTC |
8.1.0 | 2026-09-03 08:35:35 UTC |
4.22.1 | 2026-08-19 13:34:06 UTC |
8.0.0 | 2026-07-27 19:45:56 UTC |
7.0.3 | 2026-06-15 12:03:21 UTC |
7.0.2 | 2026-06-11 12:17:04 UTC |
7.0.1 | 2026-06-04 15:41:20 UTC |
7.0.0 | 2026-06-04 14:05:05 UTC |
6.1.2 | 2026-06-04 12:51:42 UTC |
6.1.1 | 2026-05-27 06:35:55 UTC |
6.1.0 | 2026-05-08 08:43:43 UTC |
6.0.3 | 2026-04-30 15:38:16 UTC |
6.0.2 | 2026-03-31 15:09:05 UTC |
6.0.1 | 2026-03-13 06:59:00 UTC |
6.0.0 | 2026-03-10 18:51:57 UTC |
5.10.1 | 2026-02-24 17:39:43 UTC |
5.10.0 | 2026-02-23 08:47:26 UTC |
Showing the 20 most recent of 198 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | none |
node 18 | 3.99.0 |
node 20 | 7.0.3 |
node 22 | 8.3.1 |
node 24 | 8.3.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of @sanity/codegen?
The latest stable version of @sanity/codegen is 8.3.1, published on 2026-11-11. Verified by Vigia on 2026-11-12.
How do I install the latest version of @sanity/codegen?
Run npm install @sanity/codegen@latest. The latest stable version is 8.3.1 (verified 2026-11-12).
Is @sanity/codegen deprecated?
No. @sanity/codegen is not marked as deprecated in the registry.
Which Node.js version does @sanity/codegen require?
@sanity/codegen 8.3.1 declares this requirement: {"node":">=22.12"}.
Does @sanity/codegen 8.3.1 have known vulnerabilities?
No known advisories affect @sanity/codegen 8.3.1 according to the data Vigia checks.
Is @sanity/codegen still maintained?
@sanity/codegen published 49 stable releases in the last 12 months; the most recent was 0 days ago. Activity: active.
Observed changes
- hu Nov 12 2026 01:09:50 GMT+0000 (Coordinated Universal Time) — released 8.3.0 → 8.3.1
- Fri Oct 23 2026 00:11:40 GM +0000 (Coordinated Universal Time) — released 8.2.0 → 8.3.0
Related packages
- @types/vimeo__player
- @types/react-lottie
- get-object
- rxjs-report-usage
- @libsql/client
- html-validate
- @chakra-ui/tooltip
- accessor-fn
- airtable
- @workflow/sveltekit
- domify
- glsl-token-descope
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@sanity/codegen) [](https://vigia.coredls.cloud/npm/@sanity/codegen) [](https://vigia.coredls.cloud/npm/@sanity/codegen)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@sanity/codegen
GET https://vigia.coredls.cloud/v1/packages/npm/@sanity/codegen/versions/{version}