SHA256
7
0
forked from pool/gleam

Update to 1.13 #4

Open
amanzini wants to merge 1 commits from amanzini/gleam:1.13 into main
7 changed files with 64 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/gleam-lang/gleam.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">v1.11.0</param>
<param name="revision">v1.13.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>

Binary file not shown.

BIN
gleam-1.13.0.tar.zst LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,56 @@
-------------------------------------------------------------------
Wed Nov 26 16:08:00 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- 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 <eyadlorenzo@gmail.com>

View File

@@ -1,4 +1,4 @@
name: gleam
version: 1.11.0
mtime: 1748868136
commit: bb29a3f89d3975d67ee0871d4ab268c9fe0c199d
version: 1.13.0
mtime: 1760876505
commit: b5485ca17beae202a02754c6ff81ab78491efecf

View File

@@ -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

BIN
vendor.tar.zst LFS

Binary file not shown.