Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## 0.4.1 (October 21st, 2020)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, the release date is a bit out of sync now. :-)

Should be:

## 0.4.1 (November 16th, 2020)


### Fixed

* Remove package dependency on the synchronous DB drivers (#256)

Comment on lines +7 to +12

@florimondmanca florimondmanca Nov 16, 2020 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we okay with bumping to 0.5.0? I think this qualifies as an entry for a "Changed" section, rather than "Fixed". That way people that are currently pinned to 0.4.* will be fine.

I'm not sure I understood the broken build issue with these direct dependencies, though (edit: I assume that's related to 3.9 and the lack of wheels?) but I think sticking closer to SemVer is a good idea here?

@vmarkovtsev vmarkovtsev Nov 16, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have literally no other features to release rather than the broken package installation of 0.4.0 😂 And it was planned for 0.4.0 long before I became a maintainer, so I honestly just overlooked this PR.

@vmarkovtsev vmarkovtsev Nov 16, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides, we have to bump the version, otherwise it does not deploy to pypi and many people continue suffering.

Thanks for the approval, I will carry on with the release now.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

## 0.4.0 (October 20th, 2020)

### Added
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ $ pip install databases[sqlite]
```

Driver support is provided using one of [asyncpg][asyncpg], [aiomysql][aiomysql], or [aiosqlite][aiosqlite].
Note that if you are using any synchronous SQLAlchemy functions such as `engine.create_all()` or [alembic][alembic] migrations then you still have to install a synchronous DB driver: [psycopg2][psycopg2] for PostgreSQL and [pymysql][pymysql] for MySQL.

---

Expand Down Expand Up @@ -93,6 +94,8 @@ for examples of how to start using databases together with SQLAlchemy core expre
[sqlalchemy-core]: https://docs.sqlalchemy.org/en/latest/core/
[sqlalchemy-core-tutorial]: https://docs.sqlalchemy.org/en/latest/core/tutorial.html
[alembic]: https://alembic.sqlalchemy.org/en/latest/
[psycopg2]: https://www.psycopg.org/
[pymysql]: https://github.com/PyMySQL/PyMySQL
[asyncpg]: https://github.com/MagicStack/asyncpg
[aiomysql]: https://github.com/aio-libs/aiomysql
[aiosqlite]: https://github.com/jreese/aiosqlite
Expand Down
2 changes: 1 addition & 1 deletion databases/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from databases.core import Database, DatabaseURL

__version__ = "0.4.0"
__version__ = "0.4.1"
__all__ = ["Database", "DatabaseURL"]
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def get_packages(package):
data_files=[("", ["LICENSE.md"])],
install_requires=["sqlalchemy", 'aiocontextvars;python_version<"3.7"'],
extras_require={
"postgresql": ["asyncpg", "psycopg2"],
"mysql": ["aiomysql", "pymysql"],
"postgresql": ["asyncpg"],
"mysql": ["aiomysql"],
"sqlite": ["aiosqlite"],
"postgresql+aiopg": ["aiopg"]
},
Expand Down