From 078e6880a7ed29ff1720a280bf47938ddc50967c9fb0719735fcd0139eac90c3 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Wed, 26 Nov 2025 17:28:37 +0100 Subject: [PATCH] Update to 1.13 --- _service | 2 +- gleam-1.11.0.tar.zst | 3 --- gleam-1.13.0.tar.zst | 3 +++ gleam.changes | 53 ++++++++++++++++++++++++++++++++++++++++++++ gleam.obsinfo | 6 ++--- gleam.spec | 4 ++-- vendor.tar.zst | 4 ++-- 7 files changed, 64 insertions(+), 11 deletions(-) delete mode 100644 gleam-1.11.0.tar.zst create mode 100644 gleam-1.13.0.tar.zst diff --git a/_service b/_service index e750e97..1acc094 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/gleam-lang/gleam.git @PARENT_TAG@ git - v1.11.0 + v1.13.0 * v(\d+\.\d+\.\d+) \1 diff --git a/gleam-1.11.0.tar.zst b/gleam-1.11.0.tar.zst deleted file mode 100644 index 5fc5d6d..0000000 --- a/gleam-1.11.0.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d5e0141bc0d14ef9be30ee709633bd183b3d4c681aaa001b849fd83366f5e20 -size 1196230 diff --git a/gleam-1.13.0.tar.zst b/gleam-1.13.0.tar.zst new file mode 100644 index 0000000..b91d286 --- /dev/null +++ b/gleam-1.13.0.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d57b1b0a2af067d838f3a29ac3990ed86d26c11bf830b561b77db471ba1ea921 +size 1302058 diff --git a/gleam.changes b/gleam.changes index 42d4e7d..4b1c8c6 100644 --- a/gleam.changes +++ b/gleam.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Wed Nov 26 16:08:00 UTC 2025 - Andrea Manzini + +- Update to 1.13.0: + * Fixed a bug where the "Extract function" code action would not properly + extract a use expression. + * Fixed a bug where the "Extract function" code action would generate a + function with the wrong type when used on a use expression. + * Fixed a bug where the error message for inexhaustive patterns could show + incorrect extra patterns in addition to the correct missing patterns. + * Fixed a bug where triggering the "Generate function" code action to + generate a function in a different module could cause the generated + function to appear in the middle of an existing function, resulting + in invalid code. + * Fixed a bug where the "turn into pipe" code action would not trigger inside + the final step of a pipeline. + * Fixed a bug where the "pattern match on variable" code action would crash + when used on a variable followed by a case expression. + * The compiler now applies an optimisation known as "interference based + pruning" when compiling bit array pattern matching where matches are + performed at the start of bit arrays. + * The compiler now raises a warning for unreachable clauses that are matching + on bit array segments that could never match. + * The compiler now raises a warning when a function's argument is only passed + along in a recursive call but not actually used for anything. + * The compiler now emits a better error message for private types marked as + opaque. + * The parsing of opaque private types is now fault tolerant + * The compiler now emits a single warning for multiple negations in a row + * Redundant _ as x patterns are now deprecated in favour of x + * The compiler will now raise warning for inefficient use of list.length() + * The compiler now provides an improved error message for when trying to + define a constant inside a function. + * The code generated for blocks on the JavaScript target has been improved + and is now smaller in certain cases. + * Writing a type name followed by () now emits an error during analysis + rather than parsing, so it no longer stops the compiler from reporting + errors further in the code + * The compiler now shows a specific syntax error when trying to use an + angle-bracket syntax for generic types or function definitions + * Fault tolerance for analysis of labeled fields in variant patterns has been + improved. + * Compiler now adds a hint when #-styled comments are used + * The erlang.application_start_argument parameter has been added to + gleam.toml + * Generated code for the JavaScript target now includes a public API which + can be used for FFI interacting with Gleam custom types. + * improvements to the build tool, to the language server and to the formatter + + * see also changelog for 1.12.0 at + https://github.com/gleam-lang/gleam/blob/v1.12.0/CHANGELOG.md + + ------------------------------------------------------------------- Fri Jun 6 12:31:41 UTC 2025 - Eyad Issa diff --git a/gleam.obsinfo b/gleam.obsinfo index c444ec4..be43e7e 100644 --- a/gleam.obsinfo +++ b/gleam.obsinfo @@ -1,4 +1,4 @@ name: gleam -version: 1.11.0 -mtime: 1748868136 -commit: bb29a3f89d3975d67ee0871d4ab268c9fe0c199d +version: 1.13.0 +mtime: 1760876505 +commit: b5485ca17beae202a02754c6ff81ab78491efecf diff --git a/gleam.spec b/gleam.spec index 87e8916..0a5425f 100644 --- a/gleam.spec +++ b/gleam.spec @@ -1,7 +1,7 @@ # # spec file for package gleam # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gleam -Version: 1.11.0 +Version: 1.13.0 Release: 0 Summary: A friendly language for building type-safe, scalable systems! License: Apache-2.0 diff --git a/vendor.tar.zst b/vendor.tar.zst index 596a5d7..db07002 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3eb739540f5ab5396b6e193043c484d5ece4cd28ad12003fec565880a4d25ddf -size 43444356 +oid sha256:c75adf4df9a4573c4abed80a5bf7b5d8800011e63833476a5dccad364d8c1a4a +size 35863618 -- 2.51.1