Skip to content

Releases: milvus-io/milvus-sdk-node

Release v2.5.9

19 May 09:25
29bc8a5
Compare
Choose a tag to compare
  • Use JSON proto instead of proto files (No more proto files)
    Introduced proto-json functionality that eliminates proto file dependency (#437)
    → Solves import failures in serverless platforms like Vercel and Cloudflare or AWS lambda
    → No more need to manage proto files manually
    issues: (#326 #276)

  • Milvus Lite 2.5 RC Support
    Now compatible with Milvus Lite version 2.5 (#434)
    → only supprt 2.5 RC1 https://pypi.org/project/milvus-lite/2.5.0rc1/

Example:

import { MilvusLiteClient } from '@zilliz/milvus2-sdk-node';
const milvusClient = await MilvusLiteClient({
  address: path.resolve(__dirname, 'test.db')
});
// create
await milvusClient.createCollection({
  collection_name: COLLECTION_NAME,
  fields: schema,
});
// describe
await milvusClient.describeCollection({
  collection_name: COLLECTION_NAME,
});
// create index
await milvusClient.createIndex({
  collection_name: COLLECTION_NAME,
  field_name: 'vector',
  extra_params: {
    index_type: 'IVF_FLAT',
    metric_type: 'L2',
    params: JSON.stringify({ nlist: 1024 }),
  },
});
// load
await milvusClient.loadCollection({
  collection_name: COLLECTION_NAME,
});
// insert
await milvusClient.insert({
  collection_name: COLLECTION_NAME,
  data,
});
// query
await milvusClient.query({
  collection_name: COLLECTION_NAME,
  expr: `id > 0`,
});
// search
await milvusClient.search({
  collection_name: COLLECTION_NAME,
  data: [1, 2, 3, 4],
});
  • Schema Flexibility
    Added option to ignore schema check during insertion and use string key for validation (#438)
    if you have trouble to insert data on AWS lambda, you can skip check schema like below or upgrade your milvus to v2.5.12
await milvusClient.insert({
  collection_name: 'my-collection',
  skip_check_schema: true
});
  • Grpc API Enhancement
    • Added support for specifying partition type (load/all) in showPartitions API (#431)
    • New runAnalyzer API
      const runAnalyzer = await milvusClient.runAnalyzer({
        analyzer_params: {
          tokenizer: 'standard',
          filter: ['lowercase'],
        },
        text: 'Would you like to eat an apple?',
        with_detail: true,
        with_hash: true,
      });
  • REST API Enhancement
    Added consistency level support for RESTful query API (#440)

Full Changelog

For complete details, see:
v2.5.8...v2.5.9

release v2.5.8

18 Apr 09:05
0ab0d57
Compare
Choose a tag to compare

What's Changed

  • fix: Search output on multiple vector search returning values of the first record by @shanghaikid in #429
  • feat: split search results if nq >2 for HttpClient by @shanghaikid in #430

Full Changelog: v2.5.7...v2.5.8

Release v2.5.7

25 Mar 09:12
5594f70
Compare
Choose a tag to compare

What's Changed

  • fix: the search result is formatted incorrectly if nq > 1 with some filters by @zhanshuyou in #420

Full Changelog: v2.5.6...v2.5.7

Release v2.5.6

17 Mar 03:02
bb8dabf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.5...v2.5.6

Release v2.5.5

28 Jan 00:30
c3357f0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.4...v2.5.5

Release v2.5.4

15 Jan 10:41
b14807b
Compare
Choose a tag to compare

What's Changed

The search result should not contains id field if you don't have it in your schema.

Full Changelog: v2.5.3...v2.5.4

Release v2.4.11

15 Jan 10:40
b59fe99
Compare
Choose a tag to compare

What's Changed

The search result should not contains the id field if you don't have it in your schema.

Full Changelog: v2.4.10...v2.4.11

Release v2.5.3

27 Dec 03:09
625e61b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.2...v2.5.3

v2.4.10

27 Dec 03:23
4aaedd2
Compare
Choose a tag to compare

What's Changed

  • support expr template values
  • Add alterCollectionFieldProperties API
  • Add backupRBAC and restoreRBAC API
  • Add grantPrivilegeV2 and revokePrivilegeV2
  • Add createPrivilegeGroup/dropPrivilegeGroup/listPrivilegeGroups/addPrivilegesToGroup/removePrivilegesFromGroup
  • Add alterIndexProperties and dropIndexProperties
  • support delete properties for database and collection
  • support the properties param in the create database api
  • Passing db_name param to the describeCollection()
  • feat(TLS): Support skipCertCheck option to bypass certificate check
  • support clustering key
  • fix: queryIterator limit field should be optional

Full Changelog: v2.4.9...v2.4.10

Release v2.5.2

21 Dec 08:26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.1...v2.5.2