Skip to content

Releases: DZakh/rescript-rest

v2.0.0-rc.6

28 Feb 11:55
Compare
Choose a tag to compare
  • Add Rest.rpc helper
  • Refactor the clients usage. Read more on the Fetch & Client section in the docs
  • Updated the Rest.params type definition. Use output name instead of response
  • 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

28 Feb 11:53
Compare
Choose a tag to compare

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

21 Feb 15:52
Compare
Choose a tag to compare

Support Raw Body in Next.js handlers

Full Changelog: v2.0.0-rc.3...v2.0.0-rc.4

v2.0.0-rc.3

21 Feb 09:36
Compare
Choose a tag to compare

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

19 Feb 16:07
Compare
Choose a tag to compare
  • 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

12 Feb 16:43
Compare
Choose a tag to compare
  • Renamed variables to input
  • Added RestNextJs integration MVP

Full Changelog: v1.2.0...v2.0.0-rc.1

v1.2.0

06 Feb 08:04
Compare
Choose a tag to compare

What's Changed

Added ability to set operationId, tags, and externalDocs on route.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

22 Dec 16:06
Compare
Choose a tag to compare

Support ReScript Schema v9. Better validation error messages and enhanced parsing performance.

Full Changelog: v1.0.1...v1.1.0

v1.0.1

22 Nov 13:18
Compare
Choose a tag to compare

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

08 Nov 07:20
Compare
Choose a tag to compare
  • Revert rescript-schema to use 8.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