Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump peewee from 2.10.1 to 3.4.0 #5

Merged
merged 2 commits into from
May 26, 2018
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented May 25, 2018

Bumps peewee from 2.10.1 to 3.4.0.

Release notes

Sourced from peewee's releases.

3.4.0

Backwards-incompatible changes

  • The regexp() operation is now case-sensitive for MySQL and Postgres. To perform case-insensitive regexp operations, use iregexp().
  • The SQLite BareField() field-type now supports all column constraints except specifying the data-type. Previously it silently ignored any column constraints.
  • LIMIT and OFFSET parameters are now treated as parameterized values instead of literals.
  • The schema parameter for SQLite database introspection methods is no longer ignored by default. The schema corresponds to the name given to an attached database.
  • ArrayField now accepts a new parameter field_kwargs, which is used to pass information to the array field's field_class initializer.

New features and other changes

  • SQLite backup interface supports specifying page-counts and a user-defined progress handler.
  • GIL is released when doing backups or during SQLite busy timeouts (when using the peewee SQLite busy-handler).
  • Add NATURAL join-type to the JOIN helper.
  • Improved identifier quoting to allow specifying distinct open/close-quote characters. Enables adding support for MSSQL, for instance, which uses square brackets, e.g. [table].[column].
  • Unify timeout interfaces for SQLite databases (use seconds everywhere rather than mixing seconds and milliseconds, which was confusing).
  • Added attach() and detach() methods to SQLite database, making it possible to attach additional databases (e.g. an in-memory cache db).

View commits

3.3.4

View commits

3.3.3

  • More efficient implementation of model dependency-graph generation. Improves performance of recursively deleting related objects by omitting unnecessary subqueries.
  • Added union(), union_all(), intersect() and except_() to the Model-specific query implementations. This was an oversight that should have been patched in 3.3.2, but is fixed in 3.3.3.
  • Major cleanup to test runner and standardized test skipping logic to integrate with standard-library unittest conventions.

View commits

3.3.2

  • Add methods for union(), union_all, intersect() and except_(). Previously, these methods were only available as operator overloads.
  • Removed some Python 2.6-specific support code, as 2.6 is no longer officially supported.
  • Fixed model-graph resolution logic for deferred foreign-keys.
  • Better support for UPDATE...FROM queries (Postgresql).

View commits

3.3.1

  • Fixed long-standing bug in 3.x regarding using column aliases with queries that utilize the ModelCursorWrapper (typically queries with one or more joins). If you're using an ancient version of SQLite (3.8 or older) you may need to manually add .alias('column_name') to selected fields if you find that the values are unexpectedly empty after upgrading.
  • Fix typo in model metadata code, thanks klen.
  • Add examples of using recursive CTEs to docs.

View commits

3.3.0

  • Added support for SQLite's new ON CONFLICT clause, which is modelled on the syntax used by Postgresql and will be available in SQLite 3.24.0 and onward.
... (truncated)
Changelog

Sourced from peewee's changelog.

3.4.0

Backwards-incompatible changes

  • The regexp() operation is now case-sensitive for MySQL and Postgres. To
    perform case-insensitive regexp operations, use iregexp().
  • The SQLite BareField() field-type now supports all column constraints
    except specifying the data-type. Previously it silently ignored any column
    constraints.
  • LIMIT and OFFSET parameters are now treated as parameterized values instead
    of literals.
  • The schema parameter for SQLite database introspection methods is no longer
    ignored by default. The schema corresponds to the name given to an attached
    database.
  • ArrayField now accepts a new parameter field_kwargs, which is used to
    pass information to the array field's field_class initializer.

New features and other changes

  • SQLite backup interface supports specifying page-counts and a user-defined
    progress handler.
  • GIL is released when doing backups or during SQLite busy timeouts (when using
    the peewee SQLite busy-handler).
  • Add NATURAL join-type to the JOIN helper.
  • Improved identifier quoting to allow specifying distinct open/close-quote
    characters. Enables adding support for MSSQL, for instance, which uses square
    brackets, e.g. [table].[column].
  • Unify timeout interfaces for SQLite databases (use seconds everywhere rather
    than mixing seconds and milliseconds, which was confusing).
  • Added attach() and detach() methods to SQLite database, making it
    possible to attach additional databases (e.g. an in-memory cache db).

View commits

3.3.4

View commits

3.3.3

  • More efficient implementation of model dependency-graph generation. Improves
    performance of recursively deleting related objects by omitting unnecessary
    subqueries.
  • Added union(), union_all(), intersect() and except_() to the
    Model-specific query implementations. This was an oversight that should
... (truncated)
Commits
  • e582871 3.4.0
  • ad94047 Add field_kwargs parameter to ArrayField initializer.
  • e0c750b Fix doc reference.
  • c16740d changes
  • 243f6d6 Add test and change BareField DDL to support constraints
  • d4b3429 Docs for iregexp.
  • f631f22 Add tests and ops for IREGEXP (supported only in mysql/postgresql)
  • 909ed5f Make sqlite regexp function case-sensitive.
  • 024faa9 Clean up and normalize some cache filling.
  • 1bdc57c changelog
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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 (this|these) label[s] will set the current labels as the default for future PRs for this repo and language
  • @dependabot use (this|these) reviewer[s] will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use (this|these) assignee[s] will set the current assignees as the default for future PRs for this repo and language

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

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/peewee-3.4.0 branch 3 times, most recently from fcdc7fc to cf1c5e5 Compare May 26, 2018 11:59
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 92.965% when pulling c0ef700 on dependabot/pip/peewee-3.4.0 into 0b0c2cd on master.

@mdowds mdowds merged commit 2c108d7 into master May 26, 2018
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/peewee-3.4.0 branch May 26, 2018 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants