Releases: roc-lang/basic-cli
0.11.0
What's Changed
- Don't print a blank line if
Exit
is given "" by @rtfeldman in #197 - test on macos too by @Anton-4 in #198
- Upgrade to new module syntax by @agu-z in #200
- Have
File
andDir
functions accept Str instead of Path by @rtfeldman in #199 - Change the args example to use Weaver by @smores56 in #202
- Add Http.get, rename HttpError to HttpErr by @rtfeldman in #201
New Contributors
Full Changelog: 0.10.0...0.11.0
0.10.0
Roc syntax to use this platform:
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
What's Changed
Breaking changes
-
Update type of main from
Task {} I32
toTask {} [Exit I32 Str]_
, see #184 and #188. Where you usedTask.err 1
in the past, you would now use something likeTask.err (Exit 1 "unable to read file: $(msg)")
. -
New error pattern in API #188, for example:
# old
deleteEmpty : Path -> Task {} IOError
# new
deleteEmpty : Path -> Task {} [DirErr Err]
# old
output : Cmd -> Task Output (Output, Error)
# new
output : Cmd -> Task Output [CmdOutputError (Output, Err)]
Other
- Used Roc's new
!
syntax all over #184 - Added convenience function
Task.result
#182 - minor fix in examples/dir.roc #195
- Remove unused
Effect
type import in Path.roc #183
Full Changelog: 0.9.1...0.10.0
0.9.1
Roc syntax to use this platform:
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.9.1/y_Ww7a2_ZGjp0ZTt9Y_pNdSqqMRdMLzHMKfdN8LWidk.tar.br" }
What's changed
- Removed unused Effect type import in Path.roc #183
Full Changelog: 0.9.0...0.9.1
0.9.0
Roc syntax to use this platform:
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.9.0/oKWkaruh2zXxin_xfsYsCJobH1tO8_JvNkFzDwwzNUQ.tar.br" }
-
Breaking changes:
-
Other:
New Contributors ❤️
Full Changelog: 0.8.1...0.9.0
0.8.1
0.8.0
Roc syntax to use this platform:
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.8.0/UObpZ2EODRbZCGWvHzPFzpfWLFLD8pI0cmdUVhqZ6Mg.tar.br" }
-
New features:
-
Bugfixes:
-
Other:
Full Changelog: 0.7.1...0.8.0
0.7.1
This release requires a version of roc released on December 1 2023 or later.
Roc syntax to use this platform:
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.7.1/Icc3xJoIixF3hCcfXrDwLCu4wQHtNdPyoJkEbkgIElA.tar.br" }
Changes:
0.7.0
Roc syntax to use this platform:
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.7.0/bkGby8jb0tmZYsy2hg1E_B2QrCgcSTxdUlHtETwm5m4.tar.br" }
Changes:
- Uses new and improved roc dbg approach #138 #139 roc-lang/roc#6116
0.6.2
This platform was built with the --optimize
flag, this was not the case in the past. Roc binaries that use basic-cli should now be much smaller.