github milvus-io/milvus client/v2.6.1

2 days ago

Milvus Go SDK v2.6.1 Release Notes

Release Date: October 11, 2025

Overview

This release brings important bug fixes, performance improvements, and new feature support to the Milvus Go SDK. The Go SDK v2.6.1 is compatible with Milvus v2.6.x and includes support for new data types, enhanced CDC capabilities, and improved developer experience.

What's New

Features

Geospatial Data Type Support (#44547)

  • Added support for Geospatial data types and GIS functions
  • Enables creation and description of collections with geospatial type
  • Support for inserting, loading, querying and searching geospatial data
  • GIS functions like ST_EQUALS are now supported in query expressions
  • R-Tree index support for geometry type
  • Data exchange using WKT format with WKB for internal processing

CDC (Change Data Capture) Support (#44124)

  • New CDC service implementation for Milvus 2.6
  • Log-based cross-cluster replication capabilities
  • Enhanced data synchronization between clusters

Manual L0 Compaction (#44440)

  • Added support for manually triggering L0 compaction operations
  • Better control over compaction processes

Granular FlushAll Operations (#44234)

  • Enhanced FlushAll functionality to support targeting specific collections within databases
  • More precise control over data persistence operations
  • Maintains backward compatibility with database-level flushing

AutoID with Primary Key Insertion (#44561)

  • Users can now insert primary key data even when AutoID is enabled
  • Provides more flexibility in data insertion scenarios
  • Related issue: #44424

Enhancements

Performance Improvements

Receiver Parse Result Cache (#44166)

  • Added receiver parse result cache for improved performance
  • Fixes nil IDs unmarshal panicking (#42895)
  • Reduces redundant parsing overhead

Bug Fixes

Dynamic Column Handling (#44626)

  • Fixed row-to-column input handling for dynamic columns
  • Resolves data conversion issues
  • Related issue: #44161

Dependency Updates

Package Version Updates

  • Bumped pkg dependency version to v2.6.3 (#44712)
  • Bumped milvus & proto version to v2.6.3 (#44633)
  • Bumped milvus & proto version to v2.6.2 (#44427)
  • Bumped milvus & proto version to v2.6.1 (#44133)
  • Bumped go version to 1.24.6 (#44763)

Breaking Changes

None

Bug Fixes

  • #44626: Fixed dynamic column handling when converting row-based input to column format
  • #44166: Fixed nil IDs unmarshal panicking issue

Improvements

  • Enhanced data type support with Geospatial types
  • Better performance with parse result caching
  • More flexible data insertion with AutoID support
  • Improved CDC capabilities for cross-cluster replication
  • Better compaction control with manual L0 compaction

Installation

Using Go Modules

go get -u github.com/milvus-io/milvus/client/v2@v2.6.1

Import in Your Code

import (
    "github.com/milvus-io/milvus/client/v2/milvusclient"
)

Compatibility

  • Compatible with Milvus v2.6.x
  • Requires Go 1.24.6 or higher
  • Proto version: v2.6.3
  • Pkg version: v2.6.3

Contributors

Special thanks to all contributors who made this release possible:

Full Changelog

For a complete list of changes, see: client/v2.6.0...client/v2.6.1

Resources

Upgrade Guide

To upgrade from v2.6.0 to v2.6.1:

  1. Update your go.mod file:

    go get -u github.com/milvus-io/milvus/client/v2@v2.6.1
  2. Run go mod tidy:

    go mod tidy
  3. Review your code for any usage of dynamic columns to ensure compatibility with the fix in #44626

  4. Test your application thoroughly, especially if using:

    • Geospatial data types (new feature)
    • CDC functionality (new feature)
    • AutoID with primary key insertion (new feature)
    • FlushAll with collection-specific targets (enhanced)

Known Issues

None reported for this release.

Next Steps

Don't miss a new milvus release

NewReleases is sending notifications on new releases.