diff --git a/CHANGES.md b/CHANGES.md index cc61c3d..97450a3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,8 @@ All notable changes to this project are documented in this file. ## Overview +- [`0.9.0-alpha2`](#090-alpha2) +- [`0.9.0-alpha1`](#090-alpha1) - [`0.8.0`](#080) - [`0.7.0`](#070) - [`0.6.0`](#060) @@ -17,14 +19,24 @@ All notable changes to this project are documented in this file. - [`0.0.1`](#001) ## upcoming -## 0.9.0 + +## 0.9.0-alpha2 +- 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` and `mlua::Function` to use correct teal syntax + +## 0.9.0-alpha1 - **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 typoe in __sub metamethod -- Make typeinformation available to lua if feature `derive` is set +- **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 diff --git a/Cargo.lock b/Cargo.lock index 221961b..c157bd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -760,7 +760,7 @@ dependencies = [ [[package]] name = "tealr" -version = "0.9.0-alpha1" +version = "0.9.0-alpha2" dependencies = [ "bstr", "itertools", @@ -772,7 +772,7 @@ dependencies = [ [[package]] name = "tealr_derive" -version = "0.9.0-alpha1" +version = "0.9.0-alpha2" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index ce57099..dd06620 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0" name = "tealr" readme = "README.md" repository = "https://github.com/lenscas/tealr/" -version = "0.9.0-alpha1" +version = "0.9.0-alpha2" [workspace] members = [ @@ -52,7 +52,7 @@ itertools = "0.10.3" mlua = {version = "0.8.1", optional = true, default_features = false} rlua = {version = "0.19.2", optional = true, default_features = false} serde = {version = "1.0.136", features = ["derive"]} -tealr_derive = {version = "0.9.0-alpha1", optional = true, path = "./tealr_derive"} +tealr_derive = {version = "0.9.0-alpha2", optional = true, path = "./tealr_derive"} # Rlua tests [[test]] diff --git a/tealr_derive/CHANGES.md b/tealr_derive/CHANGES.md index c8c07a1..7ae7e70 100644 --- a/tealr_derive/CHANGES.md +++ b/tealr_derive/CHANGES.md @@ -3,6 +3,7 @@ All notable changes to this project are documented in this file. ## Overview +- [`0.9.0`](#090) - [`0.8.0`](#080) - [`0.6.0-preview1`](#060-preview1) - [`0.5.1`](#051) diff --git a/tealr_derive/Cargo.toml b/tealr_derive/Cargo.toml index c248268..cc86e9c 100644 --- a/tealr_derive/Cargo.toml +++ b/tealr_derive/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["derive", "macro", "teal", "lua", "tealr"] license = "MIT OR Apache-2.0" name = "tealr_derive" repository = "https://github.com/lenscas/tealr/" -version = "0.9.0-alpha1" +version = "0.9.0-alpha2" [features] compile = ["tempfile"]