Skip to content

Update unicode and roc-parser packages, and the basic-cli platform - #219

Merged
ageron merged 3 commits into
exercism:mainfrom
ageron:update-unicode-to-4.2.0
Sep 16, 2026
Merged

ageron merged 3 commits into
exercism:mainfrom
ageron:update-unicode-to-4.2.0

Conversation

@ageron

@ageron ageron commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This PR updates the unicode library to 4.2.0. The new API uses Grapheme.split instead of Grapheme.owned.
This requires first updating the roc-test-runner to ensure the library is available (since test runners don't have internet access).

Edit: the PR now updates the roc-parser package and the basic-cli platform as well, and it adds a bin/sync-roc-dependencies.sh script which looks at the given URL or filepath to the roc-test-runner's bin/download-dependencies.roc file and updates the Roc track to use the same package & platform versions.

Note: It's important for the Roc track to be in sync with the roc-test-runner because when the exercise solutions are tested by the roc-test-runner, they don't have internet access and must rely on the cached packages and platforms downloaded by bin/download-dependencies.roc when the docker container is created.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@ageron ageron changed the title Update unicode library to 4.2.0 Update unicode and roc-parser packages, and the basic-cli platform Sep 15, 2026
@ageron
ageron marked this pull request as ready for review September 15, 2026 23:13
@ageron
ageron merged commit 533c800 into exercism:main Sep 16, 2026
2 checks passed
@ageron
ageron deleted the update-unicode-to-4.2.0 branch September 16, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants