> This page location: /docs.md > /docs/development.md

> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

# Release Notes

These release notes cover `mongot` changes for Community and Enterprise Edition self-managed deployments. Atlas-managed deployments are excluded. Use the **MongoDB Search Platform
Edition** selector to show release notes for Community Edition or Enterprise Edition deployments.

## mongot v1.79.1

**Release date**: November 18, 2026

Community Edition didn't release `mongot` v1.79.0. It moved directly from v1.78.0 to v1.79.1. These release notes therefore cover changes from **both v1.79.0 and v1.79.1**.

### New Features and Improvements

- **Server ID and name in logs and FTDC.** `mongot` now includes its server ID, and its server name if you configure one, in JSON log lines and in full time diagnostic data capture (FTDC) metadata, so you can tell `mongot` instances apart. *Introduced in v1.79.0.*

- **Crash log for initial sync timeouts.** `mongot` now writes a crash log when initial sync times out. *Introduced in v1.79.0.*

### Bug Fixes

- **Mitigation for CVE-2026-114938.** The bundled `mongot` launcher now starts the Java runtime with `-XX:-UseBASE64Intrinsics`, which disables the affected Base64 decoder. The flag is applied after any `--jvm-flags` value that you supply, so a custom Java option cannot re-enable the affected code path. This release does not change the bundled JDK version. A patched Java runtime is planned for a later `mongot` release. For the security notice, see [MongoDB Security Bulletins](https://www.mongodb.com/resources/products/alerts/). *Mitigated in v1.79.1.*

- **Distrusted root certificates in the bundled JDK trust store.** The bundled JDK uses its own trust store, so operating system distrust of compromised root certificates didn't apply to `mongot`. The `AAA Certificate Services` and `emSign ECC Root CA - G3` root certificates are now removed from the bundled trust store. *Fixed in v1.79.0.*

- **Unclear error for text queries on regular vector fields.** A `$vectorSearch` query that passed text in `query` on a vector field without `autoEmbed` failed with the error `queryVector must be present`. The query now fails with an error that explains that text queries require an `autoEmbed` field. *Fixed in v1.79.0.*

- **Repeated warnings for missing indexes.** `mongot` logged a `No index in catalog` warning for every query against an index that doesn't exist, which could flood the logs when a client retried in a loop. `mongot` now rate-limits this warning. *Fixed in v1.79.0.*

- **Security dependency upgrades.** Third-party libraries with known vulnerabilities were updated: Jackson upgraded to 2.18.12 (CVE-2026-110879), and OpenTelemetry upgraded to 1.67.0 (CVE-2026-118259). *Fixed in v1.79.0.*

### Compatibility Notes

- **Validation of autoEmbed numDimensions values.** `mongot` now rejects an `autoEmbed` index definition whose `numDimensions` value the embedding model doesn't support, such as `3072` for `voyage-4`. Previously, `mongot` accepted the definition, but every embedding request failed and the index stayed in `BUILDING`. The error message lists the supported values. *Introduced in v1.79.0.*

- **New install path in mongot Docker images.** The `mongot` Docker images now install `mongot` under `/mongot-on-prem/`. A `/mongot-community/` symbolic link remains for compatibility with existing deployments. *Introduced in v1.79.0.*

- **Restart required for the CVE-2026-114938 mitigation.** The mitigation takes effect only after `mongot` restarts. Restart `mongot` after you upgrade to v1.79.1. *Introduced in v1.79.1.*

- **Affected hosts.** CVE-2026-114938 affects x86-64 hosts whose CPUs support AVX-512 Vector Byte Manipulation Instructions (VBMI). To check a Linux host, run `grep -o -m1 avx512vbmi /proc/cpuinfo`. The command prints `avx512vbmi` if the host CPU supports VBMI. Otherwise, it prints nothing. ARM64 hosts aren't currently known to be affected. Because virtual machines can move to different hardware, upgrade every x86-64 host. *The v1.79.1 bundled launcher mitigates this
  existing vulnerability on affected hosts.*

- **Manual mitigation for custom Java commands.** The bundled launcher applies `-XX:-UseBASE64Intrinsics` automatically. If you start `mongot` with your own `java` command instead of the bundled launcher, add `-XX:-UseBASE64Intrinsics` to your Java arguments and restart `mongot`. *Introduced in v1.79.1.*

- **If you can't upgrade yet.** Add `-XX:-UseBASE64Intrinsics` to the Java options that start `mongot`, then restart `mongot`. For the standalone binary, pass the option with `--jvm-flags`. For the `mongot` Docker image, set the `JDK_JAVA_OPTIONS` environment variable to `-XX:-UseBASE64Intrinsics`, for example with `docker run -e` or the `environment` key in Docker Compose. *Introduced in v1.79.1.*

## mongot v1.78.0

**Release date**: November 2, 2026

These release notes cover the `mongot` v1.78.0 release. Community Edition deployments move from v1.70.6 to v1.78.0, so these notes cover the changes between those versions. Fixes already backported to a v1.70.x release appear in the notes for that release.

### New Features and Improvements

- **Facet aggregations.** Facet definitions in `$searchMeta` and `$search` queries can include an `aggregations` document that computes `count`, `sum`, `avg`, `min`, `max`, `first`, and `last` metrics for each bucket from the search index. The `$search` explain output also includes an aggregation section with timings for each phase. To learn more, see Facet Aggregations. This feature is in Public Preview. *Introduced in v1.78.0.*

- **Updates to automated embedding fields without recreating the
  index.** You can now use `updateSearchIndex` to change the `path`, `model`, `quantization`, or `numDimensions` of an `autoEmbed` field without dropping and recreating the index. `mongot` re-embeds the data with the updated definition, and later cleans up the data that the previous definition used. *Introduced in v1.78.0.*

- **Fewer re-embeddings on document updates.** When an update changes only some fields in a document, `mongot` re-embeds only the `autoEmbed` fields whose source text changed. Updates that change only filter fields no longer trigger re-embedding, including for indexes on views and indexes with a `nestedRoot`. This reduces calls to the embedding provider. *Introduced in v1.78.0.*

- **Embeddings for every element under a nested root.** In automated embedding indexes that define a `nestedRoot`, `mongot` now generates an embedding for every array element under the nested root instead of only the first element, so each nested item is searchable with `$vectorSearch`. *Introduced in v1.78.0.*

- **Queries on automated embedding indexes while mongod is
  unavailable.** If `mongot` restarts while `mongod` is unreachable, automated embedding indexes now report a `STALE` status and continue to serve queries from the local index instead of reporting `FAILED`. *Introduced in v1.78.0.*

- **DNS SRV connections to the sync source.** The `syncSource.replicaSet` configuration accepts a new `srvHost` field so that `mongot` discovers replica set members through DNS SRV records. `srvHost` and `hostPorts` are mutually exclusive. *Introduced in v1.78.0.*

- **doubleMetaphone token filter.** Custom analyzers support the doubleMetaphone token filter for phonetic search, with the optional `originalTokens` and `maxCodeLength` settings. *Introduced in v1.78.0.*

- **concurrent option for $vectorSearch.** `$vectorSearch` accepts an optional `concurrent` Boolean that controls whether the query uses concurrent segment search, matching the `$search` option. Existing queries are unchanged. *Introduced in v1.78.0.*

- **Index type in $listSearchIndexes output.** The `$listSearchIndexes` output now includes the top-level `type` field, with a value of `search` or `vectorSearch`, matching Atlas. Clients that require this field no longer fail. *Introduced in v1.78.0.*

- **OpenTelemetry query tracing and log export.** A new optional `tracing` configuration block samples `$search` and `$vectorSearch` query traces and writes them to the `mongot` logs. A `tracing.otlp` block sends sampled traces to an OpenTelemetry Protocol (OTLP) collector, and a `logging.otlp` block forwards `mongot` logs to an OTLP collector. Tracing is disabled by default. *Introduced in v1.78.0.*

- **mTLS for the Prometheus metrics endpoint.** A new optional `metrics.tls` configuration block serves the `/metrics` endpoint over HTTPS and requires client certificates signed by the configured CA. If you omit the block, the endpoint is unchanged. *Introduced in v1.78.0.*

- **New Prometheus metrics.** The `/metrics` endpoint now exposes `mongot_build_version`, which reports the `mongot`, Java, and Lucene versions, and `mongot_system_process_residentMemory_bytes`, which reports the resident memory of the `mongot` process. *Introduced in v1.78.0.*

- **Natural-order initial sync scans.** The new `advancedConfigs.replication.initialSync.bufferless.enableNaturalOrderScan` setting, disabled by default, scans collections in natural order during initial sync. The related `enableParallelNaturalOrderScan` and `parallelPartitionCount` settings parallelize the scan. *Introduced in v1.78.0.*

- **Optional configuration file.** You can now start `mongot` without the `configPath` option. `mongot` treats a missing configuration path as an empty configuration file. *Introduced in v1.78.0.*

- **Search performance improvements.** `mongot` now uses Lucene 10.4.0, with optimizations for exact nearest-neighbor vector search on sparse or filtered queries. The on-disk index format is unchanged. *Introduced in v1.78.0.*

- **MongoDB Java driver upgrade.** The bundled MongoDB Java driver is upgraded to 5.8.0. *Introduced in v1.78.0.*

- **Sanitized queries in failure logs.** When a query fails, `mongot` logs the query shape with filter and equality values removed. *Introduced in v1.78.0.*

- **Clearer errors and crash diagnostics.** Parse errors for unrecognized fields now list the expected field names. Directory creation failures report the underlying operating system error. `mongot` now writes a crash log when its configuration fails to parse, and crashes caused by a full disk include a thread dump. Unknown commands return the `CommandNotFound` error code. *Introduced in v1.78.0.*

- **Source archive for each release.** Each Community release on GitHub now includes a source archive and checksum as a release asset. *Introduced in v1.78.0.*

### Bug Fixes

- **No results for nested automated embedding queries with child
  filters.** A `$vectorSearch` query on an automated embedding index with a `nestedRoot` could return no results when the query also filtered on a child field of the nested root. The filter now matches the embedded vectors. *Fixed in v1.78.0.*

- **Stale or missing embeddings after rapid updates.** When one change stream batch contained multiple events for the same document, automated embedding indexes could keep stale embeddings or miss embeddings. `mongot` now applies every embedding-related change in the batch. *Fixed in v1.78.0.*

- **Lost documents during automated embedding resync.** Resyncing an automated embedding index could lose documents when the source collection used a non-simple collation or had `_id` values of mixed types. `mongot` now creates the index data with the source collection's collation. Existing indexes on collated collections must be dropped and recreated to apply the fix. *Fixed in v1.78.0.*

- **Duplicated array values in automated embedding indexes.** Adding an `autoEmbed` field could duplicate array values in the indexed data, which indexed UUID array elements twice and caused geo queries to miss affected documents. `mongot` now copies array values once. *Fixed in v1.78.0.*

- **Incorrect status for automated embedding indexes.** Automated embedding indexes could report `READY` while replication was paused, for example when `mongod` was unreachable. They now report `STALE`, as other index types do. *Fixed in v1.78.0.*

- **Indexes stuck in initial sync after a sync source restart.** When the sync source was unhealthy, `mongot` shutdown could hang and leave automated embedding indexes in `INITIAL_SYNC` after a sync source restart or failover. *Fixed in v1.78.0.*

- **Embedding provider errors.** An HTTP 400 response from Voyage AI could cause `mongot` to skip documents silently while the index reported `READY`. HTTP 429 rate-limit responses were reported as internal errors. `mongot` now stops indexing at the failed documents until the error is resolved, and returns rate-limit errors to the client at query time. *Fixed in v1.78.0.*

- **Silent empty results for mismatched query vectors.** A `queryVector` whose data type didn't match the quantization of an automated embedding index returned no results. The query now fails with an error that names the expected encoding. *Fixed in v1.78.0.*

- **$vectorSearch failures with non-integer \_id values.** Merging `$vectorSearch` results could fail when `_id` values weren't 32-bit integers. `mongot` now compares `_id` values of any BSON type by using MongoDB query sort order. *Fixed in v1.78.0.*

- **in operator ignored additional paths.** An `in` query with a single value and multiple paths matched only the first path. The query now matches all specified paths. *Fixed in v1.78.0.*

- **Errors on sharded queries with large facet results.** Sharded queries with large facet results could fail with an `IllegalArgumentException`. *Fixed in v1.78.0.*

- **Initial sync failures.** Initial sync could fail when it resumed from a different sync source host, or when the source collection was missing the field that initial sync uses to track progress. `mongot` now resumes from the new host, and falls back to a scan by `_id` when the field is missing. *Fixed in v1.78.0.*

- **File handle leak when dropping indexes.** Dropping an index could leave Lucene files open. *Fixed in v1.78.0.*

- **Startup failure when the metrics port is busy.** `mongot` could fail to start when the Prometheus metrics port was temporarily unavailable. `mongot` now starts and handles the condition. *Fixed in v1.78.0.*

- **Connection resets and log noise during shutdown.** Clients that connected while `mongot` was shutting down could connect and then be reset, which produced error log entries. `mongot` now refuses new connections during shutdown. *Fixed in v1.78.0.*

- **Incorrect server name validation message.** The error message for the server name length limit said that names must be shorter than 253 characters. Names of exactly 253 characters are valid, and the message now says so. *Fixed in v1.78.0.*

- **Memory optimizations.** `mongot` includes improvements to how it manages memory. *Fixed in v1.78.0.*

- **Dependency upgrades.** Third-party libraries were updated to address known security vulnerabilities. *Fixed in v1.78.0.*

### Compatibility Notes

- **Edition-specific configuration options.** The Community Edition `mongot` binary now rejects configuration options that are available only in Enterprise Advanced. Before you upgrade, remove any Enterprise-only options from your configuration file. *Introduced in v1.78.0.*

- **OpenSSL 3.x for native TLS.** On x86-64 hosts, `mongot` now links dynamically to OpenSSL 3.x for native TLS. If native TLS is unavailable or fails to load, `mongot` falls back to the JVM TLS provider. Confirm that OpenSSL 3.x is installed on each host before you upgrade. *Introduced in v1.78.0.*

- **Nesting limit for embeddedDocuments fields.** `mongot` now enforces the `maxEmbeddedDocumentsNestingLevel` limit, which has a default value of 4, when you create or update a search index. Index definitions that nest `embeddedDocuments` fields more deeply are rejected. *Introduced in v1.78.0.*

- **Stricter index definition validation.** `mongot` now rejects index definitions that it previously accepted but couldn't use: `binaryNoRescore` quantization with a similarity other than `euclidean`, which produced an empty index, and a base-only stock analyzer such as `lucene.stop` as a synonym mapping analyzer, which caused `mongot` to crash. *Introduced in v1.78.0.*

- **Bucket limit for facet queries.** Facet queries that request more than 100,000 total buckets are now rejected. To learn how `mongot` counts buckets, see Nested Facets. *Introduced in v1.78.0.*

## mongot v1.70.6

**Release date**: October 30, 2026

### Bug Fixes

- **Incorrect index ID returned for existing indexes.** The `createSearchIndexes` command could return an index ID that was never stored when an equivalent index already existed, so later `updateSearchIndex` or `dropSearchIndex` requests by `id` didn't match the index. The command now returns the stored index ID. *Fixed in v1.70.6.*

- **Cursor access across clients.** A gRPC client could read from or close a search cursor created by another client by using only its cursor ID. mongot now validates cursor ownership for `getMore` and `killCursors` requests. *Fixed in v1.70.6.*

- **Security dependency upgrades.** Third-party libraries with known vulnerabilities were updated: bcpkix-fips upgraded to 2.1.13 (CVE-2026-17508), snappy-java upgraded to 1.1.10.10, logback upgraded to 1.6.5, httpclient5 upgraded to 5.6.5, and Guava upgraded to 33.7.2-jre. *Fixed in v1.70.6.*

- **Docker base image security updates.** The `mongot` Docker images now use refreshed Red Hat Universal Base Image 9 (UBI9) layers that address `gawk` (CVE-2026-40468) and `pcre2` (CVE-2026-103111). *Fixed in v1.70.6.*

## mongot v1.70.5

**Release date**: September 29, 2026

### Bug Fixes

- **Security dependency upgrades.** Third-party libraries with known CVEs were updated: Netty upgraded to 4.2.18.Final (CVE-2026-89044), reactor-netty upgraded to 1.3.7 (CVE-2026-47848), reactor-core upgraded to 3.8.7 (CVE-2026-47863), Apache httpclient5 upgraded to 5.6.3 (CVE-2026-64607), and zstd-jni upgraded to 1.5.7-14 (CVE-2026-89045). *Fixed in v1.70.5.*

- **Docker base image change.** The default `mongot` Docker images now use a distroless base image built on Red Hat Universal Base Image 9 (UBI9) instead of Amazon Linux 2 and Amazon Linux 2023. *Fixed in v1.70.5.*

## mongot v1.70.4

**Release date**: August 27, 2026

### Bug Fixes

- **httpcore5 security upgrade.** `mongot` used httpcore5 and httpcore5-h2 versions affected by CVE-2026-54428. Both libraries are upgraded to 5.4.3. *Fixed in v1.70.4.*

- **Unauthenticated requests could exhaust memory or crash** `mongot`. Before authentication, a client could send messages with oversized or forged length fields, including in SCRAM authentication payloads. These messages could cause `mongot` to exhaust memory or stop with an `OutOfMemoryError`. `mongot` now limits these payload sizes before authentication. *Fixed in v1.70.4.*

- **Security dependency upgrades.** Third-party libraries with known CVEs were updated: Jackson upgraded to 2.18.9 (CVE-2026-54515), Netty (CVE-2026-59903), Micrometer (CVE-2026-59296), and Bouncy Castle. The Docker base images were also upgraded. *Fixed in v1.70.4.*

## mongot v1.70.3

**Release date**: August 4, 2026

This release contains no user-facing changes for self-managed deployments.

## mongot v1.70.2

**Release date**: July 31, 2026

These release notes cover changes in `mongot` v1.70.2.

### Bug Fixes

- **Docker base image security update.** The `mongot` Docker image used a base image with known CVEs. The image now uses an updated base image. *Fixed in v1.70.2.*

- **Netty security upgrade.** `mongot` used a Netty version with known CVEs. Netty is upgraded to a newer 4.1 release. *Fixed in v1.70.2.*

## mongot v1.70.1

**Release date**: June 30, 2026

These release notes cover changes from the public preview release (0.40.0, October 2025) through the general availability release (1.70.1).

### New Features and Improvements

- **Authentication restructured into** `scramAuth` **and** `x509` **blocks.** The sync-source authentication config now uses explicit `scramAuth` (username/password) and `x509` (certificate) sub-blocks rather than flat fields, with stronger validation at startup. Existing configurations must be migrated to the new structure. *Introduced in v1.70.1.*

- **X.509 certificate authentication for sync-source
  connections.** `mongot` can now authenticate to `mongod` and `mongos` using TLS client certificates as a fully supported alternative to SCRAM. Configure `syncSource.replicaSet.x509` or `syncSource.router.x509` with your certificate key file and CA file. *Introduced in v1.70.1.*

- **Encrypted key file support for TLS.** Both the sync-source TLS connection and the gRPC server TLS accept a `certificateKeyFilePasswordFile` so private keys no longer need to be stored unencrypted on disk. *Introduced in v1.70.1.*

- **New** `syncSource.replicationReader` **config block.** Operators can now control which replica-set member `mongot` reads from during initial sync and change-stream replication. Accepts a `readPreference` value and optional `tagSets` for targeting members with specific replica-set tags. The deprecated `replicaSet.readPreference` field has been removed. *Introduced in v0.66.0.*

- **New** `advancedConfigs` **top-level config block.** Optional performance-tuning parameters are now grouped under a single `advancedConfigs:` block with sub-blocks for `indexing`, `querying`, `replication`, `autoEmbedding`, and `ftdc`. FTDC and disk monitoring settings have moved here from the top level. *Introduced in v1.70.1.*

- **Sharded cluster support through** `syncSource.router`. A `router` sub-block in `syncSource` enables connecting to a `mongos` router for sharded deployments. Each shard requires its own dedicated `mongot` instance, with `replicaSet` mapping the instance to its specific shard and `router` handling cluster-wide coordination. *Available since v0.40.0.*

- **Sorted indexes (index-sort).** Search indexes can now be configured with a sort order on one or more fields. Queries with a `$sort` matching the index sort key skip the full-collection sort phase, significantly improving latency for sort-heavy workloads such as recency or price-sorted results. *Introduced in v0.66.0.*

- **Nested vector search.** `$vectorSearch` now supports querying vector fields embedded inside nested document arrays. Define a `nestedRoot` path in the index definition to issue per-item similarity searches within arrays of sub-documents. *Introduced in v1.70.1.*

- **Vector stored source.** Vector search indexes can store original vector values alongside index data. When a `$vectorSearch` query requests `returnStoredSource`, raw vector values are returned directly from the index, reducing latency by eliminating a second read from `mongod`. *Introduced in v0.65.0.*

- **Automatic ENN fallback for low-recall vector search.** `mongot` now detects when approximate nearest-neighbor (ANN) search would return too few results due to high document-deletion rates and automatically falls back to exact nearest-neighbor (ENN) search, improving recall quality without requiring query changes. *Introduced in v0.66.0.*

- **Drill-sideways faceting.** Facet queries use Lucene's drill-sideways algorithm, computing facet counts across all documents in a single pass. This enables "show counts as if this facet filter were not applied" behavior common in navigation UIs, without a second query. *Introduced in v0.69.0.*

- **Facet bucket limit raised to 10,000.** The maximum number of buckets returned for number and date facets has been raised from 1,000 to 10,000, enabling finer-grained aggregations over large value ranges. *Introduced in v1.70.1.*

- **Aligned index definition syntax for self-managed** `mongot`. The index definition JSON format accepted by self-managed `mongot` has been unified with Atlas. Index definitions can be used interchangeably without modification. *Introduced in v1.70.1.*

- **Auto-embedding with Voyage AI in self-managed** `mongot`. Self-managed `mongot` now supports automated embedding generation. Configure the `embedding:` block with API key files and `mongot` automatically generates and maintains vector embeddings from your text fields as documents are inserted or updated. *Introduced in v1.70.1.*

- **HNSW parameters configurable for auto-embedding indexes.** The `m` and `efConstruction` HNSW graph construction parameters can now be specified in auto-embedding index definitions, giving control over the accuracy/throughput trade-off of the approximate nearest-neighbor index. *Introduced in v0.65.0.*

- **Prometheus metrics endpoint for self-managed** `mongot`. Self-managed `mongot` exposes a Prometheus-compatible `/metrics` endpoint (configurable with `metrics.address`, default `localhost:9946`) for monitoring index health, replication lag, query latency, and resource usage. *Available since v0.40.0.*

- **HTTP health and readiness endpoints.** The `/health` endpoint (configurable with `healthCheck.address`, default `localhost:8080`) returns `{"status":"SERVING"}` (HTTP 200) when `mongot` is ready and `{"status":"NOT_SERVING"}` (HTTP 503) otherwise, suitable for container liveness and readiness probes. *Available since v0.40.0.*

- **$listSearchIndexes support for self-managed** `mongot`. Self-managed `mongot` now supports running `$listSearchIndexes` on a collection to inspect the state, definition, and status of all search indexes, matching the behavior available in Atlas. *Introduced in v1.70.1.*

- **Container-aware memory metrics.** System memory metrics now read from cgroup limits when running inside a container rather than reporting total host physical memory, giving accurate available-memory figures in Docker and Kubernetes environments. *Introduced in v0.69.0.*

- **Replication pause thresholds aligned with Atlas.** The thresholds at which `mongot` pauses index replication to avoid overwhelming `mongod` are now consistent between Atlas and self-managed deployments. *Introduced in v0.66.0.*

- **Lucene upgraded to 10.1.** The underlying search library was upgraded from Lucene 9.x to Lucene 10.1, bringing query performance improvements, improved segment merge behavior, and correctness fixes for compound queries, sorted indexes, and vector search. *Introduced in v1.70.1.*

- **Java runtime upgraded to Java 21.** The `mongot` binary now ships with Java 21 (LTS), replacing Java 17. Java 21 delivers JIT improvements, better garbage collection, and a longer support lifecycle. *Introduced in v0.69.0.*

- **Docker base image upgraded to Amazon Linux 2023.** The `mongot` Docker image now uses Amazon Linux 2023, replacing Amazon Linux 2, providing newer glibc, updated OpenSSL, and a longer support lifecycle. *Introduced in v0.69.0.*

### Bug Fixes

- **Search indexes protected from deletion when router
  configuration is inconsistent with cluster topology.** In a sharded cluster where `mongot` lacked router configuration, a search index could be deleted when catalog metadata moved to another shard. `mongot` now protects search indexes from deletion and preserves catalog metadata integrity in this scenario. *Fixed in v0.69.0.*

- **Startup crash when** `syncSource.router` **topology
  mismatched** `replicaSet`. `mongot` could crash during bootstrap in a sharded cluster if the router topology was inconsistent with the configured `replicaSet`. This is now caught at startup and reported as a configuration error with a clear message. *Fixed in v1.70.1.*

- **Indexes that failed during initial sync are now
  automatically recovered.** A search index that failed partway through initial sync would remain in a FAILED state permanently, requiring manual intervention. `mongot` now detects and retries failed initial syncs on restart. *Fixed in v1.70.1.*

- **Incorrect STEADY to INITIAL\_SYNC status transition.** A bug in the Lucene-layer status computation could incorrectly transition a fully-indexed search index from STEADY back to INITIAL\_SYNC, triggering unnecessary re-indexing. Indexes now correctly remain in STEADY state. *Fixed in v0.67.0.*

- **Replication shutdown when sync-source host is
  unavailable.** When all configured replica-set members are unreachable for an extended period, `mongot` now cleanly shuts down replication rather than spinning indefinitely, preventing resource exhaustion and surfacing the outage through health-check failures. *Fixed in v0.67.0.*

- **Stale system metrics.** System metrics reported through the Prometheus endpoint could become stale after extended uptime. The metrics collection loop is now correctly reset on each scrape cycle. *Fixed in v1.70.1.*

- **Leading wildcard query regression (Lucene 10).** A regression introduced during the Lucene 10 migration caused leading-wildcard queries to return incorrect or missing results. Resolved in Lucene 10.1. *Fixed in v1.70.1.*

- **Pure** `should` **-clause query regressions (Lucene 10).** Queries composed entirely of `should` clauses returned incorrect scores or missed documents after the Lucene 10 upgrade. Resolved in Lucene 10.1. *Fixed in v1.70.1.*

- **Nested vector search score inflation with** `scoreMode: "avg"`. `$vectorSearch` with nested vectors and `scoreMode: "avg"` returned inflated ANN scores compared to ENN results. ANN and ENN scoring are now consistent. *Fixed in v0.67.0.*

- **Nested vector search with binary quantization returned
  incorrect results.** `$vectorSearch` on nested vector fields using binary quantization could return incorrect results due to a bug in the child-filter path. *Fixed in v0.69.0.*

- **Drill-sideways token facets on empty fields threw an
  exception.** Facet queries using the `token` field type on collections where no documents had indexed the field would throw an `invalid dim` exception. The empty case is now handled correctly. *Fixed in v0.69.0.*

- **Sparse facet double-counting.** Iterating the key array of a sparse SSDV field could double-count or skip entries in facet results. Facet counts are now accurate for fields with sparse data. *Fixed in v0.69.0.*

- **Autocomplete operator dropped the final prefix token.** When a user typed a word mid-completion, the autocomplete operator would sometimes discard the prefix token for the last word, returning results only for prior complete words. *Fixed in v0.65.0.*

- **Dropped collection metadata not cleaned up.** When a MongoDB collection was dropped, stale index catalog metadata could accumulate and cause incorrect state if the collection was subsequently recreated. Metadata is now correctly removed on collection drop. *Fixed in v1.70.1.*

- **Native memory leak in FTDC data collection.** A native memory leak in the FTDC collection routine caused `mongot`'s off-heap memory footprint to grow over time. *Fixed in v0.66.0.*

- **Auto-embedding zombie lease race condition.** A race between heartbeat checks and state-transition logic could leave an auto-embedding leader lease in a zombie state after the holder stopped. The lease state machine now uses atomic state checks to eliminate this window. *Fixed in v0.69.0.*

- **Materialized view full-replace incorrectly scoped for** `_id.<subfield>` **filters.** Auto-embedding indexes whose filter included a sub-field of `_id` would incorrectly replace the entire materialized view on update, discarding out-of-filter documents. The update is now correctly scoped. *Fixed in v1.70.1.*

- **Security dependency upgrades.** Third-party libraries with known CVEs were updated: Netty upgraded to 4.1.132+, Jackson upgraded to 2.18.6, Logback-core updated, Plexus-Utils upgraded to 4.0.3, and netty-tcnative upgraded to 2.0.79.Final. *Applied in v0.69.0.*

## mongot v1.70.6

**Release date**: October 30, 2026

### Bug Fixes

- **Incorrect index ID returned for existing indexes.** The `createSearchIndexes` command could return an index ID that was never stored when an equivalent index already existed, so later `updateSearchIndex` or `dropSearchIndex` requests by `id` didn't match the index. The command now returns the stored index ID. *Fixed in v1.70.6.*

- **Cursor access across clients.** A gRPC client could read from or close a search cursor created by another client by using only its cursor ID. mongot now validates cursor ownership for `getMore` and `killCursors` requests. *Fixed in v1.70.6.*

- **Security dependency upgrades.** Third-party libraries with known vulnerabilities were updated: bcpkix-fips upgraded to 2.1.13 (CVE-2026-17508), snappy-java upgraded to 1.1.10.10, logback upgraded to 1.6.5, httpclient5 upgraded to 5.6.5, and Guava upgraded to 33.7.2-jre. *Fixed in v1.70.6.*

- **Docker base image security updates.** The `mongot` Docker images now use refreshed Red Hat Universal Base Image 9 (UBI9) layers that address `gawk` (CVE-2026-40468) and `pcre2` (CVE-2026-103111). *Fixed in v1.70.6.*

## mongot v1.70.5

**Release date**: September 29, 2026

### Bug Fixes

- **Security dependency upgrades.** Third-party libraries with known CVEs were updated: Netty upgraded to 4.2.18.Final (CVE-2026-89044), reactor-netty upgraded to 1.3.7 (CVE-2026-47848), reactor-core upgraded to 3.8.7 (CVE-2026-47863), Apache httpclient5 upgraded to 5.6.3 (CVE-2026-64607), and zstd-jni upgraded to 1.5.7-14 (CVE-2026-89045). *Fixed in v1.70.5.*

- **Docker base image change.** The default `mongot` Docker images now use a distroless base image built on Red Hat Universal Base Image 9 (UBI9) instead of Amazon Linux 2 and Amazon Linux 2023. *Fixed in v1.70.5.*

## mongot v1.70.4

**Release date**: August 27, 2026

### Bug Fixes

- **httpcore5 security upgrade.** `mongot` used httpcore5 and httpcore5-h2 versions affected by CVE-2026-54428. Both libraries are upgraded to 5.4.3. *Fixed in v1.70.4.*

- **Unauthenticated requests could exhaust memory or crash** `mongot`. Before authentication, a client could send messages with oversized or forged length fields, including in SCRAM authentication payloads. These messages could cause `mongot` to exhaust memory or stop with an `OutOfMemoryError`. `mongot` now limits these payload sizes before authentication. *Fixed in v1.70.4.*

- **Security dependency upgrades.** Third-party libraries with known CVEs were updated: Jackson upgraded to 2.18.9 (CVE-2026-54515), Netty (CVE-2026-59903), Micrometer (CVE-2026-59296), and Bouncy Castle. The Docker base images were also upgraded. *Fixed in v1.70.4.*

## mongot v1.70.3

**Release date**: August 4, 2026

This release contains no user-facing changes for self-managed deployments.

## mongot v1.70.2

**Release date**: July 31, 2026

### Bug Fixes

- **Docker base image security update.** The `mongot` Docker image used a base image with known CVEs. The image now uses an updated base image. *Fixed in v1.70.2.*

- **Netty security upgrade.** `mongot` used a Netty version with known CVEs. Netty is upgraded to a newer 4.1 release. *Fixed in v1.70.2.*

## mongot v1.70.1

**Release date**: June 30, 2026

These release notes cover changes from the public preview release (0.40.0, October 2025) through the general availability release (1.70.1). Changes are scoped to Enterprise Edition self-managed deployments. Community Edition and Atlas-managed deployments are excluded.

### New Features and Improvements

- **Authentication restructured into** `scramAuth` **and** `x509` **blocks.** The sync-source authentication config now uses explicit `scramAuth` (username/password) and `x509` (certificate) sub-blocks rather than flat fields, with stronger validation at startup. Existing configurations must be migrated to the new structure. *Introduced in v1.70.1.*

- **X.509 certificate authentication for sync-source
  connections.** `mongot` can now authenticate to `mongod` and `mongos` using TLS client certificates as a fully supported alternative to SCRAM. Configure `syncSource.replicaSet.x509` or `syncSource.router.x509` with your certificate key file and CA file. *Introduced in v1.70.1.*

- **Encrypted key file support for TLS.** Both the sync-source TLS connection and the gRPC server TLS accept a `certificateKeyFilePasswordFile` so private keys no longer need to be stored unencrypted on disk. *Introduced in v1.70.1.*

- **New** `syncSource.replicationReader` **config block.** Operators can now control which replica-set member `mongot` reads from during initial sync and change-stream replication. Accepts a `readPreference` value and optional `tagSets` for targeting members with specific replica-set tags. The deprecated `replicaSet.readPreference` field has been removed. *Introduced in v0.66.0.*

- **New** `advancedConfigs` **top-level config block.** Optional performance-tuning parameters are now grouped under a single `advancedConfigs:` block with sub-blocks for `indexing`, `querying`, `replication`, `autoEmbedding`, and `ftdc`. FTDC and disk monitoring settings have moved here from the top level. *Introduced in v1.70.1.*

- **Sharded cluster support through** `syncSource.router`. A `router` sub-block in `syncSource` enables connecting to a `mongos` router for sharded deployments. Each shard requires its own dedicated `mongot` instance, with `replicaSet` mapping the instance to its specific shard and `router` handling cluster-wide coordination. *Available since v0.40.0.*

- **Sorted indexes (index-sort).** Search indexes can now be configured with a sort order on one or more fields. Queries with a `$sort` matching the index sort key skip the full-collection sort phase, significantly improving latency for sort-heavy workloads such as recency or price-sorted results. *Introduced in v0.66.0.*

- **Nested vector search.** `$vectorSearch` now supports querying vector fields embedded inside nested document arrays. Define a `nestedRoot` path in the index definition to issue per-item similarity searches within arrays of sub-documents. *Introduced in v1.70.1.*

- **Vector stored source.** Vector search indexes can store original vector values alongside index data. When a `$vectorSearch` query requests `returnStoredSource`, raw vector values are returned directly from the index, reducing latency by eliminating a second read from `mongod`. *Introduced in v0.65.0.*

- **Automatic ENN fallback for low-recall vector search.** `mongot` now detects when approximate nearest-neighbor (ANN) search would return too few results due to high document-deletion rates and automatically falls back to exact nearest-neighbor (ENN) search, improving recall quality without requiring query changes. *Introduced in v0.66.0.*

- **Drill-sideways faceting.** Facet queries use Lucene's drill-sideways algorithm, computing facet counts across all documents in a single pass. This enables "show counts as if this facet filter were not applied" behavior common in navigation UIs, without a second query. *Introduced in v0.69.0.*

- **Facet bucket limit raised to 10,000.** The maximum number of buckets returned for number and date facets has been raised from 1,000 to 10,000, enabling finer-grained aggregations over large value ranges. *Introduced in v1.70.1.*

- **Aligned index definition syntax for self-managed** `mongot`. The index definition JSON format accepted by self-managed `mongot` has been unified with Atlas. Index definitions can be used interchangeably without modification. *Introduced in v1.70.1.*

- **Auto-embedding with Voyage AI in self-managed** `mongot`. Self-managed `mongot` now supports automated embedding generation. Configure the `embedding:` block with API key files and `mongot` automatically generates and maintains vector embeddings from your text fields as documents are inserted or updated. *Introduced in v1.70.1.*

- **HNSW parameters configurable for auto-embedding indexes.** The `m` and `efConstruction` HNSW graph construction parameters can now be specified in auto-embedding index definitions, giving control over the accuracy/throughput trade-off of the approximate nearest-neighbor index. *Introduced in v0.65.0.*

- **Prometheus metrics endpoint for self-managed** `mongot`. Self-managed `mongot` exposes a Prometheus-compatible `/metrics` endpoint (configurable with `metrics.address`, default `localhost:9946`) for monitoring index health, replication lag, query latency, and resource usage. *Available since v0.40.0.*

- **HTTP health and readiness endpoints.** The `/health` endpoint (configurable with `healthCheck.address`, default `localhost:8080`) returns `{"status":"SERVING"}` (HTTP 200) when `mongot` is ready and `{"status":"NOT_SERVING"}` (HTTP 503) otherwise, suitable for container liveness and readiness probes. *Available since v0.40.0.*

- **$listSearchIndexes support for self-managed** `mongot`. Self-managed `mongot` now supports running `$listSearchIndexes` on a collection to inspect the state, definition, and status of all search indexes, matching the behavior available in Atlas. *Introduced in v1.70.1.*

- **Container-aware memory metrics.** System memory metrics now read from cgroup limits when running inside a container rather than reporting total host physical memory, giving accurate available-memory figures in Docker and Kubernetes environments. *Introduced in v0.69.0.*

- **Replication pause thresholds aligned with Atlas.** The thresholds at which `mongot` pauses index replication to avoid overwhelming `mongod` are now consistent between Atlas and self-managed deployments. *Introduced in v0.66.0.*

- **Lucene upgraded to 10.1.** The underlying search library was upgraded from Lucene 9.x to Lucene 10.1, bringing query performance improvements, improved segment merge behavior, and correctness fixes for compound queries, sorted indexes, and vector search. *Introduced in v1.70.1.*

- **Java runtime upgraded to Java 21.** The `mongot` binary now ships with Java 21 (LTS), replacing Java 17. Java 21 delivers JIT improvements, better garbage collection, and a longer support lifecycle. *Introduced in v0.69.0.*

- **Docker base image upgraded to Amazon Linux 2023.** The `mongot` Docker image now uses Amazon Linux 2023, replacing Amazon Linux 2, providing newer glibc, updated OpenSSL, and a longer support lifecycle. *Introduced in v0.69.0.*

### Bug Fixes

- **Search indexes protected from deletion when router
  configuration is inconsistent with cluster topology.** In a sharded cluster where `mongot` lacked router configuration, a search index could be deleted when catalog metadata moved to another shard. `mongot` now protects search indexes from deletion and preserves catalog metadata integrity in this scenario. *Fixed in v0.69.0.*

- **Startup crash when** `syncSource.router` **topology
  mismatched** `replicaSet`. `mongot` could crash during bootstrap in a sharded cluster if the router topology was inconsistent with the configured `replicaSet`. This is now caught at startup and reported as a configuration error with a clear message. *Fixed in v1.70.1.*

- **Indexes that failed during initial sync are now
  automatically recovered.** A search index that failed partway through initial sync would remain in a FAILED state permanently, requiring manual intervention. `mongot` now detects and retries failed initial syncs on restart. *Fixed in v1.70.1.*

- **Incorrect STEADY to INITIAL\_SYNC status transition.** A bug in the Lucene-layer status computation could incorrectly transition a fully-indexed search index from STEADY back to INITIAL\_SYNC, triggering unnecessary re-indexing. Indexes now correctly remain in STEADY state. *Fixed in v0.67.0.*

- **Replication shutdown when sync-source host is
  unavailable.** When all configured replica-set members are unreachable for an extended period, `mongot` now cleanly shuts down replication rather than spinning indefinitely, preventing resource exhaustion and surfacing the outage through health-check failures. *Fixed in v0.67.0.*

- **Stale system metrics.** System metrics reported through the Prometheus endpoint could become stale after extended uptime. The metrics collection loop is now correctly reset on each scrape cycle. *Fixed in v1.70.1.*

- **Leading wildcard query regression (Lucene 10).** A regression introduced during the Lucene 10 migration caused leading-wildcard queries to return incorrect or missing results. Resolved in Lucene 10.1. *Fixed in v1.70.1.*

- **Pure** `should` **-clause query regressions (Lucene 10).** Queries composed entirely of `should` clauses returned incorrect scores or missed documents after the Lucene 10 upgrade. Resolved in Lucene 10.1. *Fixed in v1.70.1.*

- **Nested vector search score inflation with** `scoreMode: "avg"`. `$vectorSearch` with nested vectors and `scoreMode: "avg"` returned inflated ANN scores compared to ENN results. ANN and ENN scoring are now consistent. *Fixed in v0.67.0.*

- **Nested vector search with binary quantization returned
  incorrect results.** `$vectorSearch` on nested vector fields using binary quantization could return incorrect results due to a bug in the child-filter path. *Fixed in v0.69.0.*

- **Drill-sideways token facets on empty fields threw an
  exception.** Facet queries using the `token` field type on collections where no documents had indexed the field would throw an `invalid dim` exception. The empty case is now handled correctly. *Fixed in v0.69.0.*

- **Sparse facet double-counting.** Iterating the key array of a sparse SSDV field could double-count or skip entries in facet results. Facet counts are now accurate for fields with sparse data. *Fixed in v0.69.0.*

- **Autocomplete operator dropped the final prefix token.** When a user typed a word mid-completion, the autocomplete operator would sometimes discard the prefix token for the last word, returning results only for prior complete words. *Fixed in v0.65.0.*

- **Dropped collection metadata not cleaned up.** When a MongoDB collection was dropped, stale index catalog metadata could accumulate and cause incorrect state if the collection was subsequently recreated. Metadata is now correctly removed on collection drop. *Fixed in v1.70.1.*

- **Native memory leak in FTDC data collection.** A native memory leak in the FTDC collection routine caused `mongot`'s off-heap memory footprint to grow over time. *Fixed in v0.66.0.*

- **Auto-embedding zombie lease race condition.** A race between heartbeat checks and state-transition logic could leave an auto-embedding leader lease in a zombie state after the holder stopped. The lease state machine now uses atomic state checks to eliminate this window. *Fixed in v0.69.0.*

- **Materialized view full-replace incorrectly scoped for** `_id.<subfield>` **filters.** Auto-embedding indexes whose filter included a sub-field of `_id` would incorrectly replace the entire materialized view on update, discarding out-of-filter documents. The update is now correctly scoped. *Fixed in v1.70.1.*

- **Security dependency upgrades.** Third-party libraries with known CVEs were updated: Netty upgraded to 4.1.132+, Jackson upgraded to 2.18.6, Logback-core updated, Plexus-Utils upgraded to 4.0.3, and netty-tcnative upgraded to 2.0.79.Final. *Applied in v0.69.0.*
