Releases: Noelware/remi-rs
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
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.
Dependency Updates
- Update Rust crate mongodb to 2.6.1 by @renovate in #36
- Update auguwu/clippy-action action to v1.2.2 by @renovate in #37
- Update Rust crate tokio to 1.32.0 by @renovate in #38
- Update Rust crate file-format to 0.19.0 by @renovate in #39
- Update Rust crate serde to 1.0.185 by @renovate in #40
- Update Rust crate aws-config to 0.56.1 by @renovate in #29
- Update Rust crate aws-credential-types to 0.56.1 by @renovate in #30
- Update Rust crate serde to 1.0.186 by @renovate in #41
- Update Rust crate aws-sdk-s3 to 0.30.0 by @renovate in #32
- Update Rust crate serde to 1.0.187 by @renovate in #42
- Update Rust crate serde to 1.0.188 by @renovate in #43
- Update actions/checkout action to v4 by @renovate in #44
- Update Rust crate bytes to 1.5.0 by @renovate in #45
- Update Rust crate file-format to 0.20.0 by @renovate in #46
- Update Rust crate aws-sdk-s3 to 0.31.0 by @renovate in #47
- Update Rust crate aws-sdk-s3 to 0.31.1 by @renovate in #48
- Update actions/checkout digest to 8ade135 by @renovate in #49
- Update Rust crate aws-sdk-s3 to 0.31.2 by @renovate in #50
- Update Rust crate mongodb to 2.7.0 by @renovate in #51
- Update Rust crate file-format to 0.21.0 by @renovate in #52
- Update Rust crate aws-sdk-s3 to 0.32.0 by @renovate in #53
- Update auguwu/clippy-action action to v1.3.0 by @renovate in #55
- Update actions/checkout digest to b4ffde6 by @renovate in #59
- Update Rust crate async-trait to 0.1.74 - autoclosed by @renovate in #58
- Update Rust crate serde to 1.0.189 by @renovate in #57
- Update Rust crate tokio to 1.33.0 by @renovate in #56
- Update Rust crate aws-sdk-s3 to 0.33.0 by @renovate in #54
Full Changelog: 0.4.0...0.4.1
v0.4.0
Breaking Changes
S3StorageConfig
and all *Request APIs come with a.seal
method to "seal" the mutable reference to return a immutable, owned value. (@auguwu)S3StorageConfig
properties are now available, you can mutate it with thewith_
methods. (@auguwu)
Dependency Updates
- Update Rust crate
serde
from v1.0.175 to v1.0.183 (#24, #25, #26, #27, #28, #31 by @renovate-bot) - Update Rust crate
async-trait
from v0.1.72 to v0.1.73 (#34 by @renovate-bot) - Update Rust crate
log
from v0.4.19 to v0.4.20 (#35 by @renovate-bot) - Update Rust crate
tokio
from v1.29.1 to v1.31.0 (#33 by @renovate-bot)
Full Changelog: 0.3.0...0.4.0
v0.3.0
😨 Breaking Changes
remi_core
- Builder APIs for
remi_core::ListBlobsRequest
andremi_core::UploadRequest
are removed to remove a dependency. Use a mutable reference instead:
use remi_core::ListBlobsRequest;
let mut request = ListBlobsRequest::default();
request.exclude(&["file1.txt"]);
- Properties in request structs are now public due to builder APIs being removed.
- Some methods in
FileBlob
now return a reference instead of a value that can be moved.
remi_fs
- Using
log::*
macros are now gated behind thelog
feature.
remi_s3
- Using
log::*
macros are now gated behind thelog
feature.
👍 Additions
remi_fs
- Added a new
ContentTypeResolver
trait, which will resolve content-types based off their byte format. - Added
file-format
crate feature, which will use theinfer
crate and backport to thefile-format
crate ifinfer
couldn't infer it. If this crate feature is not enabled, then all content types will just be the defaultapplication/octet-stream
.
✨ Dependency Updates
- Update async-trait to v0.1.72 (@renovate-bot, #21)
- Update log to v0.4.19 (@renovate-bot, #5)
- Update serde to v1.0.175 (@renovate-bot, #23)
- Update infer to v0.15.0 (@renovate-bot, #16)
- Update mongodb to v2.6.0 (@renovate-bot, #13)
- Update tokio to v1.29.1 (@renovate-bot, #17)
Full Changelog: 0.2.1...0.3.0
v0.2.1
🐛 Bug Fixes
remi_s3
- All Option and bool parameters are all now annotated with
#[serde(default)]
, if the feature is enabled. (@auguwu)
➕ Additions
remi_s3
- Set the application name for the Rust SDK of AWS using
S3StorageConfig::builder().app_name()
(@auguwu)
✨ Dependency Updates
remi_*
- Upgrade dependency async-trait to v0.1.68 (@auguwu)
- Upgrade dependency bytes to v1.4.0 (@auguwu)
- Upgrade dependency futures to v0.3.28 (@auguwu)
- Update dependency serde to v1.0.163 (@auguwu)
- Update dependency log to v0.4.18 (@auguwu)
remi_fs
- Upgrade dependency dirs to v5.0.1 (@auguwu)
remi_gridfs
- Upgrade dependency mongodb-gridfs to v0.2.5 (@auguwu)
- Upgrade dependency tokio-stream to v0.1.14 (@auguwu)
remi_s3
- Upgrade dependencies aws-config and aws-credential-types to v0.55.3 (@auguwu)
- Upgrade AWS SDK for Rust to v0.28.2 (@auguwu)
Full Changelog: 0.2.0...0.2.1
v0.2.0
⚠️ Breaking Changes
- remi-core:
remi_core::builders
andremi_core::blob
modules have been privated, now you will need to useremi_core::Blob
to access theBlob
enum (@auguwu) - remi-fs:
FilesystemStorageService.normalize(Path)
now returnsResult<Option<PathBuf>>
instead ofOption<PathBuf>
(@auguwu) - remi-core: Blob.last_modified_at() and Blob.created_at() now return
Option<u128>
(@auguwu)
🐛 Fixes
- remi-fs: Fix FilesystemStorageService.normalize(Path) from using a relative path when normalizing (@auguwu)
- remi-fs: Creation and Last Modified time state don't return
None
on valid values (@auguwu) - remi-s3: Last Modified Time is now returned when fetching blobs (@auguwu)
✨ Additions
- remi-fs: Add FilesystemStorageService.with_config(remi_fs::FilesystemStorageConfig) method (@auguwu)
Full Changelog: 0.1.0...0.2.0