Skip to content

Releases: iwongu/sqlite3pp

Modernization and major bug fixes for header-only implementation

08 Feb 19:40

Choose a tag to compare

This release focuses on improving the stability and features of the header-only implementation:

  • Major Fixes:

    • Resolved SIGSEGV in execute_all() with trailing whitespace (#78).
    • Fixed memory corruption in string extension results by using SQLITE_TRANSIENT (#81).
    • Fixed execute_all() to handle mixed parameterized and non-parameterized statements (#62).
    • Fixed potential connection leak and hook corruption during database move operations.
    • Fixed potential crash when retrieving NULL values as std::string.
  • New Features:

    • Added support for void return types in SQL extension functions and aggregates.
    • Added full char16_t (UTF-16) support for named parameters and stream binding.
  • Robustness:

    • Added a self-contained, comprehensive test suite in headeronly_src/test_all.cpp.
    • Modernized the codebase using C++11 features (nullptr, move semantics).
    • Replaced sqlite3_close with sqlite3_close_v2 for safer teardown.
  • Project Status:

    • Updated README.md with modern examples and formally designated headeronly_src as the primary maintained implementation.

Bug fixes and user issue supports

05 Nov 21:55

Choose a tag to compare

  • add LICENSE file
  • fix a memory leak in database ctor
  • c++ compatibility (std::iterator and std::tuple)
  • add clearing_bindings() in statement (query and commant)
  • support nullptr with binder()
  • merge the pull request to check nullptr for string value
  • add runnable test cases using memory db. test/testdb.cpp

Uses sqlite3_prepare_v2 instead of deprecated sqlite3_prepare

30 Nov 04:18

Choose a tag to compare

v1.0.8

Adds a section about execute_all.

Support usages in loadable extensions.

01 Aug 18:15

Choose a tag to compare

Updates version number definitions in header files.

13 Dec 16:56

Choose a tag to compare

v1.0.6

Update version number definitions.

Support sqlite3 backup API.

15 Jun 15:49

Choose a tag to compare

Merge pull request #36 from iwongu/backup

Supports backup methods in database class.

Make dtors not throw exceptions.

03 May 16:00

Choose a tag to compare

v1.0.3 has the changes only in headeronly_src. I forgot to update files in src.

Make dtors not throw exceptions.

03 May 15:56

Choose a tag to compare

v1.0.3

Make dtors not throw exceptions.

More helper methods

20 Apr 16:34

Choose a tag to compare

changes and extended_error_code added in database.

Bug fixes

17 Mar 17:53

Choose a tag to compare

Fixes #29