Skip to content

Releases: nwrenger/gluer

Release 0.5.2

03 Aug 01:40
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Added support for enums
  • 🐛 Fixed generics not working -> inferring how many generic arguments will be required for calling the metadata function
  • ✨ Refactored gluer and gluer-macros a lot
  • ...

Full Changelog: 0.5.1...0.5.2

Release 0.5.1

02 Aug 23:39
Compare
Choose a tag to compare

Changes && Bug Fixes

  • ✨ Refactored the main gluer crate containing the Api wrapper
  • ✨ Added custom Error enum for improved and clearer errors
  • ✨ Added support for a custom base url
  • 🔧 Updated docs accrodingly
  • ...

Full Changelog: 0.5.0...0.5.1

Release 0.5.0

02 Aug 04:53
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Refactored and Improved gluer-macros by
    • Switching from saving metadata as consts to saving metadata on structs via implementing the metadata function or by creating a struct that implements both the metadata function and the handler-specific function (when using #[metadata])
    • Updated extract! macro accordingly
    • Improved type inferring system a lot -> simplified it
  • ✨ Added support for multiple and nested generics
  • 🐛 Fixed query params not getting transformed correctly -> added query_str function for that
  • 🔧 Updated docs accordingly

Full Changelog: 0.4.2...0.5.0

Release 0.4.2

31 Jul 16:11
Compare
Choose a tag to compare

Changes && Bug fixes

  • 🚑 Fixed dependencies
  • ...

Full Changelog: 0.4.1...0.4.2

Release 0.4.1

31 Jul 15:54
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Added support for generics
  • ✨ Added converter attribute #[meta(...)] for structs with skip and into = String inputs
  • 🐛 Fixed struct/fn dependencies being not found with adding a dependencies field to structs_info
  • ✨ Added fetchApi helper and api namespace to generated typescript code
  • 🔧 Updated docs accordingly
  • ...

Full Changelog: 0.4.0...0.4.1

Release 0.4.0

30 Jul 21:16
6dfcb7f
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Added Api wrapper (struct and functions) in #1 by @nwrenger
  • 🔥 Removed the whole old way of functioning with a new, more persistent and macro order-independent way
  • 🐛 Fixed the crate not recognizing changes or recognizing cached functions
  • ✨ Added exract! and metadata macros
  • 🔥 Removed add_routes!, gen_ts! and cached macros
  • ✨ Made the crate feature complete with axum's types
  • ...

Full Changelog: 0.3.1...0.4.0

Release 0.3.1

29 Jul 17:20
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Made the ordering of the functions and interfaces in the ts file more persistent
  • ✨ Replaced param and fns! with cached macro
  • ✨ Improved errors
  • 🔧 Changed naming
  • 🔧 Updated docs accordingly to the functionality of the crate
  • ...

Full Changelog: 0.3.0...0.3.1

Release 0.3.0

29 Jul 01:35
Compare
Choose a tag to compare

Changes && Bug fixes

  • 🔧 Fixed && Updated docs with current changes
  • ✨ Added the param and fun! macro to replace the not-working extractor model
  • 🐛 Fixed bugs where the crate couldn't find function and struct definitions
  • ✨ Improved ts parsing by a lot
  • ...

Full Changelog: 0.2.1...0.3.0

Release 0.2.1

28 Jul 18:12
Compare
Choose a tag to compare

Changes && Bug fixes

  • 🔥 Removed unused dependencies
  • ...

Full Changelog: 0.2.0...0.2.1

Release 0.2.0

28 Jul 18:10
Compare
Choose a tag to compare

Changes && Bug fixes

  • ✨ Manually generates the api file now
  • ✨ Added type conversion to ts
  • 🔥 Moved away from the openapi spec
  • 🔧 Made it relatively usable with axum now
  • ...

Full Changelog: 0.1.0...0.2.0