⚠️ Breaking Change: The score column has been renamed to _distance to more accurately describe the semantics (smaller means closer / better).
What's Changed
* fix(node): Handle overflows in the node bridge by gsilvestrin in https://github.com/lancedb/lancedb/pull/372
* Implement drop table if exists by changhiskhan in https://github.com/lancedb/lancedb/pull/383
* Improve pydantic integration by changhiskhan in https://github.com/lancedb/lancedb/pull/384
* make pandas an optional dependency in lancedb as well by changhiskhan in https://github.com/lancedb/lancedb/pull/385
* add LanceModel to docs by changhiskhan in https://github.com/lancedb/lancedb/pull/386
* Restrict semver version to 3.0 by eddyxu in https://github.com/lancedb/lancedb/pull/389
* feat(node): Improve concurrency by gsilvestrin in https://github.com/lancedb/lancedb/pull/376
* fix(node) Give preference to local index.node lib by gsilvestrin in https://github.com/lancedb/lancedb/pull/393
* [WIP] Workflow to trigger vectordb-recipes workflow by unkn-wn in https://github.com/lancedb/lancedb/pull/371
* fix(node) Unit tests hangs and don't exit by gsilvestrin in https://github.com/lancedb/lancedb/pull/396
* [Docs] add Tables guide by AyushExel in https://github.com/lancedb/lancedb/pull/381
* [Docs] Allow edit suggestions and analytics by AyushExel in https://github.com/lancedb/lancedb/pull/394
* [Documentation Code Testing] temp fix for nodejs docs test hang by TevinWang in https://github.com/lancedb/lancedb/pull/404
* fix(docs) fix minor typo by westonpace in https://github.com/lancedb/lancedb/pull/408
* implement remote drop table call by chebbyChefNEQ in https://github.com/lancedb/lancedb/pull/411
* fix(node) Remove mpsc from JS SDK by gsilvestrin in https://github.com/lancedb/lancedb/pull/407
/pull/413
* feat(node) Remote drop table by gsilvestrin in https://github.com/lancedb/lancedb/pull/412
* [Node] Use index by default by eddyxu in https://github.com/lancedb/lancedb/pull/422
* [breaking change] make schema a property by chebbyChefNEQ in https://github.com/lancedb/lancedb/pull/414
* implementation of drop_database by ashiskumarnaik in https://github.com/lancedb/lancedb/pull/418
* chore: upgrade Lance and rename score to _distance by wjones127 in https://github.com/lancedb/lancedb/pull/398
New Contributors
* westonpace made their first contribution in https://github.com/lancedb/lancedb/pull/408
* ashiskumarnaik made their first contribution in https://github.com/lancedb/lancedb/pull/418
**Full Changelog**: https://github.com/lancedb/lancedb/compare/v0.1.19...v0.2.0
python-v0.2.0
⚠️ Breaking Change: The score column has been renamed to _distance to more accurately describe the semantics (smaller means closer / better).
What's Changed
* add LanceModel to docs by changhiskhan in https://github.com/lancedb/lancedb/pull/386
* Restrict semver version to 3.0 by eddyxu in https://github.com/lancedb/lancedb/pull/389
* [WIP] Workflow to trigger vectordb-recipes workflow by unkn-wn in https://github.com/lancedb/lancedb/pull/371
* [python] Allow adding via iterators by AyushExel in https://github.com/lancedb/lancedb/pull/391
* [Docs] add Tables guide by AyushExel in https://github.com/lancedb/lancedb/pull/381
* [Docs] Allow edit suggestions and analytics by AyushExel in https://github.com/lancedb/lancedb/pull/394
* [Documentation Code Testing] temp fix for nodejs docs test hang by TevinWang in https://github.com/lancedb/lancedb/pull/404
* Automatically convert pydantic model by changhiskhan in https://github.com/lancedb/lancedb/pull/400
* fix(docs) fix minor typo by westonpace in https://github.com/lancedb/lancedb/pull/408
* implement remote drop table call by chebbyChefNEQ in https://github.com/lancedb/lancedb/pull/411
* [Python][Remote] Raise meaningful exception for to_arrow() / to_pandas() by eddyxu in https://github.com/lancedb/lancedb/pull/413
* [⚠️ Breaking Change] Make schema a property by chebbyChefNEQ in https://github.com/lancedb/lancedb/pull/414
* Implementation of drop_database by ashiskumarnaik in https://github.com/lancedb/lancedb/pull/418
* [⚠️ Breaking Change] chore: upgrade Lance and rename score to _distance by wjones127 in https://github.com/lancedb/lancedb/pull/398
New Contributors
* westonpace made their first contribution in https://github.com/lancedb/lancedb/pull/408
* ashiskumarnaik made their first contribution in https://github.com/lancedb/lancedb/pull/418
**Full Changelog**: https://github.com/lancedb/lancedb/compare/python-v0.1.16...python-v0.2.0
python-v0.1.16
LanceDB and Lance both have pandas as an optional dependency to reduce the install size.
The pydantic integration with LanceDB has been improved. Think of it like a light-weight ORM-layer for LanceDB!
python
import lancedb
from lancedb.pydantic import LanceModel, vector
class TestModel(LanceModel):
name: str
vector: vector(2)
create table using schema generated from the model
db = lancedb.connect("/tmp")
table = db.create_table("test", schema=TestModel.to_arrow_schema())
add pydantic model instances
table.add([
TestModel(name="test", vector=[1.0, 2.0])
])
convert search results to pydantic models
table.search([0., 0.]).limit(1).to_pydantic(TestModel)
[TestModel(name='test', vector=FixedSizeList(dim=2))]