Releases: iwongu/sqlite3pp
Releases · iwongu/sqlite3pp
Modernization and major bug fixes for header-only implementation
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.
- Resolved SIGSEGV in
-
New Features:
- Added support for
voidreturn types in SQL extension functions and aggregates. - Added full
char16_t(UTF-16) support for named parameters and stream binding.
- Added support for
-
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_closewithsqlite3_close_v2for safer teardown.
- Added a self-contained, comprehensive test suite in
-
Project Status:
- Updated
README.mdwith modern examples and formally designatedheaderonly_srcas the primary maintained implementation.
- Updated
Bug fixes and user issue supports
- 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
v1.0.8 Adds a section about execute_all.
Support usages in loadable extensions.
See https://sqlite.org/loadext.html for loadable extensions.
Updates version number definitions in header files.
v1.0.6 Update version number definitions.
Support sqlite3 backup API.
Merge pull request #36 from iwongu/backup Supports backup methods in database class.
Make dtors not throw exceptions.
v1.0.3 has the changes only in headeronly_src. I forgot to update files in src.
Make dtors not throw exceptions.
v1.0.3 Make dtors not throw exceptions.
More helper methods
changes and extended_error_code added in database.