Wyn v1.8 is here. This release focused on stability, developer experience, and making the language feel polished enough to ship real software.
Compiler fixes
Over 25 bugs fixed in this release cycle:
- Float + int auto-promotion —
3.14 + 1just works - Enum match with bare variants —
match c { Red => ... }resolves correctly - Anonymous closure capture — lambdas passed as arguments capture enclosing variables
- Impl method return types —
var c = a.add(b)infers the correct struct type - Spawn with typed parameters — arrays, structs, and strings pass correctly to green threads
- Array sort fix — was corrupting values due to 32/64-bit mismatch
- File.read on missing files — returns empty string instead of crashing
New: Color module
wyn
println(Color.bold("=== My App ==="))
println(Color.red("Error: not found"))
println(Color.green("Success!"))10 functions: red, green, yellow, blue, cyan, magenta, gray, bold, dim, underline. All return strings, so they compose naturally.
Tooling improvements
wyn buildreads wyn.toml — justwyn buildfrom your project rootwyn new --api— REST API template with SQLitewyn new --web— web app template with HTML + APIwyn new --cli— CLI tool template with arg parsingwyn fmt— code formatter with=spacing normalization- Error messages —
Error at line N: Unexpected token 'X'
Ecosystem
- 40 sample apps (all with
wyn.toml+ tests) - 19 packages published to pkg.wynlang.com
- 58 site doc pages
- 9 playground examples with autocomplete
- VS Code and Neovim plugins updated
What's next for 1.9
- LSP go-to-definition
Ok(x)/Err(msg)sugar (shorter Result types)- Multiline strings
- Cross-platform CI
- Mobile targets (iOS/Android webview)
Install: curl -fsSL https://wynlang.com/install.sh | sh