Releases: SqliteModernCpp/sqlite_modern_cpp
version 3.2
Features:
- Alternative flags and encoding support #93 Thanks to @zauguin
- Support for
std::variant
#95 Thanks to @zauguin - Function pointers as callbacks #101 Thanks to @zauguin
- Support for error logging #111 Thanks to @zauguin
- Expose extended result codes #110 Thanks to @zauguin
Fixes:
- Convert UTF-16 statements to UTF-8 #91 Thanks to @zauguin
- Fixed reexecution of statements #97 Thanks to @Killili
- Diagnose attempts to execute multistatements #100 Thanks to @zauguin
- Fix exceptions so they can be caught by const reference #102 Thanks to @cbeiraod
- Support all integer types #104 Thanks to @zauguin
- Fix for readme markdown #106 Thanks to @bryant1410
- Fix
C++14
flag inconfigure.ac
#107 Thanks to @EarthlingKira
Many thanks to all great contributors of the project ;)
version 3.1
version 3.0
Features:
- Support
lvalue functors
foroperator >>
#60 - Support for
std::vector
allocator #76 Thanks to @zauguin - Expose error codes in exceptions #80 Thanks to @zauguin
- Use
std::uncaught_exceptions
if possible #86 Thanks to @zauguin - SQLCipher support #77 Thanks to @zauguin
- Support for custom SQL functions #89 Thanks to @zauguin
- Include SQL statement in exception #85 Thanks to @zauguin
Fixes:
- Fixed Bad database_binder destructor behavior #63 Thanks to @polesapart
- Throw dedicated exceptions for
no_rows
andmore_rows
#62 Thanks to @ulrichbayer - Fixed sqlite memory leak on failed open #65 Thanks to @polesapart
You can find more info in the updated README file.
Breaking changes:
- Databases with non-ASCII characters in their names created with v1.x & v2.x are not found by this version. You have to manually rename them to their actual (UTF-8 encoded) name.
version 2.4
Fixes:
- Support Gcc6 #55 (Thanks to @semsevens)
version 2.3
Fixes:
- Updated sqlite version to 3.12.0
- Added forgotten operator
<<
overload #46 - Added support for
nullptr
anduniqueptr<T>
and deprecatedboost::optional
. #52 - Fixed exceptions terminating the program #53
You can find more info in the updated README file.
Breaking changes:
- prepared statements are not
uniqueptr<database_binder>
anymore, they are plaindatabase_binder
instances.
so instead ofprepared_statment->reset()
you should writeprepared_statement.reset()
. boost_optional<T>
is deprecated, we will replace this withstd::experimental::optional<T>
when enough compilers support it.
version 2.2
version 2.1
version 2.0
Changes:
1- handling lambda with any number of arguments (thanks to @KnairdA)
2- boost optional support (thanks to @Killili)
3- prepared statements (thanks to @Killili)
4- shared db connection (thanks to @Killili)
5- automated project tests with drone.io (thanks to @edrosten)
6- extracting data to std::touple (thanks to @edrosten)
7- better exception handling (thanks to @edrosten)
Many thanks to all great contributors of the project ;)
support for utf16 strings.
fixes hidden bug when binding std::string field.
replace std::wstring with std::u16string (sqlite3 supports utf16 and utf8 strings).
note :this release is also tested on clang 3.4 and android ndk .
1.3: Merge pull request #3 from aminroosta/experimental
- c++11 namespace fix
- g++ general warnings fix
- ~database_binder executing a done statement takes a lot of time
thanks to (https://github.com/Killili)