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

build(deps): bump diesel_migrations from 2.1.0 to 2.2.0 #513

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2024

Bumps diesel_migrations from 2.1.0 to 2.2.0.

Release notes

Sourced from diesel_migrations's releases.

Diesel 2.2.0

This release wouldn't be possible without the support of our contributors and sponsors. If you want to support diesels development, consider joining the reviewer team, submitting PR's, help writing documentation or sponsor the maintainers.

Added

  • Support [print_schema] exclude_custom_type_definitions = ["Vector"]. If a custom type matches one element on the list it's skipped.
  • Added automatic usage of all sqlite rowid aliases when no explicit primary key is defined for print-schema
  • Added a #[dsl::auto_type] attribute macro, allowing to infer type of query fragment functions
  • Added the same type inference on Selectable derives, which allows skipping specifying select_expression_type most of the time, in turn enabling most queries to be written using just a Selectable derive.
  • Added an optional #[diesel(skip_insertion)] field attribute to the Insertable derive macro, allowing fields which map to generated columns to be skipped during insertion.
  • Support for connection instrumentation. This allows to inspect any query run by your application
  • Logging in diesel-cli
  • Support for libsqlite3-sys 0.28
  • Add sqlite-integer-primary-key-is-bigint configuration option, usable with SQLite 3.37 or above, allowing to use BigInt for INTEGER PRIMARY KEY columns in SQLite for tables without the WITHOUT ROWID attribute (SQLite doc).
  • Support for multiple print_schema entry in diesel.toml (e.g. [print_schema.user1]), which allows generating multiple schema.rs files
  • Add support for COPY TO and COPY FROM statements
  • Add support for mapping chrono::Duration to postgresql's INTERVAL sql type
  • Added serialize_database_to_buffer and deserialize_readonly_database_from_buffer methods in SqliteConnection to support serialization/deserialization of SQLite databases to and from byte buffers.
  • Added SerializedDatabase wrapper type for a serialized database that is dynamically allocated by calling serialize_database_to_buffer. This RAII wrapper deallocates the memory when it goes out of scope with sqlite3_free.

Changed

  • The minimal officially supported rustc version is now 1.78.0
  • Deprecated sql_function! in favour of define_sql_function! which provides compatibility with #[dsl::auto_type]
  • Deserialization error messages now contain information about the field that failed to deserialize

New Contributors

... (truncated)

Changelog

Sourced from diesel_migrations's changelog.

[2.2.0] 2024-05-31

Added

  • Support [print_schema] except_custom_type_definitions = ["Vector"]. If a custom type matches one element on the list it's skipped.
  • Added automatic usage of all sqlite rowid aliases when no explicit primary key is defined for print-schema
  • Added a #[dsl::auto_type] attribute macro, allowing to infer type of query fragment functions
  • Added the same type inference on Selectable derives, which allows skipping specifying select_expression_type most of the time, in turn enabling most queries to be written using just a Selectable derive.
  • Added an optional #[diesel(skip_insertion)] field attribute to the Insertable derive macro, allowing fields which map to generated columns to be skipped during insertion.
  • Support for connection instrumentation. This allows to inspect any query run by your application
  • Logging in diesel-cli
  • Support for libsqlite3-sys 0.28
  • Add sqlite-integer-primary-key-is-bigint configuration option, usable with SQLite 3.37 or above, allowing to use BigInt for INTEGER PRIMARY KEY columns in SQLite for tables without the WITHOUT ROWID attribute (SQLite doc).
  • Support for multiple print_schema entry in diesel.toml (e.g. [print_schema.user1]), which allows generating multiple schema.rs files
  • Add support for COPY TO and COPY FROM statements
  • Add support for mapping chrono::Duration to postgresql's INTERVAL sql type
  • Added serialize_database_to_buffer and deserialize_readonly_database_from_buffer methods in SqliteConnection to support serialization/deserialization of SQLite databases to and from byte buffers.
  • Added SerializedDatabase wrapper type for a serialized database that is dynamically allocated by calling serialize_database_to_buffer. This RAII wrapper deallocates the memory when it goes out of scope with sqlite3_free.

Changed

  • The minimal officially supported rustc version is now 1.78.0
  • Deprecated sql_function! in favour of define_sql_function! which provides compatibility with #[dsl::auto_type]
  • Deserialization error messages now contain information about the field that failed to deserialize

