2024-01-02 06:08:56 +03:00
This CHANGELOG describes the merged but unreleased changes. Please see [CHANGELOG ](./CHANGELOG.md ) for changes to all previously released versions of Idris2. All new PRs should target this file (`CHANGELOG_NEXT`).
# Changelog
## [Next version]
2024-01-06 00:59:11 +03:00
### Building/Packaging changes
* The Nix flake's `buildIdris` function now returns a set with `executable` and
`library` attributes. These supersede the now-deprecated `build` and
`installLibrary` attributes. `executable` is the same as `build` and `library`
is a function that takes an argument determining whether the library should be
installed with sourcecode files or not; other than that, `library`
functionally replaces `installLibrary` .
* The Nix flake now exposes the Idris2 API package as `idris2-api` and Idris2's
C support library as `support` .
2024-01-02 06:08:56 +03:00
### Language changes
### Compiler changes
2024-01-06 23:11:33 +03:00
#### NodeJS Backend
* The NodeJS executable output to `build/exec/` now has its executable bit set.
That file already had a NodeJS shebang at the top, so now it is fully ready to
go after compilation.
2024-01-02 06:08:56 +03:00
### Library changes
#### Prelude
#### Base
* `Data.List.Lazy` was moved from `contrib` to `base` .
* Added an `Interpolation` implementation for primitive decimal numeric types and `Nat` .
* Added append `(++)` for `List` version of `All` .
#### Contrib
* `Data.List.Lazy` was moved from `contrib` to `base` .
* Existing `System.Console.GetOpt` was extended to support errors during options
parsing in a backward-compatible way.