Skip to content

Bump peewee from 3.10.0 to 3.13.0 - #27

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

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

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Bumps peewee from 3.10.0 to 3.13.0.

Release notes

Sourced from peewee's releases.

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.
  • Added BloomFilter.from_buffer() method for populating a bloom-filter from the output of a previous call to the to_buffer() method.
  • Fixed APSW extension's commit() and rollback() methods to no-op if the database is in auto-commit mode.
  • Added generate_always= option to the IdentityField (defaults to False).

View commits

3.11.2

  • Implement hash interface for Alias instances, allowing them to be used in multi-source queries.

View commits

3.11.1

  • Fix bug in new _pk / get_id() implementation for models that explicitly have disabled a primary-key.

View commits

3.11.0

  • Fixes #1991. This particular issue involves joining 3 models together in a chain, where the outer two models are empty. Previously peewee would make the middle model an empty model instance (since a link might be needed from the source model to the outermost model). But since both were empty, it is more correct to make the intervening model a NULL value on the foreign-key field rather than an empty instance.
  • An unrelated fix came out of the work on #1991 where hashing a model whose primary-key happened to be a foreign-key could trigger the FK resolution query. This patch fixes the Model._pk and get_id() interfaces so they no longer introduce the possibility of accidentally resolving the FK.
  • Allow Field.contains(), startswith() and endswith() to compare against another column-like object or expression.
  • Workaround for MySQL prior to 8 and MariaDB handling of union queries inside of parenthesized expressions (like IN).
  • Be more permissive in letting invalid values be stored in a field whose type is INTEGER or REAL, since Sqlite allows this.
  • TimestampField resolution cleanup. Now values 0 and 1 will resolve to a timestamp resolution of 1 second. Values 2-6 specify the number of decimal places (hundredths to microsecond), or alternatively the resolution can still be provided as a power of 10, e.g. 10, 1000 (millisecond), 1e6 (microsecond).
... (truncated)
Changelog

Sourced from peewee's changelog.

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_usabe() 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.
  • Added BloomFilter.from_buffer() method for populating a bloom-filter from
    the output of a previous call to the to_buffer() method.
  • Fixed APSW extension's commit() and rollback() methods to no-op if the
    database is in auto-commit mode.
  • Added generate_always= option to the IdentityField (defaults to False).

View commits

... (truncated)
Commits
  • dcdf7cb 3.13.0
  • a7541ba Add section ref to top of playhouse doc.
  • 5af60fd Fix list-value coercion regression.
  • d140783 Fixup parameter list on run_transaction() method.
  • 5ba89d0 Improvements to CRDB documentation.
  • 8594cb3 Update introduction section of database docs w/CRDB notes.
  • 4ce9ccc Update CHANGELOG
  • b4d6919 Add support for cockroachdb to database model auto-generator.
  • bd6eb0c Fix small typo in usage doc.
  • 2728598 s/cockroach/cockroachdb in code and docs.
  • 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.0.
- [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.0)

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 Dec 6, 2019
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #28.

@dependabot-preview
dependabot-preview Bot deleted the dependabot/pip/peewee-3.13.0 branch December 9, 2019 04:46
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