首页›Gleam News›文章

Help from the Github Security Lab

Louis Pilfold · 2026年8月17日

AI 摘要 AI 生成,可能有误

Gleam 项目参加了第四届 GitHub 安全开源基金,该基金提供了为期 3 周的安全培训计划、为期 12 个月的深度合作以及 1 万美元的赞助资金。事实证明,该项目本已处于极佳的安全状态,未发现任何漏洞。主要收获包括:专家指导在将安全领域的未知问题转化为已知问题方面的价值;通过政策、文档和合规框架来证明安全性(而不仅仅是在技术上安全)的重要性;以及在该基金涵盖的 50 个项目中,投资开源安全所展现出的显著成本效益。

Earlier in the year, Gleam was invited to and participated in the 4th GitHub Secure Open Source Fund, an annual program that supports key open source projects in order to secure the open source ecosystem as a whole. It consists of a 3-week security training program1, a 12-month engagement in which ongoing security improvements are implemented, and $10,000 USD of GitHub Sponsorship. All incredibly valuable to the Gleam project, and what an honour to be selected!

We've made numerous security improvements off the back of the program, and have more yet planned, but they would either make rather dry reading or deserve their own release announcement, so I won't bore you with the details here. Instead, here are my main takeaways from the program so far.

Gleam is ahead of the pack in terms of security

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Gleam News

Gleam doesn't compile to Erlang source anymore

AI 摘要Gleam v1.19.0 features a rewritten Erlang code generator that now compiles to Erlang abstract forms instead of Erlang source code, significantly improving build times and making runtime metadata such as stack trace line numbers accurately reference the original Gleam source. The release also brings JavaScript compilation improvements (flatter decision trees and faster short list literals), TypeScript API overloads that preserve type information, and better support for external build tools like Elixir's Mix and Erlang's rebar3. Additional updates include language server support for labels (go-to-definition, references, renaming) and the ability to format Gleam code in the browser via the WebAssembly compiler build.

Gleam Gathering 2027 is coming to London!

AI 摘要Gleam Gathering 2027 is coming to London, with tickets already available and the call for talks now open. The article celebrates the success of the first-ever 100% Gleam conference in Bristol earlier this year, whose 2026 talks have all been released online. Community members are encouraged to submit talk proposals if they have interesting Gleam projects, learnings, libraries, tools, or topics worth sharing.

A field day for Gleam’s language server

AI 摘要Gleam v1.18.0 has been released, bringing major language server improvements such as go-to-definition, find-references, and rename support for record fields, type variable and module renaming with automatic import updates, plus new code actions for pattern matching on values, converting integer bases, generating missing types, and converting comments. The release also delivers performance gains through data singletons that speed up generated JavaScript and compiler memory arenas that make the formatter up to 13% faster, alongside deprecation of ambiguous pipe syntax, git dependency path support, and various Hex package manager improvements.

Single file Gleam BEAM programs with escript

AI 摘要Gleam v1.17.0 has been released, introducing the `gleam export escript` command for bundling BEAM projects into single executable files, alongside JavaScript pattern matching optimisations and various language server improvements such as document highlighting, context-aware type printing, and new code actions. The release also includes build tool enhancements like a quiet development mode, an outdated dependencies summary in `gleam deps outdated`, better Git repository detection for monorepos, and support for `todo` in constant expressions. Additionally, the first videos from the all-Gleam Gleam Gathering conference have been published on YouTube.

JavaScript source maps

AI 摘要Gleam v1.16.0 has been released, introducing JavaScript source maps that enable runtime debugging with proper stack traces and breakpoints, along with package-level fault tolerance so compilation continues past broken modules. The release also brings faster string pattern matching on the JavaScript target (nearly 30% faster for some packages), new compiler warnings and error messages, and multiple language server improvements such as code actions for anonymous functions, function extraction, and type hole replacement.