mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
f642a5ac392e3d58ae086021bb70fa113a20e20f
Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.1.4 to 2.2.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/diesel-rs/diesel/blob/v2.2.1/CHANGELOG.md">diesel's changelog</a>.</em></p> <blockquote> <h2>[2.2.1] 2024-06-12</h2> <h2>Fixed</h2> <ul> <li>Fixed using <code>#[dsl::auto_type]</code> with functions that accept reference arguments</li> <li>Fixed using <code>#[derive(Queryable)]</code> with structs that use a type named <code>Row</code> as field type</li> <li>Fixed a regression that prevented using <code>mysqlclient-sys</code> 0.2.x with diesel 2.2</li> <li>Fixed connecting to postgres database using the scram-sha-256 authentication method on windows while using the bundled postgres builds</li> <li>Improved the error messages in diesel-cli for cases where a file/folder was not found</li> <li>Fixed several version detection bugs in mysqlclient-sys to use pre-generated bindings in more situations</li> </ul> <h2>[2.2.0] 2024-05-31</h2> <h3>Added</h3> <ul> <li>Support <code>[print_schema] except_custom_type_definitions = ["Vector"]</code>. If a <code>custom type</code> matches one element on the list it's skipped.</li> <li>Added automatic usage of all sqlite <code>rowid</code> aliases when no explicit primary key is defined for <code>print-schema</code></li> <li>Added a <code>#[dsl::auto_type]</code> attribute macro, allowing to infer type of query fragment functions</li> <li>Added the same type inference on <code>Selectable</code> derives, which allows skipping specifying <code>select_expression_type</code> most of the time, in turn enabling most queries to be written using just a <code>Selectable</code> derive.</li> <li>Added an optional <code>#[diesel(skip_insertion)]</code> field attribute to the <code>Insertable</code> derive macro, allowing fields which map to generated columns to be skipped during insertion.</li> <li>Support for connection instrumentation. This allows to inspect any query run by your application</li> <li>Logging in diesel-cli</li> <li>Support for libsqlite3-sys 0.28</li> <li>Add <code>sqlite-integer-primary-key-is-bigint</code> configuration option, usable with SQLite 3.37 or above, allowing to use <code>BigInt</code> for <code>INTEGER PRIMARY KEY</code> columns in SQLite for tables without the <code>WITHOUT ROWID</code> attribute (<a href="https://www.sqlite.org/lang_createtable.html#rowid">SQLite doc</a>).</li> <li>Support for multiple <code>print_schema</code> entry in <code>diesel.toml</code> (e.g. <code>[print_schema.user1]</code>), which allows generating multiple schema.rs files</li> <li>Add support for <code>COPY TO</code> and <code>COPY FROM</code> statements</li> <li>Add support for mapping <code>chrono::Duration</code> to postgresql's <code>INTERVAL</code> sql type</li> <li>Added <code>serialize_database_to_buffer</code> and <code>deserialize_readonly_database_from_buffer</code> methods in <code>SqliteConnection</code> to support serialization/deserialization of SQLite databases to and from byte buffers.</li> <li>Added <code>SerializedDatabase</code> wrapper type for a serialized database that is dynamically allocated by calling <code>serialize_database_to_buffer</code>. This RAII wrapper deallocates the memory when it goes out of scope with <code>sqlite3_free</code>.</li> </ul> <h3>Changed</h3> <ul> <li>The minimal officially supported rustc version is now 1.78.0</li> <li>Deprecated <code>sql_function!</code> in favour of <code>define_sql_function!</code> which provides compatibility with <code>#[dsl::auto_type]</code></li> <li>Deserialization error messages now contain information about the field that failed to deserialize</li> </ul> <h2>[2.1.6] 2024-04-19</h2> <ul> <li>Fix using <code>BoxableExpression</code> with having clauses</li> <li>Fix using numeric expressions with aliased fields</li> <li>Minor documentation fixes</li> </ul> <h2>[2.1.5] 2024-03-15</h2> <ul> <li>Fix <code>impl SqlOrd</code> postgres > postgres_backend feature flag.</li> <li>Allow <code>Queryable</code> to be used with multiple table names.</li> <li>Fix an inconsistent unit test</li> <li>Fix a clippy lint</li> <li>Fix ./bin/test feature flag calls.</li> <li>Update <code>libsqlite3-sys</code> to allow version 0.28 as well</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/diesel-rs/diesel/commit/08be4f21e500fce5fff0b4b19ebab208ff26de9d"><code>08be4f2</code></a> Merge pull request <a href="https://redirect.github.com/diesel-rs/diesel/issues/4071">#4071</a> from weiznich/prepare/2.2.1</li> <li><a href="https://github.com/diesel-rs/diesel/commit/8c47c6f867f524a1878070ce8f5faa954501eed7"><code>8c47c6f</code></a> Bump mysqlclient-sys to 0.4</li> <li><a href="https://github.com/diesel-rs/diesel/commit/96a822a8950c2dbf3b90c2c663eb9351bece3228"><code>96a822a</code></a> Prepare a 2.2.1 release</li> <li><a href="https://github.com/diesel-rs/diesel/commit/1ae7a0aed78522bb45aa886cf7bd65737bc95545"><code>1ae7a0a</code></a> Merge pull request <a href="https://redirect.github.com/diesel-rs/diesel/issues/4057">#4057</a> from weiznich/fix/4055</li> <li><a href="https://github.com/diesel-rs/diesel/commit/4d5fb4fd96614d19344f7fabad14e140565e2418"><code>4d5fb4f</code></a> Merge pull request <a href="https://redirect.github.com/diesel-rs/diesel/issues/4054">#4054</a> from weiznich/fix/auto_type_lifetimes</li> <li><a href="https://github.com/diesel-rs/diesel/commit/1062c2732fad9c88f3809089866d31addac8139f"><code>1062c27</code></a> Merge pull request <a href="https://redirect.github.com/diesel-rs/diesel/issues/4063">#4063</a> from sugar700/allow-type-name-conflicting-with-trait...</li> <li><a href="https://github.com/diesel-rs/diesel/commit/5c870f7c60229e700cf0a3339acb58f0d4dd21c5"><code>5c870f7</code></a> Merge pull request <a href="https://redirect.github.com/diesel-rs/diesel/issues/4067">#4067</a> from weiznich/fix/cli_diff_schema_default_schema</li> <li><a href="https://github.com/diesel-rs/diesel/commit/48ccc7804c7e0399bfcb6df97ee71e35820f20b5"><code>48ccc78</code></a> Merge pull request <a href="https://redirect.github.com/diesel-rs/diesel/issues/4064">#4064</a> from weiznich/fix/mysqlclient_regression_with_old_ve...</li> <li><a href="https://github.com/diesel-rs/diesel/commit/f6da5f5311d1afe7fdca6d2b5730332eda024c48"><code>f6da5f5</code></a> Merge pull request <a href="https://redirect.github.com/diesel-rs/diesel/issues/4065">#4065</a> from weiznich/fix/scram</li> <li><a href="https://github.com/diesel-rs/diesel/commit/197f06d8d1c0f66774b1ab24c5db93d28962e07a"><code>197f06d</code></a> Fix the includes in all <code>Cargo.toml</code> files</li> <li>Additional commits viewable in <a href="https://github.com/diesel-rs/diesel/compare/v2.1.4...v2.2.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
storyteller-rust
Our Rust monorepo, which serves both our API surface area and our downloadable client applications.
."-,.__
`. `. ,
.--' .._,'"-' `.
. .' `'
`. / ,'
` '--. ,-"'
`"` | \
-. \, |
`--Y.' ___.
\ L._, \
_., `. < <\ _
,' ' `, `. | \ ( `
../, `. ` | .\`. \ \_
,' ,.. . _.,' ||\l ) '".
, ,' \ ,'.-.`-._,' | . _._`.
,' / \ \ `' ' `--/ | \ / / ..\
.' / \ . |\__ - _ ,'` ` / / `.`.
| ' .. `-...-" | `-' / / . `.
| / |L__ | | / / `. `.
, / . . | | / / ` `
/ / ,. ,`._ `-_ | | _ ,-' / ` \
/ . \"`_/. `-_ \_,. ,' +-' `-' _, ..,-. \`.
. ' .-f ,' ` '. \__.---' _ .' ' \ \
' / `.' l .' / \.. ,_|/ `. ,'` L`
|' _.-""` `. \ _,' ` \ `.___`.'"`-. , | | | \
|| ,' `. `. ' _,...._ ` | `/ ' | ' .|
|| ,' `. ;.,.---' ,' `. `.. `-' .-' /_ .' ;_ ||
|| ' V / / ` | ` ,' ,' '. ! `. ||
||/ _,-------7 ' . | `-' l / `||
. | ,' .- ,' || | .-. `. .' ||
`' ,' `".' | | `. '. -.' `'
/ ,' | |,' \-.._,.'/'
. / . . \ .''
.`. | `. / :_,'.'
\ `...\ _ ,'-. .' /_.-' S T O R Y T E L L E R
`-.__ `, `' . _.>----''. _ __ / Turning memes into dreams
.' /"' | "' '_
/_|.-'\ ,". '.'`__'-( \
/ ,"'"\,' `/ `-.|"
Languages
Rust
59.4%
TypeScript
39.3%
JavaScript
0.7%
Python
0.3%
CSS
0.2%
Other
0.1%