Skip to content

Commit 7c4689e

Browse files
committed
Update changelog
1 parent 2286e66 commit 7c4689e

File tree

4 files changed

+133
-124
lines changed

4 files changed

+133
-124
lines changed

CHANGELOG.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
Mar 30 2012
2+
- Start of a new thin C++ SQLite wrapper
3+
4+
Apr 2 2012
5+
- The wrapper is functionnal
6+
- Added documentation and examples
7+
- Publication on GitHub
8+
9+
Version 0.1.0 - Apr 4 2012
10+
- Added a Database::exec() methode to execute simple SQL statement
11+
- Added a version number like in sqlite3.h, starting with 0.1.0
12+
13+
Version 0.2.0 - Apr 11 2012
14+
- Added getLastInsertId() and setBusyTimout()
15+
- Added bind() by name methods
16+
17+
Version 0.3.0 - Apr 16 2012
18+
- Added an easy wrapper Database::execAngGet()
19+
20+
Version 0.4.0 - Apr 23 2012
21+
- Added a Database::tableExists() easy to use function
22+
23+
Dec 10 2012
24+
- Added a Statement::exec() method to execute a one-step query with no expected result
25+
26+
Version 0.5.0 - March 9 2013
27+
- Added assert() on errors on destructors
28+
- Added getBytes()
29+
- Added getBlob(), getType() and isInteger/isFloat/isText/isBlob/isNull
30+
- Added bind() for binary blob data
31+
32+
Version 0.5.1 - April 7 2013
33+
- Added Column::getName()
34+
35+
Version 0.6.0 - November 22 2013
36+
- Renamed Column::getName() to Column::getOriginName()
37+
- Added Column::getName()
38+
39+
Version 0.7.0 - January 9 2014
40+
- Added Database::createFunction()
41+
- Added std::string version of existing APIs
42+
- Improved CMake with more build options and Doxygen auto-detection
43+
44+
Version 0.8.0 - February 26 2014
45+
- Database constructor support opening a database with a custom VFS (default to NULL)
46+
- Changed Column::getText() to return empty string "" by default instead of NULL pointer (to handle std::string conversion)
47+
48+
Version 1.0.0 - May 3 2015
49+
- Public headers file moved to include/ dir
50+
- Added support to biicode in CMakeLists.txt
51+
- Added Unit Tests
52+
- Added aBusyTimeoutMs parameter to Database() constructors
53+
- Added Database::getTotalChanges()
54+
- Added Database::getErrorCode()
55+
- Added Statement::clearBindings()
56+
- Added Statement::getColumn(aName)
57+
- Added Statement::getErrorCode()
58+
- Added Statement::getColumnName(aIndex)
59+
- Added Statement::getColumnOriginName(aIndex)
60+
61+
Version 1.1.0 - May 18 2015
62+
- Fixed valgrind error on Database destructor
63+
- Added Database::loadExtension
64+
65+
Version 1.2.0 - September 9 2015
66+
- Fixed build with GCC 5.1.0
67+
- Fixed MSVC release build warning
68+
- Fixed CppDepends warnings
69+
- Updated documentation on installation
70+
- Added Database::getHandle()
71+
72+
Version 1.3.0 - November 1 2015
73+
- Fixed build with Visual Studio 2015
74+
- Further improvements to README
75+
- Added Backup class
76+
77+
Version 1.3.1 - February 10 2016
78+
- Swith Linux/Mac build to the provided SQLite3 C library
79+
- Update SQLite3 from 3.8.8.3 to latest 3.10.2 (2016-01-20)
80+
- Remove warnings
81+
- Remove biicode support (defunct service, servers will shutdown the 16th of February 2016)
82+
83+
Version 2.0.0 - July 25 2016
84+
- Update SQLite3 from 3.10.2 to latest 3.13 (2016-05-18)
85+
- Move #include <sqlite3.h> from headers to .cpp files only using forward declarations
86+
- Add Database::VERSION to reach SQLITE_VERSION without including sqlite3.h in application code
87+
- Add getLibVersion() and getLibVersionNumber() to get runtime version of the library
88+
- Better exception messages when Statements fail PR #84
89+
- Variadic templates for bind() (C++14) PR #85
90+
- Add Statement::bindNoCopy() methods for strings, using SQLITE_STATIC to avoid internal copy by SQLite3 PR #86
91+
- Add Statement::bind() overload for uint32_t, and Column::getUint() and cast operator to uint32_t PR #86
92+
- Use the new SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION from SQLite 3.13 for security reason
93+
- Rename Backup::remainingPageCount()/totalPageCount() to Backup::getRemainingPageCount()/getTotalPageCount()
94+
- Remove Column::errmsg() method : use Database or Statement equivalents
95+
- More unit tests, with code coverage status on the GitHub page
96+
- Do not force MSVC to use static runtime if unit-tests are not build
97+
98+
Version 2.1.0 - July 18 2017
99+
- Update SQLite3 from 3.13 to latest 3.19.3 (2017-06-08)
100+
- Fixed Incompatibility in 3.19.0 (to use older SQLite version set the CMake variable SQLITE_USE_LEGACY_STRUCT) #125
101+
- Fixed link error (inline in cpp) and compiler warnings (unused variable...) #96
102+
- Added ability to open encrypted databases #107
103+
- Added convenience functions for constructing objects from a row #114
104+
- Added CMake install step #118
105+
- Fix warnings #119
106+
- Make cpplint.py Python-3 compatible #120
107+
- Link libssp when targeted #100
108+
- Removed redundant const #102
109+
110+
Version 2.2.0 - Sept 19 2017
111+
- Update SQLite3 from 3.19.3 to latest 3.20.1 (2017-08-24) #143
112+
- Added tryExecuteStep and tryReset #142
113+
- Removed virtual kewords from destructors #140
114+
- Removed misplaced noexcept keyword #139
115+
- Improved Exception class C++ conformance #138
116+
- Fix warnings #134
117+
- Deprecated Statement::IsOk() to Statement::HasRow()
118+
119+
Version ?
120+
- Add Statement binding for long int values #147

