Changelog: ## v1.0.0 - 2024-03-04 ### Language changes - Comments have been added to the JavaScript prelude to indicate which members are in the public API and which are internal. ### Build tool - Fixed a bug where the exported package interface would not have a module's documentation. ## v1.0.0-rc2 - 2024-02-14 ### Bug fixes - Fixed a bug where the exhaustiveness checker could crash for some generic types. ### Formatter - The format used by the formatter has been improved in some niche cases. ## v1.0.0-rc1 - 2024-02-10 ### Language changes - Using a reserved word is now a compile error, not a warning. - Inexhaustive matches are now compile errors, not warnings. - The warning for an unused module alias now shows how to not assign a name to the module. - Type aliases with unused type parameters now emit an error. - Type definitions with duplicate type parameters now emit an error. ### Formatter - Now the formatter will nest pipelines and binary operators that are used as function arguments, list items or as tuple items. - The format function literals used as the last argument in a function call on long lines has been improved. ### Build tool - If a package contains a `todo` expression then the build tool will now refuse to publish it to Hex. - The search bar in generated docs now has a darker background color. - `gleam export` now takes a `package-interface` option to export a json file containing metadata about the root package. - `gleam docs build` now creates a json file containing metadata about the root package. - The order of dependencies in `manifest.toml` is now in alphabetical order. - The search bar in generated docs now has a darker background color. - The generated docs no longer shows whether an argument is discarded or not in a function signature. - It is now possible to use `gleam run -m` to run a dependency module even if that dependency uses a compile target that your project does not support. ### Bug fixes - Fixed a bug the build tool could be make to attempt to run a main function that does not support the current target in some circumstances. - Fixed a bug where the exhaustiveness checker could crash when checking nested values inserted into the parent type using type parameters. - Fixed a bug where `functionname(_name)` would incorrectly parse as a function capture instead of a syntax error. - Fixed a bug where external only functions would "successfully" compile for a target they do not support, leading to a runtime error. |
||
---|---|---|
.. | ||
DESCR | ||
MESSAGE | ||
Makefile | ||
PLIST | ||
cargo-depends.mk | ||
distinfo |