From 9daa80c1b2eab28900f63ef0fe8dc6b031801a74 Mon Sep 17 00:00:00 2001 From: ducdetronquito Date: Mon, 16 Sep 2024 10:19:39 +0200 Subject: [PATCH] fix!: Bump gleam version constraint from 0.32.0 to 1.1.0 to allow `@internal` 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! --- CHANGELOG.md | 4 ++++ gleam.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 924e85c..1669d45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/gleam.toml b/gleam.toml index 408d105..be27baf 100644 --- a/gleam.toml +++ b/gleam.toml @@ -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"]