client/v2.6.1

milvus-io/milvusclient/v2.6.1Oct 13, 2025by congqixia

AI Summary

The Go SDK v2.6.1 introduces support for geospatial data types, Change Data Capture (CDC), and manual L0 compaction, alongside performance improvements and bug fixes.

Key Highlights

  • Support for Geospatial data types and GIS functions
  • New CDC service implementation for cross-cluster replication
  • Manual L0 compaction support

New Features

  • Geospatial data type support
  • CDC support
  • Manual L0 compaction
  • Granular FlushAll operations

Full Release Notes

# 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

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

### Import in Your Code

```go
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:

- @congqixia
- @sunby
- @xiaocai2333
- @MrPresent-Han
- @weiliu1031
- @bigsheeper

## Full Changelog

For a complete list of changes, see: https://github.com/milvus-io/milvus/compare/client/v2.6.0...client/v2.6.1

## Resources

- [Go SDK Documentation](https://milvus.io/docs/install-go.md)
- [API Reference](https://pkg.go.dev/github.com/milvus-io/milvus/client/v2)
- [Milvus Documentation](https://milvus.io/docs)
- [GitHub Repository](https://github.com/milvus-io/milvus)
- [Issue Tracker](https://github.com/milvus-io/milvus/issues)

## Upgrade Guide

To upgrade from v2.6.0 to v2.6.1:

1. Update your go.mod file:
   ```bash
   go get -u github.com/milvus-io/milvus/client/v2@v2.6.1
   ```

2. Run go mod tidy:
   ```bash
   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

- Review the [migration guide](https://milvus.io/docs/migrate_overview.md) if upgrading from older versions
- Check out the [example code](https://github.com/milvus-io/milvus/tree/master/client/examples) for new features
- Join the [Milvus community](https://github.com/milvus-io/milvus/discussions) for support and discussions