From e4b5d6eeed7c36c7a12de6813304b998d7d24493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Mon, 18 May 2015 21:10:48 +0200 Subject: [PATCH] Update version to 1.1.0 with bugfix and new loadExtension() --- CHANGELOG.txt | 26 +++++++++++++++----------- TODO.txt | 23 +++++++++++++++-------- include/SQLiteCpp/SQLiteCpp.h | 4 ++-- 3 files changed, 32 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1f4ede48..e62d0823 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -34,10 +34,10 @@ Version 0.5.1 - April 7 2013 Version 0.6.0 - November 22 2013 Renamed Column::getName() to Column::getOriginName() - Added a new Column::getName() + Added Column::getName() Version 0.7.0 - January 9 2014 - Added a new Database::createFunction() API + Added Database::createFunction() Added std::string version of existing APIs Improved CMake with more build options and Doxygen auto-detection @@ -45,15 +45,19 @@ Version 0.8.0 - February 26 2014 Database constructor support opening a database with a custom VFS (default to NULL) Changed Column::getText() to return empty string "" by default instead of NULL pointer (to handle std::string conversion) -Version 1.0.0 - pending May 2015 +Version 1.0.0 - May 3 2015 Public headers file moved to include/ dir Added support to biicode in CMakeLists.txt Added Unit Tests - Added a aBusyTimeoutMs parameter to Database() constructors - Added a Database::getTotalChanges() - Added a Database::getErrorCode() - Added a Statement::clearBindings() - Added a Statement::getColumn(aName) - Added a Statement::getErrorCode() - Added a Statement::getColumnName(aIndex) - Added a Statement::getColumnOriginName(aIndex) + Added aBusyTimeoutMs parameter to Database() constructors + Added Database::getTotalChanges() + Added Database::getErrorCode() + Added Statement::clearBindings() + Added Statement::getColumn(aName) + Added Statement::getErrorCode() + Added Statement::getColumnName(aIndex) + Added Statement::getColumnOriginName(aIndex) + +Version 1.1.0 - May 2015 ? + Fix valgrind error on Database destructor + Added Database::loadExtension \ No newline at end of file diff --git a/TODO.txt b/TODO.txt index a1de34d0..80640cd9 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,27 +1,34 @@ -Add a Tutorial: for SQLite newbies -Improve Github Wiki pages with the FAQ: Installation, Examples, Tutorial, How to contribute +Add a Tutorial for SQLite newbies +Add a real example (rework current example?) +Improve Github Wiki pages with the FAQ: Installation, Examples, Tutorial, How to contribute Publish the Doxygen Documentation in the Github Pages (gh-pages branch) -Missing features in v1.0.0: +Missing features in v1.1.0: - bind a SQLITE_STATIC value (string/blob) - bind a dynamic value with zerocopy (unlike SQLITE_TRANSIENT) with custom deleter +- #24: executemany() like in Python https://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.executemany +- #34: Better type for getColumn -Missing documentation in v1.0.0: +Missing documentation in v1.1.0: - explain the noncopyable property for RAII design -- comment on returning error code instead of exception that shall not be thrown when exepected (!?) +- comment on returning error code instead of exception that shall not be thrown when expected (!?) Missing unit tests in v1.0.0: +- Binding variants - Create Function - Assert Handler -- Binding variants +- Load Extension (not practicable, and easy to verify by code review) Advanced missing features: +- #39: SAVEPOINT https://www.sqlite.org/lang_savepoint.html + - backup support to/from file/:memory: +- Add optional usage of experimental sqlite3_trace() function to enable statistics - Agregate ? + - support for different transaction mode ? NO: too specific - operator<< binding ? NO: redundant with bind() - ATTACH Database ? NO: can already be done by "ATTACH" Statement -- Add optional usage of experimental sqlite3_trace() function to enable statistics -Post an article to CodeProject: Is there a license issue ? \ No newline at end of file +Post an article to CodeProject: Is there a license issue ? diff --git a/include/SQLiteCpp/SQLiteCpp.h b/include/SQLiteCpp/SQLiteCpp.h index a42f20df..7bb1dea7 100644 --- a/include/SQLiteCpp/SQLiteCpp.h +++ b/include/SQLiteCpp/SQLiteCpp.h @@ -38,5 +38,5 @@ * with the value (X*1000000 + Y*1000 + Z) where X, Y, and Z are the same * numbers used in [SQLITECPP_VERSION]. */ -#define SQLITECPP_VERSION "1.0.0" -#define SQLITECPP_VERSION_NUMBER 1000000 +#define SQLITECPP_VERSION "1.1.0" +#define SQLITECPP_VERSION_NUMBER 1001000