CHANGELOG.txt

Lines changed: 0 additions & 111 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (c) 2012-2016 Sebastien Rombauts ([email protected])
44
#
55
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
6-
# or copy at http://opensource.org/licenses/MIT)
6+
# or copy at http://opensource.org/licenses/MIT)
77
cmake_minimum_required(VERSION 2.8.12) # first version with add_compile_options()
88
project(SQLiteCpp)
99

@@ -33,7 +33,7 @@ if (MSVC)
3333
else (MSVC)
3434
set(CPPLINT_ARG_OUTPUT "--output=eclipse")
3535
set(CPPCHECK_ARG_TEMPLATE "--template=gcc")
36-
# Useful compile flags and extra warnings
36+
# Useful compile flags and extra warnings
3737
add_compile_options(-fstack-protector -Wall -Wextra -Wpedantic -Wno-long-long -Wswitch-enum -Wshadow -Winline)
3838
if (CMAKE_COMPILER_IS_GNUCXX)
3939
# GCC flags
@@ -77,20 +77,20 @@ endif ()
7777
# Options relative to SQLite and SQLiteC++ functions
7878

7979
option(SQLITE_ENABLE_COLUMN_METADATA "Enable Column::getColumnOriginName(). Require support from sqlite3 library." ON)
80-
if (SQLITE_ENABLE_COLUMN_METADATA)
80+
if (SQLITE_ENABLE_COLUMN_METADATA)
8181
# Enable the use of SQLite column metadata and Column::getColumnOriginName() method,
8282
# Require that the sqlite3 library is also compiled with this flag (default under Debian/Ubuntu, but not on Mac OS X).
8383
add_definitions(-DSQLITE_ENABLE_COLUMN_METADATA)
8484
endif (SQLITE_ENABLE_COLUMN_METADATA)
8585

8686
option(SQLITE_ENABLE_ASSERT_HANDLER "Enable the user defintion of a assertion_failed() handler." OFF)
87-
if (SQLITE_ENABLE_ASSERT_HANDLER)
87+
if (SQLITE_ENABLE_ASSERT_HANDLER)
8888
# Enable the user defintion of a assertion_failed() handler (default to false, easier to handler for begginers).
8989
add_definitions(-DSQLITECPP_ENABLE_ASSERT_HANDLER)
9090
endif (SQLITE_ENABLE_ASSERT_HANDLER)
9191

