Skip to content

Commit

Permalink
fix!: Bump gleam version constraint from 0.32.0 to 1.1.0 to allow `@i…
Browse files Browse the repository at this point in the history
…nternal` usage

Gleam 1.5.0rc1 produce a new build warning because wisp targets gleam >= 0.32.0
but gleam_otp and glisten make use of `@internal` annotations.

> 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.0, resulting in compilation errors!
  • Loading branch information
ducdetronquito authored and lpil committed Sep 17, 2024
1 parent 3440b9d commit 9daa80c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.2.0 - Unreleased

- Breaking change - Update minimal gleam target version to 1.1.0

## v1.1.0 - 2024-08-23

- Rather than using `/tmp`, the platform-specific temporary directory is
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "wisp"
version = "1.1.0"
gleam = ">= 0.32.0"
gleam = ">= 1.1.0"
description = "A practical web framework for Gleam"
licences = ["Apache-2.0"]

Expand Down

0 comments on commit 9daa80c

Please sign in to comment.