Releases: ecyrbe/zodios
Release v9.3.2
Changelog
All notable changes to this project will be documented in this file.
- fix issue with response plugins not being consistently ordered
Release v9.3.1
Changelog
All notable changes to this project will be documented in this file.
Release v9.3.0
Changelog
All notable changes to this project will be documented in this file.
new hooks:
- https://www.zodios.org/docs/client/react#zodiosuseimmutablequery
- https://www.zodios.org/docs/client/react#zodiosuseimmutableinfinitequery
newimmutable
api flag: - https://www.zodios.org/docs/api/api-definition
You don't need to set the immutable
flag if you use useImmutableQuery
, only if you also want to use your aliased version.
For example without immutable
flag, your alias useSearchUser
will by default resolve to use useMutation
, and when setting it, it will resolve to useImmutableQuery
.
There is for the same purpose a useImmutableInfiniteQuery
to allow you to do infinite queries.
Note there is no alias for infinite queries.
Release v9.2.0
Changelog
All notable changes to this project will be documented in this file.
- new helper to create a single endpoint: #149
Release v9.1.1
Changelog
All notable changes to this project will be documented in this file.
- enable async zod transformations : #146 , thanks to @r0m4n27
Release v9.1.0
Changelog
All notable changes to this project will be documented in this file.
- Improved docs
- improved zodios errors when validating zod schemas
- deprecated asApi, asParameters, asErrors and asCrudApi (they are still there)
- added makeApi, makeParameters, makeErrors, makeCrudApi as these names are more suggestive that you need to use them to create the underlying definitions
Release v9.0.1
Changelog
All notable changes to this project will be documented in this file.
- upgrade internal dev deps
- headers are now allowed to not be declared in the API definition
Release v9.0.0
Changelog
All notable changes to this project will be documented in this file.
- all zodios parameters are now readonly to indicate that zodios doe not change provided inputs
- only breaking change is for @zodios/react library, should be transparent for most users
- all @Zodios libraries will have their major version aligned
Release v8.1.0
Changelog
All notable changes to this project will be documented in this file.
- added api error definition to allow
@zodios/express
to generate full openapi spec
Release v8.0.1
Changelog
All notable changes to this project will be documented in this file.
- fix a really bad bug with compiler taking 100% cpu