Subject: CVS commit: pkgsrc/lang/gleam
From: Nikita
Date: 2023-04-03 21:58:03
Message id: 20230403195803.9E9D2FA81@cvs.NetBSD.org

Log Message:
gleam: Update to version 0.28.0

Changelog:
taken from https://github.com/gleam-lang/gleam/blob/main/CHANGELOG.md,
more at https://gleam.run/news/v0.28-monorepos-fast-maps-and-more/

v0.28.0 - 2023-04-03

    New projects now require gleam_stdlib v0.28.

v0.28.0-rc3 - 2023-03-31

    Fixed a bug where source links would be incorrect in HTML documentation.

v0.28.0-rc2 - 2023-03-27

    Fixed a bug where single statement blocks inside binary operators could \ 
generate invalid JavaScript.
    Fixed a bug where the formatter could incorrectly place comments.
    Fixed a bug where the language server would show outdated diagnostics when a \ 
file with an error reverts to the previous valid version, causing the compiler \ 
to use the cached version of the file.

v0.28.0-rc1 - 2023-03-26

    The language server now analyzes files on edit rather than on save, \ 
providing feedback faster.
    The language server now supports editor sessions that span multiple \ 
projects. This is useful for mono-repos and projects with both a frontend and \ 
backend in Gleam.
    The language server now also shows documentation on hover for expressions.
    The language server now shows types and documentation on hover for patterns.
    Added support for negation of integers with the new - unary operator.
    Variable assignments are now only permitted within a function or a block, \ 
not anywhere that an expression is permitted.
    The deprecated try expression has been removed.
    The deprecated assert ... = ... syntax has been removed.
    Semicolons are no longer whitespace. An error will be emitted if one is \ 
encountered.
    Warnings are now immediately emitted rather than being buffered until the \ 
end of the compilation.
    The --warnings-as-errors flag is now supported by gleam build.
    Blocks are now preserved by the formatter when they only have a single \ 
expression within them.
    Generated docs now export more meta data to improve the developer \ 
experience, accessibility and search engine discoverability.
    Files are now only recompiled if they have changed since the last \ 
compilation, detected by file hash and modification time. Previously only the \ 
modification time was used.
    Autocompletion of module imports was removed due to a buggy implementation.
    Fixed a bug where the formatter would incorrectly remove { ... } from bit \ 
string segment value expressions.
    Fixed a bug where TypeScript type definitions files could include incorrect \ 
type names.
    Fixed a bug where the compiler used VSCode specific behaviour in the \ 
language server which was incompatible with Helix.
    Fixed a bug where string concatenation patterns on strings with escape \ 
characters would generate javascript code with wrong slice index.
    Fixed a bug where blocks could parse incorrectly.
    Allow modules to be run with the gleam run --module command.

Files:
RevisionActionfile
1.8modifypkgsrc/lang/gleam/Makefile
1.7modifypkgsrc/lang/gleam/cargo-depends.mk
1.8modifypkgsrc/lang/gleam/distinfo