Skip to content

Commit e6bc970

Browse files
committed
Release version 3.1.0 of DBUtils
1 parent e4c1118 commit e6bc970

File tree

6 files changed

+44
-33
lines changed

6 files changed

+44
-33
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023 Christoph Zwerschke
3+
Copyright (c) 2024 Christoph Zwerschke
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ to a database that can be used in all kinds of multi-threaded environments.
77
The suite supports DB-API 2 compliant database interfaces
88
and the classic PyGreSQL interface.
99

10-
The current version 3.0.3 of DBUtils supports Python versions 3.6 to 3.11.
10+
The current version 3.1.0 of DBUtils supports Python versions 3.7 to 3.12.
1111

1212
**Please have a look at the [changelog](https://webwareforpython.github.io/DBUtils/changelog.html), because there were some breaking changes in version 2.0.**
1313

changelog.html

+28-19
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
33
<head>
44
<meta charset="utf-8" />
5+
<meta name="generator" content="Docutils 0.20.1: https://docutils.sourceforge.io/" />
56
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
77
<title>Changelog for DBUtils</title>
88
<link rel="stylesheet" href="doc.css" type="text/css" />
99
</head>
@@ -12,6 +12,15 @@
1212
<h1 class="title">Changelog for DBUtils</h1>
1313

1414
<section id="section-1">
15+
<h2>3.1.0</h2>
16+
<p>DBUtils 3.1.0 was released on March 17, 2024.</p>
17+
<p>Changes:</p>
18+
<ul class="simple">
19+
<li><p>Support Python version 3.12, cease support for Python 3.6.</p></li>
20+
<li><p>Various small internal improvements and modernizations.</p></li>
21+
</ul>
22+
</section>
23+
<section id="section-2">
1524
<h2>3.0.3</h2>
1625
<p>DBUtils 3.0.3 was released on April 27, 2023.</p>
1726
<p>Changes:</p>
@@ -21,19 +30,19 @@ <h2>3.0.3</h2>
2130
<li><p>Minor fixes and section an advanced usage in docs.</p></li>
2231
</ul>
2332
</section>
24-
<section id="section-2">
33+
<section id="section-3">
2534
<h2>3.0.2</h2>
2635
<p>DBUtils 3.0.2 was released on January 14, 2022.</p>
2736
<p>The optional iterator protocol on cursors is now supported.</p>
2837
</section>
29-
<section id="section-3">
38+
<section id="section-4">
3039
<h2>3.0.1</h2>
3140
<p>DBUtils 3.0.1 was released on December 22, 2021.</p>
3241
<p>It includes <span class="docutils literal">InterfaceError</span> to the default list of exceptions
3342
for which the connection failover mechanism is applied.
3443
You can override this with the <span class="docutils literal">failures</span> parameter.</p>
3544
</section>
36-
<section id="section-4">
45+
<section id="section-5">
3746
<h2>3.0.0</h2>
3847
<p>DBUtils 3.0.0 was released on November 26, 2021.</p>
3948
<p>It is intended to be used with Python versions 3.6 to 3.10.</p>
@@ -42,31 +51,31 @@ <h2>3.0.0</h2>
4251
<li><p>Cease support for Python 2 and 3.5, minor optimizations.</p></li>
4352
</ul>
4453
</section>
45-
<section id="section-5">
54+
<section id="section-6">
4655
<h2>2.0.3</h2>
4756
<p>DBUtils 2.0.3 was released on November 26, 2021.</p>
4857
<p>Changes:</p>
4958
<ul class="simple">
5059
<li><p>Support Python version 3.10.</p></li>
5160
</ul>
5261
</section>
53-
<section id="section-6">
62+
<section id="section-7">
5463
<h2>2.0.2</h2>
5564
<p>DBUtils 2.0.2 was released on June 8, 2021.</p>
5665
<p>Changes:</p>
5766
<ul class="simple">
5867
<li><p>Allow using context managers for pooled connections.</p></li>
5968
</ul>
6069
</section>
61-
<section id="section-7">
70+
<section id="section-8">
6271
<h2>2.0.1</h2>
6372
<p>DBUtils 2.0.1 was released on April 8, 2021.</p>
6473
<p>Changes:</p>
6574
<ul class="simple">
6675
<li><p>Avoid &quot;name Exception is not defined&quot; when exiting.</p></li>
6776
</ul>
6877
</section>
69-
<section id="section-8">
78+
<section id="section-9">
7079
<h2>2.0</h2>
7180
<p>DBUtils 2.0 was released on September 26, 2020.</p>
7281
<p>It is intended to be used with Python versions 2.7 and 3.5 to 3.9.</p>
@@ -82,7 +91,7 @@ <h2>2.0</h2>
8291
<li><p>This changelog has been compiled from the former release notes.</p></li>
8392
</ul>
8493
</section>
85-
<section id="section-9">
94+
<section id="section-10">
8695
<h2>1.4</h2>
8796
<p>DBUtils 1.4 was released on September 26, 2020.</p>
8897
<p>It is intended to be used with Python versions 2.7 and 3.5 to 3.9.</p>
@@ -93,7 +102,7 @@ <h2>1.4</h2>
93102
inside a transaction.</p></li>
94103
</ul>
95104
</section>
96-
<section id="section-10">
105+
<section id="section-11">
97106
<h2>1.3</h2>
98107
<p>DBUtils 1.3 was released on March 3, 2018.</p>
99108
<p>It is intended to be used with Python versions 2.6, 2.7 and 3.4 to 3.7.</p>
@@ -102,12 +111,12 @@ <h2>1.3</h2>
102111
<li><p>This version now supports context handlers for connections and cursors.</p></li>
103112
</ul>
104113
</section>
105-
<section id="section-11">
114+
<section id="section-12">
106115
<h2>1.2</h2>
107116
<p>DBUtils 1.2 was released on February 5, 2017.</p>
108117
<p>It is intended to be used with Python versions 2.6, 2.7 and 3.0 to 3.6.</p>
109118
</section>
110-
<section id="section-12">
119+
<section id="section-13">
111120
<h2>1.1.1</h2>
112121
<p>DBUtils 1.1.1 was released on February 4, 2017.</p>
113122
<p>It is intended to be used with Python versions 2.3 to 2.7.</p>
@@ -121,7 +130,7 @@ <h2>1.1.1</h2>
121130
<li><p>Fixed a problem when running under Jython (reported by Vitaly Kruglikov).</p></li>
122131
</ul>
123132
</section>
124-
<section id="section-13">
133+
<section id="section-14">
125134
<h2>1.1</h2>
126135
<p>DBUtils 1.1 was released on August 14, 2011.</p>
127136
<p>Improvements:</p>
@@ -150,7 +159,7 @@ <h2>1.1</h2>
150159
<li><p>Fixed some minor issues with the <span class="docutils literal">DBUtilsExample</span> for Webware.</p></li>
151160
</ul>
152161
</section>
153-
<section id="section-14">
162+
<section id="section-15">
154163
<h2>1.0</h2>
155164
<p>DBUtils 1.0 was released on November 29, 2008.</p>
156165
<p>It is intended to be used with Python versions 2.2 to 2.6.</p>
@@ -183,7 +192,7 @@ <h2>1.0</h2>
183192
the MySQLdb module (problem reported by Gregory Pinero).</p></li>
184193
</ul>
185194
</section>
186-
<section id="section-15">
195+
<section id="section-16">
187196
<h2>0.9.4</h2>
188197
<p>DBUtils 0.9.4 was released on July 7, 2007.</p>
189198
<p>This release fixes a problem in the destructor code and has been supplemented
@@ -192,7 +201,7 @@ <h2>0.9.4</h2>
192201
in the last release, since you can now pass custom creator functions
193202
for database connections instead of DB-API 2 modules.</p>
194203
</section>
195-
<section id="section-16">
204+
<section id="section-17">
196205
<h2>0.9.3</h2>
197206
<p>DBUtils 0.9.3 was released on May 21, 2007.</p>
198207
<p>Changes:</p>
@@ -207,7 +216,7 @@ <h2>0.9.3</h2>
207216
Added Chinese translation of the User's Guide, kindly contributed by gashero.</p></li>
208217
</ul>
209218
</section>
210-
<section id="section-17">
219+
<section id="section-18">
211220
<h2>0.9.2</h2>
212221
<p>DBUtils 0.9.2 was released on September 22, 2006.</p>
213222
<p>It is intended to be used with Python versions 2.2 to 2.5.</p>
@@ -217,7 +226,7 @@ <h2>0.9.2</h2>
217226
storage engine. Accordingly, renamed <span class="docutils literal">SolidPg</span> to <span class="docutils literal">SteadyPg</span>.</p></li>
218227
</ul>
219228
</section>
220-
<section id="section-18">
229+
<section id="section-19">
221230
<h2>0.9.1</h2>
222231
<p>DBUtils 0.9.1 was released on May 8, 2006.</p>
223232
<p>It is intended to be used with Python versions 2.2 to 2.4.</p>
@@ -231,7 +240,7 @@ <h2>0.9.1</h2>
231240
<li><p>Improved the documentation and added a User's Guide.</p></li>
232241
</ul>
233242
</section>
234-
<section id="section-19">
243+
<section id="section-20">
235244
<h2>0.8.1 - 2005-09-13</h2>
236245
<p>DBUtils 0.8.1 was released on September 13, 2005.</p>
237246
<p>It is intended to be used with Python versions 2.0 to 2.4.</p>

index.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ <h5><a href="changelog.html">Changelog</a></h5>
4242
<header><h2>Downloads</h2></header>
4343
<div>
4444
<h5>Current/Recommended Version:</h5>
45-
<a class="button" href="https://pypi.org/pypi/DBUtils/3.0.3/#files">Download <small>DBUtils 3.0.3</small></a>
46-
<p><small>(this version supports Python 3.6 to 3.11)</small></p>
45+
<a class="button" href="https://pypi.org/pypi/DBUtils/3.1.0/#files">Download <small>DBUtils 3.1.0</small></a>
46+
<p><small>(this version supports Python 3.7 to 3.12)</small></p>
4747
</div>
4848
<div>
4949
<h5>Older Versions:</h5>
50+
<a class="button" href="https://pypi.org/pypi/DBUtils/3.0.3/#files">Download <small>DBUtils 3.0.3</small></a>
51+
<p><small>(this version supports Python 3.6 to 3.11)</small></p>
5052
<a class="small-button button" href="https://pypi.org/project/DBUtils/2.0.3/#files">Download <small>DBUtils&nbsp;2.0.3</small></a>
5153
<p><small>(this version supports Python 2.7 and 3.5 to 3.10)</small></p>
5254
<a class="small-button button" href="https://pypi.org/pypi/DBUtils/1.3/#files">Download <small>DBUtils&nbsp;1.3</small></a>

main.de.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
33
<head>
44
<meta charset="utf-8" />
5+
<meta name="generator" content="Docutils 0.20.1: https://docutils.sourceforge.io/" />
56
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
77
<title>Benutzeranleitung für DBUtils</title>
88
<link rel="stylesheet" href="doc.css" type="text/css" />
99
</head>
@@ -12,7 +12,7 @@
1212
<h1 class="title">Benutzeranleitung für DBUtils</h1>
1313
<dl class="docinfo simple">
1414
<dt class="version">Version<span class="colon">:</span></dt>
15-
<dd class="version">3.0.3</dd>
15+
<dd class="version">3.1.0</dd>
1616
<dt class="translations">Translations<span class="colon">:</span></dt>
1717
<dd class="translations"><p><a class="reference external" href="main.html">English</a> | German</p>
1818
</dd>
@@ -137,7 +137,7 @@ <h3>Installation</h3>
137137
</section>
138138
<section id="anforderungen">
139139
<h2>Anforderungen</h2>
140-
<p>DBUtils unterstützt die <a class="reference external" href="https://www.python.org">Python</a> Versionen 3.6 bis 3.11.</p>
140+
<p>DBUtils unterstützt die <a class="reference external" href="https://www.python.org">Python</a> Versionen 3.7 bis 3.12.</p>
141141
<p>Die Module in der Variante für klassisches PyGreSQL benötigen <a class="reference external" href="https://www.pygresql.org/">PyGreSQL</a>
142142
Version 4.0 oder höher, während die Module in der allgemeinen Variante
143143
für DB-API 2 mit jedem beliebigen Python-Datenbankadapter-Modul zusammenarbeiten,
@@ -536,7 +536,7 @@ <h2>Autoren</h2>
536536
</section>
537537
<section id="copyright-und-lizenz">
538538
<h2>Copyright und Lizenz</h2>
539-
<p>Copyright © 2005-2023 Christoph Zwerschke.
539+
<p>Copyright © 2005-2024 Christoph Zwerschke.
540540
Alle Rechte vorbehalten.</p>
541541
<p>DBUtils ist freie und quelloffene Software,
542542
lizenziert unter der <a class="reference external" href="https://opensource.org/licenses/MIT">MIT-Lizenz</a>.</p>

main.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
33
<head>
44
<meta charset="utf-8" />
5+
<meta name="generator" content="Docutils 0.20.1: https://docutils.sourceforge.io/" />
56
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
77
<title>DBUtils User's Guide</title>
88
<link rel="stylesheet" href="doc.css" type="text/css" />
99
</head>
@@ -12,7 +12,7 @@
1212
<h1 class="title">DBUtils User's Guide</h1>
1313
<dl class="docinfo simple">
1414
<dt class="version">Version<span class="colon">:</span></dt>
15-
<dd class="version">3.0.3</dd>
15+
<dd class="version">3.1.0</dd>
1616
<dt class="translations">Translations<span class="colon">:</span></dt>
1717
<dd class="translations"><p>English | <a class="reference external" href="main.de.html">German</a></p>
1818
</dd>
@@ -134,7 +134,7 @@ <h3>Installation</h3>
134134
</section>
135135
<section id="requirements">
136136
<h2>Requirements</h2>
137-
<p>DBUtils supports <a class="reference external" href="https://www.python.org">Python</a> versions 3.6 to 3.11.</p>
137+
<p>DBUtils supports <a class="reference external" href="https://www.python.org">Python</a> versions 3.7 to 3.12.</p>
138138
<p>The modules in the classic PyGreSQL variant need <a class="reference external" href="https://www.pygresql.org/">PyGreSQL</a> version 4.0
139139
or above, while the modules in the universal DB-API 2 variant run with
140140
any Python <a class="reference external" href="https://www.python.org/dev/peps/pep-0249/">DB-API 2</a> compliant database interface module.</p>
@@ -213,7 +213,7 @@ <h3>PooledDB (pooled_db)</h3>
213213
at least <span class="docutils literal">mincached</span> and at the most <span class="docutils literal">maxcached</span> idle connections that
214214
will be used whenever a thread is requesting a dedicated database connection
215215
or the pool of shared connections is not yet full. When a thread closes a
216-
connection that is not shared any more, it is returned back to the pool of
216+
connection that is not shared anymore, it is returned back to the pool of
217217
idle connections so that it can be recycled again.</p>
218218
<p>If the underlying DB-API module is not thread-safe, thread locks will be
219219
used to ensure that the <span class="docutils literal">pooled_db</span> connections are thread-safe. So you
@@ -372,7 +372,7 @@ <h3>PooledDB (pooled_db)</h3>
372372
<pre class="literal-block">db = pool.connection(shareable=False)</pre>
373373
<p>Instead of this, you can also get a dedicated connection as follows:</p>
374374
<pre class="literal-block">db = pool.dedicated_connection()</pre>
375-
<p>If you don't need it any more, you should immediately return it to the
375+
<p>If you don't need it anymore, you should immediately return it to the
376376
pool with <span class="docutils literal">db.close()</span>. You can get another connection in the same way.</p>
377377
<p><em>Warning:</em> In a threaded environment, never do the following:</p>
378378
<pre class="literal-block">pool.connection().cursor().execute(...)</pre>
@@ -494,7 +494,7 @@ <h2>Credits</h2>
494494
</section>
495495
<section id="copyright-and-license">
496496
<h2>Copyright and License</h2>
497-
<p>Copyright © 2005-2023 by Christoph Zwerschke.
497+
<p>Copyright © 2005-2024 by Christoph Zwerschke.
498498
All Rights Reserved.</p>
499499
<p>DBUtils is free and open source software,
500500
licensed under the <a class="reference external" href="https://opensource.org/licenses/MIT">MIT license</a>.</p>

0 commit comments

Comments
 (0)