Skip to content

Bump peewee from 3.10.0 to 3.11.2 - #16

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

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

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Bumps peewee from 3.10.0 to 3.11.2.

Release notes

Sourced from peewee's releases.

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).
  • When self-referential foreign-keys are inherited, the foreign-key on the subclass will also be self-referential (rather than pointing to the parent model).
  • Add TSV import/export option to the dataset extension.
  • Add item interface to the dataset.Table class for doing primary-key lookup, assignment, or deletion.
  • Extend the mysql ReconnectMixin helper to work with mysql-connector.
  • Fix mapping of double-precision float in postgres schema reflection. Previously it mapped to single-precision, now it correctly uses a double.
  • Fix issue where PostgresqlExtDatabase and MySQLConnectorDatabase did not respect the autoconnect setting.

View commits

Changelog

Sourced from peewee's changelog.

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).
  • When self-referential foreign-keys are inherited, the foreign-key on the
    subclass will also be self-referential (rather than pointing to the parent
    model).
  • Add TSV import/export option to the dataset extension.
  • Add item interface to the dataset.Table class for doing primary-key lookup,
    assignment, or deletion.
  • Extend the mysql ReconnectMixin helper to work with mysql-connector.
  • Fix mapping of double-precision float in postgres schema reflection.
    Previously it mapped to single-precision, now it correctly uses a double.
  • Fix issue where PostgresqlExtDatabase and MySQLConnectorDatabase did not
    respect the autoconnect setting.

View commits

Commits
  • 254e9b5 3.11.2
  • 2c61a8f Update changelog
  • 8fc5a64 Implement hash interface for Alias objects.
  • ac95547 Extend test with a where filter as well.
  • ce4c21d Extend keydata children() test to select from both sources.
  • ddf4ce3 Add test for sqlite json children() method.
  • efe8551 3.11.1
  • ebeadb5 Add note to changelog.
  • 7f19ee0 Fix for no primary key with hash method.
  • 9d876a0 Doc for registering udfs singly.
  • 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)

Finally, you can contact us by mentioning @dependabot.

Bumps [peewee](https://github.com/coleifer/peewee) from 3.10.0 to 3.11.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.11.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 Sep 25, 2019
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #25.

@dependabot-preview
dependabot-preview Bot deleted the dependabot/pip/peewee-3.11.2 branch November 25, 2019 04:45
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