Skip to content

Releases: nwrenger/gluer

Release 0.8.2

17 Aug 15:33
Compare
Choose a tag to compare

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

17 Aug 10:57
Compare
Choose a tag to compare

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

16 Aug 16:30
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Removed the route! macro and extended the generate! macro to support a new field syntax which also includes the routes 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

12 Aug 16:09
Compare
Choose a tag to compare

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

09 Aug 18:58
Compare
Choose a tag to compare

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

06 Aug 18:59
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Added support for docstrings
  • ✨ Added the option for more specific paths/dirs to include in the generate! 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
  • 🔧 Updated msrv
  • 🔧 Fixed Features list and How to use in docs
  • 🔧 Updated docs and examples accordingly
  • ...

Full Changelog: 0.7.0...0.7.1

Release 0.7.0

05 Aug 11:04
e62d603
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Reworked Structure for API Building at Compile Time in #2 by @nwrenger
    • Replaced the extract! macro with the route! 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
  • ...

Full Changelog: 0.6.1...0.7.0

Release 0.6.1

04 Aug 15:27
Compare
Choose a tag to compare

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

04 Aug 00:58
Compare
Choose a tag to compare

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

03 Aug 16:16
Compare
Choose a tag to compare

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 in axum::extract::Path
  • 🔧 Updated docs accordingly
  • ...

Full Changelog: 0.5.2...0.5.3