Path to this page:
./
databases/py-tortoise-orm,
Easy async ORM for Python, built with relations in mind
Branch: CURRENT,
Version: 0.22.1,
Package name: py312-tortoise-orm-0.22.1,
Maintainer: pkgsrc-usersTortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) inspired
by Django.
Tortoise ORM was build with relations in mind and admiration for the excellent
and popular Django ORM. It's engraved in it's design that you are working not
with just tables, you work with relational data.
Required to run:[
time/py-pytz] [
time/py-iso8601] [
devel/py-uvloop] [
databases/py-aiosqlite] [
time/py-ciso8601] [
databases/py-pypika] [
textproc/py-rapidjson] [
lang/python310]
Master sites:
Filesize: 140.536 KB
Version history: (Expand)
- (2024-11-25) Updated to version: py312-tortoise-orm-0.22.1
- (2024-11-20) Updated to version: py312-tortoise-orm-0.22.0
- (2024-10-14) Updated to version: py312-tortoise-orm-0.21.7
- (2024-08-18) Updated to version: py312-tortoise-orm-0.21.6
- (2024-07-20) Updated to version: py311-tortoise-orm-0.21.5
- (2024-07-04) Updated to version: py311-tortoise-orm-0.21.4
CVS history: (Expand)
2024-11-25 14:04:12 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-tortoise-orm: updated to 0.22.1
0.22.1
Fixed
- Fix unable to use ManyToManyField if OneToOneField passed as Primary Key
- Fix sorting by Term (e.g. RawSQL)
|
2024-11-20 13:53:23 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-tortoise-orm: updated to 0.22.0
0.22.0
Fixed
- Fix enums not quoted, allowing using of str enums for filters
- Primary key field should not be nullable in pydantic schema
- Fix ambiguous column name when grouping with joining
- Fix same model returned by pydantic_model_creator calls with different arguments
Added
- JSONField adds optional generic support, and supports OpenAPI document \
generation by specifying `field_type` as a pydantic BaseModel
- Add table_name_generator attribute to Tortoise.init for dynamic table name \
generation
- Support for annotation and joins F() expressions
- Allow use of annotate fields within Case-When expression
- Added new queryset methods: last(), latest(), earliest()
Changed
- Change old pydantic docs link to new one
- Refactored pydantic_model_creator, interface not changed
- Values are no longer validated to be right type upon loading from database
- Refactored private field names in queryset classes
|
2024-10-14 16:06:45 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-tortoise-orm: updated to 0.21.7
0.21.7
Fixed
- Fix unittest error with pydantic2.9
- Fix bug when using annotate and count at the same time but the annotation does \
not match anything, leading to an IndexError
- Added missing field_type for TimeDeltaField
- improve jsonfield type hint
- Fix bug in tortoise.models.Model When a QuerySet uses the only function and \
then uses the print function to print the returned result, an AttributeError is \
generated
- Update the pylint plugin to latest astroid version
Added
- Add POSIX Regex support for PostgreSQL and MySQL
- support app=None for tortoise.contrib.fastapi.RegisterTortoise
|
2024-08-18 22:36:30 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-tortoise-orm: updated to 0.21.6
0.21.6
Fixed
- Fix bug in `pydantic_model_creator` when a foreign key is not included in \
`include` param.
- Fix bug in `contrib.sanic.register_tortoise` causing a deadlock when using \
asyncpg and > 1 workers
- Open psycopg pool with `.open()` to remove deprecated warning
- Fix bug in `bulk_update` when pk field is not `id`
- Fix mysql uuid compression bug
- Fix comment for fk fields without constraint for mysql
- Removed no_delay option for postgres, as it wasn't doing anything
|
2024-07-20 08:22:51 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-tortoise-orm: updated to 0.21.5
0.21.5
Added
- Propagate `_create_db` parameter to RegisterTortoise.
|
2024-07-04 13:02:15 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-tortoise-orm: updated to 0.21.4
0.21.4
Added
- Add ObjectDoesNotExistError to show better 404 message.
- DoesNotExist and MultipleObjectsReturned support 'Type[Model]' argument.
- Add argument use_tz and timezone to RegisterTortoise.
- Support await `tortoise.contrib.fastapi.RegisterTortoise`.
- Add `tortoise.contrib.test.init_memory_sqlite`.
Fixed
- Fix `update_or_create` errors when field value changed.
- Fix bandit check error
- Fix potential race condition in ConnectionWrapper
- Fix py312 warning for datetime.utcnow
- Fix reusing values and value_list queries
Changed
- Remove obsolete loop._selector from contrib/test.
|
2024-06-03 10:04:46 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-tortoise-orm: updated to 0.21.3
0.21.3
Fixed
- Fix `bulk_update` when using source_field for pk
|
2024-05-26 20:57:14 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-tortoise-orm: updated to 0.21.2
0.21.2
Added
- Add `create_unique_index` argument to M2M field and default if it is true
0.21.1
Fixed
- Fix error on using old style `pk=True`
|