Releases: nwrenger/gluer
Releases · nwrenger/gluer
Release 0.8.2
Changes && Bug fixes
- ✨ Added and improved errors of the
#[metadata]
attribute macro on struct attributes - ✨ Added the
#[meta(optional)]
nested attribute - ✨ Added error when using #[meta(skip)]` with other nested attributes
- 🔧 Updated docs accordingly
- ...
Full Changelog: 0.8.1...0.8.2
Release 0.8.1
Changes && Bug fixes
- 🔥 Removed
paths
in macro expansion code - ✨ Improved docs
- 🐛 Fixed default rust type conversion to rust types → numbers
- 🔧 Updated docs accordingly
- ...
Full Changelog: 0.8.0...0.8.1
Release 0.8.0
Changes && Bug fixes
- ✨ Removed the
route!
macro and extended thegenerate!
macro to support a new field syntax which also includes theroutes
field, where you now will be able to define the routes. This was done in #3 by @nwrenger - 🔧 Updated docs accordingly
- 🔧 Extended examples
Full Changelog: 0.7.3...0.8.0
Release 0.7.3
Changes && Bug fixes
- 🐛 Fixed error on serializing empty JSON inputs
- ✨ Made
query_str
function/the query parser optional and only be added to the generated TypeScript file if really needed - ...
Full Changelog: 0.7.2...0.7.3
Release 0.7.2
Changes && Bug fixes
- ✨ Added an error on the
generate!
macro when no routes were found - 🔧 Fixed an error message for more clarity
- ✨ Fixed enum conversion by using now typescript's enums
- ✨ Added docstring support for fields of enums and structs
- 🔧 Updated docs accordingly
- ...
Full Changelog: 0.7.1...0.7.2
0.7.1
Changes && Bug fixes
- ✨ Added support for
docstrings
- ✨ Added the option for more specific
paths
/dirs
to include in thegenerate!
macro by:- Specify one dir/file by e.g. inputting
"src"
(here the root dir) - Specify multiple by e.g. inputting
["dir0", "dir1", "dir2/some.rs"]
- Lastly, you now can also directly point to files
- Specify one dir/file by e.g. inputting
- 🔧 Updated
msrv
- 🔧 Fixed
Features
list andHow to use
in docs - 🔧 Updated docs and examples accordingly
- ...
Full Changelog: 0.7.0...0.7.1
Release 0.7.0
Changes && Bug fixes
- ✨ Reworked Structure for API Building at Compile Time in #2 by @nwrenger
- Replaced the
extract!
macro with theroute!
macro for marking route functions. - Modified the
#[meatada]
attribute to function as a marker without syntactical changes. - Introduced the
generate!
macro to generate the API by analyzing the current project and gathering information from specified markers. - Removed the Api wrapper.
- Converted the main crate into a proc macro crate.
- Remove
gluer-macros
crate
- Replaced the
- ...
Full Changelog: 0.6.1...0.7.0
Release 0.6.1
Changes && Bug fixes
- 🐛 Fixed types not getting converted correctly
- 🔧 Fixed spelling and wording in macro docs
- 🔧 Updated docs to hold more examples with
types
- ...
Full Changelog: 0.6.0...0.6.1
Release 0.6.0
Changes && Bug fixes
- ✨ Added support for types
- ✨ Updated support for proper errors
- ✨ Added
custom = [Type, *]
argument on#[metadata]
for tagging types which are semantically equal (for the macro) as the default rust types as custom - ✨ Refactored main and macro crate big time
- 🔧 Updated docs accordingly
- ...
Full Changelog: 0.5.3...0.6.0
Release 0.5.3
Changes && Bug fixes
- ✨ Added proper support for Tuples by:
- Fixing the old implementation and using now TypeScript's Tuples
- Adding
pathTuple
to conversion to support Tuples inaxum::extract::Path
- 🔧 Updated docs accordingly
- ...
Full Changelog: 0.5.2...0.5.3