[2.1.6] 2024-04-19

  • Fix using BoxableExpression with having clauses
  • Fix using numeric expressions with aliased fields
  • Minor documentation fixes

[2.1.5] 2024-03-15

  • Fix impl SqlOrd postgres > postgres_backend feature flag.
  • Allow Queryable to be used with multiple table names.
  • Fix an inconsistent unit test
  • Fix a clippy lint
  • Fix ./bin/test feature flag calls.
  • Update libsqlite3-sys to allow version 0.28 as well

[2.1.4] 2023-11-14

  • Update libsqlite3-sys to allow version 0.27 as well

[2.1.3] 2023-10-05

  • Increased accidently decreased limit around element count in DISTINCT ON and ORDER BY clauses again as that broke existing code

[2.1.2] 2023-09-25

... (truncated)

Commits
  • 197f06d Fix the includes in all Cargo.toml files
  • 874b8dc Merge pull request #4043 from weiznich/prepare/2.2
  • 3590611 Prepare a diesel 2.2 release
  • df338ca Merge pull request #4050 from weiznich/fix/4035
  • 48a8971 Merge pull request #4051 from McDic/feature/interval-docs
  • 792a6aa Update diesel/src/sql_types/mod.rs
  • de7ff9b Add docstring on FromSql part of Interval
  • 365e438 Change the order of generic arguments for InsertValues
  • db6730c Merge pull request #3944 from JonBoyleCoding/diagnostics-branch
  • 3db4ed2 Merge pull request #4030 from z33ky/raw-sqlidentifier
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @mdn-bot.


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 <dependency name> 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from mdn-bot as a code owner June 3, 2024 01:03
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 3, 2024
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 3, 2024

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 1d84776 to 8d13c73 Compare June 6, 2024 01:02
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 8d13c73 to f4ef940 Compare June 6, 2024 01:10
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from f4ef940 to 2a4f78b Compare June 10, 2024 01:34
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 2a4f78b to 2bdf4ab Compare June 10, 2024 01:40
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 2bdf4ab to 133434e Compare June 10, 2024 01:47
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 133434e to 5b2e616 Compare June 11, 2024 00:45
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 5b2e616 to 280fb4c Compare June 11, 2024 00:54
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 280fb4c to 1cbd321 Compare June 12, 2024 00:43
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 1cbd321 to fa3d96c Compare June 18, 2024 22:29
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from fa3d96c to b4d56cd Compare June 19, 2024 00:42
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from b4d56cd to 35cca7e Compare June 20, 2024 00:20
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 35cca7e to 6d96458 Compare June 25, 2024 00:53
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 6d96458 to 65ca021 Compare June 25, 2024 01:00
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 65ca021 to edf2ff4 Compare June 26, 2024 00:15
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from edf2ff4 to 8504f1f Compare June 27, 2024 01:04
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 8504f1f to 62ea5f4 Compare July 1, 2024 01:19
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 62ea5f4 to a1b50b9 Compare July 1, 2024 01:27
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from a1b50b9 to 29d13c8 Compare July 1, 2024 01:36
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 29d13c8 to 0cebcd6 Compare July 1, 2024 12:50
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 0cebcd6 to 646eaa8 Compare July 2, 2024 00:18
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Aug 3, 2024
@caugner
Copy link
Contributor

caugner commented Sep 9, 2024

@dependabot rebase

Bumps [diesel_migrations](https://github.com/diesel-rs/diesel) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/diesel-rs/diesel/releases)
- [Changelog](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md)
- [Commits](diesel-rs/diesel@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: diesel_migrations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/diesel_migrations-2.2.0 branch from 646eaa8 to ba232dd Compare September 9, 2024 11:20
@mdn-bot
Copy link
Collaborator

mdn-bot commented Sep 9, 2024

@dependabot squash and merge

@caugner caugner requested a review from a team as a code owner September 9, 2024 12:11
@mdn-bot
Copy link
Collaborator

mdn-bot commented Sep 9, 2024

@dependabot squash and merge

@dependabot dependabot bot merged commit 9a5df54 into main Sep 9, 2024
4 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/diesel_migrations-2.2.0 branch September 9, 2024 12:19
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 idle Issues and pull requests with no activity for three months.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants