Skip to content
This repository was archived by the owner on Sep 6, 2020. It is now read-only.

Bump tortoise-orm from 0.15.1 to 0.15.9 #66

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps tortoise-orm from 0.15.1 to 0.15.9.

Release notes

Sourced from tortoise-orm's releases.

v0.15.9

  • Alias Foreign Key joins as we can have both self-referencing and duplicate joins to the same table. This generates SQL that differentiates between which instance of the table to work with. (#275)

v0.15.8

  • TextField now recommends usage of CharField if wanting unique indexing instead of just saying "indexing not supported"
  • .count() now honours offset and limit (#167)
  • Testing un-awaited ForeignKeyField as a boolean expression will automatically resolve as False if it is None (#274)
  • Awaiting a nullable ForeignKeyField won't touch the DB if it is None (#274)

v0.15.7

  • QuerySet.Update() now returns the count of the no of rows affected. Note, that
  • QuerySet.Delete() now returns the count of the no of rows deleted.
  • Note that internal API of db_connection.execute_query() now returns rows_affected, results. (This is informational only)
  • Added get_or_none(...) as syntactic sugar for filter(...).first()

v0.15.6

  • Added BinaryField for storing binary objects (bytes).
  • Changed TextField to use LONGTEXT for MySQL to allow for larger than 64KB of text.
  • De-duplicate index if specified on both index=true and as part of indexes
  • Primary Keyed TextField is marked as deprecated. We can't guarnatee that it will be properly indexed or unique in all cases.
  • One can now disable the backwards relation for FK/O2O relations by passing related_name=False
  • One can now pass a PK value to a generated field, and Tortoise ORM will use that as the PK as expected. This allows one to have a model that has a autonumber PK, but setting it explicitly if required.

v0.15.5

  • Refactored Fields:

    Fields have been refactored, for better maintenance. There should be no change for most users.

    • More accurate auto-completion.
    • Fields now contain their own SQL schema by dialect, which significantly simplifies adding field types.
    • describe_model() now returns the DB type, and dialect overrides.
  • JSONField will now automatically use python-rapidjson as an accelerator if it is available.
  • DecimalField and aggregations on it, now behaves much more like expected on SQLite (#256)
  • Check whether charset name is valid for the MySQL connection (#261)
  • Default DB driver parameters are now applied consistently, if you use the URI schema or manual.

v0.15.4

  • Don't generate a schema if there is no models (#254)
  • Emit a RuntimeWarning when a module has no models to import (#254)
  • Allow passing in a custom SSL context (#255)

0.15.3

  • Added OneToOneField implementation:
... (truncated)
Changelog

Sourced from tortoise-orm's changelog.

0.15.9

  • Alias Foreign Key joins as we can have both self-referencing and duplicate joins to the same table. This generates SQL that differentiates between which instance of the table to work with.

0.15.8

  • TextField now recommends usage of CharField if wanting unique indexing instead of just saying "indexing not supported"
  • .count() now honours offset and limit
  • Testing un-awaited ForeignKeyField as a boolean expression will automatically resolve as False if it is None
  • Awaiting a nullable ForeignKeyField won't touch the DB if it is None

0.15.7

  • QuerySet.Update() now returns the count of the no of rows affected. Note, that
  • QuerySet.Delete() now returns the count of the no of rows deleted.
  • Note that internal API of db_connection.execute_query() now returns rows_affected, results. (This is informational only)
  • Added get_or_none(...) as syntactic sugar for filter(...).first()

0.15.6

  • Added BinaryField for storing binary objects (bytes).
  • Changed TextField to use LONGTEXT for MySQL to allow for larger than 64KB of text.
  • De-duplicate index if specified on both index=true and as part of indexes
  • Primary Keyed TextField is marked as deprecated. We can't guarnatee that it will be properly indexed or unique in all cases.
  • One can now disable the backwards relation for FK/O2O relations by passing related_name=False
  • One can now pass a PK value to a generated field, and Tortoise ORM will use that as the PK as expected. This allows one to have a model that has a autonumber PK, but setting it explicitly if required.

0.15.5

  • Refactored Fields:

    Fields have been refactored, for better maintenance. There should be no change for most users.

    • More accurate auto-completion.
    • Fields now contain their own SQL schema by dialect, which significantly simplifies adding field types.
    • describe_model() now returns the DB type, and dialect overrides.
  • JSONField will now automatically use python-rapidjson as an accelerator if it is available.

  • DecimalField and aggregations on it, now behaves much more like expected on SQLite (#256)

  • Check whether charset name is valid for the MySQL connection (#261)

  • Default DB driver parameters are now applied consistently, if you use the URI schema or manual.

0.15.4

... (truncated)
Commits
  • 557374a v0.15.9
  • 55618fa Fix SQL for multiple FK links to same model (#277)
  • 33ccfd1 v0.15.8
  • 30ea041 Nullable ForeignKeyField tests as False and awaits to None without touching D...
  • 5bbe2e4 .count() now honours limit and offset (#167)
  • 2d1b0fd More field tests
  • 21e8221 Merge branch 'develop' of github.com:tortoise/tortoise-orm into develop
  • 38c4bb9 v0.15.7
  • 3ac1dae Added get_or_none(...) as syntactic sugar for filter(...).first()
  • ef586b0 QuerySet.Update() & QuerySey.Delete() now returns the no of affected rows (#1...
  • 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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 1, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #69.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/dev/tortoise-orm-0.15.9 branch March 1, 2020 05:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants