summaryrefslogtreecommitdiff
path: root/changelog
blob: 60bd9011b85da65110b080612a5fcf2e5a8fafad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
0.4.15.0
	* Support GHC 8.4.1 (Add instance Semigroup Query) (thanks @gwils!)

0.4.14.0
	* Use @hvr's Only package for the Only single element typle type.

0.4.13.0
	* Add columnCount (thanks @Shimuuar!)
	* Add withImmediateTransaction, withExclusiveTransaction (thanks @mbucc!)
	* Expose the Database.SQLite3 Statement type through Database.SQLite.Simple Statement

0.4.12.1
	* Add Setup.hs (https://github.com/fpco/stackage/issues/2145)

0.4.12.0
	* Add queryWith

0.4.11.0
	* Add executeMany

0.4.10.0
	* Expose sqlite3_changes/total_changes

0.4.9.0
	* Provide queryWith_ to allow more fine-grained access to
	  constructing queries.
	* Expose error data constructors (pull request #42)
	* Improve haddocks

0.4.8.0
	* Export `bindNamed'

0.4.7.0
	* Add `withTransaction' for running IO actions inside SQL
	  transactions with automated rollback if any exceptions are thrown.

0.4.6.1
	* Fix unit test build break with older bytestring versions

0.4.6.0
	* Add "named parameters" variants of query & al.  Named params
	  allow queries like:
	  res <- queryNamed conn "SELECT * FROM posts WHERE id = :id" [":id" := postId]
	* Add FromField instances for Int8, Word, Word8, Word16, Word32
	  and Word64.
	* Fix typos in some type conversion error messages.
	* Improved test coverage.

0.4.5.2
	* Build fix for GHC 7.4

0.4.5.1
	* Docs changes - uploaded new version to Hackage to update the
	Hackage page.

0.4.5.0

	* Various improvements to documentation.  Especially UTCTime
	  parsing and printing, and how it relates to SQLite datetimes is
	  better documented now.

	* Improved date/time parsing performance by adapting Leon
	  P. Smith's parsers from postgresql-simple for SQLite.  UTCTime
	  handling is also better defined now.

	* Improved query performance
	  (https://github.com/nurpax/sqlite-simple/issues/23)

	* Improved tests for all areas touched by the above change.

v0.4.4.0

	* Add FromField instance for Float

	* Improve error handling for day parsing

	* + with tests

v0.4.1.0 - v0.4.3.0 (missed tagging v0.4.2.0)

	* Improvements to withBind functionality and documentation
	  (see https://github.com/nurpax/sqlite-simple/pull/26)

	* Add columnName accessor for statements

	* Expose MonadPlus on RowParser

	* Allow access to the underlying direct-sqilte connection from an
	  sqlite-simple connection

	* Add Data.Text.Lazy and lazy ByteString From/ToField instances

v0.4.0.0

	* Add lastInsertRowId

	* Expose SQLite statements based streaming API
	  (see https://github.com/nurpax/sqlite-simple/pull/22)

v0.3.0.0

	* Add fold, fold_, withConnection

v0.2.0.0 - v0.2.1.0

	* Optimizations to improve query rows/sec performance