Releases: growthagent/basic-cli
Releases · growthagent/basic-cli
0.29.0
Breaking changes
Crypto.hash!andCrypto.hash_file!now take the algorithm as aStr("SHA-1","SHA-256","SHA-384","SHA-512") instead of a[Sha1, Sha256, Sha384, Sha512]tag union. Workaround for a Roc compiler alias-analysis bug; will revert to tags once fixed. See the docstring onCrypto.hash!for details.Crypto.hash_file!now returnsResult Str [FileReadErr Path IOErr](wasResult Str Str), so callers can distinguishNotFound,PermissionDenied, etc.Crypto.hash_file_chunks!removed. It was a custom hash-of-hashes scheme which can now be implemented using{Path, File}.read_bytes_at!andCrypto.hash!.
Added
{Path, File}.set_len!: set a file's length, creating it if needed. Useful for pre-allocating sparse files.{Path, File}.{read_bytes_at!, write_bytes_at!}: POSIXpwrite/preadat a given byte offset, without touching the file's seek position. Unix only; returnsUnsupportedon Windows.
Full Changelog: 0.28.0...0.29.0
0.28.0
- Add
Crypto.{hash!, hash_file!, hash_file_chunks!}.
Full Changelog: 0.27.0...0.28.0
0.27.0
- Add macOS release artifacts.
- Automatically generate and publish documentation.
Full Changelog: 0.26.0...0.27.0
0.26.0
Crypto.bcrypt_hash!changed fromList U8, U32 => Result (List U8) StrtoList U8, U32 => Result Str Str.
Full Changelog: 0.25.0...0.26.0
0.25.0
- Add
Cmd.spawn_grouped!andCmd.kill_grouped!
Full Changelog: 0.24.0...0.25.0
0.24.0
- Add
poll!
Full Changelog: 0.23.0...0.24.0
0.23.0
Add Crypto and Cmd functions
Add Crypto functions:
bcrypt_hash!bcrypt_verify!decrypt_aes256_gcm!encrypt_aes256_gcm!pbkdf2_hmac_sha256!random_bytes!
And Cmd functions for spawning processes and reading/writing to stdio.
Full Changelog: 0.22.0...0.23.0
0.22.0
- Merge upstream (roc-lang/basic-cli).
Full Changelog: 0.21.0...0.22.0
0.21.0
- Add
Crypto
0.20.0
Workflows: add release bundler