Releases: DZakh/rescript-rest
v2.0.0-rc.6
- Add
Rest.rpc
helper - Refactor the clients usage. Read more on the
Fetch & Client
section in the docs - Updated the
Rest.params
type definition. Useoutput
name instead ofresponse
- Made the library work for the curried mode projects
Full Changelog: v2.0.0-rc.5...v2.0.0-rc.6
v2.0.0-rc.5
Add s.redirect
helper for the response definition.
Full Changelog: v2.0.0-rc.4...v2.0.0-rc.5
v2.0.0-rc.4
Support Raw Body in Next.js handlers
Full Changelog: v2.0.0-rc.3...v2.0.0-rc.4
v2.0.0-rc.3
Add the ability to pass options to the Swr.use
hook
Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3
v2.0.0-rc.2
- Added SWR integration
- Added
Rest.url
helper - Started returning input as an object field in the Fastify handler
Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2
v2.0.0-rc.1
- Renamed
variables
toinput
- Added
RestNextJs
integration MVP
Full Changelog: v1.2.0...v2.0.0-rc.1
v1.2.0
What's Changed
Added ability to set operationId
, tags
, and externalDocs
on route.
Full Changelog: v1.1.0...v1.2.0
v1.1.0
Support ReScript Schema v9. Better validation error messages and enhanced parsing performance.
Full Changelog: v1.0.1...v1.1.0
v1.0.1
Better support for ReScript Schema global Strict mode for unknown keys. Still not perfect, but at least the library works.
Full Changelog: v1.0.0...v1.0.1
v1.0.0
- Revert
rescript-schema
to use8.1.0
version - Remove the ability to have status ranges
- Allow responses with different statuses for the Fastify API
- 2x faster Fastify responses with https://github.com/fastify/fast-json-stringify (this is out of the box, you don't need to do anything)
- Allow to generate OpenAPI from the Fastify app using the
@fastify/swagger
plugging - Add bindings for
@scalar/fastify-api-reference
plugging to hosted OpenAPI
Full Changelog: v0.10.0...v1.0.0