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 diesel from 1.3.2 to 1.4.2 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps diesel from 1.3.2 to 1.4.2.

Release notes

Sourced from diesel's releases.

v1.4.0

New Features

In contrast to the last release most changes in this release are minor or internal. We've added support for newer versions of some dependency crates (libsqlite-sys, uuid, ipnetwork).

Diesel CLI got a command line flag to check if a generated schema matches the already existing one. This is useful for CI setups to check there if the committed generated schema file matches the committed migrations.

We've added support for the diesel_mange_updated_at('table_name') SQL function on SQLite. This function handles the setup of an trigger that automatically updates the updated_at column on update operations.

Additionally several helpers were added to support the deserialisation of tuples and composite types on PostgreSQL.

As always, a full list of changes can be found it in the changelog

Thanks

Thank you to everyone who helped make this release happen through bug reports, and discussion on Gitter. While we don't have a way to collect stats on that form of contribution, it's greatly appreciated.

In addition to the Diesel core team, 29 people contributed code to this release. A huge thank you to:

  • Aleksey Ivanov
  • Andrew Speed
  • Carlos Diaz-Padron
  • Daniel Silverstone
  • Dirkjan Ochtman
  • Dominik Sander
  • Eyal Kalderon
  • Galuh Sahid
  • Hirokazu Hata
  • Jake Goulding
  • Jo Liss
  • Josh Leeb-du Toit
  • Kevin Stenerson
  • kpcyrd
  • Marcus Stollsteimer
  • Matej Stuchlik
  • Nikita Sivakov
  • notryanb
  • Rasmus Kaj
  • Richard Petrie
  • Rotem Yaari
  • Ryan Leckey
  • Sergio Benitez
  • Simon Heath
  • Stephen Muss
  • Trinh Hoang Anh

1.3.3

This is a small bugfix release, addressing an issue with MySQL 8.0. The
behavior of the C API in libmysqlclient changed in this version of

... (truncated)
Changelog

Sourced from diesel's changelog.

[1.4.2] - 2019-03-19

Fixed

  • Parenthesis are now inserted around all mathematical operations. This means
    that (2.into_sql() + 3) * 4 will correctly evaluate to 20 as expected.
    Previously we would generate SQL that evaluated to 14. This could even result
    in runtime errors if multiple types were involved (for example, interval * (integer + 1))

[1.4.1] - 2019-01-24

Fixed

  • This release fixes a minor memory safety issue in SQLite. This bug would only
    occur in an error handling branch that should never occur in practice.

Added

  • Added BoxedSqlQuery. This allows users to do a variable amount of .sql or
    .bind calls without changing the underlying type.
  • Added .sql to SqlQuery and UncheckedBind to allow appending SQL code to
    an existing query.

[1.4.0] - 2019-01-20

Fixed

  • embed_migrations! will no longer emit an unused import warning
  • Diesel now supports uuid 0.7 by adding the new feature flag uuidv07

Added

  • Diesel CLI can be configured to error if a command would result in changes
    to your schema file by passing --locked-schema. This is intended for use
    in CI and production deploys, to ensure that the committed schema file is
    up to date.

  • A helper trait has been added for implementing ToSql for PG composite types.
    See WriteTuple for details.

  • Added support for MySQL's UNSIGNED TINYINT

  • DatabaseErrorKind::SerializationFailure has been added, corresponding to
    SQLSTATE code 40001 (A SERIALIZABLE isolation level transaction failed to
    commit due to a read/write dependency on another transaction). This error is
    currently only detected on PostgreSQL.

... (truncated)
Commits
  • 72aa66c Release v1.4.2
  • 1f2ab1f Wrap all math operations in parens
  • 568d3e2 Release diesel 1.4.1
  • 679d127 Merge pull request #1967 from diesel-rs/sg-use-after-free
  • 76761d3 Use diesel_infer_schema 1.4.0
  • 1ba00c9 Fix use-after free in SQLite adapter
  • dce9f01 Add missing line to changelog
  • c55c72a Release diesel 1.4.0
  • e55104b Fix formating
  • 75b0807 Impl UndecoratedInsertRecord for OwnedBatchInsert.
  • 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 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 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)
  • 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.

Bumps [diesel](https://github.com/diesel-rs/diesel) from 1.3.2 to 1.4.2.
- [Release notes](https://github.com/diesel-rs/diesel/releases)
- [Changelog](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md)
- [Commits](diesel-rs/diesel@v1.3.2...v1.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 22, 2019
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.

None yet

1 participant