Releases: roc-lang/basic-cli
0.16.0
Roc syntax to use this platform:
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.16.0/O00IPk-Krg_diNS2dVWlI0ZQP794Vctxzv0ha96mK0E.tar.br" }
Breaking changes
None
New functions
New Contributors
- @aisk made their first contribution in #247
- @stuarth made their first contribution in #253
- @nathanKramer made their first contribution in #254
Full Changelog: 0.15.0...0.16.0
0.15.0
Roc syntax to use this platform:
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.15.0/SlwdbJ-3GR7uBWQo6zlmYWNYOxnvo8r6YABXD-45UOw.tar.br" }
Breaking changes
- Use builtin Task #217
Upgrade Notes
Task
is now builtin in Roc, to upgrade to this release you probably just need to remove Task
imports like this one:
import pf.Task exposing [Task]
You may also need to change someTime = Utc.now!
to someTime = Utc.now! {}
Full Changelog: 0.14.0...0.15.0
0.14.0
Roc syntax to use this platform:
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.14.0/dC5ceT962N_4jmoyoffVdphJ_4GlW3YMhAPyGPr-nU0.tar.br" }
What's Changed
-
Make Tcp use a heap like File #237
-
Replace deprecated backpassing, use new ? syntax #244
-
fix docs examples for
File.readBytes
andFile.readUtf8
#238 -
support cargo debug build in build.roc #239
Full Changelog: 0.13.0...0.14.0
0.13.0
Roc syntax to use this platform:
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.13.0/nW9yMRtZuCYf1Oa9vbE5XoirMwzLbtoSgv7NGhUlqYA.tar.br" }
What's Changed
- basic-cli now handles building itself using a build.roc file #194
- Automatic file closing, better file reading #230
- Update Arg module to new record builder syntax #227
Full Changelog: 0.12.0...0.13.0
0.12.0
Roc syntax to use this platform:
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.12.0/Lb8EgiejTUzbggO2HVVuPJFkwvvsfW6LojkLR20kTVE.tar.br" }
What's Changed
Breaking Changes
- Complete overhaul of
Arg
(example) #204 - Added
Env.platform
#211 - Added
File.readLine
for buffered reading (example) #206 - Removed support for macos 11 #213
- rename
Task.seq
toTask.sequence
#219 - Added body to HTTP
BadStatus
#209
Other
- Upgraded Rust to 1.79 #216
Full Changelog: 0.11.0...0.12.0
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:
app [main] { pf: platform "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