Skip to content

Commit 8357539

Browse files
v0.0.2 🐑
1 parent 0ab8a23 commit 8357539

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.0.2] - 2021-11-28 :sheep:
9+
- Unpins the `SQLAlchemy` version from requirements
10+
811
## [0.0.1] - 2021-05-22 :four_leaf_clover:
912
- First working implementation, with integration offering injection of
1013
db connections and ORM sessions provided by SQLAlchemy

blacksheepsqlalchemy/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ def session_factory() -> AsyncSession:
4040
app.services.add_scoped_by_factory(session_factory)
4141
app.services.add_alias(db_session_alias, AsyncSession)
4242

43-
# TODO: configure an exception handler for
44-
# sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed,
45-
# to return an HTTP Conflict response in such case!
46-
4743

4844
def use_sqlalchemy(
4945
app: Application,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def readme():
88

99
setup(
1010
name="blacksheep-sqlalchemy",
11-
version="0.0.1",
11+
version="0.0.2",
1212
description="Extension for BlackSheep to use SQLAlchemy",
1313
long_description=readme(),
1414
long_description_content_type="text/markdown",
@@ -28,7 +28,7 @@ def readme():
2828
keywords="blacksheep sqlalchemy orm database",
2929
license="MIT",
3030
packages=["blacksheepsqlalchemy"],
31-
install_requires=["blacksheep", "SQLAlchemy==1.4.15"],
31+
install_requires=["blacksheep", "SQLAlchemy"],
3232
include_package_data=True,
3333
zip_safe=False,
3434
)

0 commit comments

Comments
 (0)