unstale

npm / @zilliz/milvus2-sdk-node

@zilliz/milvus2-sdk-node

What changed in @zilliz/milvus2-sdk-node 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-24.

2 breaking2 security62 new APIs and options1 performance3 behavior and defaults34 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@zilliz/milvus2-sdk-node 361 changes

Breaking changes 1

  • Credential and RBAC payloads are redacted from request, response, and retry logs.

    3.0.7release notes

Security 1

New APIs and options 43

  • Adds analyzer and file resource operations to the REST client.

    3.0.9release notes

  • Adds batch segment manifest updates.

    3.0.9release notes

  • Exposes client telemetry administration over gRPC; telemetry administration requires root access when authorization is enabled on Milvus 3.0.6.

    3.0.9release notes

  • Adds collection schema evolution and truncate operations to the REST client.

    3.0.9release notes

  • Adds external collection refresh to the REST client.

    3.0.9release notes

  • Adds manual import commit and abort operations to the REST client.

    3.0.9release notes

  • Adds support for path replacement in partial upserts.

    3.0.9release notes

  • Adds phrase-match slop calculation.

    3.0.9release notes

  • Adds portable snapshot export and restore.

    3.0.9release notes

  • Exposes proxy administration over gRPC.

    3.0.9release notes

  • Adds QueryScan chains; they require a server build with QueryScan support, and older servers may ignore them.

    3.0.9release notes

  • Exposes replication and WAL streams over gRPC.

    3.0.9release notes

  • Adds resource group operations to the REST client.

    3.0.9release notes

  • Adds query grouping and filter parameters to the REST client.

    3.0.9release notes

  • Expands the REST client with snapshot lifecycle and export operations.

    3.0.9release notes

  • Adds role and privilege group operations to the REST client.

    3.0.9release notes

  • Adds search aggregation to the REST client.

    3.0.9release notes

  • Adds search inputs, grouping, and function chains to the REST client.

    3.0.9release notes

  • Adds segment and quota diagnostics to the REST client.

    3.0.9release notes

  • Adds typed function-chain builders with search and query integration.

    3.0.9release notes

  • StructArray fields support scalar array sub-fields when creating or describing collections and reading or writing rows. Requires Milvus 3.0.6 or later.

    3.0.8release notes

  • The SDK can build client-side bloom filter blobs for bloom_match.

    3.0.5release notes

  • Client telemetry support is added.

    3.0.5release notes

  • The SDK supports client-side roaring bitmap blobs for roaring_match.

    3.0.5release notes

  • Adds support for advanced struct array operations.

    3.0.4release notes

  • Adds support for collection schema evolution APIs.

    3.0.4release notes

  • Adds support for updating descriptions.

    3.0.4release notes

  • Adds wrappers for file resources.

    3.0.4release notes

  • Adds support for function field backfill.

    3.0.4release notes

  • Adds a schema wrapper for function fields.

    3.0.4release notes

  • Adds support for query aggregation.

    3.0.4release notes

  • Adds support for search aggregation.

    3.0.4release notes

  • Adds support for the Text data type.

    3.0.4release notes

  • The SDK adds support for array-of-vector struct payloads.

    3.0.0release notes

  • The SDK adds cluster session routing for DQL.

    3.0.0release notes

  • The SDK adds support for element-level result offsets.

    3.0.0release notes

  • The SDK adds support for external collections.

    3.0.0release notes

  • Vector payloads can now be nullable.

    3.0.0release notes

  • The SDK adds support for order-by parameters.

    3.0.0release notes

  • The SDK adds support for partial array upsert operations.

    3.0.0release notes

  • The SDK adds APIs for replicate configuration.

    3.0.0release notes

  • The SDK adds APIs for working with snapshots.

    3.0.0release notes

  • The SDK adds a volume manager API.

    3.0.0release notes

