Gleam v1.5.0 introduces several developer experience and productivity improvements. Notable changes include context-aware exhaustiveness errors, silent compilation options, the ability to run dependency modules without compiling the main code, and prettier error messages for runtime crashes. There are also enhancements in code actions, such as automatically adding missing patterns, autocompletion for variables and arguments, and useful suggestions for missing imports. Additionally, the update includes more readable documentation and inferred minimum Gleam version requirements in projects.

15m read timeFrom gleam.run
Post cover image
Table of contents
Context aware exhaustiveness errors and code actionSilent compilationRun dependency command any timePrettier HTML documentationPrettier runtime errorsGleam requirement detectionBit array analysis improvementsContext aware function inferenceHelpful errors for using modules as valuesHelpful errors for OOP-ish syntax errorsMissing import suggestionsHelpful invalid external target errorsHelpful “if” expression errorsImplicit todo formattingResult discarding code actionVariable and argument completionBug bashing

Sort: