Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

CHANGELOG

author
Giacomo Cavalieri
committer
Louis Pilfold
date (May 12, 2026, 5:25 PM +0100) commit 55fd2bd0 parent 056e1369 change-id ymqqryus
+32
+32
CHANGELOG.md
··· 119 119 120 120 ([Giacomo Cavalieri](https://github.com/giacomocavalieri)) 121 121 122 + - The language server now has a code action to remove a redundant record update. 123 + For example: 124 + 125 + ```gleam 126 + pub type User { 127 + User(name: String, likes: List(String)) 128 + } 129 + 130 + pub fn main() { 131 + let lucy = User(name: "Lucy", likes: ["Gleam", "Ice Cream"]) 132 + let jak = User(..lucy, name: "Jak", likes: ["Gleam", "Dogs"]) 133 + // ^^^^^^ This record update is not needed! 134 + } 135 + ``` 136 + 137 + This record update is not actually needed and will raise a warning, all fields 138 + are already specified. Triggering the code action anywhere on the expression 139 + will remove the unnecessary update: 140 + 141 + ```gleam 142 + pub type User { 143 + User(name: String, likes: List(String)) 144 + } 145 + 146 + pub fn main() { 147 + let lucy = User(name: "Lucy", likes: ["Gleam", "Ice Cream"]) 148 + let jak = User(name: "Jak", likes: ["Gleam", "Dogs"]) 149 + } 150 + ``` 151 + 152 + ([Giacomo Cavalieri](https://github.com/giacomocavalieri)) 153 + 122 154 - The language server no longer shows completions for deprecated values from 123 155 dependencies. 124 156 ([Andrey Kozhev](https://github.com/ankddev))