n8n/packages
Uddish Verma 9cbd5cb97b
fix(API): Stop advertising server-managed fields as writable
The generated request spec listed `id`, `active`, `createdAt` and the other
server-managed fields as ordinary properties with empty schemas, because the
generator cannot express a "must be absent" check. Alongside
`additionalProperties: false`, the published contract positively invited callers
to send fields the server always rejects, and an SDK generated from it would
expose them as settable. The hand-written spec marked them `readOnly`.

They are now left out of the request shape, so the spec describes only what a
caller may send. The strict object rejects them as unrecognised keys, and an
error map keeps the specific message rather than letting a read-only field look
like a typo:

    { "id": "abc" }   -> 'id' is a read-only field and cannot be set
    { "nam": "oops" } -> Unrecognized key(s) in object: 'nam'

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 17:10:24 +01:00
..
@n8n fix(API): Stop advertising server-managed fields as writable 2026-08-13 17:10:24 +01:00
cli fix(API): Stop advertising server-managed fields as writable 2026-08-13 17:10:24 +01:00
core feat(core): Commit a poll trigger's cursor and its execution in one transaction (no-changelog) (#35295) 2026-08-11 17:59:29 +00:00
extensions/insights 🚀 Release 2.34.0 (#35487) 2026-08-04 07:14:55 +00:00
frontend feat(ai-builder): Add MCP server as allowed tools in skills (#35969) 2026-08-13 13:15:36 +00:00
modules build(editor): Add the frontend module workspace layout and shared tsconfig base (no-changelog) (#35957) 2026-08-11 08:19:26 +00:00
node-dev
nodes-base feat(Confluence Node): Add Confluence Cloud OAuth2 credential (#35732) 2026-08-13 11:54:01 +00:00
testing fix(editor): Display tool execution data in Agent sessions (#36085) 2026-08-13 12:41:39 +00:00
workflow feat(core): Make n8n User Auth (OAuth2) generally available (#35900) 2026-08-12 11:12:46 +00:00