Skip to content

Release v1.5.0

Latest
Compare
Choose a tag to compare
@hemidactylus hemidactylus released this 21 Sep 15:31
bd99707

v. 1.5.0

Deprecation of "namespace-" terminology, replaced by "keyspace-" (removal in 2.0)

  • deprecation of all namespace method names
  • deprecation of the namespace= named argument to all methods
  • deprecation of the update_db_namespace parameter to create_*space

Deprecation of collection bulk_write method (removal in 2.0)
APICommander logs warnings received from the Data API
Full removal of "core library" from the current API:

  • DevOps API accessed through APICommander everywhere
  • Admin objects use APICommander consistently
  • [Async]Database and [Async]Collection directly use APICommander
  • Cursor library uses APICommander directly
  • Core library imports triggers a submodule-wide deprecation warning
  • (simplification of the vector/vectorize deprecator utility)

Widened exception hierarchy with:

  • DevOpsAPIHttpException
  • DevOpsAPITimeoutException
  • DevOpsAPIFaultyResponseException

Rearrangement into separate modules for:

  • constants, strings, magic numbers and settings
  • request low-level tools
  • payload/response transformations
  • (sometimes with temporary duplication to avoid depending on 'core')

Testing:

  • testing on HCD targets Data API v 1.0.16
  • added tests for APICommander
  • improved tests for admin classes

Logging of API requests made more uniform and easier to read
Replaced collections.abc.Iterator => typing.Iterator for python3.8 compatibility