From afd8169e67ad38e1cd86d91b3c5ba8b6d57a337d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 20 May 2024 15:37:01 +0200 Subject: [PATCH] chore(version): v0.2.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- NEWS.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 791cf1c..84b7b92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -291,7 +291,7 @@ dependencies = [ [[package]] name = "trixy" -version = "0.1.1" +version = "0.2.0" dependencies = [ "clap", "convert_case", diff --git a/Cargo.toml b/Cargo.toml index e0921fb..0cd7493 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ [package] name = "trixy" -version = "0.1.1" +version = "0.2.0" edition = "2021" description = "A rust crate used to generate multi-language apis for your application" license = "LGPL-3.0-or-later" diff --git a/NEWS.md b/NEWS.md index 444a0a6..ac2862a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -25,6 +25,49 @@ If not, see . All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## v0.2.0 - 2024-05-20 +#### Bug Fixes +- **(example/main)** Update to use the new result type - (1f0b9c6) - Benedikt Peetz +- **(example/main)** Ignore generated `api.rs` debugging file - (ed4a113) - *soispha* +- **(gitignore)** Don't ignore the `Cargo.lock` file - (c9622c1) - Benedikt Peetz +- **(parser/unchecked/attributes)** Correctly enforce an identifier in `derive` - (4f84605) - Benedikt Peetz +- **(src/parsing)** Remove the extra `error` attribute keyword - (650d577) - Benedikt Peetz +#### Build system +- **(NEWS.md)** Restore separator - (243a89b) - Benedikt Peetz +- **(cog)** Avoid building the project with nix, as this fails - (5f9ef33) - Benedikt Peetz +- **(cog)** Remove wrong toml header - (ecfdb0a) - Benedikt Peetz +- **(cog)** Use new `renew_copyright_header` script - (1984217) - Benedikt Peetz +- **(flake)** Ignore correct changelog file - (477b9e1) - Benedikt Peetz +- **(treewide)** Update - (83ba3b4) - Benedikt Peetz +- **(update.sh)** Don't always perform the expensive `upgrade` - (ee8e860) - Benedikt Peetz +#### Documentation +- **(README)** Mention the binary - (6c64180) - *soispha* +- **(README)** Add - (c787aa2) - *soispha* +- **(c_test)** Add a poc regarding results in c - (7034cf7) - Benedikt Peetz +- **(grammar.pdf)** Regenerate with new landscape ebnf2pdf script - (c6dc9db) - Benedikt Peetz +#### Features +- **(src)** Add real and working support for results - (9000c1d) - Benedikt Peetz +- **(src/macros)** Store allocation location in all stringsThis makes it possible to automatically free the string in the correctway expected by both c and rust.Rust strings can now just be freed by the rust allocator, whilst cstrings are forgotten, so that the c allocator may free them.BREAKING CHANGE: All usage of explicit mentions `std::string::String` in your `handle_cmd` function will need to be replaced by `trixy::types::newtypes::String`. Otherwise these types should provide the same methods. - (2e92028) - Benedikt Peetz +#### Miscellaneous Chores +- **(Cargo.toml)** Add further required metadata - (4d76282) - Benedikt Peetz +- **(Cargo.toml)** Add required metadata - (cc788a9) - Benedikt Peetz +- **(c_test)** Remove the POC - (d1f31c2) - Benedikt Peetz +- **(treewide)** Add missing license headers - (1677f5c) - Benedikt Peetz +- **(treewide)** Renew copyright headers - (447370d) - Benedikt Peetz +- **(version)** v0.1.1 - (601d82d) - Benedikt Peetz +- **(version)** v0.1.0 - (994b3de) - Benedikt Peetz +#### Refactoring +- **(example/main/.cargo/config)** Add a `.toml` extension - (9953b50) - Benedikt Peetz +- **(src/macros/generate/host)** Merge host generation in one module - (0f131c9) - Benedikt Peetz +#### Tests +- **(error_derive)** Init - (7e2cbb4) - Benedikt Peetz +- **(results)** Add a test for results - (e57bd40) - Benedikt Peetz +- **(src/types/newtypes)** Test if a full round-trip works - (7bced94) - Benedikt Peetz +- **(tests)** Update to new String wrapper - (1599631) - Benedikt Peetz +- **(types)** Update to represent a minimal change in the library - (91adaa2) - *soispha* + +- - - + ## v0.1.0 - 2024-05-04