Skip to content

Releases: chawyehsu/hok

v0.1.0-beta.7

10 Dec 04:06
24421ea
Compare
Choose a tag to compare

0.1.0-beta.7 (2024-12-10)

⚠ BREAKING CHANGES

  • libscoop: switch to use tracing for logging
  • libscoop: manifest.hash() return type changed from str to HashString

Features

  • hok: add hok completions command to generate shell completion (da1b6d8)
  • hok: add global --verbose flag (5fd0505)

Bug Fixes

  • libscoop: hash checking should be case insensitive (fix #18) (b3afbef)

Code Refactoring

  • libscoop: switch to use tracing for logging (d835c7f)

v0.1.0-beta.6

10 Oct 11:03
0f34539
Compare
Choose a tag to compare

0.1.0-beta.6 (2024-10-10)

Features

  • libscoop: Adpot new cache filename format (15172a9)

Bug Fixes

  • cargo clippy fix (71a7596)
  • hok: Check if cat_style is empty (4ed662e), closes #10
  • hok: Remove type.exe dep in hok cat, closes #14 (47a42c5)

v0.1.0-beta.5

09 Jul 10:29
df62d5f
Compare
Choose a tag to compare

0.1.0-beta.5 (2024-07-09)

Features

  • libscoop|config: support use_isolated_path config (1bb5ee7)
  • libscoop: remove env paths under isolated_path mode correctly (2f58173)
  • libscoop: support use_sqlite_cache config (35c9577)

Bug Fixes

  • libscoop|config: support named use_isolated_path (5e9a181)
  • libscoop: case insensitive match on package querying (5efde66)
  • libscoop: updated Config struct (17e474a)

v0.1.0-beta.4

09 Sep 08:29
df8cced
Compare
Choose a tag to compare

0.1.0-beta.4 (2023-09-09)

Features

  • hok: added s shortcut for search command (50c0bfc)

Bug Fixes

  • hok: added long format arg of listing known buckets (658ef7d)
  • hok: fix 50c0bfc (387fd66)
  • hok: trim yes_no prompt input (0a01f1e)
  • libscoop|config: default config path should be always returned (d3040ad)
  • libscoop|fs: improve symlink removal logic (398ef27)
  • libscoop|resolve: correct pinned dependency cascade resolving (660d3e2)

Performance Improvements

  • libscoop|manifest: defer hash validation (d1ff3f6)

v0.1.0-beta.3

09 Aug 10:00
879e2ca
Compare
Choose a tag to compare

0.1.0-beta.3 (2023-08-09)

⚠ BREAKING CHANGES

  • libscoop|config: Package::manifest_path is replaced by manifest().path().

Features

  • hok: reflect basic support of uninstalling packages (183cfd8)
  • libscoop|sync: basic support of uninstalling packages (b1f0f6b)

Bug Fixes

  • hok: print ending newline for error report (d1f5682)
  • libscoop|config: correct no_junction field (4bae700)
  • libscoop|query: don't create empty apps dir (7287bd5)
  • libscoop: added portability on non-windows (3d1ffee)
  • libscoop: avoid forcing doc target as it will fail to build (7674f8a)
  • libscoop: emit BucketUpdateDone event despite zero bucket (dc4bdca)
  • libscoop: ensure cache dir exist before downloading (485255e)
  • scoop-hash: remove docsrs target (b6ddd19)

v0.1.0-beta.2

03 Aug 15:06
b7c8081
Compare
Choose a tag to compare

0.1.0-beta.2 (2023-08-03)

⚠ BREAKING CHANGES

  • libscoop: SyncOption::NoDownloadSize becomes SyncOption::Offline

Features

  • hok|cat: show manifest path (7e06467)
  • hok: show bucket manifest count (d71e193)
  • libscoop|download: support injecting cookie defined in manifest (aec7fdc)
  • libscoop|download: write to temp file in downloading (d79e598)
  • libscoop|event: added integrity check event and error type (888afbb)
  • libscoop|manifest: impl Display for License (e91ff0e)
  • libscoop|resolve: allow to select installed candidate (8fb0ec3)
  • libscoop|sync: added SyncOption::EscapeHold for package remove (ca8fad7)
  • libscoop: added package integrity check logic (57869f7)
  • libscoop: scoop-hash features passthrough (cb027ce)
  • scoop-hash: support switching hashing backend (d38658e)
  • scoop-hash: use builder pattern (87ca347)

Bug Fixes

  • hok|list: only print upgradable when the flag is used (558d9d3)
  • hok: accumulate downloaded bytes properly (d6fabc8)
  • libscoop: package resolving is infallible when OnlyUpgrade is used (cabd52b)
  • libscoop: set install state for package's upgradable reference (63a54f7)
  • libscoop: use upgradable package reference when available (9dfd93f)

Performance Improvements

  • libscoop: 5x speedup on package querying (90a8815)

v0.1.0-beta.1

30 Jul 13:54
6c12227
Compare
Choose a tag to compare

0.1.0-beta.1 (2023-07-30)

⚠ BREAKING CHANGES

  • libscoop: Some Event variants related to bucekt update progress have been updated to fit the latest codebase.

Features

  • hok: support resolving and downloading packages (bdc08dd)
  • libscoop|config: support SCOOP_CACHE and SCOOP_GLOBAL envs (cf2a2a5)
  • libscoop|resolve: added resolve_cascade (0aa0c52)
  • libscoop: added coordination between AssumeYes and NoDownloadSize (5e9d578)
  • libscoop: added support for package resolution and download (4ff0d95)
  • move to v0.1.0-beta.1 (e1a2376)

Bug Fixes

  • libscoop: ensure ops working dir exist (0520ae8)
  • libscoop: handle wildcard query in upgrade operation (639e8c6)
  • libscoop: update crate categories metadata (8d6271d)
  • libscoop: update doc comments (bcd29b4)

v0.1.0-alpha.3

25 Jul 16:40
8e558c3
Compare
Choose a tag to compare

0.1.0-alpha.3 (2023-07-25)

⚠ BREAKING CHANGES

  • libscoop: Session::new() is now infallible.

Features

  • hok|config: config-list shows the path (679c177)
  • libscoop: impl Default for Session (d91177a)
  • libscoop: support loading config from all possible location (2bcc649)
  • move to v0.1.0-alpha.3 (1ecd0ed)

Bug Fixes

  • ci: remove unneeded condition (718084f)
  • libscoop|fs: write_json should create file instead of dir (54482a7)
  • libscoop: fix doctest (c0237a2)

v0.1.0-alpha.2

25 Jul 05:35
888616a
Compare
Choose a tag to compare

0.1.0-alpha.2 (2023-07-25)

⚠ BREAKING CHANGES

  • libscoop: APIs of operations and Session changed.
  • libscoop: exposed modules of libscoop changed.

Features

  • hok|cat,home: support candidate selection (28b56c5)
  • hok: add uninstall cmd placeholder (c13e8be)
  • hok: support list held packages (a2acb22)
  • libscoop|manifest: support aarch64 specific fields (639d092)
  • libscoop|resolve: added fn select_candidate (0e296ea)
  • libscoop: add package resolving and event bus (434eebe)
  • libscoop: replace ureq with libcurl (7d3df7c)
  • move to v0.1.0-alpha.2 (24e354a)

Bug Fixes

  • hok|cat,home: sort candidates (c90f3f9)
  • libscoop: dag should check self cyclic (a5bbb0b)

Miscellaneous Chores

  • libscoop: tweak exposed modules (f31cb64)

v0.1.0-alpha.1

21 Jul 10:12
f53d477
Compare
Choose a tag to compare

0.1.0-alpha.1 (2023-07-21)

Features

  • add hash crate (aa021fb)
  • api: Introduce SPDX spec for manifest.license (ec5e1f5)
  • cache: implement cache-rm (869f095)
  • cmd: Implement cleanup, refactor cache and list (3ca3f26)
  • cmd: Implement scoop list subcommand (0b2fdec)
  • cmd: prototype of scoop home (29c2663)
  • cmd: prototype of scoop info (a207465)
  • cmd: prototype of scoop search (local) (2c8e563)
  • core: add DepGraph implementation (ca5f49f)
  • core: Implement update subcommand (ad04e76)
  • hash-md5: add reset api (3db7116)
  • hash: add checksum helper functions (df24980)
  • hash: add sha1 implementation (8bee89a)
  • hash: add sha256 implementation (37f9f62)
  • hash: add sha512 implementation (7bbecf1)
  • hash: provided a top-level checksum api (99fed09)
  • Implement basic file downloads (c5d303b)
  • implement hold and unhold (682c63c)
  • implement status (bb650d6)
  • scoop-cache: implement scoop cache show (ae018b8)
  • scoop-cache: implement scoop cache show (c584c90)
  • scoop-config: implement scoop config (9bdc9fa)
  • search: Add fuzzy search option (53c8998)
  • search: Implement binary search (26ff6f2)
  • update (cf505f0)
  • v0.1.0-alpha.1 (f304bb2)

Bug Fixes

  • bucket-rm: use remove_dir_all crate (a5c9a0b)
  • core: fix cache regex (98f2a44)
  • core: fix manifest download urls extraction (7fef94c)
  • Fix apps_in_local_bucket (b3170c7)
  • fix cache rm handler (22f51e2)
  • Fix not truncating previous data when saving new configs (ea4bf0c)
  • typo (4ddc72f)
  • use init method to create config instance (9aa08ba)

Performance Improvements

  • don't update install info if it's not held (d8b71b1)
  • hash-md5: use inline fn for performance (7f35660)
  • search enhancement (13075cc)