Skip to content

v0.29.0 - Teal support

Choose a tag to compare

@ElhamAryanpur ElhamAryanpur released this 14 Sep 11:36
· 189 commits to main since this release
19d675e

0.29.0 - 2025-09-14

Bug Fixes

  • loading stdlib and globals without exported local folder - (ec622d3)

Documentation

  • updatd documentation for the new import api - (87396b8)

Features

  • teal code can now be loaded and even mixed with normal lua code without additional steps - (6bf04c4)
  • [breaking] removed import as require is now working safely - (bf3feac)
  • teal can now run directly, and script paths are now known during runtime, and debug and jit libraries are now available - (a9edfba)
  • better file IO error delegation from Rust to Lua - (c83c918)
  • now importing for teal and lua works wonderfully with the standard library folder as well - (46f7043)
  • added Teal types - (69bd843)
  • runtime teal checks before runs - (71e76ba)
  • added ability to turn off teal compile checks when running astra - (e2573e3)
  • added teal examples and fixed bugs - (1b7b3fa)

Refactoring

  • moved all the type definition files to their own space - (bfa7fa2)
  • moved teal from global to behind Astra table - (b49be8c)
  • added primitive global Astra function types - (2db0d51)
  • delegated error check of globals, and cleaned up code elsewhere - (e4deeaf)
  • now exports teal libraries too and the export folder standardized - (546d28f)
  • renamed astra_stdlib to astra - (6b34330)
  • moved away from Astra global namespace in favor of importing needed functionality. - (1c54ce2)
  • Astra.dotenv_load moved to global dotenv_load - (1c54ce2)
  • Astra.regex moved to global regex - (1c54ce2)
  • Astra.crypto moved to lib astra.lua.crypto - (1c54ce2)
  • Astra.json moved to lib astra.lua.serializer - (1c54ce2)
  • Astra.database_connect moved to lib astra.lua.database and database_connect renamed to connect - (1c54ce2)
  • Astra.datetime moved to lib astra.lua.datetime - (1c54ce2)
  • Astra.http moved to lib astra.lua.http - (1c54ce2)
  • Astra.io moved to lib astra.lua.io - (1c54ce2)
  • Astra.pubsub and Astra.observable moved to lib astra.lua.stores - (1c54ce2)
  • Astra.new_templating_engine moved to lib astra.lua.jinja2 and new_templating_engine renamed to new_engine - (1c54ce2)
  • Astra.validate_table moved to lib astra.lua.validate_table - (1c54ce2)
  • moved the examples to the new api - (da95232)
  • renamed validate_table to validation as there is plans for more validation options in the future - (da95232)
  • separated the teal type check from teal loader - (f42a72a)
  • consistent api for jinja and database - (fb3733f)

PRs

Full Changelog: v0.28.1...v0.29.0