Skip to content

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 bench with statistics
  • wyn doc --html
  • wyn fmt code formatter
  • wyn test test runner
  • wyn repl interactive mode
  • wyn watch auto-rebuild
  • Online playground
  • Package lockfile (wyn.lock)
  • WebSocket and JWT packages
  • Source maps (#line directives)
  • Math.checked_add/sub/mul
  • Toml.parse/get
  • Bcrypt.hash/verify
  • Log.info/warn/error/debug
  • Base64.encode/decode
  • Regex_match/replace
  • Args.get/has
  • Uuid.v4()
  • --mem-stats flag
  • 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

MIT License