Package distributed from Pypi. Sources, documentation and issues are available on GitHub.
- keep version numbering synced with aiosql and Python 3.
- remove psycopg2 exclusion for pypy 3.10 when/if possible.
- make it work with "with", i.e. provide relevant enter and exit?
- sync drivers with aiosql?
- add pydantic example to documentation.
- add PyPy 3.11 and Python 3.13t to GitHub CI.
- add
last_calls
to keep track of recent calls. - improve readme example.
- fix readme about default
kwargs_only
.
- add
cached
option to control caching re trigger. - make
kwargs_only
default to true (breaking change). - improve cache tests.
- add Python 3.14 CI run.
- fix test dependencies.
- improve makefile.
- remove project-specific
MANIFEST.in
.
- experimental caching feature.
- add
auto_rollback
parameter to allow disabling this feature. - improve documentation.
- replace
flake8
withruff
in CI.
- fix verbosity.
- allow psycopg2 with Python 3.13, but does not work with Pypy.
- improve documentation.
- improve option versatility to better deal with various database drivers:
- support
conn_args
andconn_kwargs
for connect. - support
adapter_args
andadapter_kwargs
for adapter, which is forwarded to cursor creation by default.
- support
- improve documentation.
- drop buggy mypy checks.
- Improved pytest tests.
- Use an AnoDB specific exception for generated errors.
- Do not allow to override DB methods (eg
commit
,close
…). - Add test about name rejections.
- Add attribute access example to documentation.
- Fix deprecation warning for Python 3.13.
- Set debug verbosity when debugging.
- Add Python 3.13 and PyPy 3.10 testing in GitHub CI.
- Improve internal logging infrastructure.
- Add counter to help identify DB objects.
- Improve README introductory example and run it in tests.
- Add license section to documentation.
- Add
attribute
parameter forwarded to AioSQL 10.0. - Use iso format.
- Note: the attribute feature does not seem to work with pg8000, for now.
- Do not str-ize undefined timestamps.
- Improve stats data.
- Add
_stats
method to generate JSON-compatible stats.
- More verbose str.
- Collect and show more internal stats.
- Possibly reconnect after a
close
?
- Reconnection refactoring.
- Fix sqlite3 in-memory test.
- Add
exception
parameter toDB
constructor. - Improved coverage tests.
- Rename
query
parameter to avoid name collisions. - Allow Pytest 8.
- Update doc.
- Add
pyright
type checking to CI.
- Update CI script.
- Forward
kwargs_only
option to AioSQL. - Avoid Pytest 8.
- Simpler CI script.
- Improved doc and tests.
- Simpler version code.
- Throttle reconnection attempts from 0.001 to 30.0 seconds.
- Use database exceptions instead of generic
Exception
. - Generic package loading.
- Add Python 3.12 tests.
- Improve doc wrt connection creation.
- Fix
pymarkdown
check.
- Fix empty driver name.
- Add version dates.
- Rename
master
tomain
. - Use
pyproject.toml
- Fix tests for
aiosql
8.0 which returns generators. - Drop support for Python 3.8 and 3.9 for simpler typing.
- Add support for
duckdb
- Drop
None
fromDB
initialization default values. - Allow
queries
to be a list of files.
- Fix issue with
mariadb
. - Improve documentation for
github.io
.
- Test with Python 3.12.
- Add support for MariaDB driver:
mariadb
. - Make
connect
return the underlying connection. - Improved documentation.
- Add GitHub CI configuration.
- Add Markdown checks.
- More badges.
- Make connection string parameter optional, as some drivers do not need it.
- Add support for MySQL drivers:
pymysql
,mysqlclient
,mysql-connector
. - Add support for Postgres drivers:
pygresql
,pg8000
. - Improved documentation.
- Improved tests.
- Improve
Makefile
. - Get
aiosql
version. - Simplify code.
- Sync driver support with aiosql 4.0.
- Require 100% coverage.
- Just fix doc date.
- Put back
__version__
automatic extraction from package. - Add
__version__
attribute to DB class. - Refactor tests.
- Add untested support for MySQL through
aiosql_mysql
. - Temporary work around an issue between
pkg_resources
,typing_extensions
andaiosql
.
- Add type hint for mypy.
- Add package
__version__
. - Minor update for
pytest_postgresql
4.0.0.
- Add psycopg 3 support, and make it the default for Postgres.
- Package as a simple module.
- Use simpler
setup.cfg
packaging. - Include tests in package.
- Add coverage test and make test coverage reach 100%.
- Setup explicit logger instead of relying on default.
-
Make
cursor()
reconnect if needed. -
Add automatic reconnection tests.
- Swith from
AnoSQL
toAioSQL
.
-
Make
options
accept different types. -
Make
queries
optional, and allow to load from files or strings.
- Add
options
string parameter to constructor.
-
Add
**conn_options
parameter to constructor. -
Add
cursor()
method.
- Initial release.