Releases: datastax/astrapy
Release v1.2.1
Raise default chunk size for insert_many to 50
Improvements in docstrings, testing, support for latest responses from vectorize.
Release v1.2.0
Vectorize support and non-Astra environment management.
Non-Astra environment awareness:
- astrapy.constants.Environment enum for the "environment" parameter to client, etc
- flexibility and adaptive defaults for data api url
- environment knowledge trickles throughout all classes (client, admins, databases)
- DataAPIDatabaseAdmin class (i.e. for namespace CRUD)
(internal) astrapy.api_commander.APICommander
(internal) astrapy.api_options.{BaseAPIOptions, CollectionAPIOptions}
$vectorize support:
- "service options" for creating/retrieving collections, covering $vectorize needs
- embedding_api_key parameter to collection (for "header" usage)
collection-level timeout parameter (overridable in single method calls)
expand "projection" type to include slice projections
client.get_database can accept an API endpoint directly
insert_many and bulk_write default to ordered=False
Release v1.1.0
Adds estimated_document_count
method to Collection class.
Release v1.0.0
Version 1.0.0 "idiomatic"
What's Changed
- Split classes, modules, tests to keep the "idiomatic" layer well separate and not touch the "astrapy" layer by @hemidactylus in #222
- DDL and some DML methods to m1 by @hemidactylus in #223
- passing secondary keyspace to action workflows by @hemidactylus in #224
- fix bug in copy and to_[a]sync when set_caller is later used by @hemidactylus in #226
- full cross-namespace management in DDL by @hemidactylus in #227
- More DDL methods and signature adjustments for Database by @hemidactylus in #232
- Sl overridable copy methods by @hemidactylus in #233
- Cursor/AsyncCursor, find and distinct by @hemidactylus in #234
- remove all 'unsupported' clutter; implement find_one (a/sync) by @hemidactylus in #235
- DML for idiomatic + necessary changes around by @hemidactylus in #238
- bulk_write method by @hemidactylus in #239
- More management methods by @hemidactylus in #241
- Sl collateral commands by @hemidactylus in #242
- commandcursor (+async), used in list_collections by @hemidactylus in #243
- Sl collection options + cap-aware count_documents by @hemidactylus in #244
- Fix #245: Delete CHANGES.md by @erichare in #246
- collection.drop + database/collection info and related methods/properties (metadata) by @hemidactylus in #247
- Adapt to latest choices in API semantics by @hemidactylus in #248
- More syntax changes as discussed + all docstrings by @hemidactylus in #249
- Full support for dotted key names in
distinct
by @hemidactylus in #250 - Refactor to feature 'idiomatic' first, with full back-compat with 'astrapy' by @hemidactylus in #251
- add sorting in hashing for distinct and factor it away by @hemidactylus in #253
- Exception management with a hierarchy of Exception classes by @hemidactylus in #254
- Full timeout support by @hemidactylus in #255
- Sl api refinements by @hemidactylus in #256
- ObjectIDs and UUIDs handled throughout (+ tests) by @hemidactylus in #257
- Admin interfaces and classes by @hemidactylus in #258
- Docstrings for all the admin/client parts + minor improvements to docstrings around by @hemidactylus in #259
- Readme overhaul by @hemidactylus in #260
- exporting logger for back-compatibility by @hemidactylus in #261
- Sl adjustments by @hemidactylus in #262
- custom payload serialization for httpx to block NaNs by @hemidactylus in #264
- improved docstrings (minor stuff) by @hemidactylus in #265
- Methods repr/str to all objects for graceful display by @hemidactylus in #266
- Full test suite on client/admin classes by @hemidactylus in #267
- Abstract DatabaseAdmin, admin standard utility conversion/methods + tests thereof by @hemidactylus in #268
- Collection options is a dataclass and not a dict anymore by @hemidactylus in #269
- pdoc annotations to control auto-docs by @hemidactylus in #270
- logging, create_database signature by @hemidactylus in #271
- Added async support for admin, as alternate methods on original classes by @hemidactylus in #272
- use MultiCallTimeoutManager in create_collection methods by @hemidactylus in #273
- v1.0.0 ("pm convergenge m1") gets to master by @hemidactylus in #275
Full Changelog: v0.7.7...v1.0.0
Release v0.7.7
What's Changed
- From @synedra for unsupported methods by @erichare in #216
- Sl remove "idiomatic" from master by @hemidactylus in #220
- enhanced copy methods for astrapy objects by @hemidactylus in #221
- feat: add ragstack-ai to user-agent if present by @nicoloboschi in #228
- Fix a typo in README.md by @ykdojo in #237
New Contributors
- @nicoloboschi made their first contribution in #228
- @ykdojo made their first contribution in #237
Full Changelog: v0.7.6...v0.7.7
Release v0.7.6
Full Changelog: v0.7.5...v0.7.6
Release v0.7.5
Release v0.7.4
What's Changed
- Feature/#173 client name by @hemidactylus in #190
- Adjust and test for TRACE logging by @hemidactylus in #192
- Full API to manage the caller identity by @hemidactylus in #198
- Fix #175 : if concurrency and ordered, warn. by @erichare in #200
- Fix #197 : devops url refactoring by @erichare in #199
- adding the forgotten tests for user agent by @hemidactylus in #201
Full Changelog: v0.7.3...v0.7.4
Release v0.7.3
What's Changed
Full Changelog: v0.7.2...v0.7.3
Release v0.7.2
What's Changed
- Fix #181 - use request handler for db ops by @erichare in #185
- Fix #179 : alias for upsert calls by @erichare in #180
- Add methods to_sync and to_async by @cbornet in #183
- Fix #186 - token and api endpoint not optional by @erichare in #187
- Add tests for collection "indexing" settings by @hemidactylus in #178
Full Changelog: v0.7.1...v0.7.2