Skip to content

v2.0.0

Compare
Choose a tag to compare
@ptpaterson ptpaterson released this 20 May 20:35
· 44 commits to main since this release
9a12451

Added

  • Event Streaming in #232
  • Add ttl as public field for Document in #254
  • Add encoding/decoding for Fauna Bytes in #260

Changed

  • Sort service errors into appropriate error class based on errors code, rather than HTTP status in #252
    • Fauna error responses with constraint_failure code are thrown as a new ConstraintFailureError class. These used to be thrown as QueryRuntimeError.
    • Fauna error responses with time_out code are thrown as QueryTimeoutError, regardless of HTTP status. ServiceTimeoutError has been removed.

Full Changelog: v1.3.1...v2.0.0