Releases: Noelware/remi-rs
Releases Β· Noelware/remi-rs
v0.10.0
Breaking Changes
- [azure] CloudLocation type is now a newtype enum that lives in
remi_azure
instead of usingazure_storage::CloudLocation
(@auguwu) - [azure] The constructor for
StorageService
is now falliable (@auguwu) - [azure]
From<remi_azure::Credential>
->azure_core::StorageCredentials
has been replaced to the falliable versionTryFrom
(@auguwu)
Additions
- [fs] Add a
build.rs
to detect Rust 1.83 to support the new IO error variants if present, otherwise usestd::io::ErrorKind::InvalidData
(@auguwu)
Dependency Updates
Kind | Dependency | From | To | By |
---|---|---|---|---|
Rust crate | file-format |
v0.25.0 | v0.26.0 | @renovate-bot in #170 |
Full Changelog: 0.9.1...0.10.0
v0.9.1
v0.9.0
Breaking Changes
- Removed all deprecated types, methods, etc (@auguwu)
- [remi-fs]
async_std
is no longer supported for async I/O (@auguwu) - [remi-fs] drop the
dirs
crate foretcetera
(@auguwu) - [remi-fs] drop the
serde_yaml
crate forserde_yaml_ng
(@auguwu)
Additions
- Added the
unstable
crate feature to all crates (@auguwu) - Added basic healthcheck API (not all official crates support this!) (@auguwu)
- All crates have an "export" crate feature that allows to use the pinned versions of their respected storage provider's crates instead of including them yourself (@auguwu)
Fixes
- [remi-fs] Remove double allocation in the content type resolver set, it only does one. (@auguwu)
- All crates' READMEs are fresh and new (@auguwu)
Full Changelog: 0.8.1...0.9.0
0.8.1
What's Changed
- Update Rust crate
mongodb
to 3.1.0 to accommodate upstream dependencies.
No other changes are present. Continue to watch the primary branch for development on 0.9.0.
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