Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to work with latest stdlib #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update to work with latest stdlib #30

wants to merge 1 commit into from

Conversation

mna
Copy link

@mna mna commented Dec 28, 2024

Hello,

This fixes some breaking changes introduced by Gleam's stdlib in later versions (deprecated packages replaced by external ones, and renamed functions in the string package). The gleam version constraint is to remove a warning due to the use of the @internal annotation:

warning: Incompatible gleam version range
   ┌─ .../ids/src/ids/typeid.gleam:10:1
   │
10 │ @internal
   │ ^^^^^^^^^ This requires a Gleam version >= 1.1.0

The `@internal` annotation was introduced in version v1.1.0. But the Gleam
version range specified in your `gleam.toml` would allow this code to run
on an earlier version like v0.32.2, resulting in compilation errors!
Hint: Remove the version constraint from your `gleam.toml` or update it to be:

    gleam = ">= 1.1.0"

Thanks!
Martin

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.

1 participant