9292
option(SQLITE_USE_LEGACY_STRUCT "Fallback to forward declaration of legacy struct sqlite3_value (pre SQLite 3.19)" OFF)
93-
if (SQLITE_USE_LEGACY_STRUCT)
93+
if (SQLITE_USE_LEGACY_STRUCT)
9494
# Force forward declaration of legacy struct sqlite3_value (pre SQLite 3.19)
9595
add_definitions(-DSQLITE_USE_LEGACY_STRUCT)
9696
endif (SQLITE_USE_LEGACY_STRUCT)
@@ -148,7 +148,7 @@ source_group(example1 FILES ${SQLITECPP_EXAMPLES})
148148
set(SQLITECPP_DOC
149149
README.md
150150
LICENSE.txt
151-
CHANGELOG.txt
151+
CHANGELOG.md
152152
TODO.txt
153153
)
154154
source_group(doc FILES ${SQLITECPP_DOC})
@@ -165,7 +165,7 @@ set(SQLITECPP_SCRIPT
165165
)
166166
source_group(scripts FILES ${SQLITECPP_SCRIPT})
167167

168-
# All includes are relative to the "include" directory
168+
# All includes are relative to the "include" directory
169169
include_directories("${PROJECT_SOURCE_DIR}/include")
170170

171171
# add sources of the wrapper as a "SQLiteCpp" static library
@@ -184,7 +184,7 @@ install(TARGETS SQLiteCpp
184184
LIBRARY DESTINATION lib
185185
ARCHIVE DESTINATION lib
186186
COMPONENT libraries)
187-
target_include_directories(SQLiteCpp PUBLIC
187+
target_include_directories(SQLiteCpp PUBLIC
188188
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
189189
$<INSTALL_INTERFACE:include/>)
190190
install(DIRECTORY include/ DESTINATION include COMPONENT headers FILES_MATCHING REGEX ".*\\.(hpp|h)$")
@@ -269,7 +269,7 @@ if (SQLITECPP_BUILD_EXAMPLES)
269269
endif ()
270270
elseif (MSYS OR MINGW)
271271
target_link_libraries(SQLiteCpp_example1 ssp)
272-
endif ()
272+
endif ()
273273
else (SQLITECPP_BUILD_EXAMPLES)
274274
message(STATUS "SQLITECPP_BUILD_EXAMPLES OFF")
275275
endif (SQLITECPP_BUILD_EXAMPLES)
@@ -287,7 +287,7 @@ if (SQLITECPP_BUILD_TESTS)
287287
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/googletest/CMakeLists.txt")
288288
message(FATAL_ERROR "Missing 'googletest' submodule! Either use 'git init submodule' and 'git update submodule' to get googletest according to the README, or deactivate unit tests with -DSQLITECPP_BUILD_TESTS=OFF")
289289
endif ()
290-
add_subdirectory(googletest)
290+
add_subdirectory(googletest)
291291
include_directories("${PROJECT_SOURCE_DIR}/googletest/googletest/include")
292292

293293
# add the unit test executable
@@ -296,7 +296,7 @@ if (SQLITECPP_BUILD_TESTS)
296296
# Link target with dl for linux
297297
if (UNIX AND NOT APPLE)
298298
target_link_libraries(SQLiteCpp_tests dl)
299-
endif ()
299+
endif ()
300300

301301
# add a "test" target:
302302
enable_testing()

TODO.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Switch to C++11 for v2.0.0 with removal of include <sqlite.h> in headers
1+
Switch to C++11 for v3.0.0
22

33
Add a Tutorial for SQLite newbies
44
Add a real example in the form of a small interactive console application
@@ -20,7 +20,7 @@ Missing unit tests in v2.0.0:
2020
Advanced missing features:
2121
- #39: SAVEPOINT https://www.sqlite.org/lang_savepoint.html
2222

23-
- Add optional usage of experimental sqlite3_trace() function to enable statistics
23+
- Add optional usage of experimental sqlite3_trace() function to enable statistics
2424
- Agregate ?
2525

2626
- support for different transaction mode ? NO: too specific

0 commit comments

Comments
 (0)