All notable changes to this project are documented in this file.
0.9.0-alpha2
0.9.0-alpha1
0.8.0
0.7.0
0.6.0
0.6.0-preview1
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.1
0.1.0
0.0.1
- Add support for doc comments to the FromToLua macro
- BREAKING Allow chaining of
.document()
calls - BREAKING Reduce need to manually wrap documentation in Cow
- FromToLua macro also adds method to create enum variants to the enum
- Allow
TypeName
to special case the name when type is instanced as global - Fix missing generics in signature if a generic function is made available as a global rather than used as a parameter/return type
- Fix signature of
rlua::Function
andmlua::Function
to use correct teal syntax
- BREAKING changed location of the derive macros that are specific to either rlua or mlua
- BREAKING updated mlua and rlua
- BREAKING replaced tuple to store fields with Field type
- BREAKING Also have support for C style enums
- BREAKING remove useless 'static constraint for typewalker.
- BREAKING Fix typo in __sub metamethod
- Make type information available to lua if feature
derive
is set - Add support for mlua static userdata fields/functions
- Add way to document available globals
- Improved readme
- Add ability to document the api
- Make types serializable with serde
- BREAKING removed
Direction
- BREAKING used different way to store type info
- Add generic methods/functions
- BREAKING
TypeName::is_external
got replaced byTypeName::get_type_kind
TypeName::collect_children
got added with a default implementation. It is HIGHLY encouraged to implement this if your type is generic.create_generic_rlua!
andcreate_generic_mlua!
got added. These macros help to create placeholder types that act as genericscreate_union_rlua!
andcreate_union_mlua!
got added. These macros help to create types that act as a union to teal.TypeWalker::process_type_inline
got added. This acts similar toTypewalker::process_type
but doesn't put the type in its own child record. Useful when making a module withmlua
- reexport mlua/rlua
- add reexport of the features that rlua/mlua expose
- Add basic support for Mlua
- Make derive macros bit more hygienic (last time I missed some)
- BREAKING rename
UserData
derive macro toRluaUserData
. This is to have good support for Mlua - BREAKING rename
TealDerive
derive macro toRluaTealDerive
. This is to have good support for Mlua - BREAKING
rlua
is now an optional dependency, disabled by default. - Add
MluaUserData
andMluaTealDerive
derive macro's. - Add
mlu
module which contains the structs and traits needed for mlua support. - Add
mlua
andrlua
feature flags
- Fix embed_compiler(Local()) not finding teal if it was installed using --local
- Add support for
metaMethods
- BREAKING Update minimum supported tl version to
0.13.1
- Add support for
integer
type
-
BREAKING mark the generated record types as UserData, this is automatically done when using the derives, limiting the generated types to teal 0.10.0 and higher
-
BREAKING add an abstraction layer between generating types and TealData. This is to support rlua::ToLua and rlua::FromLua
-
BREAKING When generating types make a distinction if it is a lua value to rust, or rust to lua. This is to support rlua::ToLua and rlua::FromLua
-
BREAKING Rename
TypeRepresentation
toTypeName
to better reflect what it about.
- Macro to compile inline teal code at the same time as your rust code
- Macro to embed the teal compiler into your application. Allowing you to execute external teal files as normal lua files.
- wrapper for rlua::Function, so you can better define the types of functions you return/need as a parameter.
- BREAKING Allow the scope of the container type to be either
local
orglobal
- Add some more types that tealr recognizes.
- BREAKING split
TealData
up intoTealData
andTypeRepresentation
- BREAKING change return type of TypeRepresentation::get_type_name to
Cow<'static, str>
(wasString
)
- Fix problems with documentation
- Add derive macro to implement
rlua::UserData
- Implement generation of
.d.tl
files - Improve amount of types that implement
TealrData
- Fist release!