@@ -4,123 +4,212 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
66
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+
737## 0.7.0 (Dec 18th, 2022)
838
939### Fixed
1040
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
1346
1447## 0.6.2 (Nov 7th, 2022)
1548
1649### Changed
1750
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
1954
2055## 0.6.1 (Aug 9th, 2022)
2156
2257### Fixed
2358
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
2664
2765## 0.6.0 (May 29th, 2022)
2866
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
3070
3171### Added
3272
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
3578
3679### Fixed
3780
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
4290
4391## 0.5.4 (January 14th, 2022)
4492
4593### Added
4694
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
49100
50101### Fixed
51102
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
54108
55109## 0.5.3 (October 10th, 2021)
56110
57111### Added
58112
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
60116
61117### Fixed
62118
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
64122
65123## 0.5.2 (September 10th, 2021)
66124
67125### Fixed
68126
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
71132
72133## 0.5.1 (September 2nd, 2021)
73134
74135### Added
75136
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
77140
78141### Fixed
79142
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
81146
82147## 0.5.0 (August 26th, 2021)
83148
84149### 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
86154
87155### Fixed
88156
89- * Fix concurrent transactions (#328 )
157+ * Fix concurrent transactions ([ #328 ] [ #328 ] )
158+
159+ [ #328 ] : https://github.com/encode/databases/pull/328
90160
91161## 0.4.3 (March 26th, 2021)
92162
93163### Fixed
94164
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
96168
97169## 0.4.2 (March 14th, 2021)
98170
99171### Fixed
100172
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
102176
103177## 0.4.1 (November 16th, 2020)
104178
105179### Fixed
106180
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
108184
109185## 0.4.0 (October 20th, 2020)
110186
111187### Added
112188
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
120204
121205### Fixed
122206
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