Migration Guide

Migration Guide

This guide covers breaking changes between Thorn versions.


Migrating from 0.2 to 0.3

  • Concurrency: Replace async/await patterns with spawn.
  • HTTP: Replace http.get() with built-in reach(). Remove need http.
  • Files: file.open() for directories is now folder.open(). File open is now read().

Migrating from 0.1 to 0.2

  • Classes removed: Replace class with section.
  • Booleans: true/falseon/off.
  • Null: nullvoid.
  • Imports: Replace old import syntax with need.
  • Returns: Replace return with send.