Skip to content

Release v1.3.0

Compare
Choose a tag to compare
@hemidactylus hemidactylus released this 22 Jun 07:04
4611be5
  • Integration testing covers Astra and nonAstra smoothly:
    * idiomatic library
    * vectorize_idiomatic
    * nonAstra admin, i.e. namespace crud
  • Add the TokenProvider abstract class => and StaticTokenProvider, UsernamePasswordTokenProvider
  • Introduce CHANGES file.
  • Add __eq__ and _copy methods to APICommander class
  • Allow delete_many({}) with empty filter
  • Implement include_sort_vector option to Collection.find and get_sort_vector to cursors
  • Add Content-Type header to all API requests
  • Added HCD and CASSANDRA Environment values (besides the other non-Astra DSE and OTHER)
  • Clearer string repr of cursors ('retrieved' => 'yielded so far')
  • Deprecation of collection delete_all method in favour of delete_many(filter={})
    * Introduction of a custom deprecation decorator for async method removal tests
  • Deprecation of vector,vectors and vectorize params from collections and Operations
  • Remove several long-deprecated methods from core API (i.e. internal changes):
    • AstraDBCollection.delete => delete_one
    • AstraDBCollection.upsert => upsert_one
    • AsyncAstraDBCollection.upsert => upsert_one
    • AstraDB.truncate_collection => AstraDBCollection.clear
    • AsyncAstraDB.truncate_collection => AsyncAstraDBCollectionclear
  • Add support for null tokens in the core library