Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0 - 2024-07-12
Changed
- (breaking)
gleamyshell/execute
doesn’t treat non-zero exit codes as errors any longer. - (breaking) Made
gleamyshell/which
return aResult
instead of anOption
. - (breaking) Made
gleamyshell/env
return aResult
instead of anOption
. - (breaking) Made
gleamyshell/home_directory
return aResult
instead of anOption
. - (breaking) Made
gleamyshell/cwd
return aResult
instead of anOption
.
Removed
- (breaking) Removed
gleamyshell/set_env
due to limitations of the APIs of Erlang and Node.js. - (breaking) Removed
gleamyshell/unset_env
.
1.1.0 - 2024-06-06
Added
- Introduced official support for Bun.
1.0.0 - 2024-06-04
Added
- Added
gleamyshell/unset_env
to unset an environment variable. - Added
gleamyshell/set_env
to set an environment variable.
0.5.0 - 2024-06-01
Removed
- Removed Elixir as a dependency.
- (breaking) Removed
gleamyshell/execute_in
in favor ofgleamyshell/execute
.
0.4.0 - 2024-05-31
Added
- Added
gleamyshell/env
to get the value of an environment variable. - Added
gleamyshell/which
to get the path of an executable.
0.3.1 - 2024-05-29
Fixed
- Made
gleamyshell/cwd_ffi
private again.
0.3.0 - 2024-05-29
Added
- Added
gleamyshell/home_directory
to get the path of the user’s home directory.
Fixed
- (breaking)
gleamyshell/cwd
now returns a consistent output across all supported targets. - Removed the freezing of the standard library version. Discovered and fixed thanks to @darky.
0.2.0 - 2024-05-28
Added
- Added
gleamyshell/os
to get information about the operating system. - (breaking) Defined the
gleamyshell/OsFamily
andgleamyshell/Os
types, and renamed a constructor of thegleamyshell/AbortReason
type.
0.1.0 - 2024-05-26
Added
- Added
gleamyshell/execute_in
to run a command in a specific working directory. - Added
gleamyshell/cwd
to get the path of the current working directory. - Added
gleamyshell/execute
to run a command. - Defined the
gleamyshell/CommandError
andgleamyshell/AbortReason
types.