usearch 2.7.1 → 2.7.3

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.
@@ -418,13 +418,6 @@ jobs:
418
418
  verbose: true
419
419
  print-hash: true
420
420
 
421
- - name: Publish to Anaconda
422
- run: |
423
- pip install anaconda-client
424
- export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_API_TOKEN }}
425
- anaconda login --token $ANACONDA_API_TOKEN
426
- anaconda upload -u unum-cloud ./dist/artifact/*.tar.bz2
427
-
428
421
  publish_javascript:
429
422
  name: Publish JavaScript
430
423
  needs: versioning
package/CITATION.cff CHANGED
@@ -5,7 +5,7 @@ authors:
5
5
  given-names: "Ash"
6
6
  orcid: "https://orcid.org/0000-0002-4882-1815"
7
7
  title: "USearch by Unum Cloud"
8
- version: 2.7.1
8
+ version: 2.7.3
9
9
  doi: 10.5281/zenodo.7949416
10
10
  date-released: 2022-06-12
11
11
  url: "https://github.com/unum-cloud/usearch"
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "usearch"
3
- version = "2.7.1"
3
+ version = "2.7.3"
4
4
  authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
5
5
  description = "Smaller & Faster Single-File Vector Search Engine from Unum"
6
6
  edition = "2021"
package/README.md CHANGED
@@ -392,7 +392,7 @@ doi = {10.5281/zenodo.7949416},
392
392
  author = {Vardanian, Ash},
393
393
  title = {{USearch by Unum Cloud}},
394
394
  url = {https://github.com/unum-cloud/usearch},
395
- version = {2.7.1},
395
+ version = {2.7.3},
396
396
  year = {2022},
397
397
  month = jun,
398
398
  }
package/build.gradle CHANGED
@@ -4,6 +4,7 @@ plugins {
4
4
  id 'java-library'
5
5
  id 'cpp'
6
6
  id 'maven-publish'
7
+ id 'signing'
7
8
  }
8
9
 
9
10
  group "cloud.unum"
@@ -30,6 +31,11 @@ sourceSets {
30
31
  }
31
32
  }
32
33
 
34
+ task sourcesJar(type: Jar, dependsOn: classes) {
35
+ archiveClassifier.set('sources')
36
+ from sourceSets.main.allSource
37
+ }
38
+
33
39
  dependencies {
34
40
  testImplementation('junit:junit:4.13.2')
35
41
  }
@@ -87,10 +93,21 @@ jar {
87
93
  }
88
94
  }
89
95
 
96
+ signing {
97
+ useGpgCmd()
98
+ sign publishing.publications
99
+ }
100
+
90
101
  publishing {
91
102
  publications {
92
103
  library(MavenPublication) {
93
104
  from components.java
105
+
106
+ artifact sourcesJar
107
+
108
+ signing {
109
+ sign publishing.publications.library
110
+ }
94
111
 
95
112
  pom {
96
113
  name = "USearch"
@@ -110,6 +127,13 @@ publishing {
110
127
  url = 'https://github.com/unum-cloud/usearch'
111
128
  }
112
129
 
130
+ developers {
131
+ developer {
132
+ id = 'ashvardanian'
133
+ name = 'Ash Vardanian'
134
+ email = 'ash.vardanian@unum.cloud'
135
+ }
136
+ }
113
137
  }
114
138
  }
115
139
  }
package/conanfile.py CHANGED
@@ -7,7 +7,7 @@ required_conan_version = ">=1.53.0"
7
7
  class USearchConan(ConanFile):
8
8
 
9
9
  name = "usearch"
10
- version = '2.7.1'
10
+ version = '2.7.3'
11
11
  license = "Apache-2.0"
12
12
  description = "Smaller & Faster Single-File Vector Search Engine from Unum"
13
13
  homepage = "https://github.com/unum-cloud/usearch"
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <Project>
3
3
  <PropertyGroup>
4
- <Version Condition="'$(Version)' == ''">2.7.1</Version>
4
+ <Version Condition="'$(Version)' == ''">2.7.3</Version>
5
5
 
6
6
  <Authors>Unum</Authors>
7
7
  <Company>Unum</Company>
@@ -11,7 +11,7 @@
11
11
 
12
12
  #define USEARCH_VERSION_MAJOR 2
13
13
  #define USEARCH_VERSION_MINOR 7
14
- #define USEARCH_VERSION_PATCH 1
14
+ #define USEARCH_VERSION_PATCH 3
15
15
 
16
16
  // Inferring C++ version
17
17
  // https://stackoverflow.com/a/61552074
@@ -260,7 +260,7 @@ Napi::Value CompiledIndex::Count(Napi::CallbackInfo const& ctx) {
260
260
  return result;
261
261
  }
262
262
 
263
- Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
263
+ Napi::Value exactSearch(Napi::CallbackInfo const& ctx) {
264
264
  Napi::Env env = ctx.Env();
265
265
 
266
266
  // Extracting parameters directly without additional type checks.
@@ -281,6 +281,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
281
281
  }
282
282
 
283
283
  metric_punned_t metric(dimensions, metric_kind, quantization);
284
+ executor_default_t executor;
284
285
  exact_search_t search;
285
286
 
286
287
  // Performing the exact search.
@@ -293,7 +294,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
293
294
  reinterpret_cast<byte_t const*>(queriesBuffer.Data()), //
294
295
  queries_size, //
295
296
  dimensions * bytes_per_scalar, //
296
- wanted, metric);
297
+ wanted, metric, executor);
297
298
 
298
299
  if (!results)
299
300
  Napi::TypeError::New(env, "Out of memory").ThrowAsJavaScriptException();
@@ -325,7 +326,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
325
326
  }
326
327
 
327
328
  Napi::Object InitAll(Napi::Env env, Napi::Object exports) {
328
- exports.Set("compiledExactSearch", Napi::Function::New(env, compiledExactSearch));
329
+ exports.Set("exactSearch", Napi::Function::New(env, exactSearch));
329
330
  return CompiledIndex::Init(env, exports);
330
331
  }
331
332
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usearch",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "description": "Smaller & Faster Single-File Vector Search Engine from Unum",
5
5
  "author": "Ash Vardanian (https://ashvardanian.com/)",
6
6
  "license": "Apache 2.0",
package/wasmer.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name="unum/usearch"
3
- version="2.7.1"
3
+ version="2.7.3"
4
4
  description="Smaller & Faster Single-File Vector Search Engine from Unum"
5
5
  license="Apache-2.0"
6
6
  readme="README.md"