|
4 | 4 |
|
5 | 5 | ### Compiler |
6 | 6 |
|
7 | | -- Update error message that arises when calling `echo` on an atom that lacks a |
8 | | - gleam representation to use `atom.create("__struct__")` instead of |
9 | | - `atom.create_from_string("__struct__")`. |
| 7 | +- The output of `echo` when printing atoms has been updated to use |
| 8 | + `atom.create("...")` instead of `atom.create_from_string("...")`. |
10 | 9 | ([Patrick Dewey](https://github.com/ptdewey)) |
11 | 10 |
|
12 | 11 | - Patterns aliasing a string prefix have been optimised to generate faster code |
|
143 | 142 |
|
144 | 143 | ([Adi Salimgereyev](https://github.com/abs0luty)) |
145 | 144 |
|
146 | | -- Record update syntax can now be used in constant definitions, so constant records can be derived from other records using the spread operator: |
| 145 | +- Record update syntax can now be used in constant definitions. For example: |
| 146 | + |
147 | 147 | ```gleam |
148 | 148 | pub const base_http_config = HttpConfig( |
149 | 149 | host: "0.0.0.0", |
|
180 | 180 | `--invert` would be silently ignored if given together with `--package`. |
181 | 181 | ([Evan Silberman](https://github.com/silby)) |
182 | 182 |
|
183 | | -- Update to latest Elixir API, so warning would not be shown when compiling |
184 | | - Elixir file in a Gleam project. |
| 183 | +- Updated to use the latest Elixir API, so a warning would not be shown when |
| 184 | + compiling Elixir file in a Gleam project. |
185 | 185 | ([Andrey Kozhev](https://github.com/ankddev)) |
186 | 186 |
|
187 | 187 | - The build tool now has a new `gleam deps outdated` command that shows outdated |
|
283 | 283 |
|
284 | 284 | ([Giacomo Cavalieri](https://github.com/giacomocavalieri)) |
285 | 285 |
|
286 | | -- The "inline variable" code action can now trigger when used over the let |
| 286 | +- The "inline variable" code action can now trigger when used over the `let` |
287 | 287 | keyword of a variable to inline. |
288 | 288 | ([Giacomo Cavalieri](https://github.com/giacomocavalieri)) |
289 | 289 |
|
|
435 | 435 | constants. |
436 | 436 | ([Surya Rose](https://github.com/GearsDatapacks)) |
437 | 437 |
|
438 | | -- Fix invalid JavaScript codegen in cases where underscores follow a decimal. |
| 438 | +- Fixed a bug where invalid code would be generated on the JavaScript target in |
| 439 | + cases where an underscore followed the decimal point in a float literal. |
439 | 440 | ([Patrick Dewey](https://github.com/ptdewey)) |
440 | 441 |
|
441 | 442 | - Typos in the error message shown when trying to install a non-existent package |
|
458 | 459 | wrong format, preventing it from being used by Hexdocs search. |
459 | 460 | ([Surya Rose](https://github.com/GearsDatapacks)) |
460 | 461 |
|
461 | | -- Fixed a bug where the collapse nested case would produce invalid code on a |
462 | | - list tail pattern. |
| 462 | +- Fixed a bug where the "collapse nested case" code action would produce invalid |
| 463 | + code on a list tail pattern. |
463 | 464 | ([Matias Carlander](https://github.com/matiascr)) |
| 465 | + |
| 466 | +- Fixed two bugs that made gleam not update the manifest correctly, causing |
| 467 | + it to hit hex for version resolution on every operation and quickly reach |
| 468 | + request limits in large projects. |
| 469 | + ([fruno](https://github.com/fruno-bulax/)) |
0 commit comments