Skip to content

Update diesel requirement from 1.4.5 to 2.0.2 - #43

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/diesel-2.0.2
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/diesel-2.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2022

Copy link
Copy Markdown
Contributor

Updates the requirements on diesel to permit the latest version.

Release notes

Sourced from diesel's releases.

Diesel 2.0.2

Fixed

  • Reverted a fix from the 2.0.1 release that breaks valid INSERT … ON CONFLICT queries
Changelog

Sourced from diesel's changelog.

[2.0.2] 2022-10-11

Fixed

  • Reverted a fix from the 2.0.1 release that breaks valid INSERT … ON CONFLICT queries

[2.0.1] 2022-10-07

Fixed

  • Fixed an issue with diesel_cli generating incompatible type names for the generate_missing_sql_type_definitions feature on PostgreSQL
  • Fixed an issue how diesel_cli handles sqlite urls while checking if a given database exists
  • Fixed an issue with PgConnection becoming unusable after hitting a database error in certain situations
  • Fixed an issue with diesel generating invalid SQL for certain INSERT … ON CONFLICT queries
  • Fixed diesel_derives generating code that triggers the disabled by default unused_qualifications lint

[2.0.0] 2022-08-29

Added

  • MysqlConnection::establish is able to initiate an SSL connection while specifying certificate roots. The database URL should contain an ssl_ca parameter with a path pointing to the certificate roots. See docs if desired.

  • MysqlConnection::establish is able to initiate an SSL connection. The database URL should contain ssl_mode parameter with a value of the MySQL client command option --ssl-mode if desired.

  • Connection and SimpleConnection traits are implemented for a broader range of r2d2::PooledConnection<M> types when the r2d2 feature is enabled.

  • Added DatabaseErrorKind::ReadOnlyTransaction to allow applications to handle errors caused by writing when only allowed to read.

  • All expression methods can now be called on expressions of nullable types.

  • 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.

  • The MacAddr SQL type can now be used without enabling the network-address feature.

  • Added support for SQLite's UPSERT. You can use this feature above SQLite version 3.24.0.

  • Added ability to create custom aggregate functions in SQLite.

  • Multiple aggregate expressions can now appear together in the same select clause. See the upgrade notes for details.

  • ValidGrouping has been added to represent whether an expression is valid for

... (truncated)

Commits

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 dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 12, 2022
@nuxeh

nuxeh commented Dec 19, 2022

Copy link
Copy Markdown
Owner

@dependabot rebase

Updates the requirements on [diesel](https://github.com/diesel-rs/diesel) to permit the latest version.
- [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.4.5...v2.0.2)

---
updated-dependencies:
- dependency-name: diesel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/diesel-2.0.2 branch from 06bf57f to 708439d Compare December 19, 2022 11:18
@dependabot @github

dependabot Bot commented on behalf of github Jan 25, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #46.

@dependabot dependabot Bot closed this Jan 25, 2023
@dependabot
dependabot Bot deleted the dependabot/cargo/diesel-2.0.2 branch January 25, 2023 00:02
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.

1 participant