Skip to content

Commit

Permalink
Update version to 1.1.0 with bugfix and new loadExtension()
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombauts committed May 18, 2015
1 parent 594b9c2 commit e4b5d6e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 21 deletions.
26 changes: 15 additions & 11 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,30 @@ 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

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
23 changes: 15 additions & 8 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -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 ?
Post an article to CodeProject: Is there a license issue ?
4 changes: 2 additions & 2 deletions include/SQLiteCpp/SQLiteCpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e4b5d6e

Please sign in to comment.