Fixes and other changes 16

  • Fixes partial upsert of StructArray fields by using the expected ArrayOfStruct wire type.

    3.0.8release notes

  • Function output fields are included when collection descriptions are formatted.

    3.0.7release notes

  • Destroyed clients no longer reconnect and leave orphaned connections.

    3.0.7release notes

  • count() preserves query options, including expression-template values, partition selection, consistency, timeout, and request IDs; request types were extended accordingly.

    3.0.7release notes

  • Sparse vectors with different lengths for CSR indices and values are rejected early with a descriptive error.

    3.0.7release notes

  • Rows built with dynamic fields preserve typed-array vectors.

    3.0.7release notes

  • Date conversion preserves millisecond precision, and fractional Unix timestamps no longer throw.

    3.0.7release notes

  • Serialization uses only the selected range of an Int8Array view, not its entire backing buffer.

    3.0.7release notes

  • Numbers represented in scientific notation now retain correct score precision formatting.

    3.0.7release notes

  • VarChar primary keys are escaped correctly in query, delete, and query-iterator expressions.

    3.0.7release notes

  • Six previously missing index types are added to the IndexType enum.

    3.0.5release notes

  • Fixes support for adding fields to external collections.

    3.0.4release notes

  • Exposes the TypeScript declaration entry so consumers can access the SDK's declarations.

    3.0.4release notes

  • Fixed the parquetjs package import.

    2.6.17, 3.0.3release notesrelease notes

  • Compact advanced parameters are now forwarded.

    3.0.0release notes

  • Import jobs now support project region.

    3.0.0release notes

@zilliz/milvus2-sdk-node 243 changes

Breaking changes 1

  • Default value validation no longer checks partial_update, changing when default values are validated.

    2.6.9release notes

Security 1

  • Resolves a fast-xml-parser vulnerability via yarn resolutions.

    2.6.12release notes

New APIs and options 19

  • Reserved options are passed through connect, allowing developers to supply those options when connecting.

    2.6.14release notes

  • Adds an API to describe collections in a batch.

    2.6.12release notes

  • Adds BulkWriter to generate Milvus-compatible JSON import files.

    2.6.12release notes

  • Adds Parquet format support for BulkWriter.

    2.6.12release notes

  • Adds an API to flush all collections.

    2.6.12release notes

  • Adds a synchronous API to flush all collections.

    2.6.12release notes

  • Adds an API to retrieve the state of a flush-all operation.

    2.6.12release notes

  • Adds an API to retrieve import state.

    2.6.12release notes

  • Adds an API to retrieve index statistics.

    2.6.12release notes

  • Adds global cluster support with automatic primary routing.

    2.6.12release notes

  • Adds highlighter support for the search API.

    2.6.12release notes

  • Adds an API to truncate a collection.

    2.6.12release notes

  • Collection function management is now available through the gRPC API.

    2.6.10release notes

  • More HTTP APIs were added.

    2.6.10release notes

  • Request tracing was added, allowing developers to trace requests.

    2.6.10release notes

  • Search functionality now supports IDs.

    2.6.10release notes

  • Adds support for timestamptz in the Node.js SDK.

    2.6.5release notes

  • Adds function score support for search operations.

    2.6.2release notes

  • Adds support for struct array fields, with float vectors only.

    2.6.2release notes

Performance 1

  • Vector field data array concatenation is faster as row count grows.

    2.6.6release notes

Behavior and default changes 3

  • Upsert now supports array field operations.

    2.6.15release notes

  • The gRPC keepalive interval is set to 10 seconds with a 5-second timeout.

    2.6.10release notes

  • Upsert operations now implement partial update field filtering.

    2.6.8release notes

Fixes and other changes 18

  • Database properties support is aligned, affecting how developers use database properties through the SDK.

    2.6.14release notes

  • The bulk writer now marks nullable fields as optional in the Parquet schema.

    2.6.13release notes

  • Warns when no port is specified in the address.

    2.6.12release notes

  • Fixes a typo in clustering_key_field.

    2.6.12release notes

  • Forwards db_name in simplified createCollection.

    2.6.12release notes

  • Avoids class-name checks so minified builds can use getGRPCService.

    2.6.12release notes

  • Fixes Int64 precision.

    2.6.12release notes

  • Fixes ResourceGroup type fields to match proto definitions.

    2.6.12release notes

  • Prevents infinite recursion when SchemaMismatch occurs for other reasons.

    2.6.12release notes

  • Sets the VarChar placeholder type for all function output vector fields.

    2.6.12release notes

  • The addCollectionFields flow now passes db_name to addCollectionField.

    2.6.10release notes

  • Insert logic now considers the allow_insert_auto_id property.

    2.6.10release notes

  • When partial_update is true, nullable and default fields are skipped during validation.

    2.6.7release notes

  • HTTP error handling was improved, affecting how developers encounter errors from the SDK.

    2.6.6release notes

  • Fixed RRFRanker not working after v2.6.2.

    2.6.4release notes

  • Fixed creating a collection containing only a struct with a vector field.

    2.6.4release notes

  • Fixed WeightedRanker not working after v2.6.2.

    2.6.4release notes

  • Fixes the struct field's max_capacity.

    2.6.3release notes