Skip to content

Commit 0e91f49

Browse files
authored
Merge pull request #30 from anikolaienko/feature/issue-28-added-type-support
Issue 28 - Added py.typed file + removed old poetry.lock file
2 parents ef3e70f + 597ef32 commit 0e91f49

File tree

8 files changed

+30
-412
lines changed

8 files changed

+30
-412
lines changed

.github/workflows/run_code_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ on:
1010

1111
jobs:
1212
code-checks:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1717

1818
steps:
1919
- name: Checkout

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2.2.0 - 2025/03/09
2+
* Added support for Python 3.13.
3+
* Upgrade [dev,test] dependencies.
4+
* Update Ubuntu CI/CD image to ubuntu-24.04.
5+
* Added `py.typed` file to support type checking.
6+
* Removed `poetry.lock` as it's not used for a long time now.
7+
8+
2.1.0 - 2025/02/04
9+
* Breaking changes: Modified logic that maps Sequence and Dictionary classes. All tests are green but this can cause some unexpected behaviour and new defects.
10+
* Fixed issue #25 with deepcopy for SQLAlchemy classes.
11+
* Improved unit testing.
112

213
2.0.0 - 2024/05/12
314
* Moved away from poetry. Changed packaging system using pip, build and twine.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ from tortoise import Model, fields
220220
from automapper import mapper
221221

222222
class UserInfo(Model):
223-
id = fields.IntField(pk=True)
223+
id = fields.IntField(primary_key=True)
224224
full_name = fields.TextField()
225225
public_name = fields.TextField()
226226
hobbies = fields.JSONField()
227227

228228
class PublicUserInfo(Model):
229-
id = fields.IntField(pk=True)
229+
id = fields.IntField(primary_key=True)
230230
public_name = fields.TextField()
231231
hobbies = fields.JSONField()
232232

automapper/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)