2023-01-17 19:22:32 by Nikita | Files touched by this commit (2) |
Log message:
gleam: Update to version 0.25.3
Changelog
v0.25.3 - 2022-12-16
4 digit integers are no longer automatically formatted with underscores.
v0.25.2 - 2022-12-16
Updated actions/checkout from actions/checkout@v3.0.0 to @v3.2.0 for
projects created via gleam new.
Fixed a bug where gleam new would set a Rebar3 version to 25.1 instead of
the latest stable 3.
Updated following runtime versions set via gleam new: Erlang/OTP to 25.2,
and Elixir to 1.14.2.
The formatter now inserts underscores into larger Ints and the larger
integer parts of Floats.
Added support for top level TypeScript file inclusion in builds.
The build tool will now favour using rebar3 over Mix for packages that
support both. This fixes an issue where some packages could not be compiled
without Elixir installed even though it is not strictly required.
v0.25.1 - 2022-12-11
New Gleam projects are now configured to explicitly install rebar3 using
GitHub actions erlef/setup-beam.
A better error message is now shown when attempting to use a function
within a constant expression.
Changed float size limit in bitstring expressions to 16, 32 or 64, when
static. Also allowed dynamic size.
New Gleam projects are created using GitHub actions
erlef/setup-beam@v1.15.0.
Fixed a bug where returning an anonymous function from a pipeline an
dcalling it immediately without assigning it to a variable would produce
invalid Erlang code.
Fixed a bug where the formatter would remove the braces from negating
boolean expressions.
|
2022-12-14 19:01:41 by Nikita | Files touched by this commit (3) | |
Log message:
lang/gleam: update to version 0.25.1
Changelog (taken from https://github.com/gleam-lang/gleam/blob/main/CHANGELOG.md)
v0.25.1 - 2022-12-11
- New Gleam projects are now configured to explicitly install rebar3 using
GitHub actions erlef/setup-beam.
- A better error message is now shown when attempting to use a function within a
constant expression.
- Changed float size limit in bitstring expressions to 16, 32 or 64, when static.
Also allowed dynamic size.
- New Gleam projects are created using GitHub actions erlef/setup-beam@v1.15.0.
- Fixed a bug where returning an anonymous function from a pipeline and calling
it immediately without assigning it to a variable would produce invalid Erlang
code.
- Fixed a bug where the formatter would remove the braces from negating boolean
expressions.
v0.25.0 - 2022-11-24
v0.25.0-rc2 - 2022-11-23
- Fixed a bug where Gleam dependency packages with a `priv` directory could fail
to build.
- Fixed a regression where Elixir and Erlang Markdown code blocks in generated
documentation would not be highlighted.
v0.25.0-rc1 - 2022-11-19
- Generated HTML documentation now includes the `theme-color` HTML meta tag.
- The `use` expression has been introduced. This is a new syntactic sugar that
permits callback using code to be written without indentation.
- Nightly builds are now also published as OCI container images hosted on
GitHub.
- Fixed a bug where the build tool would not hook up stdin for Gleam programs it
starts.
- Fixed a bug where using a record constructor as a value could generate a
warning in Erlang.
- Fixed a bug where the build tool would use precompiled code from Hex packages
rather than the latest version, which could result in incorrect external
function usage in some cases.
- Fixed a bug where the warning for `todo` would not print the type of the code
to complete.
- Fixed a bug where `try` expressions inside blocks could generate incorrect
JavaScript.
- Generated HTML documentation now includes all static assets (but the web
fonts), so that it can be accessed offline or in far future once CDNs would
404.
- New Gleam projects are created using GitHub actions erlef/setup-beam@v1.14.0
- The `javascript.typescript_declarations` field in `gleam.toml` now applies to
the entire project rather than just the top level package.
- The formatter now adds a 0 to floats ending with `.` (ie 1. => 1.0).
- New projects require `gleam_stdlib` v0.25.
|
2022-11-10 13:20:53 by Nikita | Files touched by this commit (1) |
Log message:
lang/gleam: commit forgotten distinfo change.
|
2022-11-09 18:29:36 by Nikita | Files touched by this commit (2) | |
Log message:
gleam: Update to version 0.24.0
Changelog (adapted from https://gleam.run/news/):
Gleam 0.24:
- In-project Elixir support
- <> operator which works on strings
In addition to those main features we’ve fixed bugs and improved
error messages, the highlights being:
- Elixir dependency package support now works on Windows.
- If the programmer attempts to use the object-oriented method call
syntax (value.method()) we now return a more detailed error that
explains that Gleam is not object oriented, and suggests using the
functional syntax. This will hopefully help people who are less
familiar with functional programming languages.
Version 0.23:
- Ability to add Elixir packages to Gleam projects.
- package updating via 'gleam update'
- searchable documentation for packages
Those are the main features, but there’s also an assortment of
other changes:
- Constant expressions can now contain and reference functions.
- Compiler performance has been improved by buffering outputs and
lazily loading resources. In tests this quadrupled performance
when compiling the standard library.
- The LSP will now provide rudimentary autocompletion for importable
modules.
- The code formatter style has been improved.
- The gleam publish command will include the priv directory
(for non-code package artefacts) and can be run non-interactively.
Version 0.22:
- generation of TypeScript declaration files
- Multi-variant accessors
- new 'gleam export' command to help deploy artefacts,
'gleam export erlang-shipment' will produce a directory
of Erlang bytecode and configuration.
- Automatable package publishing via hex with gleam publish.
- better debugging
|
2022-05-03 10:57:33 by Nikita | Files touched by this commit (6) |
Log message:
lang/gleam: import package.
Gleam is a functional language for building type-safe, scalable
systems.
The Gleam compiler itself is written in rust.
Gleam uses the BEAM runtime, and using the same actor-based multi-core
concurrency, with zero runtime overhead and full inter-operability
with Erlang, Elixir, and LFE.
It has all the features you'd expect from an ML derived language,
including algebraic data-types, immutable data structures, full type
inference, fast compilation, generics, no nulls nor exceptions, and a
few bonus features such as helpful error messages.
|