Skip to content

Latest commit

 

History

History
352 lines (230 loc) · 18.7 KB

CHANGELOG.md

File metadata and controls

352 lines (230 loc) · 18.7 KB

cacache Release Changelog

13.0.0 (2024-02-15)

Bug Fixes

  • sync: Added the feature flags for compilation without the async runtime. Fixes #64. (#65) (ffa1ab72)
    • BREAKING CHANGE: this bumps the MSRV to 1.70.0
  • remove_fully: Remove the key content when set remove_fully to true (#63) (761d7155)
    • BREAKING CHANGE: this is technically a fix, but maybe people didn't expect this.

12.0.0 (2023-10-07)

Features

  • remove_fully: add option for remove cache entry (#54) (34ee6798)
  • reflink: Separate reflink behavior into their own functions (#58) (cfdf4eed)
    • BREAKING CHANGE: some signatures for copy have changed, and copy no longer automatically reflinks

11.7.1 (2023-09-11)

Bug Fixes

  • sync-only: remove futures dep when no async features are being used (100609ab)
  • mmap: fix unused method warning (c735d83a)
  • deps: moved to reflink-copy (#55) (6624d66c)

11.7.0 (2023-09-11)

Features

  • sync-only: add support for removing async runtime dependency altogether (#56) (60622267)

11.6.0 (2023-05-21)

Features

  • mmap: new feature for mmap-based optimization (#49) (58de0b2d)
  • xxhash: Add xxhash support and some utilities for making it easier to use (#51) (41392e74)

Bug Fixes

  • mmap: pre-allocate temp file before mmapping (#50) (1ac1d647)

11.5.2 (2023-04-01)

Bug Fixes

  • deps: move async-attributes over to dev-dependencies (b7c10eca)

11.5.1 (2023-04-01)

Bug Fixes

11.5.0 (2023-04-01)

This release upgrades miette and thiserror in lockstep, bringing in syn2, in order to avoid potential issues with the upgrade.

Features

  • deps: bump miette and thiserror (364f9da6)

11.4.0 (2023-03-10)

Features

  • link: implement hard_link_hash_sync too (b88217cc)

Bug Fixes

  • security: bump tempfile version to 3.4.0 (#45) (02d7f146)

11.3.0 (2023-03-05)

Features

  • links: add support for hard linking from the cache (#43) (89eee6c1)

11.2.0 (2023-02-28)

Features

  • link_to: Add support for linking to existing files from the cache (#41) (ac56fd9c)
  • copy: add support for reflink-copy and unsafe-copy (#42) (d39e8380)

11.1.0 (2023-02-19)

Features

  • index: Add support for raw index metadata and expose index functions (9991f56b)

11.0.2 (2023-02-19)

Bug Fixes

  • ls: make sure ls sees entry deletions (#40) (53c28952)

11.0.1 (2023-02-19)

Features

11.0.0 (2023-01-29)

This release includes a number of nice improvements to error reporting, integrating miette to provide more helpful, contextual error messages, as well as adding tokio as an optional runtime, instead of async-std.

It also includes a number of bug fixes and performance improvements.

Note that this release also bumps the MSRV to 1.67.0, which will hopefully stay there for a while. Apologies if you're still on an earlier version of rustc: the ecosystem moved forward and ultimately, we needed to move with it.

Bug Fixes

  • write: set tmpfile length in async writer (#35) (6d84ff0a)
    • BREAKING CHANGE: This commit also bumps the MSRV for cacache to 1.66.1.
  • deps: only include rt-multi-threaded for tokio when running tests (526386ad)
  • msrv: be less aggressive about MSRV bump (dca57e11)
  • perf: do the inner fn trick to reduce generic compilation load (da259ae4)

Features

  • async: Add tokio as an executor option (#36) (e34dcfdc)
  • errors: integrate miette and generally improve error reporting (#38) (c2d5390a)
    • BREAKING CHANGE: This bumps the MSRV to 1.67.0 and documents it in the README.

10.0.1 (2022-02-25)

Bug Fixes

  • mmap: mmap needs equal buffer lengths (#33) (684a3e8a)

10.0.0 (2022-01-23)

Breaking Changes

  • msrv: bump MSRV to 1.54, thanks to socket (323ecacc)

Bug Fixes

  • security: replaced memmap with memmap2 (#30) (03d4596b)

9.0.0 (2021-09-16)

Bug Fixes

  • clippy: appease the paperclip (8d08e452)
  • cleanup: general house cleaning, bumping deps, etc (9163a584)

Features

  • license: change license to Apache-2.0 (97890872)
    • BREAKING CHANGE: This is a significant licensing change. Please review.

8.0.0 (2020-07-18)

Breaking Changes

  • write: Use mmap for small writes (#26) (803d0c3e, breaks #). This bumps the minimum Rust version from 1.39 to 1.43 due to a dependency's breaking change in a patch version.

7.0.0 (2020-04-30)

This release is mostly a major overhaul of the external error API, switching out of anyhow in favor of more bespoke error handling that works nicer in a library.

Breaking Changes

  • errors: remove anyhow and use custom error types (#24) (bb815f5f, breaks #)

Bug Fixes

  • list_sync: make sure the public interface allows using the Item type (#25) (88a76189)

6.0.0 (2019-11-12)

Breaking Changes

  • chown: stop changing owner/group on unix platforms (d5bb0dff)
  • deps: upgrade to latest async-std and regular futures crate (c44b781a)
  • license: upgrade to Parity 7.0 release (b54ec598)

5.0.0 (2019-10-24)

Breaking Changes

  • api: rewrite entire API to be like std::fs (#21) (743476b2)
  • license: bump Parity license to 7.0.0-pre.3 (0395b0fb)

Features

  • api: rewrite entire API to be like std::fs (#21) (743476b2)
  • license: bump Parity license to 7.0.0-pre.3 (0395b0fb)

4.0.0 (2019-10-21)

Bug Fixes

Breaking Changes

  • errors:
    • improved errors messaging and context (#20) (62298cdf)
    • Replace failure with anyhow crate (#17) (ee149a70)

Features

  • errors:
    • improved errors messaging and context (#20) (62298cdf)
    • Replace failure with anyhow crate (#17) (ee149a70)
  • license: Add in Patron license to make proprietary stuff more clear (fbeb6ec0)
  • rm: Accept AsRef for keys (64939851)

3.0.0 (2019-10-19)

Features

  • api: get::read -> get::data (b02f41e0)
  • async: reorganize async APIs to be the primary APIs (662aea9b)
  • get: get::info -> get::entry (dafc79f4)
  • ls: cacache::ls::all -> ls::all_sync (c4300167)

Bug Fixes

  • check: {Async}Get::check wasn't working correctly (d08629cf)
  • open: use actual file paths instead of just cache for open APIs (03ff1970)

Breaking Changes

  • api: get::read -> get::data (b02f41e0, breaks #)
  • async: reorganize async APIs to be the primary APIs (662aea9b, breaks #)
  • get: get::info -> get::entry (dafc79f4, breaks #)
  • ls: cacache::ls::all -> ls::all_sync (c4300167, breaks #)

2.0.1 (2019-10-15)

  • Just adds some examples of the core API.

2.0.0 (2019-10-15)

Features

  • async: add extra async versions of APIs (#6) (18190bfc)
  • license:

Bug Fixes

  • windows: add windows support (97f44573)

Breaking Changes

  • license: relicense to Parity+Apache (4d9404b9)

1.0.1 (2019-07-01)

Initial History generation.

Features

  • api: AsRef all the things! (5af622eb)
  • content: add baseline read functionality (e98bfb17)
  • error:
  • errors: add errors module (b0464849)
  • exports: re-export ssri::Algorithm and serde_json::Value (87adc8cf)
  • get:
    • add get::open() and get::open_hash() (6e9a2f9f)
    • add external cacache::get api (d91d2141)
  • index:
  • ls: implemented cacache::ls::all() (b0f351ea)
  • path: ported content_path (0f768fa5)
  • put:
    • privatize Put and PutOpts fields (7f1602e2)
    • make PutOpts Clone (27ce700b)
    • Add put::Put and put::PutOpts (15f017fe)
    • initial implementation of cacache::put (815d7a3c)
  • read:
    • added has_content() (bff95f20)
    • added content read and read_to_string (70cf52e1)
  • rm:
  • write: initial hack for write (e452fdcd)

Bug Fixes

  • api: use &str keys (cf0fbe23)
  • content: make rm use our own Error (f3b6abf4)
  • fmt:
  • index:
    • get rid of last compiler warning (22c4b301)
    • make fields public, too (65040481)
    • switch to using new error module (6f78e00c)
    • make Entry use actual Integrity objects (7ad0633c)
    • pass references instead of using .as_path() (fc067e95)
    • remove unneeded integrity() method (b579be61)
  • lint: clippy told me to do this (cba2f0d3)
  • put: fix warnings (4a6950ff)
  • write: use shared Error type for write() (8bf623b8)