Skip to content

deps: bump astrapy from 1.5.2 to 2.0.1 #1881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 14, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2025

Bumps astrapy from 1.5.2 to 2.0.1.

Release notes

Sourced from astrapy's releases.

Release v2.0.1

changes since 2.0.0:

  • bugfix: receiving '$vector': null caused response parsing to break

Release v2.0.0

These release notes list changes compared to version 1.5.2 (previous stable).

For more on each item, please consult the API Reference and the Documentation.

New features

API Tables

Added Table support in the clients

  • New Database methods: .get_table(), .create_table(), .list_tables(), .list_table_names(), .drop_table(), .drop_table_index().
  • New classes: Table, AsyncTable (with notable methods .definition(), .create_index(), .create_vector_index(), .list_index_names(), .alter() in addition to those similar as for Collections).
  • New classes TableFindCursor and AsyncTableFindCursor for find results iteration.
  • New classes TableInsertOneResult, TableInsertManyResult, TableInsertManyException for table-specific results and exceptions.
  • New classes to create/inspect tables: TableInfo, CreateTableDefinition, ListTableDescriptor, ListTableDefinition, TablePrimaryKeyDescriptor, TableValuedColumnType, TableKeyValuedColumnType, TableVectorColumnType, TableUnsupportedColumnType, TableColumnTypeDescriptor, TableScalarColumnTypeDescriptor, TableVectorColumnTypeDescriptor, TableValuedColumnTypeDescriptor, TableKeyValuedColumnTypeDescriptor, TableUnsupportedColumnTypeDescriptor, TableAPISupportDescriptor.
  • New classes to create/inspect table indexes: TableIndexType, TableIndexOptions, TableVectorIndexOptions, TableBaseIndexDefinition, TableIndexDefinition, TableVectorIndexDefinition, TableAPIIndexSupportDescriptor, TableUnsupportedIndexDefinition, TableIndexDescriptor.
  • New classes to alter tables: AlterTableOperation, AlterTableAddColumns, AlterTableDropColumns, AlterTableAddVectorize, AlterTableDropVectorize.

Maps in tables can be expressed as list of pairs (association lists):

  • Support for automatic handling of DataAPIMaps (+possibly dicts) in the proper table payload portions
  • Introduced serdes option encode_maps_as_lists_in_tables (default to "NEVER") to control this

Tables come with full typing support (usage is optional), much like is now for Collections.

Find-and-rerank for Collections

Added support for findAndRerank ("hybrid search") API command

Method .find_and_rerank() in Collection/AsyncCollection classes:

  • New cursor classes [Async]CollectionFindAndRerankCursor (returned by said method).
  • Introduced class RerankedResult, over which these cursors iterate (modulo custom mappings).

Support for reranker header-based authentication where needed:

  • New authentication classes RerankingHeadersProvider, RerankingAPIKeyHeaderProvider for collections.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Apr 14, 2025
@dependabot dependabot bot force-pushed the dependabot/uv/astrapy-2.0.1 branch from 840d551 to 87eb299 Compare April 14, 2025 21:31
Bumps [astrapy](https://github.com/datastax/astrapy) from 1.5.2 to 2.0.1.
- [Release notes](https://github.com/datastax/astrapy/releases)
- [Commits](datastax/astrapy@v1.5.2...v2.0.1)

---
updated-dependencies:
- dependency-name: astrapy
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@collindutter collindutter force-pushed the dependabot/uv/astrapy-2.0.1 branch from 87eb299 to 4db7d26 Compare April 14, 2025 21:33
@collindutter collindutter force-pushed the dependabot/uv/astrapy-2.0.1 branch 2 times, most recently from c0bb9f5 to 4366eae Compare April 14, 2025 21:40
@collindutter collindutter force-pushed the dependabot/uv/astrapy-2.0.1 branch from 4366eae to 56fb6f0 Compare April 14, 2025 21:45
@collindutter collindutter merged commit b607c47 into main Apr 14, 2025
14 of 15 checks passed
@collindutter collindutter deleted the dependabot/uv/astrapy-2.0.1 branch April 14, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant