Rongronggg9 / RSS-to-Telegram-Bot

A Telegram RSS bot that cares about your reading experience
https://t.me/RSStT_Bot
GNU Affero General Public License v3.0
1.55k stars 276 forks source link

build(deps): Bump tortoise-orm[accel] from 0.21.7 to 0.22.0 #582

Open dependabot[bot] opened 2 days ago

dependabot[bot] commented 2 days ago

Bumps tortoise-orm[accel] from 0.21.7 to 0.22.0.

Release notes

Sourced from tortoise-orm[accel]'s releases.

0.22.0

Added

  • JSONField adds optional generic support, and supports OpenAPI document generation by specifying field_type as a pydantic BaseModel (#1763)
  • Add table_name_generator attribute to Tortoise.init for dynamic table name generation (#1770)
  • Support for annotation and joins F() expressions (#1761) (#1765)
  • Allow use of annotate fields within Case-When expression (#1748)
  • Added new queryset methods: last(), latest(), earliest() (#1754) (#1756)

Fixed

  • Fix enums not quoted, allowing using of str enums for filters (#1776)
  • Primary key field should not be nullable in pydantic schema (#1778)
  • Fix ambiguous column name when grouping with joining (#1766)
  • Fix same model returned by pydantic_model_creator calls with different arguments (#1741)

Changed

  • Change old pydantic docs link to new one (#1775).
  • Refactored pydantic_model_creator, interface not changed (#1763)
  • Values are no longer validated to be right type upon loading from database (#1750)
  • Refactored private field names in queryset classes (#1751)
Changelog

Sourced from tortoise-orm[accel]'s changelog.

0.22.0

Fixed ^^^^^

  • Fix enums not quoted, allowing using of str enums for filters (#1776)
  • Primary key field should not be nullable in pydantic schema (#1778)
  • Fix ambiguous column name when grouping with joining (#1766)
  • Fix same model returned by pydantic_model_creator calls with different arguments (#1741)

Added ^^^^^

  • JSONField adds optional generic support, and supports OpenAPI document generation by specifying field_type as a pydantic BaseModel (#1763)
  • Add table_name_generator attribute to Tortoise.init for dynamic table name generation (#1770)
  • Support for annotation and joins F() expressions (#1761) (#1765)
  • Allow use of annotate fields within Case-When expression (#1748)
  • Added new queryset methods: last(), latest(), earliest() (#1754) (#1756)

Changed ^^^^^^^

  • Change old pydantic docs link to new one (#1775).
  • Refactored pydantic_model_creator, interface not changed (#1763)
  • Values are no longer validated to be right type upon loading from database (#1750)
  • Refactored private field names in queryset classes (#1751)

0.21

Commits
  • 9758bd9 Bump version, update changelog
  • 4532f2d Add table_name_generator attribute to Meta for dynamic table name generatio...
  • 49b36ad fix: enums not quoted (#1776)
  • 762fe37 Primary key field should not be nullable (#1778)
  • f5c2c64 change old pydantic docs url (#1775)
  • defd780 Make JSONField support type annotation and OpanAPI document generation (#1763)
  • ea34c3d pydantic_model_creator refactorization (#1745)
  • 905daaa Fix ambiguous column name when grouping with joining (#1766)
  • b75ca5f Handle joins in arithmetic expressions (#1765)
  • 0ab03db refactor: reduce duplicated code of tortoise.queryset (#1758)
  • Additional commits viewable in compare view


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 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)