Skip to content

Releases: codenotary/immudb-py

v1.5.0

29 Jul 11:24
fb76484
Compare
Choose a tag to compare

Changes

  • Support for immudb server v1.9.3:
    • Update datatypes
    • Support streaming queries in sqlQuery/txSqlQuery methods
    • Update immudb versions in ci actions

Full changelog: v1.4.0...v1.5.0

v1.4.0

25 Oct 12:43
Compare
Choose a tag to compare

1.4.0 full api support release

New

  • Added docstring documentation for every public method
  • Added option for specyfing max_grpc_message_length on client side (increase max grpc body size have to be done also on immudb side)
  • createDatabaseV2 method - creating more complex databases
  • databaseListV2 method - new method to list databases
  • loadDatabase method
  • unloadDatabase method
  • deleteDatabase method
  • updateDatabaseV2 method - for updating databases in more complex maneer
  • getDatabaseSettingsV2 method
  • setActiveUser method
  • flushIndex method
  • databaseHealth method
  • streamGet method for receiving an key-value in buffered streaming maneer
  • streamGetFull method for receiving an key-value in streaming maneer (handles full reading automaticaly)
  • streamVerifiedGetBuffered method for receiving an key-value in buffered streaming maneer and verifying with current saved state
  • streamVerifiedGet method for receiving an key-value in streaming maneer (handles full reading automaticaly) and verifying with current saved state
  • streamHistory for receiving a history for a key in a streaming maneer
  • streamHistoryBuffered for receiving a history for a key in a buffered stream maneer
  • streamZScanBuffered - for receiving a value with secondary index in a buffered stream maneer
  • streamZScan - for receiving a value with secondary index in a streaming maneer
  • streamScan - for receiving a key-values for provided parameters in a streaming maneer
  • streamScanBuffered - for receiving a key-values for provided parameters in a buffered stream maneer
  • streamExecAll - for executing actions in streaming maneer
  • streamVerifiedSet - sets a key into provided buffer in streaming maneer and verifies state
  • streamVerifiedSetFullValue - sets a key into provided value in streaming maneer and verifies state
  • streamSet - sets a key into provided buffer in streaming maneer
  • streamSetFullValue - sets a key into provided value in streaming maneer
  • exportTx - exports transaction from immudb
  • replicateTx - replicate transaction into immudb (exported by exportTx for example)
  • verifiableSQLGet - allows to verify SQL row with current state
  • notarization of immudb-py

What's Changed

Full Changelog: v1.3.2...v1.4.0

v1.3.2

01 Sep 12:26
Compare
Choose a tag to compare

Features

  • Explicit support for immudb server v1.3.2

New

Adjustments

  • ensuring compability with 1.3.2 and older versions of immudb

What's Changed

  • Immudb 1.3.2 with backward compability fix by @Razikus in #53

Full Changelog: v1.3.1...v1.3.2

1.3.1

29 Aug 08:18
Compare
Choose a tag to compare

Features

  • Explicit support for immudb server v1.3.1
  • Global GRPC request timeout

New

Adjustments

  • client initialization - timeout parameter (you can now specify maximum timeout for request)

What's Changed

  • 1.3.1 test container bump, added global timeout for requests by @Razikus in #49

Full Changelog: v1.3.0...v1.3.1

1.3.0

12 Jun 18:18
a060704
Compare
Choose a tag to compare

Features

  • Explicit support for immudb server v1.3.0
  • Added possibility to retrieve value at provided revision
  • Added support for interactive sessions

New

Adjustments

  • get and verifiedGet - now it's possible to pass atRevision parameter to get value as some revision. Revision supports also relatives (like -1)

What's Changed

  • Support for atRevision for get and verifiedGet by @Razikus in #47

Full Changelog: v1.2.4...v1.3.0

1.2.4

27 May 12:11
Compare
Choose a tag to compare

Features

  • Support for immudb server v1.2.4
  • Added possibility to retrieve SQL Response with column names
  • Added support for interactive sessions

New

New functions

  • openManagedSession() - opens a interactive managed session with Tx sub interface. Managed session will automatically send keep alive packet. Should be opened with "with" statement to guarantee close
  • openSession() - opens an interactive session
  • closeSession() - closes an interactive session
  • Tx -> newTx() - opens an new transaction
  • Tx -> commit() - commits an transaction
  • Tx -> rollback() -> rollback an transaction
  • Tx -> sqlQuery() -> makes a SQL Query and returns results
  • Tx -> sqlExec() -> executes SQL

Adjustments

  • sqlQuery - now it's possible to use different column name modes - you could get preety dict in return, instead of tuples

What's Changed

  • Support for interactive transactions, and different column names mode by @Razikus in #46

Full Changelog: v1.2.3...v1.2.4

1.2.3

25 Apr 17:25
a741e21
Compare
Choose a tag to compare

Features

  • Support for immudb server v1.2.3
  • Added Delete method
  • Added ExpireableSet method
  • Added VerifiedGetSince

New

New functions

  • delete() - allows to delete key

immudb is immutable. You can add records, but never change or delete records. It's possible to achieve deletion by using the Delete function. It provides logical deletion, it means that it is not phisically deleted from db, but it's not possible to query it anymore after deletion.

  • expireableSet() - allows to set expireable flag on key
  • verifiedGetSince() - allows to get verfied result since provided transaction

What's Changed

Full Changelog: v1.2.2...v1.2.3

1.2.2

13 Apr 08:51
d529c98
Compare
Choose a tag to compare

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.

Release 0.9.0

25 Feb 11:24
cb61f34
Compare
Choose a tag to compare

Improved python SDK: this SDK version works with immudb v0.9.0 and v0.9.1.

Release 0.8.0

22 Feb 11:31
33a6b75
Compare
Choose a tag to compare
Feat/nosv (#14)

* Removed use of SV functions
* Aligned with immudb schema without SV, refactored directory layout
* Added Scan and Reference methods