Releases: Noelware/remi-rs
v0.8.0
Important
MSRV was bumped up from v1.74.0 to v1.75 and higher on all crates
➕ Additions
remi-azure
: Allow uploading metadata into a blob when usingStorageService#upload
(@auguwu)
😱 Breaking Changes
remi-fs
: ReturnCow<'static, str>
inContentTypeResolver
trait to prevent un-needed allocations on static strings (@auguwu)remi
: All methods inStorageService
requireSelf: Sized
.
😔 Deprecations
remi
(scheduled removal in release v0.9.0):StorageService::NAME
is deprecated in this release and will be replaced byStorageService::name
to allowStorageService
to be a object-safe trait.
🐛 Fixes
remi-azure
: sanitize~/
and./
paths (@auguwu)remi-azure
: ensure that blob exists, otherwise,Ok(None)
is returned inremi_azure::StorageService::blob
(@auguwu)remi-gridfs
: fix content type detection (@auguwu)remi-gridfs
: ensure thatcontentType
metadata field is avaliable if provided inremi::StorageService::upload
(@auguwu)remi-fs
: fix implementations ofdefault_resolver
when usingserde_json
&serde_yaml
features (@auguwu)remi-fs
: inserde_json
/serde_yaml
usage, returntext/plain
on non JSON objects/arrays & non YAML mapping/sequences (@auguwu)remi-fs
: allow overwriting a file's contents when uploading, otherwise, the file is atomically created (@auguwu)
🔒 Dependency Updates
Kind | Dependency | From | To | By |
---|---|---|---|---|
Rust crate | aws-smithy-runtime-api |
v1.4.0 | v1.5.0 | @renovate-bot in #151 |
Rust crate | serde |
v1.0.199 | v1.0.200 | @renovate-bot in #152 |
Rust crate | aws-sdk-s3 |
v1.2.1 | v1.3.0 | @renovate-bot in #153 |
Rust crate | aws-config |
v1.24.0 | v1.25.0 | @renovate-bot in #153 |
Rust crate | tokio-util |
v0.7.10 | v0.7.11 | @renovate-bot in #154 |
Rust crate | file-format |
v0.24.0 | v0.25.0 | @renovate-bot in #155 |
Full Changelog: 0.7.1...0.8.0
v0.7.1
What's Changed
- Update aws-sdk-rust monorepo by @renovate in #142
- Update Rust crate serde_json to 1.0.116 by @renovate in #143
- Update Rust crate serde to 1.0.198 by @renovate in #144
- Update aws-sdk-rust monorepo by @renovate in #145
- Update Rust crate serde to 1.0.199 by @renovate in #149
Full Changelog: 0.7.0...0.7.1
v0.7.0
➕ Additions
- (breaking change)
remi-s3
: Added newError
type and replaces all instances ofio::Error
with the new Error type.
😔 Removed Types / Functions
remi
:StorageService::name()
,DirectoryBlob
,FileBlob
remi-fs
:DefaultContentTypeResolver
,FilesystemStorageService
,FilesystemStorageConfig
remi-s3
:S3StorageService
,S3StorageService
(was replaced withStorageConfig
to fit conventions)remi-gridfs
:GridfsStorageService
,GridfsStorageConfig
🔐 Dependency Updates
- Updated
serde_yaml
from v0.9.31 to v0.9.34 (@renovate-bot, #120, #131, #136). Whileserde_yaml
is deprecated, we don't have any other crate to replace it. - Updated
serde
from v1.0.196 to v1.0.197 (@renovate-bot, #121) - Updated
serde_json
from v1.0.113 to v1.0.115 (@renovate-bot, #122, #137) - Updated
log
from v0.4.20 to v0.4.21 (@renovate-bot, #125) - Updated
mongodb
from v2.8.1 to v2.8.2 (@renovate-bot, #128) - Updated
async-trait
from v0.1.77 to v0.1.80 (@renovate-bot, #130, #135, #141) - Updated
bytes
from v1.5.0 to v1.6.0 (@renovate-bot, #133) - Updated
which
from v6.0.0 to v6.0.1 (@renovate-bot, #134) - Updated
tokio
from v1.36.0 to v1.37.0 (@renovate-bot, #139) - Updated AWS SDK for Rust crates (@renovate-bot, #123, #124, #126, #127, #129, #132, #138, #140)
aws_sdk_s3
: from v1.15.0 to v1.22.0aws-config
: from v1.1.5 to v1.1.10aws-credential-types
: from v1.1.5 to v1.1.10
Full Changelog: 0.6.3...0.7.0
v0.6.3
🐛 Fixes
remi-gridfs
: allow including metadata when uploading (@auguwu)remi-gridfs
: do not throw an error ifcontentType
is not found since the Rust driver for Gridfs doesn't detect and include this, and at the moment of writing this, there is no method for it. (@auguwu)
Full Changelog: 0.6.2...0.6.3
v0.6.2
🐛 Fixes
remi-s3
: fix extractingByteStream
intoBytes
(@auguwu)remi-s3
: respectconfig.prefix
when listing blobs without a specified path (@auguwu)
Full Changelog: 0.6.1...0.6.2
v0.6.1
v0.6.0
✨ Additions
remi
: AddedStorageService#find
trait method (@auguwu)remi-gridfs
: AddedStorageConfig::client_options
/StorageConfig::database
fields (@auguwu)remi-gridfs
: AddedStorageConfig::from_client
andStorageConfig::from_conn_string
methods (@auguwu)
✨ Breaking Changes
remi
:StorageService
has a required generic associated type calledError
, which helps getting errors easier instead of wrapping them fromstd::io::Error
(@auguwu)remi-gridfs
:StorageService::new
no longer requires a reference to a MongoDB database.
🔐 Dependency Updates
- Updated Rust crate
which
from v5 to v6 (@renovate-bot, #109) - Updated
aws-sdk-rust
monorepo (@renovate-bot, #110, #111, #118)aws-sdk-s3
: 1.12.0 ~> 1.15.0aws-config
,aws-credential-types
: 1.1.2 ~> 1.1.5
- Updated Rust crate
serde
from v1.0.195 to v1.0.196 (@renovate-bot, #112) - Updated Rust crate
serde_json
from v1.0.111 to v1.0.113 (@renovate-bot, #113, #114) - Updated Rust crate
serde_yaml
from v0.9.30 to v0.9.31 (@renovate-bot, #115) - Updated Rust crate
tokio
from v1.35.0 to v1.36.0 (@renovate-bot, #116) - Updated Rust crate
file-format
from v0.23.0 to v0.24.0 (@renovate-bot, #117) - Updated Rust crate
mongodb
from v2.8.0 to v2.8.1 (@renovate-bot, #119)
Full Changelog: 0.5.0...0.6.0
v0.5.0
This revision of the remi
family of crates is hopefully a stable StorageService
trait and a new crate called remi-azure
, which is a new crate that supports Azure's Blob storage service; it does use an unofficial SDK but is maintained by the Azure team itself. remi-gridfs
has now a full implementation available in this release as well.
✨ Breaking Changes
remi-core
has been replaced withremi
since it should serve the same purpose.- All
*Request
objects inremi
usemut self
instead of&mut self
.
🔐 Dependency Updates
- Updated Rust crate
aws-sdk-s3
from v1.1.0 to v1.12.0 (@renovate-bot, #69, #80, #81, #84, #90, #91, #94, #95, #96, #102) - Updated Rust crate
aws-config
from v1.0.1 to v1.1.2 (@renovate-bot, #82, #88, #91, #102) - Updated Rust crate
aws-credential-types
from v1.0.1 to v1.1.2 (@renovate-bot, #83, #89, #91, #102) - Updated Rust crate
tokio
from v1.34.0 to v1.35.1 (@renovate-bot, #85, #92) - Updated Rust crate
file-format
from v0.22.0 to v0.23.0 (@renovate-bot, #86) - Updated Rust crate
mongodb
from v2.7.0 to v2.8.0 - Updated Rust crate
async-trait
from v0.1.73 to v0.1.77 (@renovate-bot, #93, #98, #99, #104) - Updated Rust crate
futures
from v0.3.29 to v0.3.30 (@renovate-bot, #97, #104) - Updated Rust crate
serde
from v1.0.193 to v1.0.195 (@renovate-bot, #100, #101) - Updated Rust crate
serde_json
from v1.0.108 to v1.0.111 (@renovate-bot, #107) - Updated Rust crate
serde_yaml
from v0.9.27 to v0.9.30 (@renovate-bot, #108)
Full Changelog: 0.4.3...0.5.0
v0.4.3
Similar to 0.4.2 (and 0.4.1 before it), this is a patch release primarily to upgrade the AWS SDK for Rust to v1.0, resolving the issue of exported types such as BucketCannedAcl
and ObjectCannedAcl
differing in newer versions.
What's Changed
- Update Rust crate mongodb to 2.7.1 by @renovate in #64
- Update Rust crate file-format to 0.22.0 by @renovate in #68
- Update Rust crate serde to 1.0.191 by @renovate in #70
- Update Rust crate serde to 1.0.192 by @renovate in #71
- Update Rust crate tokio to 1.34.0 by @renovate in #72
- Update Rust crate serde to 1.0.193 by @renovate in #77
Full Changelog: 0.4.2...0.4.3
0.4.2
Similar to 0.4.1, this is a patch release primarily to upgrade the AWS SDK for Rust to v0.33.0, resolving the issue of exported types such as BucketCannedAcl
and ObjectCannedAcl
differing in newer versions.
What's Changed
- Update Rust crate serde to 1.0.190 by @renovate in #60
- Update Rust crate futures to 0.3.29 by @renovate in #61
- Update Rust crate aws-sdk-s3 to 0.34.0 by @renovate in #62
- Update Rust crate mongodb-gridfs to 0.2.7 by @renovate in #63
Full Changelog: 0.4.1...0.4.2