Skip to content

Features by Version ​

What each release added, with links to the documentation. Fixes and internal changes are in the changelog. New features are opt-in, and an application that changes nothing keeps its behaviour; 3.0 also changes a few defaults, each with a way back — see the migration guide.

3.2 — field names ​

Changed default

  • Field names that start with $ (any depth) or contain . at the top level are refused with 400 in inserts, replaces, imports and the stored values of updates; way back DOCUMENTS_CHECK_FIELD_NAMES=false or checkFieldNames: false per declaration

3.2.1 (fixes)

3.1 — consumer findings ​

3.1.1 (fixes)

  • Acting for a user: the history routes, withDeleted, copy / clear and the bucket files collections are decided by the user acted for; audit records carry actedBy
  • Uploads keep UTF-8 file names of the multipart part (and a " sent as %22)

3.1.2 (fixes)

3.0 — security, auth flows, events, AI ​

Changed defaults (migration guide)

Auth (all opt-in)

Events

  • Job queue: one-off jobs with retries, dead letters, dedupe, exactly-once claim across instances
  • Webhooks of document events: HMAC-signed, retried, delivery log, SSRF guard
  • Transactional outbox: events of transactions are committed with the writes

AI

  • Embeddings kept in sync through the queue, mongocamp embed
  • MCP endpoint for AI clients, with the rights of a user

Developer experience

  • Hooks in the declaration typed by the schema; global MongocampDocument<'orders'> and MongocampExpanded<'orders', 'customerId'>; _id in the declared types
  • One error type (MongocampRequestError) for every call; replace / patch names
  • Long filters in request bodies ($lucene, automatic in find), _id prefixes as index ranges
  • Response compression (RESPONSE_COMPRESSION) and about a third faster large reads
  • A Playwright browser suite in CI, contract coverage of the main server

2.11 — schema evolution, files, operations ​

Schema evolution and content

  • Migrations in server/mongocamp/migrations/: run once per database, in order, at the start; a lock across instances; MIGRATIONS_ON_START; mongocamp migrate; GET /system/migrations
  • Seeds: idempotent upserts by key, typed by the declaration; SEED_ON_START in development
  • Restore a document from its audit history (restoreVersion)
  • drafts behaviour: published state and working copy, publish / unpublish / discard-draft, drafts=true for editors

Files

Operations

2.10 — access rules, data API, developer tooling ​

2.8 — configuration insight and runtimes ​

2.7 — acting for users ​

  • Acting for a user (X-AUTH-ACT-AS)
  • timestamps.preserveOnInsert and owner.preserveOnInsert for imports and restores by administrators (behaviours)

2.6 — references, limits, client entry ​

2.5 — hardening ​

2.4 — indexes, relations, server collection ​

2.3 — declared collections, behaviours, live updates ​

2.2 — Nitro plugins ​

2.1 — jobs and wide events ​

2.0 — the Nitro server ​

The MongoCamp server in TypeScript, embedded in Nuxt or standalone, with the API of the Scala server and these changes (migration guide):

1.x ​

The Nuxt module as a client of the Scala server (migration from Scala).

Released under the MIT License.