Skip to content

1.2.2

Compare
Choose a tag to compare
@mabmayer mabmayer released this 13 Apr 08:51
· 31 commits to master since this release
d529c98

Features:

  • works with immudb server v1.2.2
  • implementes proof for old and new header version
  • immudb SQL Timestamp is mapped to Python datetime.datetime. You can use naive and timezone aware datetime.datetime objects for SQL statements, data returned from database will always be timezone aware, with UTC set, since immudb timestamps are based on the epoch.

New

New functions

  • health
  • createDatabase
  • useDatabase

New exceptions

  • ErrUnsupportedTxVersion
  • ErrNonExpirable
  • ErrCorruptedData
  • ErrReadOnly
  • ErrKeyNotFound

Deprecated

Deprecated functions

  • databaseCreate
  • databaseUse
    SDK will issue warnings when you use these functions. You can put limits in this warnings with a warnings filter.

Deprecated exceptions

  • VerificationException: You should use ErrCorruptedData instead. There will be no warning, when you use the VerificationException, so please review your code. You can use ErrCorruptedData in exact the same way as VerificationException.

Breaking changes

  • When using sqlExec and an immudb v1.1.0 server, there will be no txs field in the response, since v1.1.0 uses ctxs and dtxs. But due to protobuf changes, these are now unknown fields.