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 the database group with 2 updates #247

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 15, 2025

Bumps the database group with 2 updates: tortoise-orm and aerich.

Updates tortoise-orm from 0.22.2 to 0.23.0

Release notes

Sourced from tortoise-orm's releases.

0.23.0

Added

  • Implement savepoints for transactions (#1816)
  • Added type validation for foreign key fields to ensure type safety. Now raises ValidationError when assigning foreign key values with incorrect model types (#1792)

Fixed

  • Fixed a deadlock in three level nested transactions (#1810)
  • Fix backward_relations in PydanticMeta (#1814)
Changelog

Sourced from tortoise-orm's changelog.

0.23.0

Added ^^^^^

  • Implement savepoints for transactions (#1816)
  • Added type validation for foreign key fields to ensure type safety. Now raises ValidationError when assigning foreign key values with incorrect model types (#1792)

Fixed ^^^^^

  • Fixed a deadlock in three level nested transactions (#1810)
  • Fix backward_relations in PydanticMeta (#1814)

0.22

Commits

Updates aerich from 0.7.2 to 0.8.1

Release notes

Sourced from aerich's releases.

v0.8.1

Changed

  • Move tomlkit to optional and support pip install aerich[toml]. (#392)
  • Add version constraint(>=0.21) for tortoise-orm. (#388)
  • Allow run aerich init-db with empty migration directories instead of abort with warnings. (#286)

Fixed

  • fix: add o2o field does not create constraint when migrating. (#396)
  • Migration with duplicate renaming of columns in some cases. (#395)
  • fix: intermediate table for m2m relation not created. (#394)
  • Migrate add m2m field with custom through generate duplicated table. (#393)
  • Migrate drop the wrong m2m field when model have multi m2m fields. (#376)
  • KeyError raised when removing or renaming an existing model. (#386)
  • fix: error when there is __init__.py in the migration folder. (#272)
  • Setting null=false on m2m field causes migration to fail. (#334)
  • Fix NonExistentKey when running aerich init without [tool] section in config file. (#284)
  • Fix configuration file reading error when containing Chinese characters. (#286)
  • sqlite: failed to create/drop index. (#302)
  • PostgreSQL: Cannot drop constraint after deleting or rename FK on a model. (#378)
  • Fix create/drop indexes in every migration. (#377)
  • Sort m2m fields before comparing them with diff. (#271)

#396: tortoise/aerich#396 #395: tortoise/aerich#395 #394: tortoise/aerich#394 #393: tortoise/aerich#393 #392: tortoise/aerich#392 #388: tortoise/aerich#388 #386: tortoise/aerich#386 #378: tortoise/aerich#378 #377: tortoise/aerich#377 #376: tortoise/aerich#376 #334: tortoise/aerich#334 #302: tortoise/aerich#302 #286: tortoise/aerich#286 #284: tortoise/aerich#284 #272: tortoise/aerich#272 #271: tortoise/aerich#271

v0.8.0

  • Fix the issue of parameter concatenation when generating ORM with inspectdb (#331)
  • Fix KeyError when deleting a field with unqiue=True. (#364)
  • Correct the click import. (#360)
  • Improve CLI help text and output. (#355)
  • Fix mysql drop unique index raises OperationalError. (#346) Upgrade note:
    1. Use column name as unique key name for mysql
    2. Drop support for Python3.7
Changelog

Sourced from aerich's changelog.

0.8.1 - 2024-12-27

Fixed

  • fix: add o2o field does not create constraint when migrating. (#396)
  • Migration with duplicate renaming of columns in some cases. (#395)
  • fix: intermediate table for m2m relation not created. (#394)
  • Migrate add m2m field with custom through generate duplicated table. (#393)
  • Migrate drop the wrong m2m field when model have multi m2m fields. (#376)
  • KeyError raised when removing or renaming an existing model. (#386)
  • fix: error when there is __init__.py in the migration folder. (#272)
  • Setting null=false on m2m field causes migration to fail. (#334)
  • Fix NonExistentKey when running aerich init without [tool] section in config file. (#284)
  • Fix configuration file reading error when containing Chinese characters. (#286)
  • sqlite: failed to create/drop index. (#302)
  • PostgreSQL: Cannot drop constraint after deleting or rename FK on a model. (#378)
  • Fix create/drop indexes in every migration. (#377)
  • Sort m2m fields before comparing them with diff. (#271)

Changed

  • Allow run aerich init-db with empty migration directories instead of abort with warnings. (#286)
  • Add version constraint(>=0.21) for tortoise-orm. (#388)
  • Move tomlkit to optional and support pip install aerich[toml]. (#392)

#396: tortoise/aerich#396 #395: tortoise/aerich#395 #394: tortoise/aerich#394 #393: tortoise/aerich#393 #392: tortoise/aerich#392 #388: tortoise/aerich#388 #386: tortoise/aerich#386 #378: tortoise/aerich#378 #377: tortoise/aerich#377 #376: tortoise/aerich#376 #334: tortoise/aerich#334 #302: tortoise/aerich#302 #286: tortoise/aerich#286 #284: tortoise/aerich#284 #272: tortoise/aerich#272 #271: tortoise/aerich#271

0.8.0 - 2024-12-04

  • Fix the issue of parameter concatenation when generating ORM with inspectdb (#331)

  • Fix KeyError when deleting a field with unqiue=True. (#364)

  • Correct the click import. (#360)

  • Improve CLI help text and output. (#355)

  • Fix mysql drop unique index raises OperationalError. (#346)

    Upgrade note:

    1. Use column name as unique key name for mysql

... (truncated)

Commits
  • d6a51bd docs: release v0.8.1
  • c1dea4e chore: upgrade deps, add tortoise0.23 to ci (#399)
  • 5e8a7c7 fix: migration with duplicate renaming of columns in some cases (#395)
  • 7d22518 Fix create/drop indexes in every migration (#377)
  • f93faa8 fix: add o2o field does not create constraint when migrating (#396)
  • 1acb9ed chore(deps): limit tortoise-orm version to >=0.21 instead of wildcard (*) (...
  • 69ce0ca fix: intermediate table for m2m relation not created (#394)
  • 4fc7f32 fix: add m2m field with custom m2m through generate duplicated table when mig...
  • d8addad chore(deps): prefer to use tomllib/tomli and mark tomlkit/tomli_w as opti...
  • 0780919 fix: migrate drop the wrong m2m field when model have multi m2m fields (#390)
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the database group with 2 updates: [tortoise-orm](https://github.com/tortoise/tortoise-orm) and [aerich](https://github.com/tortoise/aerich).


Updates `tortoise-orm` from 0.22.2 to 0.23.0
- [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.22.2...0.23.0)

Updates `aerich` from 0.7.2 to 0.8.1
- [Release notes](https://github.com/tortoise/aerich/releases)
- [Changelog](https://github.com/tortoise/aerich/blob/dev/CHANGELOG.md)
- [Commits](tortoise/aerich@v0.7.2...v0.8.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 15, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 1, 2025

Superseded by #251.

@dependabot dependabot bot closed this Feb 1, 2025
@dependabot dependabot bot deleted the dependabot/pip/database-3656e245bc branch February 1, 2025 21:17
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants