Skip to content

Releases: Noelware/remi-rs

v0.6.1

17 Feb 10:12
Compare
Choose a tag to compare

🐛 Fixes

v0.6.0

17 Feb 08:06
Compare
Choose a tag to compare

✨ Additions

  • remi: Added StorageService#find trait method (@auguwu)
  • remi-gridfs: Added StorageConfig::client_options/StorageConfig::database fields (@auguwu)
  • remi-gridfs: Added StorageConfig::from_client and StorageConfig::from_conn_string methods (@auguwu)

✨ Breaking Changes

  • remi: StorageService has a required generic associated type called Error, which helps getting errors easier instead of wrapping them from std::io::Error (@auguwu)
  • remi-gridfs: StorageService::new no longer requires a reference to a MongoDB database.

🔐 Dependency Updates

Full Changelog: 0.5.0...0.6.0

v0.5.0

15 Jan 04:29
Compare
Choose a tag to compare

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 with remi since it should serve the same purpose.
  • All *Request objects in remi use mut self instead of &mut self.

🔐 Dependency Updates

Full Changelog: 0.4.3...0.5.0

v0.4.3

25 Nov 23:31
0.4.3
6c60b6e
Compare
Choose a tag to compare

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

Full Changelog: 0.4.2...0.4.3

0.4.2

31 Oct 18:55
0.4.2
ac35068
Compare
Choose a tag to compare

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

Full Changelog: 0.4.1...0.4.2

0.4.1

24 Oct 20:23
0.4.1
2689e47
Compare
Choose a tag to compare

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

Full Changelog: 0.4.0...0.4.1

v0.4.0

15 Aug 21:58
534509e
Compare
Choose a tag to compare

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 the with_ methods. (@auguwu)

Dependency Updates

Full Changelog: 0.3.0...0.4.0

v0.3.0

26 Jul 18:25
19267a6
Compare
Choose a tag to compare

😨 Breaking Changes

remi_core

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 the log feature.

remi_s3

  • Using log::* macros are now gated behind the log 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 the infer crate and backport to the file-format crate if infer couldn't infer it. If this crate feature is not enabled, then all content types will just be the default application/octet-stream.

✨ Dependency Updates

Full Changelog: 0.2.1...0.3.0

v0.2.1

04 Jun 09:27
7fe3c9e
Compare
Choose a tag to compare

🐛 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

03 Jun 13:30
32faa71
Compare
Choose a tag to compare

⚠️ Breaking Changes

  • remi-core: remi_core::builders and remi_core::blob modules have been privated, now you will need to use remi_core::Blob to access the Blob enum (@auguwu)
  • remi-fs: FilesystemStorageService.normalize(Path) now returns Result<Option<PathBuf>> instead of Option<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