Version Compatibility
Which features are available in which Wyn version.
v1.11.0 (Current)
The Developer Experience Release — enum.to_string(), for i, v in arr, int? optionals, "ha" * 3 string repeat, wyn test cross-platform, wyn fmt, typed arrays, better error messages.
v1.10.0
The Quality Release — zero memory leaks, 2,024x faster string append, 189x faster sort, 49KB binaries.
v1.9.0
- Green thread coroutines (
spawn/await) - Channels (
Task.send/Task.recv/Task.select_2) - I/O event loop (kqueue/epoll)
wyn benchwith statisticswyn doc --htmlwyn fmtcode formatterwyn testtest runnerwyn replinteractive modewyn watchauto-rebuild- Online playground
- Package lockfile (
wyn.lock) - WebSocket and JWT packages
- Source maps (
#linedirectives) Math.checked_add/sub/mulToml.parse/getBcrypt.hash/verifyLog.info/warn/error/debugBase64.encode/decodeRegex_match/replaceArgs.get/hasUuid.v4()--mem-statsflag- PGO support (
--pgo)
v1.7.0
- Generic functions (monomorphization)
- Pattern matching (
match) - Data enums with associated values
- Pipe operator (
|>) - String interpolation (
${expr}) - Package system (
wyn.toml) - 36 official packages
- VS Code extension
- Neovim plugin
- Extension methods on structs
v1.6.0
- Module system (
import) - Visibility (
pub) - Namespace imports
- Multi-file compilation
v1.5.0
- HTTP server (
Http.listen/Http.accept) - SQLite (
Db.open/Db.query) - JSON parsing
- File I/O
- Networking (TCP sockets)
- HashMap and HashSet
v1.4.0
- Structs with methods
- Enums (simple)
- For-in loops
- Array methods (push, pop, map, filter)
v1.3.0
- Float support
- String methods (upper, lower, trim, split, replace)
- Math module
- Error handling (Result type)
v1.2.0
- Functions with return types
- If/else expressions
- While loops
- Constants (
const)
v1.1.0
- Basic types (int, string, bool)
- Variables (
var) - Print/println
- Basic arithmetic
See Also
- What's New in v1.11 — latest release
- Known Limitations — current limitations