Skip to content

2.0

Compare
Choose a tag to compare
@lptr lptr released this 22 Sep 06:29
· 706 commits to master since this release

Release Notes

Spaghetti has been reworked quite a bit for this release. It should be much simpler and more versatile than before.

Major changes:

  • New command-line tool
  • Support for both AMD and CommonJS packaging, modules are stored in a packaging-agnostic format
  • Constant values are now specified in the module definition, and can only have primitive values
  • Only directly dependent modules' methods are accessible from a module (defined types, enums and constants are available transitively)
  • Lots of documentation
  • Cleaned up the process of creating modules and packaging them into applications
  • structs can have methods

Minor additions:

  • Module bundles can be a directory or a ZIP (similar to how Java handles JARs)
  • The new processSpaghettiResources task works like processResources in JVM plugins
  • ANTLR lexer syntax errors are now reported with the location they happened in, and they fail the build