Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tortoise-orm from 0.20.0 to 0.21.2 #82

Merged
merged 1 commit into from
May 27, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2024

Bumps tortoise-orm from 0.20.0 to 0.21.2.

Release notes

Sourced from tortoise-orm's releases.

0.21.2

Added

  • Add create_unique_index argument to M2M field and default if it is true (#1620)

0.21.1

Fixed

  • Fix error on using old style pk=True

0.21.0

Added

  • Enhancement for FastAPI lifespan support (#1371)
  • Add __eq__ method to Q to more easily test dynamically-built queries (#1506)
  • Added PlainToTsQuery function for postgres (#1347)
  • Allow field's default keyword to be async function (#1498)
  • Add support for queryset slicing. (#1341)

Fixed

  • Fix DatetimeField use '__year' report 'int' object has no attribute 'utcoffset'. (#1575)
  • Fix bulk_update when using custom fields. (#1564)
  • Fix optional parameter in pydantic_model_creator does not work for pydantic v2. (#1551)
  • Fix get_annotations now evaluates annotations in the default scope instead of the app namespace. (#1552)
  • Fix get_or_create method. (#1404)
  • Use index_name instead of BaseSchemaGenerator._generate_index_name to generate index name.
  • Use subquery for count() and exists() in QuerySet to match count result to QuerySet result. (#1607)

Changed

  • Change utils.chunk from function to return iterables lazily.
  • Removed lower bound of id keys in generated pydantic models. (#1602)
  • Rename Field initial arguments pk/index to primary_key/db_index. (#1621)
  • Renamed Model.check method to Model._check to avoid naming collision issues (#1559) (#1550)

Breaking Changes

  • bulk_create now does not return anything. (#1614)

0.20.1

Added

  • Add binary compression support for UUIDField in MySQL. (#1458)
  • Only Model, Tortoise, BaseDBAsyncClient, __version__, and connections are now exported from tortoise
  • Add parameter validators to pydantic_model_creator. (#1471)

Fixed

  • Fix order of fields in ValuesListQuery when it has more than 10 fields. (#1492)

... (truncated)

Changelog

Sourced from tortoise-orm's changelog.

0.21.2

Added ^^^^^

  • Add create_unique_index argument to M2M field and default if it is true (#1620)

0.21.1

Fixed ^^^^^

  • Fix error on using old style pk=True

0.21.0

Added ^^^^^

  • Enhancement for FastAPI lifespan support (#1371)
  • Add eq method to Q to more easily test dynamically-built queries (#1506)
  • Added PlainToTsQuery function for postgres (#1347)
  • Allow field's default keyword to be async function (#1498)
  • Add support for queryset slicing. (#1341)

Fixed ^^^^^

  • Fix DatetimeField use '__year' report 'int' object has no attribute 'utcoffset'. (#1575)
  • Fix bulk_update when using custom fields. (#1564)
  • Fix optional parameter in pydantic_model_creator does not work for pydantic v2. (#1551)
  • Fix get_annotations now evaluates annotations in the default scope instead of the app namespace. (#1552)
  • Fix get_or_create method. (#1404)
  • Use index_name instead of BaseSchemaGenerator._generate_index_name to generate index name.
  • Use subquery for count() and exists() in QuerySet to match count result to QuerySet result. (#1607)

Changed ^^^^^^^

  • Change utils.chunk from function to return iterables lazily.
  • Removed lower bound of id keys in generated pydantic models. (#1602)
  • Rename Field initial arguments pk/index to primary_key/db_index. (#1621)
  • Renamed Model.check method to Model._check to avoid naming collision issues (#1559) (#1550)

Breaking Changes ^^^^^^^^^^^^^^^^

  • bulk_create now does not return anything. (#1614)

0.20

0.20.1

Added ^^^^^

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tortoise-orm](https://github.com/tortoise/tortoise-orm) from 0.20.0 to 0.21.2.
- [Release notes](https://github.com/tortoise/tortoise-orm/releases)
- [Changelog](https://github.com/tortoise/tortoise-orm/blob/develop/CHANGELOG.rst)
- [Commits](tortoise/tortoise-orm@0.20.0...0.21.2)

---
updated-dependencies:
- dependency-name: tortoise-orm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 27, 2024
@manzato manzato merged commit f553951 into main May 27, 2024
3 of 4 checks passed
@manzato manzato deleted the dependabot/pip/tortoise-orm-0.21.2 branch May 27, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant