Version Compatibility
Which features are available in which Wyn version.
v1.8.0 (Current)
- 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) - 28 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