Skip to content

Release "0.6.0" Peach

Choose a tag to compare

@smokingplaya smokingplaya released this 03 Nov 19:29
· 108 commits to production since this release
115a971

🍑 0.6.0 Grape

Huge update adding 4 new libraries and introducing several breaking changes!

New Libraries

  • atomic.webview
  • atomic.i18n
  • atomic.time
  • atomic.benchmark

  • Clear separation between Atomic.Package.Metadata (metadata table located in package.lua) and Atomic.Package (package instance)
  • Added local events (onEnable, onDisable) for the Package class
  • Methods like command, events, listen, etc. now work not only when the package is enabled but also when it’s already running
  • Added distinction for kind = system / library; a library package now has no logic and cannot register anything — it’s just a package providing functions/methods
  • nicename field renamed to title and is now required (Package class)
  • Added icon field to the Package class
  • formatUniversalId method updated
  • Removed methods registerClass, unregisterClass, dettachCommand, etc., from the Package class
  • Rewritten atomic.package.loadMany and atomic.package.load functions
  • Removed atomic field from Atomic.Package (now Atomic.Package.Metadata). Atomic Framework version is now specified in dependencies:
return {
  ...,
  dependencies = {
    atomic = "~0.6.0"
  }
}
  • Fixed data compression for type data in atomic.network
  • Fixed message receiving in atomic.network
  • Added debug print in coroutine.start for errors occurring inside
  • Added global todo() function
  • Fixed return type for atomic.class.new (language server)
  • Breaking change: atomic.class.new no longer accepts a base table as the second argument