Skip to content

Bump peewee from 3.10.0 to 3.14.1#69

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/peewee-3.14.1
Closed

Bump peewee from 3.10.0 to 3.14.1#69
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/peewee-3.14.1

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Bumps peewee from 3.10.0 to 3.14.1.

Release notes

Sourced from peewee's releases.

3.14.1

This release contains primarily bugfixes.

  • Properly delegate to a foreign-key field's db_value() function when converting model instances. #2304.
  • Strip quote marks and parentheses from column names returned by sqlite cursor when a function-call is projected without an alias. #2305.
  • Fix DataSet.create_index() method, #2319.
  • Fix column-to-model mapping in model-select from subquery with joins, #2320.
  • Improvements to foreign-key lazy-loading thanks @conqp, #2328.
  • Preserve and handle CHECK() constraints in Sqlite migrator, #2343.
  • Add stddev aggregate function to collection of sqlite user-defined funcs.

View commits

3.14.0

This release has been a bit overdue and there are numerous small improvements and bug-fixes. The bugfix that prompted this release is #2293, which is a regression in the Django-inspired .filter() APIs that could cause some filter expressions to be discarded from the generated SQL. Many thanks for the excellent bug report, Jakub.

  • Add an experimental helper, shortcuts.resolve_multimodel_query(), for resolving multiple models used in a compound select query.
  • Add a lateral() method to select query for use with lateral joins, refs issue #2205.
  • Added support for nested transactions (savepoints) in cockroach-db (requires 20.1 or newer).
  • Automatically escape wildcards passed to string-matching methods, refs #2224.
  • Allow index-type to be specified on MySQL, refs #2242.
  • Added a new API, converter() to be used for specifying a function to use to convert a row-value pulled off the cursor, refs #2248.
  • Add set() and clear() method to the bitfield flag descriptor, refs #2257.
  • Add support for range types with IN and other expressions.
  • Support CTEs bound to compound select queries, refs #2289.

Bug-fixes

  • Fix to return related object id when accessing via the object-id descriptor, when the related object is not populated, refs #2162.
  • Fix to ensure we do not insert a NULL value for a primary key.
  • Fix to conditionally set the field/column on an added column in a migration, refs #2171.
  • Apply field conversion logic to model-class values. Relocates the logic from issue #2131 and fixes #2185.
  • Clone node before modifying it to be flat in an enclosed nodelist expr, fixes issue #2200.
  • Fix an invalid item assignment in nodelist, refs #2220.
  • Fix an incorrect truthiness check used with save() and only=, refs #2269.
  • Fix regression in filter() where using both *args and **kwargs caused the expressions passed as args to be discarded. See #2293.

View commits

3.13.3

  • Allow arbitrary keyword arguments to be passed to DataSet constructor, which are then passed to the instrospector.
  • Allow scalar subqueries to be compared using numeric operands.
  • Fix bulk_create() when model being inserted uses FK identifiers.
  • Fix bulk_update() so that PK values are properly coerced to the right data-type (e.g. UUIDs to strings for Sqlite).
  • Allow array indices to be used as dict keys, e.g. for the purposes of updating a single array index value.

... (truncated)

Changelog

Sourced from peewee's changelog.

3.14.1

This release contains primarily bugfixes.

  • Properly delegate to a foreign-key field's db_value() function when converting model instances. #2304.
  • Strip quote marks and parentheses from column names returned by sqlite cursor when a function-call is projected without an alias. #2305.
  • Fix DataSet.create_index() method, #2319.
  • Fix column-to-model mapping in model-select from subquery with joins, #2320.
  • Improvements to foreign-key lazy-loading thanks @conqp, #2328.
  • Preserve and handle CHECK() constraints in Sqlite migrator, #2343.
  • Add stddev aggregate function to collection of sqlite user-defined funcs.

View commits

3.14.0

This release has been a bit overdue and there are numerous small improvements and bug-fixes. The bugfix that prompted this release is #2293, which is a regression in the Django-inspired .filter() APIs that could cause some filter expressions to be discarded from the generated SQL. Many thanks for the excellent bug report, Jakub.

  • Add an experimental helper, shortcuts.resolve_multimodel_query(), for resolving multiple models used in a compound select query.
  • Add a lateral() method to select query for use with lateral joins, refs issue #2205.
  • Added support for nested transactions (savepoints) in cockroach-db (requires 20.1 or newer).
  • Automatically escape wildcards passed to string-matching methods, refs #2224.
  • Allow index-type to be specified on MySQL, refs #2242.
  • Added a new API, converter() to be used for specifying a function to use to convert a row-value pulled off the cursor, refs #2248.
  • Add set() and clear() method to the bitfield flag descriptor, refs #2257.
  • Add support for range types with IN and other expressions.
  • Support CTEs bound to compound select queries, refs #2289.

Bug-fixes

  • Fix to return related object id when accessing via the object-id descriptor, when the related object is not populated, refs #2162.
  • Fix to ensure we do not insert a NULL value for a primary key.
  • Fix to conditionally set the field/column on an added column in a migration, refs #2171.
  • Apply field conversion logic to model-class values. Relocates the logic from issue #2131 and fixes #2185.
  • Clone node before modifying it to be flat in an enclosed nodelist expr, fixes issue #2200.
  • Fix an invalid item assignment in nodelist, refs #2220.

... (truncated)

Commits
  • 3f66b5d 3.14.1
  • 7e68c78 Preserve and handle CHECK() constraints with sqlite migrator.
  • b34e601 Improvements to foreign-key lazy-load - thanks @conqp
  • 8a21f80 Fix for failing crdb test.
  • aab10e6 Fix for column->model mapping in model-select from subquery + join.
  • ad5a338 Add stddev aggregate to sqlite-udf.
  • 0e1b22a Attempt to run cockroachdb on CI.
  • d81867a First stab at peewee on gh actions.
  • 798b286 Fix create_index() method for DataSet.
  • da9b941 Strip quote-marks and parentheses from colnames returned by cursor.
  • 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)

Bumps [peewee](https://github.com/coleifer/peewee) from 3.10.0 to 3.14.1.
- [Release notes](https://github.com/coleifer/peewee/releases)
- [Changelog](https://github.com/coleifer/peewee/blob/master/CHANGELOG.md)
- [Commits](coleifer/peewee@3.10.0...3.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Feb 8, 2021
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #71.

@dependabot-preview
dependabot-preview Bot deleted the dependabot/pip/peewee-3.14.1 branch March 5, 2021 04:28
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.

0 participants