@@ -4,123 +4,212 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
6
6
7
+ ## 0.8.0 (August 28th, 2023)
8
+
9
+ ### Added
10
+
11
+ * Allow SQLite query parameters and support cached databases ([ #561 ] [ #561 ] )
12
+ * Support for unix socket for aiomysql and asyncmy ([ #551 ] [ #551 ] )
13
+
14
+ [ #551 ] : https://github.com/encode/databases/pull/551
15
+ [ #561 ] : https://github.com/encode/databases/pull/546
16
+
17
+ ### Changed
18
+
19
+ * Change isolation connections and transactions during concurrent usage ([ #546 ] [ #546 ] )
20
+ * Bump requests from 2.28.1 to 2.31.0 ([ #562 ] [ #562 ] )
21
+ * Bump starlette from 0.20.4 to 0.27.0 ([ #560 ] [ #560 ] )
22
+ * Bump up asyncmy version to fix ` No module named 'asyncmy.connection' ` ([ #553 ] [ #553 ] )
23
+ * Bump wheel from 0.37.1 to 0.38.1 ([ #524 ] [ #524 ] )
24
+
25
+ [ #546 ] : https://github.com/encode/databases/pull/546
26
+ [ #562 ] : https://github.com/encode/databases/pull/562
27
+ [ #560 ] : https://github.com/encode/databases/pull/560
28
+ [ #553 ] : https://github.com/encode/databases/pull/553
29
+ [ #524 ] : https://github.com/encode/databases/pull/524
30
+
31
+ ### Fixed
32
+
33
+ * Fix the type-hints using more standard mode ([ #526 ] [ #526 ] )
34
+
35
+ [ #526 ] : https://github.com/encode/databases/pull/526
36
+
7
37
## 0.7.0 (Dec 18th, 2022)
8
38
9
39
### Fixed
10
40
11
- * Fixed breaking changes in SQLAlchemy cursor; supports ` >=1.4.42,<1.5 ` (#513 ).
12
- * Wrapped types in ` typing.Optional ` where applicable (#510 ).
41
+ * Fixed breaking changes in SQLAlchemy cursor; supports ` >=1.4.42,<1.5 ` ([ #513 ] [ #513 ] )
42
+ * Wrapped types in ` typing.Optional ` where applicable ([ #510 ] [ #510 ] )
43
+
44
+ [ #513 ] : https://github.com/encode/databases/pull/513
45
+ [ #510 ] : https://github.com/encode/databases/pull/510
13
46
14
47
## 0.6.2 (Nov 7th, 2022)
15
48
16
49
### Changed
17
50
18
- * Pinned SQLAlchemy ` <=1.4.41 ` to avoid breaking changes (#520 ).
51
+ * Pinned SQLAlchemy ` <=1.4.41 ` to avoid breaking changes ([ #520 ] [ #520 ] )
52
+
53
+ [ #520 ] : https://github.com/encode/databases/pull/520
19
54
20
55
## 0.6.1 (Aug 9th, 2022)
21
56
22
57
### Fixed
23
58
24
- * Improve typing for ` Transaction ` (#493 )
25
- * Allow string indexing into Record (#501 )
59
+ * Improve typing for ` Transaction ` ([ #493 ] [ #493 ] )
60
+ * Allow string indexing into Record ([ #501 ] [ #501 ] )
61
+
62
+ [ #493 ] : https://github.com/encode/databases/pull/493
63
+ [ #501 ] : https://github.com/encode/databases/pull/501
26
64
27
65
## 0.6.0 (May 29th, 2022)
28
66
29
- * Dropped Python 3.6 support (#458 )
67
+ * Dropped Python 3.6 support ([ #458 ] [ #458 ] )
68
+
69
+ [ #458 ] : https://github.com/encode/databases/pull/458
30
70
31
71
### Added
32
72
33
- * Add _ mapping property to the result set interface (#447 )
34
- * Add contributing docs (#453 )
73
+ * Add \_ mapping property to the result set interface ([ #447 ] [ #447 ] )
74
+ * Add contributing docs ([ #453 ] [ #453 ] )
75
+
76
+ [ #447 ] : https://github.com/encode/databases/pull/447
77
+ [ #453 ] : https://github.com/encode/databases/pull/453
35
78
36
79
### Fixed
37
80
38
- * Fix query result named access (#448 )
39
- * Fix connections getting into a bad state when a task is cancelled (#457 )
40
- * Revert #328 parallel transactions (#472 )
41
- * Change extra installations to specific drivers (#436 )
81
+ * Fix query result named access ([ #448 ] [ #448 ] )
82
+ * Fix connections getting into a bad state when a task is cancelled ([ #457 ] [ #457 ] )
83
+ * Revert #328 parallel transactions ([ #472 ] [ #472 ] )
84
+ * Change extra installations to specific drivers ([ #436 ] [ #436 ] )
85
+
86
+ [ #448 ] : https://github.com/encode/databases/pull/448
87
+ [ #457 ] : https://github.com/encode/databases/pull/457
88
+ [ #472 ] : https://github.com/encode/databases/pull/472
89
+ [ #436 ] : https://github.com/encode/databases/pull/436
42
90
43
91
## 0.5.4 (January 14th, 2022)
44
92
45
93
### Added
46
94
47
- * Support for Unix domain in connections (#423 )
48
- * Added ` asyncmy ` MySQL driver (#382 )
95
+ * Support for Unix domain in connections ([ #423 ] [ #423 ] )
96
+ * Added ` asyncmy ` MySQL driver ([ #382 ] [ #382 ] )
97
+
98
+ [ #423 ] : https://github.com/encode/databases/pull/423
99
+ [ #382 ] : https://github.com/encode/databases/pull/382
49
100
50
101
### Fixed
51
102
52
- * Fix SQLite fetch queries with multiple parameters (#435 )
53
- * Changed ` Record ` type to ` Sequence ` (#408 )
103
+ * Fix SQLite fetch queries with multiple parameters ([ #435 ] [ #435 ] )
104
+ * Changed ` Record ` type to ` Sequence ` ([ #408 ] [ #408 ] )
105
+
106
+ [ #435 ] : https://github.com/encode/databases/pull/435
107
+ [ #408 ] : https://github.com/encode/databases/pull/408
54
108
55
109
## 0.5.3 (October 10th, 2021)
56
110
57
111
### Added
58
112
59
- * Support ` dialect+driver ` for default database drivers like ` postgresql+asyncpg ` (#396 )
113
+ * Support ` dialect+driver ` for default database drivers like ` postgresql+asyncpg ` ([ #396 ] [ #396 ] )
114
+
115
+ [ #396 ] : https://github.com/encode/databases/pull/396
60
116
61
117
### Fixed
62
118
63
- * Documentation of low-level transaction (#390 )
119
+ * Documentation of low-level transaction ([ #390 ] [ #390 ] )
120
+
121
+ [ #390 ] : https://github.com/encode/databases/pull/390
64
122
65
123
## 0.5.2 (September 10th, 2021)
66
124
67
125
### Fixed
68
126
69
- * Reset counter for failed connections (#385 )
70
- * Avoid dangling task-local connections after Database.disconnect() (#211 )
127
+ * Reset counter for failed connections ([ #385 ] [ #385 ] )
128
+ * Avoid dangling task-local connections after Database.disconnect() ([ #211 ] [ #211 ] )
129
+
130
+ [ #385 ] : https://github.com/encode/databases/pull/385
131
+ [ #211 ] : https://github.com/encode/databases/pull/211
71
132
72
133
## 0.5.1 (September 2nd, 2021)
73
134
74
135
### Added
75
136
76
- * Make database ` connect ` and ` disconnect ` calls idempotent (#379 )
137
+ * Make database ` connect ` and ` disconnect ` calls idempotent ([ #379 ] [ #379 ] )
138
+
139
+ [ #379 ] : https://github.com/encode/databases/pull/379
77
140
78
141
### Fixed
79
142
80
- * Fix ` in_ ` and ` notin_ ` queries in SQLAlchemy 1.4 (#378 )
143
+ * Fix ` in_ ` and ` notin_ ` queries in SQLAlchemy 1.4 ([ #378 ] [ #378 ] )
144
+
145
+ [ #378 ] : https://github.com/encode/databases/pull/378
81
146
82
147
## 0.5.0 (August 26th, 2021)
83
148
84
149
### Added
85
- * Support SQLAlchemy 1.4 (#299 )
150
+
151
+ * Support SQLAlchemy 1.4 ([ #299 ] [ #299 ] )
152
+
153
+ [ #299 ] : https://github.com/encode/databases/pull/299
86
154
87
155
### Fixed
88
156
89
- * Fix concurrent transactions (#328 )
157
+ * Fix concurrent transactions ([ #328 ] [ #328 ] )
158
+
159
+ [ #328 ] : https://github.com/encode/databases/pull/328
90
160
91
161
## 0.4.3 (March 26th, 2021)
92
162
93
163
### Fixed
94
164
95
- * Pin SQLAlchemy to <1.4 (#314 )
165
+ * Pin SQLAlchemy to <1.4 ([ #314 ] [ #314 ] )
166
+
167
+ [ #314 ] : https://github.com/encode/databases/pull/314
96
168
97
169
## 0.4.2 (March 14th, 2021)
98
170
99
171
### Fixed
100
172
101
- * Fix memory leak with asyncpg for SQLAlchemy generic functions (#273 )
173
+ * Fix memory leak with asyncpg for SQLAlchemy generic functions ([ #273 ] [ #273 ] )
174
+
175
+ [ #273 ] : https://github.com/encode/databases/pull/273
102
176
103
177
## 0.4.1 (November 16th, 2020)
104
178
105
179
### Fixed
106
180
107
- * Remove package dependency on the synchronous DB drivers (#256 )
181
+ * Remove package dependency on the synchronous DB drivers ([ #256 ] [ #256 ] )
182
+
183
+ [ #256 ] : https://github.com/encode/databases/pull/256
108
184
109
185
## 0.4.0 (October 20th, 2020)
110
186
111
187
### Added
112
188
113
- * Use backend native fetch_val() implementation when available (#132 )
114
- * Replace psycopg2-binary with psycopg2 (#204 )
115
- * Speed up PostgresConnection fetch() and iterate() (#193 )
116
- * Access asyncpg Record field by key on raw query (#207 )
117
- * Allow setting min_size and max_size in postgres DSN (#210 )
118
- * Add option pool_recycle in postgres DSN (#233 )
119
- * Allow extra transaction options (#242 )
189
+ * Use backend native fetch_val() implementation when available ([ #132 ] [ #132 ] )
190
+ * Replace psycopg2-binary with psycopg2 ([ #204 ] [ #204 ] )
191
+ * Speed up PostgresConnection fetch() and iterate() ([ #193 ] [ #193 ] )
192
+ * Access asyncpg Record field by key on raw query ([ #207 ] [ #207 ] )
193
+ * Allow setting min_size and max_size in postgres DSN ([ #210 ] [ #210 ] )
194
+ * Add option pool_recycle in postgres DSN ([ #233 ] [ #233 ] )
195
+ * Allow extra transaction options ([ #242 ] [ #242 ] )
196
+
197
+ [ #132 ] : https://github.com/encode/databases/pull/132
198
+ [ #204 ] : https://github.com/encode/databases/pull/204
199
+ [ #193 ] : https://github.com/encode/databases/pull/193
200
+ [ #207 ] : https://github.com/encode/databases/pull/207
201
+ [ #210 ] : https://github.com/encode/databases/pull/210
202
+ [ #233 ] : https://github.com/encode/databases/pull/233
203
+ [ #242 ] : https://github.com/encode/databases/pull/242
120
204
121
205
### Fixed
122
206
123
- * Fix type hinting for sqlite backend (#227 )
124
- * Fix SQLAlchemy DDL statements (#226 )
125
- * Make fetch_val call fetch_one for type conversion (#246 )
126
- * Unquote username and password in DatabaseURL (#248 )
207
+ * Fix type hinting for sqlite backend ([ #227 ] [ #227 ] )
208
+ * Fix SQLAlchemy DDL statements ([ #226 ] [ #226 ] )
209
+ * Make fetch_val call fetch_one for type conversion ([ #246 ] [ #246 ] )
210
+ * Unquote username and password in DatabaseURL ([ #248 ] [ #248 ] )
211
+
212
+ [ #227 ] : https://github.com/encode/databases/pull/227
213
+ [ #226 ] : https://github.com/encode/databases/pull/226
214
+ [ #246 ] : https://github.com/encode/databases/pull/246
215
+ [ #248 ] : https://github.com/encode/databases/pull/248
0 commit comments