@zilliz/milvus2-sdk-node 2.2.18 → 2.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,9 +146,6 @@ message ExtensionRangeOptions {
|
|
|
146
146
|
// and enums.
|
|
147
147
|
optional string type = 3;
|
|
148
148
|
|
|
149
|
-
// Deprecated. Please use "repeated".
|
|
150
|
-
optional bool is_repeated = 4 [deprecated = true];
|
|
151
|
-
|
|
152
149
|
// If true, indicates that the number is reserved in the extension range,
|
|
153
150
|
// and any extension field with the number will fail to compile. Set this
|
|
154
151
|
// when a declared extension field is deleted.
|
|
@@ -157,6 +154,8 @@ message ExtensionRangeOptions {
|
|
|
157
154
|
// If true, indicates that the extension must be defined as repeated.
|
|
158
155
|
// Otherwise the extension must be defined as optional.
|
|
159
156
|
optional bool repeated = 6;
|
|
157
|
+
|
|
158
|
+
reserved 4; // removed is_repeated
|
|
160
159
|
}
|
|
161
160
|
|
|
162
161
|
// For external users: DO NOT USE. We are in the process of open sourcing
|
|
@@ -164,6 +163,9 @@ message ExtensionRangeOptions {
|
|
|
164
163
|
// used externally.
|
|
165
164
|
repeated Declaration declaration = 2 [retention = RETENTION_SOURCE];
|
|
166
165
|
|
|
166
|
+
// Any features defined in the specific edition.
|
|
167
|
+
optional FeatureSet features = 50;
|
|
168
|
+
|
|
167
169
|
// The verification state of the extension range.
|
|
168
170
|
enum VerificationState {
|
|
169
171
|
// All the extensions of the range must be declared.
|
|
@@ -490,6 +492,9 @@ message FileOptions {
|
|
|
490
492
|
// determining the ruby package.
|
|
491
493
|
optional string ruby_package = 45;
|
|
492
494
|
|
|
495
|
+
// Any features defined in the specific edition.
|
|
496
|
+
optional FeatureSet features = 50;
|
|
497
|
+
|
|
493
498
|
// The parser stores options it doesn't recognize here.
|
|
494
499
|
// See the documentation for the "Options" section above.
|
|
495
500
|
repeated UninterpretedOption uninterpreted_option = 999;
|
|
@@ -573,6 +578,9 @@ message MessageOptions {
|
|
|
573
578
|
// teams have had time to migrate.
|
|
574
579
|
optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
|
|
575
580
|
|
|
581
|
+
// Any features defined in the specific edition.
|
|
582
|
+
optional FeatureSet features = 12;
|
|
583
|
+
|
|
576
584
|
// The parser stores options it doesn't recognize here. See above.
|
|
577
585
|
repeated UninterpretedOption uninterpreted_option = 999;
|
|
578
586
|
|
|
@@ -712,17 +720,28 @@ message FieldOptions {
|
|
|
712
720
|
|
|
713
721
|
repeated OptionTargetType targets = 19;
|
|
714
722
|
|
|
723
|
+
message EditionDefault {
|
|
724
|
+
optional string edition = 1;
|
|
725
|
+
optional string value = 2; // Textproto value.
|
|
726
|
+
}
|
|
727
|
+
repeated EditionDefault edition_defaults = 20;
|
|
728
|
+
|
|
729
|
+
// Any features defined in the specific edition.
|
|
730
|
+
optional FeatureSet features = 21;
|
|
731
|
+
|
|
715
732
|
// The parser stores options it doesn't recognize here. See above.
|
|
716
733
|
repeated UninterpretedOption uninterpreted_option = 999;
|
|
717
734
|
|
|
718
735
|
// Clients can define custom options in extensions of this message. See above.
|
|
719
736
|
extensions 1000 to max;
|
|
720
737
|
|
|
721
|
-
reserved 4;
|
|
722
|
-
|
|
738
|
+
reserved 4; // removed jtype
|
|
739
|
+
reserved 18; // reserve target, target_obsolete_do_not_use
|
|
723
740
|
}
|
|
724
741
|
|
|
725
742
|
message OneofOptions {
|
|
743
|
+
// Any features defined in the specific edition.
|
|
744
|
+
optional FeatureSet features = 1;
|
|
726
745
|
|
|
727
746
|
// The parser stores options it doesn't recognize here. See above.
|
|
728
747
|
repeated UninterpretedOption uninterpreted_option = 999;
|
|
@@ -753,6 +772,9 @@ message EnumOptions {
|
|
|
753
772
|
// had time to migrate.
|
|
754
773
|
optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
|
755
774
|
|
|
775
|
+
// Any features defined in the specific edition.
|
|
776
|
+
optional FeatureSet features = 7;
|
|
777
|
+
|
|
756
778
|
// The parser stores options it doesn't recognize here. See above.
|
|
757
779
|
repeated UninterpretedOption uninterpreted_option = 999;
|
|
758
780
|
|
|
@@ -767,6 +789,9 @@ message EnumValueOptions {
|
|
|
767
789
|
// this is a formalization for deprecating enum values.
|
|
768
790
|
optional bool deprecated = 1 [default = false];
|
|
769
791
|
|
|
792
|
+
// Any features defined in the specific edition.
|
|
793
|
+
optional FeatureSet features = 2;
|
|
794
|
+
|
|
770
795
|
// Indicate that fields annotated with this enum value should not be printed
|
|
771
796
|
// out when using debug formats, e.g. when the field contains sensitive
|
|
772
797
|
// credentials.
|
|
@@ -781,6 +806,9 @@ message EnumValueOptions {
|
|
|
781
806
|
|
|
782
807
|
message ServiceOptions {
|
|
783
808
|
|
|
809
|
+
// Any features defined in the specific edition.
|
|
810
|
+
optional FeatureSet features = 34;
|
|
811
|
+
|
|
784
812
|
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
|
|
785
813
|
// framework. We apologize for hoarding these numbers to ourselves, but
|
|
786
814
|
// we were already using them long before we decided to release Protocol
|
|
@@ -823,6 +851,9 @@ message MethodOptions {
|
|
|
823
851
|
optional IdempotencyLevel idempotency_level = 34
|
|
824
852
|
[default = IDEMPOTENCY_UNKNOWN];
|
|
825
853
|
|
|
854
|
+
// Any features defined in the specific edition.
|
|
855
|
+
optional FeatureSet features = 35;
|
|
856
|
+
|
|
826
857
|
// The parser stores options it doesn't recognize here. See above.
|
|
827
858
|
repeated UninterpretedOption uninterpreted_option = 999;
|
|
828
859
|
|
|
@@ -858,6 +889,97 @@ message UninterpretedOption {
|
|
|
858
889
|
optional string aggregate_value = 8;
|
|
859
890
|
}
|
|
860
891
|
|
|
892
|
+
// ===================================================================
|
|
893
|
+
// Features
|
|
894
|
+
|
|
895
|
+
// TODO(b/274655146) Enums in C++ gencode (and potentially other languages) are
|
|
896
|
+
// not well scoped. This means that each of the feature enums below can clash
|
|
897
|
+
// with each other. The short names we've chosen maximize call-site
|
|
898
|
+
// readability, but leave us very open to this scenario. A future feature will
|
|
899
|
+
// be designed and implemented to handle this, hopefully before we ever hit a
|
|
900
|
+
// conflict here.
|
|
901
|
+
message FeatureSet {
|
|
902
|
+
enum FieldPresence {
|
|
903
|
+
FIELD_PRESENCE_UNKNOWN = 0;
|
|
904
|
+
EXPLICIT = 1;
|
|
905
|
+
IMPLICIT = 2;
|
|
906
|
+
LEGACY_REQUIRED = 3;
|
|
907
|
+
}
|
|
908
|
+
optional FieldPresence field_presence = 1 [
|
|
909
|
+
retention = RETENTION_RUNTIME,
|
|
910
|
+
targets = TARGET_TYPE_FIELD,
|
|
911
|
+
targets = TARGET_TYPE_FILE,
|
|
912
|
+
edition_defaults = { edition: "2023", value: "EXPLICIT" }
|
|
913
|
+
];
|
|
914
|
+
|
|
915
|
+
enum EnumType {
|
|
916
|
+
ENUM_TYPE_UNKNOWN = 0;
|
|
917
|
+
OPEN = 1;
|
|
918
|
+
CLOSED = 2;
|
|
919
|
+
}
|
|
920
|
+
optional EnumType enum_type = 2 [
|
|
921
|
+
retention = RETENTION_RUNTIME,
|
|
922
|
+
targets = TARGET_TYPE_ENUM,
|
|
923
|
+
targets = TARGET_TYPE_FILE,
|
|
924
|
+
edition_defaults = { edition: "2023", value: "OPEN" }
|
|
925
|
+
];
|
|
926
|
+
|
|
927
|
+
enum RepeatedFieldEncoding {
|
|
928
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0;
|
|
929
|
+
PACKED = 1;
|
|
930
|
+
EXPANDED = 2;
|
|
931
|
+
}
|
|
932
|
+
optional RepeatedFieldEncoding repeated_field_encoding = 3 [
|
|
933
|
+
retention = RETENTION_RUNTIME,
|
|
934
|
+
targets = TARGET_TYPE_FIELD,
|
|
935
|
+
targets = TARGET_TYPE_FILE,
|
|
936
|
+
edition_defaults = { edition: "2023", value: "PACKED" }
|
|
937
|
+
];
|
|
938
|
+
|
|
939
|
+
enum StringFieldValidation {
|
|
940
|
+
STRING_FIELD_VALIDATION_UNKNOWN = 0;
|
|
941
|
+
MANDATORY = 1;
|
|
942
|
+
HINT = 2;
|
|
943
|
+
NONE = 3;
|
|
944
|
+
}
|
|
945
|
+
optional StringFieldValidation string_field_validation = 4 [
|
|
946
|
+
retention = RETENTION_RUNTIME,
|
|
947
|
+
targets = TARGET_TYPE_FIELD,
|
|
948
|
+
targets = TARGET_TYPE_FILE,
|
|
949
|
+
edition_defaults = { edition: "2023", value: "MANDATORY" }
|
|
950
|
+
];
|
|
951
|
+
|
|
952
|
+
enum MessageEncoding {
|
|
953
|
+
MESSAGE_ENCODING_UNKNOWN = 0;
|
|
954
|
+
LENGTH_PREFIXED = 1;
|
|
955
|
+
DELIMITED = 2;
|
|
956
|
+
}
|
|
957
|
+
optional MessageEncoding message_encoding = 5 [
|
|
958
|
+
retention = RETENTION_RUNTIME,
|
|
959
|
+
targets = TARGET_TYPE_FIELD,
|
|
960
|
+
targets = TARGET_TYPE_FILE,
|
|
961
|
+
edition_defaults = { edition: "2023", value: "LENGTH_PREFIXED" }
|
|
962
|
+
];
|
|
963
|
+
|
|
964
|
+
enum JsonFormat {
|
|
965
|
+
JSON_FORMAT_UNKNOWN = 0;
|
|
966
|
+
ALLOW = 1;
|
|
967
|
+
LEGACY_BEST_EFFORT = 2;
|
|
968
|
+
}
|
|
969
|
+
optional JsonFormat json_format = 6 [
|
|
970
|
+
retention = RETENTION_RUNTIME,
|
|
971
|
+
targets = TARGET_TYPE_MESSAGE,
|
|
972
|
+
targets = TARGET_TYPE_ENUM,
|
|
973
|
+
targets = TARGET_TYPE_FILE,
|
|
974
|
+
edition_defaults = { edition: "2023", value: "ALLOW" }
|
|
975
|
+
];
|
|
976
|
+
|
|
977
|
+
extensions 1000; // for Protobuf C++
|
|
978
|
+
extensions 1001; // for Protobuf Java
|
|
979
|
+
|
|
980
|
+
extensions 9995 to 9999; // For internal testing
|
|
981
|
+
}
|
|
982
|
+
|
|
861
983
|
// ===================================================================
|
|
862
984
|
// Optional source code info
|
|
863
985
|
|
package/dist/sdk.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.2.
|
|
1
|
+
{"version":"2.2.19","milvusVersion":"v2.2.10"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zilliz/milvus2-sdk-node",
|
|
3
3
|
"author": "ued@zilliz.com",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.19",
|
|
5
5
|
"milvusVersion": "v2.2.10",
|
|
6
6
|
"main": "dist/milvus",
|
|
7
7
|
"files": [
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"doc-json": "npx typedoc milvus --json"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@grpc/grpc-js": "^1.8.
|
|
23
|
+
"@grpc/grpc-js": "^1.8.17",
|
|
24
24
|
"@grpc/proto-loader": "^0.7.7",
|
|
25
25
|
"dayjs": "^1.11.7",
|
|
26
26
|
"lru-cache": "^9.1.2",
|
|
27
|
-
"protobufjs": "^7.2.
|
|
27
|
+
"protobufjs": "^7.2.4",
|
|
28
28
|
"winston": "^3.9.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|