Repository navigation
Immutable
release. Only release title and notes can be modified.
What's Changed
- fix example by @Anton-4 in #406
- use shorter ? syntax by @Anton-4 in #408
- add random seed generation by @jfmontanaro in #410
- use setup-roc by @Anton-4 in #411
- better command aliases by @Anton-4 in #412
- Add Tty and Locale modules by @codegod100 in #418
- update bytes for dependabot moderate alert by @Anton-4 in #422
- Bump rustls-webpki from 0.103.7 to 0.103.10 by @dependabot[bot] in #424
- Bump rustls-webpki from 0.103.10 to 0.103.12 by @dependabot[bot] in #425
- Bump rustls-webpki from 0.103.12 to 0.103.13 by @dependabot[bot] in #426
- WIP edits to migrate-zig-compiler branch by @Anton-4 in #423
- Migrate to new Zig compiler by @lukewilliamboswell in #413
- Attach docs before publishing immutable releases by @lukewilliamboswell in #428
- Strip Linux hosts from release bundles by @lukewilliamboswell in #429
- Update examples and docs deployment for 0.21.0-rc4 by @github-actions[bot] in #430
- misc improvements by @Anton-4 in #431
- misc improvements examples by @Anton-4 in #433
Json.ParseErr->InvalidJson(Str)by @niclas-ahden in #434- Test all examples with Valgrind in CI by @lukewilliamboswell in #453
- Document supported targets and host runtime behavior by @lukewilliamboswell in #451
- Represent special filesystem path types by @lukewilliamboswell in #457
- Synchronize Cargo version during releases by @lukewilliamboswell in #450
- Close unused SQLite connections by @lukewilliamboswell in #452
- Rename integer shift built-ins by @niclas-ahden in #458
- Add TCP timeouts and bounded delimiter reads by @lukewilliamboswell in #456
- Update Rust to 1.97.1 by @lukewilliamboswell in #459
- Add Sleep.seconds! by @dmisiuk in #460
- Bump rustls-webpki from 0.103.7 to 0.103.13 by @dependabot[bot] in #463
- Add Path.replace_utf8! by @dmisiuk in #461
- Update sources for 0.21.0 by @github-actions[bot] in #465
- update bytes for dependebot security alert by @Anton-4 in #467
- Re-pin release-package actions to the follow-up PR lookup fix by @Anton-4 in #469
- Include the failing path in Path errors by @dmisiuk in #468
- correct expected output by @Anton-4 in #470
- Add Cmd.check_available! by @dmisiuk in #466
- Fix SQLite binding double free by @lukewilliamboswell in #472
- Normalize and validate host locales by @lukewilliamboswell in #473
- Update sources for 0.22.0 by @github-actions[bot] in #474
- Add Nix Flake devshell + direnv by @thebrandonlucas in #432
- Fix sqlite decoder inference by @Karakatiza666 in #475
- Support ROC override and latest nightly by @lukewilliamboswell in #477
- Update sources for 0.22.1 by @github-actions[bot] in #478
- Return an open error union from Path.to_str by @rtfeldman in #479
- Update sources for 0.22.2 by @github-actions[bot] in #480
- Add OsStr.to_bytes by @Anton-4 in #490
- Add native scripting APIs and managed resource cleanup by @lukewilliamboswell in #491
- Update sources for 0.23.0-rc1 by @github-actions[bot] in #492
- Move program name from
main!args toEnv.program_name!by @ageron in #494 - Prevent hanging on Windows when exiting within 10s of a HTTP request by @niclas-ahden in #493
- update implicit open unions by @Anton-4 in #495
- Prepare release notes for 0.23.0 by @lukewilliamboswell in #496
- Avoid recursive SQLite row decoder check hang by @lukewilliamboswell in #498
- Upgrade Roc nightly to September 23 for 0.23.0 by @lukewilliamboswell in #499
- Add binary file streams, Nix release packages, and bounded release checks by @lukewilliamboswell in #501
- Update sources for 0.23.0 by @github-actions[bot] in #502
- Upgrade to 2026-10-04-nightly by @ageron in #504
- Update sources for 0.24.0 by @github-actions[bot] in #505
- Upgrade to 2026-10-09 nightly by @Anton-4 in #508
- Bump rustls from 0.23.32 to 0.23.45 by @dependabot[bot] in #509
New Contributors
- @jfmontanaro made their first contribution in #410
- @codegod100 made their first contribution in #418
- @github-actions[bot] made their first contribution in #430
- @dmisiuk made their first contribution in #460
- @thebrandonlucas made their first contribution in #432
- @Karakatiza666 made their first contribution in #475
- @ageron made their first contribution in #494
Full Changelog: 0.20.0...0.25.0
Roc API Changes
── ✗ type mismatch ─ ../../../.cache/roc/packages/AEjfyaMFFbh8FJrkkHJy68riVNPr3Qp6c6PawWQjBwMH/Locale.roc:318:13
This expression is used in an unexpected way.
decoded == Err(Json.invalid_json)
^^^^^^^^^^^^^^^^^^^^^^
It has the type:
[Err({} -> [InvalidJson(Str)]), Ok(Locale)]
But you are trying to use it as:
Try(Locale, [InvalidJson(Str)])
── ✗ type mismatch ─ ../../../.cache/roc/packages/AEjfyaMFFbh8FJrkkHJy68riVNPr3Qp6c6PawWQjBwMH/OsStr.roc:257:10
The from_interpolation method on OsStr has an incompatible type.
value = "${name}.toml"
^^^^^^^^^^^^^^
The method from_interpolation has the type:
Str, Iter((Str, Str)) -> OsStr
But I need it to have the type:
List(Str) -> Try(List(b) -> OsStr, [InvalidInterpolation(Str)])
where [b.from_quote : Str -> Try(b, [BadQuotedBytes(Str)])]
Hint: This function expects 1 argument but got 2.
── ✗ type mismatch ─ ../../../.cache/roc/packages/AEjfyaMFFbh8FJrkkHJy68riVNPr3Qp6c6PawWQjBwMH/Path.roc:644:9
The from_interpolation method on Path has an incompatible type.
path = "${directory}/app.toml"
^^^^^^^^^^^^^^^^^^^^^^^
The method from_interpolation has the type:
Str, Iter((Str, Str)) -> Path
But I need it to have the type:
List(Str) -> Try(List(c) -> Path, [InvalidInterpolation(Str)])
where [c.from_quote : Str -> Try(c, [BadQuotedBytes(Str)])]
Hint: This function expects 1 argument but got 2.
── ✗ type mismatch ─ ../../../.cache/roc/packages/AEjfyaMFFbh8FJrkkHJy68riVNPr3Qp6c6PawWQjBwMH/Url.roc:1390:13
This expression is used in an unexpected way.
decoded == Err(Json.invalid_json)
^^^^^^^^^^^^^^^^^^^^^^
It has the type:
[Err({} -> [InvalidJson(Str)]), Ok(Url)]
But you are trying to use it as:
Try(Url, [InvalidJson(Str)])
── ✗ package does not compile ──────────────────────────────────────────────────
roc bump failed.
The old package (/Users/runner/.cache/roc/packages/AEjfyaMFFbh8FJrkkHJy68riVNPr3Qp6c6PawWQjBwMH/main.roc) does not compile with this compiler. roc bump needs both packages to compile so their public APIs can be compared.
roc bump exited with status 1.