v0.29.0 - Teal support
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_stdlibtoastra- (6b34330) - moved away from Astra global namespace in favor of importing needed functionality. - (1c54ce2)
Astra.dotenv_loadmoved to globaldotenv_load- (1c54ce2)Astra.regexmoved to globalregex- (1c54ce2)Astra.cryptomoved to libastra.lua.crypto- (1c54ce2)Astra.jsonmoved to libastra.lua.serializer- (1c54ce2)Astra.database_connectmoved to libastra.lua.databaseanddatabase_connectrenamed toconnect- (1c54ce2)Astra.datetimemoved to libastra.lua.datetime- (1c54ce2)Astra.httpmoved to libastra.lua.http- (1c54ce2)Astra.iomoved to libastra.lua.io- (1c54ce2)Astra.pubsubandAstra.observablemoved to libastra.lua.stores- (1c54ce2)Astra.new_templating_enginemoved to libastra.lua.jinja2andnew_templating_enginerenamed tonew_engine- (1c54ce2)Astra.validate_tablemoved to libastra.lua.validate_table- (1c54ce2)- moved the examples to the new api - (da95232)
- renamed
validate_tabletovalidationas 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
- Teal support by @ElhamAryanpur in #104
Full Changelog: v0.28.1...v0.29.0