Skip to content

Releases: SqliteModernCpp/sqlite_modern_cpp

version 3.2

13 May 16:21
Compare
Choose a tag to compare

Features:

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 in configure.ac #107 Thanks to @EarthlingKira

Many thanks to all great contributors of the project ;)

version 3.1

17 Feb 11:35
Compare
Choose a tag to compare

Fixes:

  • Fix build for modern standard libraries #90 Thanks to @zauguin

version 3.0

17 Feb 10:47
Compare
Choose a tag to compare

Features:

  • Support lvalue functors for operator >> #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 and more_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

05 Jul 13:30
Compare
Choose a tag to compare

Fixes:

version 2.3

24 Jun 12:00
Compare
Choose a tag to compare

Fixes:

  • Updated sqlite version to 3.12.0
  • Added forgotten operator << overload #46
  • Added support for nullptr and uniqueptr<T> and deprecated boost::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 plain database_binder instances.
    so instead of prepared_statment->reset() you should write prepared_statement.reset().
  • boost_optional<T> is deprecated, we will replace this with std::experimental::optional<T> when enough compilers support it.

version 2.2

26 Mar 12:40
Compare
Choose a tag to compare

Fixes:
1- prevent prepared-statements from executing again when they go out of scope #34
2- fix multiple definition of sqlite::database_binder #15
3- support functors in addition to lambdas #11

version 2.1

11 Feb 19:34
Compare
Choose a tag to compare

Changes:

  • blob support with std::vector<T>

Fixes:

version 2.0

24 Jan 13:13
Compare
Choose a tag to compare

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.

24 Mar 12:24
Compare
Choose a tag to compare

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

17 Sep 09:58
Compare
Choose a tag to compare
  • 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)