--- - branch: MAIN date: Tue Mar 5 16:39:18 UTC 2024 files: - new: '1.14' old: '1.13' path: pkgsrc/lang/gleam/Makefile pathrev: pkgsrc/lang/gleam/Makefile@1.14 type: modified - new: '1.11' old: '1.10' path: pkgsrc/lang/gleam/cargo-depends.mk pathrev: pkgsrc/lang/gleam/cargo-depends.mk@1.11 type: modified - new: '1.13' old: '1.12' path: pkgsrc/lang/gleam/distinfo pathrev: pkgsrc/lang/gleam/distinfo@1.13 type: modified id: 20240305T163918Z.d49901370f8642913cf3a817cfe5406d3e0c0ea3 log: | gleam: update to version 1.0.0 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. module: pkgsrc subject: 'CVS commit: pkgsrc/lang/gleam' unixtime: '1709656758' user: nikita