Gleam v1.9.0 Features:
- Echo debug printing: Introduced
echo
keyword to print values with file and line info for better debugging. - Git dependencies: Build tool now supports depending on packages within git repositories.
- More powerful bit arrays on JavaScript: Lifted byte alignment limitation and enabled dynamic sized segments in bit array patterns.
- Faster list pattern matching on JavaScript: Improved JavaScript code generation for list pattern matching, making programs up to twice as fast.
- Go-to type definition: Language server added support for go-to type definition in IDE-like functionality.
- HexDocs search integration: Gleam's documentation generator updated to be included in HexDocs search.
- Custom CA certificates support: New environment variable
GLEAM_CACERTS_PATH
for using custom CA certificates in enterprise networks. - Convert to and from pipeline code actions: Added code actions to refactor between pipe and regular function call syntax.
- Generate JSON encoder code action: Language server offers code action to generate JSON encoder function.
- Inline variable code action: Inlines variables used only once.
- Generate multi-variant decoder code action: Extended code action to support multi-variant custom types in decoder API.
- String interpolate code action: Convenient code action for interpolating values into strings.
- Module qualifier hovering: Language server shows module documentation on hovering module qualifier.
- Redundant function capture removal: Code formatter removes redundant function capture syntax.
- Echo debug printing: Introduced
- Call for Support: Gleam is supported by sponsors. Core team members Giacomo Cavalieri and Surya Rose are on GitHub Sponsors. Many individuals and companies have supported Gleam. See the full list of sponsors.
- Thank You: Thanked bug fixers and the community for their contributions. Mentioned the changelog for details of fixes and improvements.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。