dginev / CorTeX

A general purpose processing framework for corpora of scientific documents
https://corpora.mathweb.org/
MIT License
57 stars 6 forks source link

Bump diesel from 1.4.8 to 2.1.2 #256

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Bumps diesel from 1.4.8 to 2.1.2.

Release notes

Sourced from diesel's releases.

Diesel-derives 2.0.2

  • Fixing the fallout of a breaking change from quote by not using their internal API
Changelog

Sourced from diesel's changelog.

[2.1.2] 2023-09-25

Fixed

  • Fixed another potential breaking chaneg around queries containing DISTINCT ON and ORDER BY clauses consisting of custom sql expressions (e.g. .nullable())
  • Fixed an issue where #[derive(Selectable)] and #[diesel(check_for_backend)] generates invalid rust code if the struct contains lifetimes/generic types

[2.1.1] 2023-08-25

Fixed

  • Fixed an issue in diesel-cli that lead to using unquoted table names in one of the internal queries
  • Fixed a bug in diesel print-schema that lead to generating invalid table! macros if both the #[sql_name] and the #[max_lenght] attribute are present
  • Fixed an issue in diesel-cli that lead to ignoring certain foreign key constraints for postgresql
  • Fixed an crash while using diesel print-schema with really old sqlite versions
  • Fixed an issue where #[diesel(check_for_backend)] ignored #[diesel(deserialize_as)] attributes
  • Fixed several issues with the new #[derive(MultiConnection)] feature
  • Fixed some edge cases in our sqlite timestamp parsing behaviour
  • diesel migration generate --diff-schema now respects table filters as setup for print-schema via diesel.toml
  • Fixed a potential breaking change around queries containing DISTINCT ON and ORDER BY clauses consisting of custom sql expressions (e.g. diesel::dsl::sql)

Added

  • Support for bigdecimal 0.4

[2.1.0] 2023-05-26

Changed

  • The minimal officially supported rustc version is now 1.65.0

Added

  • Added the custom_type_derives config option to customize the derives for SQL type definitions automatically generated by Diesel CLI.
  • Add a #[derive(MultiConnection)] proc-macro that lets you easily implement diesel::Connection for an enum of connections to different database backends.
  • Added a --diff-schema flag to the diesel migration generate command that generates a migration based on the difference between your database and the provided schema.rs file
  • Add a ON CONFLICT (...) DO UPDATE ... [WHERE ...] conditional clause support for PostgreSQL.
  • Add support for MySQL's ON DUPLICATE KEY DO UPDATE syntax through the existing upsert functions.
  • Add ability to define multiple columns in a single distinct_on for PostgreSQL, like: .distinct_on((column_a, column_b)).
  • Added column size restrictions to the generated schema.rs file

[2.0.4] 2023-04-18

Fixed

... (truncated)

Commits
  • b6850a0 Add date to the changelog
  • 268d753 Merge pull request #3803 from weiznich/backports_for_2.1.2
  • 9f04d8a Fix some clippy and deprecation warnings
  • e0716e2 Prepare a 2.1.2 release
  • 4f985d7 Merge pull request #3794 from weiznich/fix/3790
  • 8246b23 Merge pull request #3793 from weiznich/fix/3766
  • 9b5ed0a Merge pull request #3795 from weiznich/fix/ci_mysql_windows
  • f5a6f83 Fix changelog date
  • 45c0102 Prepare a diesel 2.1.1 release to fix various bugs
  • 181a62a Merge pull request #3643 from weiznich/fix/broken_distinct_on_with_custom_exp...
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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[bot] commented 11 months ago

Superseded by #258.