Skip to content

Releases: nuodb/nuodb-python

v4.0.0

12 Sep 15:46

Choose a tag to compare

Summary

This release focuses on enhanced data type support, improved connection management, and better compliance with Python DB-API 2.0 standards.
The addition of context manager support and timezone-aware datetime handling improves the developer experience.

Migration Notes:

  • Review exception handling code due to DB-API 2.0 compliance changes
  • Test compatibility with date/time data types
  • Consider adopting context manager pattern for connection management

BREAKING CHANGES

  • Exception Hierarchy Update: Adjusted exception hierarchy to match DB-API 2.0 specification - existing exception handling code may need updates
  • Timezone-Aware DateTime: Full support for timezone-aware datetime objects with server/client sync

Features

  • Context Manager Support: Added context manager (with statement) support for database connections
  • Vector Data Types: Added support for VECTOR(<dim>,DOUBLE) data type ([DB-40533])
  • Enhanced Cryptography: Add support for SRP-over-AES (in addition to existing TLS and SRP-over-RC4 support)
  • Protocol Enhancements:
    • Full support for protocol.LAST_COMMIT_INFO
    • Support for prepared statements returning metadata
  • Connection Configuration: New Connection.connection_config() method to access connection details

Improvements

  • Data Type Support:
    • Added support for <null> type columns
    • Enhanced ScaledCount3 encoded values support
    • Missing SQL data types now supported
  • Session Management:
    • Improved partial-buffer send algorithm
    • Better handling of commit sequences
    • Unicode address support
  • Column Metadata: Use column labels instead of column names in descriptions
  • Socket Handling: Improved incomplete socket send() operations
  • Code Quality: Enhanced logging practices and cleaned up imports

Technical Updates

  • Testing Framework: Migrated test suite from unittest to pytest
  • CI/CD: Updated CircleCI configuration to use latest NuoDB Docker images
  • Dependencies: Updated cryptography module compatibility
  • Performance: Optimized session and connection handling algorithms

Release 3.0.0

09 Sep 17:14
5d703e4

Choose a tag to compare

  • Enhance P3 implementation and remove NuoDB Agent support
  • session.send(): Allow sending of bytes, str, or bytearray
  • session: Create stream_recv() to read everything from a socket

Release 2.6.1

10 Oct 18:07

Choose a tag to compare

  • Mark the module as OS-independent
  • Add CircleCI support
  • Update copyrights

Release 2.3.2

10 Sep 20:49

Choose a tag to compare

  • Added method close_result_set to encodedsession
  • Added method close to result_set
  • Any open result_set objects that are associated with a cursor will be closed when cursor.close() is called. The previous behavior kept the result_set objects open for the whole session of the connection.
  • Released alongside NuoDB 2.3.1.14 release found here http://download.nuodb.com

Release 2.3.1

09 Jul 18:59

Choose a tag to compare

Python 3 support and various datatype fixes