neighbor 0.3.2 → 0.5.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c8b5d19222742f33f51f2c30f9d03108ebd3ed99908a7e9dd5f4e49caa2e225
4
- data.tar.gz: c9cfa942f2cdd8b9757c9ecfe5e89d0aced11263f8a559004ee15fa0c8adb3f4
3
+ metadata.gz: 5d7036a69b1c57161eaeb11e38feee92c1d5082ddbe8907a83ac3126adf9ae56
4
+ data.tar.gz: c88e4400b75d2a87f766f7e0b7ff6c5311d9c7866d32e7c2b9aa7601f60c474f
5
5
  SHA512:
6
- metadata.gz: e9e0050031ce7691baa9242b3b6b5aa76afb1fe7c63575129e68b2f5c027143b3c08f68a7babfcf2a9b02f1d9327679f75e9c40b95ac2245ea7c8dd3025d3cdb
7
- data.tar.gz: a9c505740cba454437617733d4025360848a16ef9a4c9c83fc16d5bc82a3e5521c77e3cba874ef3cf318cf3a1e319567958a6156481f7fd82ef72ebaa87d97eb
6
+ metadata.gz: d3c4c25404fb64f324fbba70edcf06d827d3708905ed4a84404a6c9ce39f27b6890d449b285ce302e24495a666c34f0bf3050270b54ef8d283f53ebeb19e4e91
7
+ data.tar.gz: 63927a8801a88edd48f74ce85d056d7112fa526b37d473b232256b5f2d47e5254b34b25e0312afc01bfedcd6a9d7826496f208e0ab0d3f57c3307fa298b8984e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ ## 0.5.0 (2024-10-07)
2
+
3
+ - Added experimental support for SQLite (sqlite-vec)
4
+ - Added experimental support for MariaDB 11.6 Vector
5
+ - Added experimental support for MySQL 9
6
+ - Changed `normalize` option to use Active Record normalization
7
+ - Fixed connection leasing for Active Record 7.2
8
+ - Dropped support for Active Record < 7
9
+
10
+ ## 0.4.3 (2024-09-02)
11
+
12
+ - Added `rrf` method
13
+
14
+ ## 0.4.2 (2024-08-27)
15
+
16
+ - Fixed error with `nil` values
17
+
18
+ ## 0.4.1 (2024-08-26)
19
+
20
+ - Added `precision` option
21
+ - Added support for `bit` dimensions to model generator
22
+ - Fixed error with Numo arrays
23
+
24
+ ## 0.4.0 (2024-06-25)
25
+
26
+ - Added support for `halfvec` and `sparsevec` types
27
+ - Added support for `taxicab`, `hamming`, and `jaccard` distances with `vector` extension
28
+ - Added deserialization for `cube` and `vector` columns without `has_neighbor`
29
+ - Added support for composite primary keys
30
+ - Changed `nearest_neighbors` to replace previous `order` scopes
31
+ - Changed `normalize` option to use `before_save` callback
32
+ - Changed dimensions and finite values checks to use Active Record validations
33
+ - Fixed issue with `nearest_neighbors` scope overriding `select` values
34
+ - Removed default attribute name
35
+ - Dropped support for Ruby < 3.1
36
+
1
37
  ## 0.3.2 (2023-12-12)
2
38
 
3
39
  - Added deprecation warning for `has_neighbors` without an attribute name
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021-2023 Andrew Kane
3
+ Copyright (c) 2021-2024 Andrew Kane
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal