tag:github.com,2008:https://github.com/aws/aws-advanced-python-wrapper/releasesRelease notes from aws-advanced-python-wrapper2026-02-11T06:55:55Ztag:github.com,2008:Repository/644880826/2.1.02026-02-11T20:34:44ZAWS Advanced Python Wrapper - v2.1.0<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/#semantic-versioning-200" rel="nofollow">Semantic Versioning</a>.</p>
<h2>[2.1.0] - 2026-02-11</h2>
<h3>🪄 Added</h3>
<ul>
<li><a href="https://github.com/aws/aws-advanced-python-wrapper/blob/main/docs/using-the-python-wrapper/using-plugins/UsingTheFailoverPlugin.md">Failover v2 Plugin</a>, an improved version of the failover plugin with enhanced reliability (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1079" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1079/hovercard">PR #1079</a>).</li>
<li><a href="https://github.com/aws/aws-advanced-python-wrapper/blob/c1e33f9d4468993063439bacaae7993ebe89d691/docs/using-the-python-wrapper/DjangoSupport.md">Django support for MySQL</a> (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1077" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1077/hovercard">PR #1077</a>).</li>
</ul>
<h3>🐛 Fixed</h3>
<ul>
<li>Properly handling nested errors in auth plugins (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1092" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1092/hovercard">PR #1092</a>).</li>
<li>Populate opened connection queue with url (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1094" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1094/hovercard">PR #1094</a>).</li>
<li>Spawning unnecessary threads due to ClassVars (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1090" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1090/hovercard">PR #1090</a>).</li>
<li><a href="https://github.com/aws/aws-advanced-python-wrapper/issues/1087" data-hovercard-type="issue" data-hovercard-url="/aws/aws-advanced-python-wrapper/issues/1087/hovercard">Incorrect cleanup thread sleep time issue</a> (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1090" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1090/hovercard">PR #1090</a>).</li>
<li>Aurora connection tracker and writer host comparison (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1081" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1081/hovercard">PR #1081</a>).</li>
<li>Sliding expiration cache concurrent access exceptions (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1089" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1089/hovercard">PR #1089</a>).</li>
<li>Stale DNS plugin when connected to reader (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1086" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1086/hovercard">PR #1086</a>).</li>
<li>Read/write splitting + custom endpoint plugin issue when switching to writer (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1080" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1080/hovercard">PR #1080</a>).</li>
<li>Move <code>conn.release_resources()</code> to close method instead of <code>__del__</code> to avoid relying on GC to release resources (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1078" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1078/hovercard">PR #1078</a>).</li>
</ul>
<h3>🦀 Changed</h3>
<ul>
<li>Performance optimization for auth plugins by caching clients and sessions (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1084" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1084/hovercard">PR #1084</a>).</li>
<li>Update documentation for AWS credentials requirements for plugins using the AWS SDK (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1093" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1093/hovercard">PR #1093</a>).</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/644880826/2.0.02026-01-15T03:53:02ZAWS Advanced Python Wrapper - v2.0.0<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/#semantic-versioning-200" rel="nofollow">Semantic Versioning</a>.</p>
<h2>[2.0.0] - 2026-01-14</h2>
<h3>🦀 Breaking Changes</h3>
<div class="markdown-alert markdown-alert-warning"><p class="markdown-alert-title"><svg class="octicon octicon-alert mr-2" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>Warning</p>
<ul>
<li>2.0 removes support for Python 3.8 and 3.9.</li>
</ul>
</div>
<h3>🪄 Added</h3>
<ul>
<li>Python 3.12 and 3.13 support (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1052" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1052/hovercard">PR #1052</a>).</li>
<li><a href="https://github.com/aws/aws-advanced-python-wrapper/blob/main/docs/using-the-python-driver/using-plugins/UsingTheSimpleReadWriteSplittingPlugin.md">Simple Read/Write Splitting Plugin</a> (<code>srw</code>). This plugin adds functionality to switch between endpoints via calls to the Connection#setReadOnly method. It does not rely on cluster topology. It relies purely on the provided endpoints and their DNS resolution (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1048" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1048/hovercard">PR #1048</a>).</li>
<li>Wrapper resource cleanup method <code>aws_advanced_python_wrapper.release_resources()</code>. This method should be called at program exit to properly clean up background threads and resources (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1066" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1066/hovercard">PR #1066</a>).</li>
</ul>
<h3>🐛 Fixed</h3>
<ul>
<li>Sliding expiration cache bug which causes delay upon exit (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1043" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1043/hovercard">PR #1043</a>).</li>
<li>Unnecessary boto3 call to verify region in IAM plugin which causes performance issues (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1042" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1042/hovercard">PR #1042</a>).</li>
<li>MySQL connections hanging during garbage collection (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1063" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1063/hovercard">PR #1063</a>).</li>
<li>Incorrect MySQL host alias query (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1051" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1051/hovercard">PR #1051</a>).</li>
<li><code>ImportError</code> when MySQL Connector/Python C Extension isn't available (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1038" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1038/hovercard">PR #1038</a>).</li>
<li>Background threads being created at import time (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1066" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1066/hovercard">PR #1066</a>).</li>
</ul>
<h3>🦀 Changed</h3>
<ul>
<li>Refactor host list provider (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1065" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1065/hovercard">PR #1065</a>).</li>
<li>Performance optimizations (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1072" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1072/hovercard">PR #1072</a>).</li>
<li>Update documentation with required db user permissions for Multi-AZ DB Cluster and Blue/Green support (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1061" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1061/hovercard">PR #1061</a>).</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/644880826/1.4.02025-10-17T22:39:58ZAWS Advanced Python Wrapper - v1.4.0<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/#semantic-versioning-200" rel="nofollow">Semantic Versioning</a>.</p>
<h2>[1.4.0] - 2025-10-17</h2>
<h3>🪄 Added</h3>
<ul>
<li><a href="https://github.com/aws/aws-advanced-python-wrapper/blob/main/docs/using-the-python-driver/using-plugins/UsingTheHostMonitoringPlugin.md#host-monitoring-plugin-v2">EFM v2</a>, an improved alternate version of the <code>efm</code> plugin which addresses issues such as garbage collection and monitoring stability, is now live!</li>
</ul>
<h3>🐛 Fixed</h3>
<ul>
<li>Update subscribed methods to explicit methods (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/960" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/960/hovercard">PR #960</a>)</li>
<li>Limitless Connection Plugin to properly round the load metric values for Limitless transaction routers (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/988" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/988/hovercard">PR #988</a>).</li>
</ul>
<h3>🦀 Changed</h3>
<ul>
<li>Update documentation for Limitless Plugin (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/914" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/914/hovercard">PR #914</a>).</li>
<li>Update documentation for Blue/Green Support (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/995" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/995/hovercard">PR #995</a>).</li>
<li>Add qualifiers to PostgreSQL SQL statements (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/1007" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/1007/hovercard">PR #1007</a>).</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/644880826/1.3.02025-07-29T11:47:32ZAWS Advanced Python Wrapper - v1.3.0<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/#semantic-versioning-200" rel="nofollow">Semantic Versioning</a>.</p>
<h2>[1.3.0] - 2025-07-28</h2>
<h3>🪄 Added</h3>
<ul>
<li><a href="https://github.com/aws/aws-advanced-python-wrapper/blob/main/docs/using-the-python-driver/using-plugins/UsingTheBlueGreenPlugin.md">Blue/Green Plugin</a>, which adds support for blue/green deployments (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/911" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/911/hovercard">PR #911</a>).</li>
<li>Limitless Plugin, which adds support for limitless deployments (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/912" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/912/hovercard">PR #912</a>).</li>
<li>Add weighted random host selection strategy (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/907" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/907/hovercard">PR #907</a>).</li>
<li>Add expiration time for secrets cache in the Secrets Manager Plugin (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/906" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/906/hovercard">PR #906</a>).</li>
<li>Allow custom secret keys for database credentials retrieval (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/843" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/843/hovercard">PR #843</a>).</li>
</ul>
<h3>🐛 Fixed</h3>
<ul>
<li>Separate plugin chain cache based on whether a plugin needs to be skipped or not (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/916" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/916/hovercard">PR #916</a>).</li>
<li>Check the cached token and exception type before retrying connection in the auth plugins (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/902" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/902/hovercard">PR #902</a>).</li>
<li>Set the default SSL Secure setting to True (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/848" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/848/hovercard">PR #848</a>).</li>
</ul>
<h3>🦀 Changed</h3>
<ul>
<li>Use poetry version compatible with Python 3.8 (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/913" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/913/hovercard">PR #913</a>).</li>
<li>Port over PluginService API changes from JDBC (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/901" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/901/hovercard">PR #901</a>).</li>
<li>Verify links in markdown documentation (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/909" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/909/hovercard">PR #909</a>).</li>
<li>Replace poetry installation with bash for GitHub actions (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/903" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/903/hovercard">PR #903</a>).</li>
<li>Update python requirement and environment variable information in documentation(<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/900" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/900/hovercard">PR #900</a>).</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/644880826/1.2.02024-12-13T02:28:23ZAWS Advanced Python Wrapper - v1.2.0<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/#semantic-versioning-200" rel="nofollow">Semantic Versioning</a>.</p>
<h2>[1.2.0] - 2024-12-12</h2>
<h3>🪄 Added</h3>
<ul>
<li><a href="https://github.com/aws/aws-advanced-python-wrapper/blob/main/docs/using-the-python-driver/using-plugins/UsingTheCustomEndpointPlugin.md">Custom endpoint plugin</a>, which adds support for RDS custom endpoints.</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/644880826/1.1.12024-10-18T22:12:45ZAWS Advanced Python Wrapper - v1.1.1<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/#semantic-versioning-200" rel="nofollow">Semantic Versioning</a>.</p>
<h2>[1.1.1] - 2024-10-18</h2>
<h3>🪄 Added</h3>
<ul>
<li>Support for MySQL version 9+ (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/713" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/713/hovercard">PR #713</a>).</li>
</ul>
<h3>🐛 Fixed</h3>
<ul>
<li>Extended support for China endpoints (<a href="https://github.com/aws/aws-advanced-python-wrapper/issues/700" data-hovercard-type="issue" data-hovercard-url="/aws/aws-advanced-python-wrapper/issues/700/hovercard">Issue #700</a>).</li>
<li>Removed unused SQLAlchemy dialect from documentation (<a href="https://github.com/aws/aws-advanced-python-wrapper/pull/714" data-hovercard-type="pull_request" data-hovercard-url="/aws/aws-advanced-python-wrapper/pull/714/hovercard">PR #714</a>).</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/644880826/1.1.02024-07-31T23:30:09ZAWS Advanced Python Wrapper - v1.1.0<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" rel="nofollow">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/#semantic-versioning-200" rel="nofollow">Semantic Versioning</a>.</p>
<h2>[1.1.0] - 2024-07-31</h2>
<h3>🪄 Added</h3>
<ul>
<li>Okta authentication support. See the <a href="/aws/aws-advanced-python-wrapper/blob/1.1.0/docs/using-the-python-driver/using-plugins/UsingTheOktaAuthenticationPlugin.md">documentation</a> for more details and sample code.</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/644880826/1.0.02024-05-23T17:04:37ZAWS Advanced Python Wrapper - v1.0.0<h2>[1.0.0] - 2024-05-23</h2>
<p>The Amazon Web Services (AWS) Advanced Python Wrapper allows an application to take advantage of the features of clustered Aurora databases.</p>
<h3>🪄 Added</h3>
<ul>
<li>Support for PostgreSQL</li>
<li>Support for MySQL</li>
</ul>github-actions[bot]