fix(deps): update rust crate sqlx to 0.8.0 #62
Open
renovate-bot
wants to merge 1 commit from
renovate/sqlx-0.x
into master
pull from: renovate/sqlx-0.x
merge into: libre-solutions:master
libre-solutions:master
libre-solutions:renovate/reqwest-0.x-lockfile
libre-solutions:renovate/serde-monorepo
libre-solutions:renovate/serde_json-1.x-lockfile
libre-solutions:renovate/tracing-actix-web-0.x-lockfile
libre-solutions:renovate/uuid-1.x-lockfile
libre-solutions:renovate/derive_builder-0.x-lockfile
libre-solutions:emp-login
libre-solutions:renovate/postgres-17.x
libre-solutions:renovate/async-trait-0.x-lockfile
libre-solutions:ordering-fix-aggregate-id
libre-solutions:billing-fix-aggregate-id
libre-solutions:inventory-fix-aggregate-id
libre-solutions:billing-view
libre-solutions:ordering-view
libre-solutions:inventory-view
libre-solutions:billing
libre-solutions:convert-price
libre-solutions:convert-quantity-to-minor
libre-solutions:pantry-aggregate
libre-solutions:chore-currency
libre-solutions:renovate/derive_more-1.x
libre-solutions:maildev-client
libre-solutions:chore-devenv
libre-solutions:link-line-item-to-kot
libre-solutions:delete-kot-service
libre-solutions:kot-update-service
libre-solutions:fix-add-kot-created-time
libre-solutions:kot-add-service
libre-solutions:delete-order-service
libre-solutions:update-order-service
libre-solutions:add-order-service
libre-solutions:line-item-sale-time
libre-solutions:ordering-line-item
libre-solutions:fix-maildev
libre-solutions:fix-meilisearch-url
libre-solutions:quantity-empty-check
libre-solutions:index-product
libre-solutions:fts
libre-solutions:fixes-54
libre-solutions:update-store
libre-solutions:update-category
libre-solutions:update-customization
libre-solutions:cust-obj-prod-id
libre-solutions:add-customization-test
libre-solutions:store-exists-check
libre-solutions:category-exists-check
libre-solutions:update-product
libre-solutions:customizaiton-aggregate
libre-solutions:chore-clippy
libre-solutions:customize-products
libre-solutions:deleted-flag
libre-solutions:include-quantity-in-product
libre-solutions:chore-category
libre-solutions:add-product
libre-solutions:email-index
libre-solutions:user-di
libre-solutions:fix-override-store-aggregate
libre-solutions:fix-check-duplicate-store-name-for-owner
libre-solutions:view-id
libre-solutions:create-category
libre-solutions:store-aggregate-test
libre-solutions:uuid-interface
libre-solutions:create-store
libre-solutions:fix-initialize-user
libre-solutions:license-headers
libre-solutions:verify-updated-email
libre-solutions:pkg-container
libre-solutions:fix-cookie-secret
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference: libre-solutions/vanikam#62
Reference in a new issue
No description provided.
Delete branch "renovate/sqlx-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.7.4
->0.8.0
Release Notes
launchbadge/sqlx (sqlx)
v0.8.2
Compare Source
10 pull requests were merged this release cycle.
This release addresses a few regressions that have occurred, and refines SQLx's MSRV policy (see the FAQ).
Added
Changed
Cargo.toml
files in examples [[@carschandler]]Fixed
#[sqlx(no_pg_array)]
being forbidden on#[derive(Type)]
structs.PgListener
,PgStream::recv()
[[@abonander]]unknown message: "\\0"
errorv0.8.1
Compare Source
16 pull requests were merged this release cycle.
This release contains a fix for RUSTSEC-2024-0363.
Postgres users are advised to upgrade ASAP as a possible exploit has been demonstrated:
#3440 (comment)
MySQL and SQLite do not appear to be exploitable, but upgrading is recommended nonetheless.
Added
MySqlConnectOptions::no_engine_substitution()
[[@kolinfluence]]MySqlConnectOptions::no_engine_subsitution()
(oops) in favor of the correctly spelled version.Changed
spec_error
module [[@abonander]]Use at your own risk.
libsqlite3-sys=0.30.1
to support sqlite 3.46 [[@CommanderStorm]]ring
(the existing implementation),and
aws-lc-rs
which has optional FIPS certification.runtime-tokio-rustls
,runtime-async-std-rustls
,tls-rustls
)enable the
ring
provider of RusTLS to match the existing behavior so this should not be a breaking change.tls-rustls-aws-lc-rs
feature to use theaws-lc-rs
provider.runtime-tokio-rustls
orruntime-async-std-rustls
,this will necessitate switching to the appropriate non-legacy runtime feature:
runtime-tokio
orruntime-async-std
Fixed
sqlx::Type
[[@alu]]node12
inSQLx
action [[@hamirmahal]]v0.18.1
to avoid yankedv0.14.3
[[@CommanderStorm]]v0.8.0
Compare Source
70 pull requests were merged this release cycle.
#2697 was merged the same day as release 0.7.4 and so was missed by the automatic CHANGELOG generation.
Breaking
#[sqlx::test]
usages are applied in the correct order now.MigrateError
.-- no-transaction
to the beginning.Migration
i64
as intermediate when decoding [[@abonander]]#[derive(sqlx::Type)]
in Postgres [[@abonander]]#[sqlx(no_pg_array)]
where conflicts occur.PgTypeInfo::with_name()
infers types that start with_
to be arrays of the un-prefixed type. Wrap type names in quotes to bypass this behavior.FromRow
, returnError::ColumnDecode
forTryFrom
errors [[@abonander]]#[sqlx(try_from = "T")]
now returnError::ColumnDecode
instead ofError::ColumnNotFound
.#[sqlx(default)]
on an individual field or the struct itself would have previously suppressed the error.This doesn't seem like good behavior as it could result in some potentially very difficult bugs.
From
and apply the default explicitly.#[sqlx(rename)]
and#[sqlx(rename_all)]
to match the expected behavior (rename
wins).ConnectOptions::to_url_lossy()
to match what parsing expects.Added
MySqlTime
, auditmysql::types
for panics [[@abonander]]NonZero*
scalar types [[@AlphaKeks]]Changed
Send
trait bound from argument binding [[@bobozaur]]libsqlite3-sys
are not considered breaking changes as per our semver guarantees.MySqlConnection
to reduce sizes of futures [[@stepantubanov]]sqlx migrate add ...
[[@CommanderStorm]]Fixed
ConnectionHandleRaw
type [[@abonander]]docker compose
instead ofdocker-compose
[[@abonander]]path
ownership problems when usingsqlx_macros_unstable
[[@lily-mosquitoes]]sqlx_postgres::any
[[@Zarathustra2]]migrate
error message. (#3275) [[@nk9]]persistent
query setting when preparing queries with theAny
driver [[@etorreborre]]select_input_type!()
being unhygenic [[@CommanderStorm]]M
orC
Notice fields are not UTF-8 [[@YgorSouza]]json
-feature should activatesqlx-postgres?/json
as well [[@CommanderStorm]]clock
andstd
features ofworkspace.dependencies.chrono
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: Cargo.lock
a2465bd0ca
to06c18a8cb6
06c18a8cb6
toc58b2a2d46
c58b2a2d46
to515ce20791
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.