Releases: nwrenger/gluer
Releases · nwrenger/gluer
Release 0.5.2
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
andgluer-macros
a lot - ...
Full Changelog: 0.5.1...0.5.2
Release 0.5.1
Changes && Bug Fixes
- ✨ Refactored the main
gluer
crate containing theApi
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
Changes && Bug fixes
- ✨ Refactored and Improved
gluer-macros
by- Switching from saving metadata as
consts
to saving metadata onstructs
via implementing themetadata
function or by creating a struct that implements both themetadata
function and the handler-specific function (when using#[metadata]
) - Updated
extract!
macro accordingly - Improved type inferring system a lot -> simplified it
- Switching from saving metadata as
- ✨ 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
Release 0.4.1
Changes && Bug fixes
- ✨ Added support for generics
- ✨ Added converter attribute
#[meta(...)]
for structs withskip
andinto = String
inputs - 🐛 Fixed
struct
/fn
dependencies being not found with adding a dependencies field tostructs_info
- ✨ Added
fetchApi
helper andapi
namespace to generated typescript code - 🔧 Updated docs accordingly
- ...
Full Changelog: 0.4.0...0.4.1
Release 0.4.0
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!
andmetadata
macros - 🔥 Removed
add_routes!
,gen_ts!
andcached
macros - ✨ Made the crate feature complete with
axum
's types - ...
Full Changelog: 0.3.1...0.4.0
Release 0.3.1
Changes && Bug fixes
- ✨ Made the ordering of the functions and interfaces in the ts file more persistent
- ✨ Replaced
param
andfns!
withcached
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
Changes && Bug fixes
- 🔧 Fixed && Updated docs with current changes
- ✨ Added the
param
andfun!
macro to replace thenot-working
extractor model - 🐛 Fixed bugs where the crate couldn't find
function
andstruct
definitions - ✨ Improved ts parsing by a lot
- ...
Full Changelog: 0.2.1...0.3.0
Release 0.2.1
Release 0.2.0
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