Skip to content

Bump peewee from 3.10.0 to 3.13.2 - #39

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

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

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Bumps peewee from 3.10.0 to 3.13.2.

Release notes

Sourced from peewee's releases.

3.13.2

  • Allow aggregate functions to support an ORDER BY clause, via the addition of an order_by() method to the function (fn) instance. Refs #2094.
  • Fix prefetch() bug, where related "backref" instances were marked as dirty, even though they had no changes. Fixes #2091.
  • Support LIMIT 0. Previously a limit of 0 would be translated into effectively an unlimited query on MySQL. References #2084.
  • Support indexing into arrays using expressions with Postgres array fields. References #2085.
  • Ensure postgres introspection methods return the columns for multi-column indexes in the correct order. Fixes #2104.
  • Add support for arrays of UUIDs to postgres introspection.
  • Fix introspection of columns w/capitalized table names in postgres (#2110).
  • Fix to ensure correct exception is raised in SqliteQueueDatabase when iterating over cursor/result-set.
  • Fix bug comparing subquery against a scalar value. Fixes #2118.
  • Fix issue resolving composite primary-keys that include foreign-keys when building the model-graph. Fixes #2115.
  • Allow model-classes to be passed as arguments, e.g., to a table function. Refs #2131.
  • Ensure postgres JSONField.concat() accepts expressions as arguments.

View commits

3.13.1

Fix a regression when specifying keyword arguments to the atomic() or transaction() helper methods. Note: this only occurs if you were using Sqlite and were explicitly setting the lock_type= parameter.

View commits

3.13.0

CockroachDB support added

This will be a notable release as it adds support for CockroachDB, a distributed, horizontally-scalable SQL database.

Other features and fixes

  • Allow FOR UPDATE clause to specify one or more tables (FOR UPDATE OF...).
  • Support for Postgres LATERAL join.
  • Properly wrap exceptions raised during explicit commit/rollback in the appropriate peewee-specific exception class.
  • Capture original exception object and expose it as exc.orig on the wrapped exception.
  • Properly introspect SMALLINT columns in Postgres schema reflection.
  • More flexible handling of passing database-specific arguments to atomic() and transaction() context-manager/decorator.
  • Fix non-deterministic join ordering issue when using the filter() API across several tables (#2063).

View commits

3.12.0

  • Bulk insert (insert_many() and insert_from()) will now return the row count instead of the last insert ID. If you are using Postgres, peewee will continue to return a cursor that provides an iterator over the newly-inserted primary-key values by default. This behavior is being retained by default for compatibility. Postgres users can simply specify an empty returning() call to disable the cursor and retrieve the rowcount instead.
  • Migration extension now supports altering a column's data-type, via the new alter_column_type() method.
  • Added Database.is_connection_usable() method, which attempts to look at the status of the underlying DB-API connection to determine whether the connection is usable.
  • Common table expressions include a materialized parameter, which can be used to control Postgres' optimization fencing around CTEs.
... (truncated)
Changelog

Sourced from peewee's changelog.

3.13.2

  • Allow aggregate functions to support an ORDER BY clause, via the addition of an order_by() method to the function (fn) instance. Refs #2094.
  • Fix prefetch() bug, where related "backref" instances were marked as dirty, even though they had no changes. Fixes #2091.
  • Support LIMIT 0. Previously a limit of 0 would be translated into effectively an unlimited query on MySQL. References #2084.
  • Support indexing into arrays using expressions with Postgres array fields. References #2085.
  • Ensure postgres introspection methods return the columns for multi-column indexes in the correct order. Fixes #2104.
  • Add support for arrays of UUIDs to postgres introspection.
  • Fix introspection of columns w/capitalized table names in postgres (#2110).
  • Fix to ensure correct exception is raised in SqliteQueueDatabase when iterating over cursor/result-set.
  • Fix bug comparing subquery against a scalar value. Fixes #2118.
  • Fix issue resolving composite primary-keys that include foreign-keys when building the model-graph. Fixes #2115.
  • Allow model-classes to be passed as arguments, e.g., to a table function. Refs #2131.
  • Ensure postgres JSONField.concat() accepts expressions as arguments.

View commits

3.13.1

Fix a regression when specifying keyword arguments to the atomic() or transaction() helper methods. Note: this only occurs if you were using Sqlite and were explicitly setting the lock_type= parameter.

View commits

3.13.0

CockroachDB support added

This will be a notable release as it adds support for CockroachDB, a distributed, horizontally-scalable SQL database.

Other features and fixes

  • Allow FOR UPDATE clause to specify one or more tables (FOR UPDATE OF...).
  • Support for Postgres LATERAL join.
  • Properly wrap exceptions raised during explicit commit/rollback in the appropriate peewee-specific exception class.
... (truncated)
Commits
  • e8820a2 3.13.2
  • ec85e46 Bring changelog up-to-date.
  • 6ce50b4 Slight tweak to regex in test-case.
  • 8aad06a Fix some deprecation warnings when using \s or \w on non-raw strings
  • 89dd9c8 Ensure JSONField.concat() accepts expressions.
  • 252ba1c Add note about setting search-path in postgres migrations.
  • 3c8eba0 Workaround for passing model-classes as arguments.
  • 90ff276 Merge pull request #2128 from Jo-Con-El/patch-1
  • 0617489 Fix URL to Flask Application Factories and typos.
  • 98e2a61 prefetch caveat about selecting pk/fk.
  • 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.13.2.
- [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.13.2)

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 Mar 30, 2020
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #42.

@dependabot-preview
dependabot-preview Bot deleted the dependabot/pip/peewee-3.13.2 branch April 24, 2020 04:42
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