Skip to content

Releases: xinkjs/xink

v0.10.1

30 Dec 23:04
Compare
Choose a tag to compare

What's Changed

  • fix: only create tsconfig file if needed (207f0cd)
  • refactor: more efficient validators check (2f25bbe)

Full Changelog: v0.10.0...v0.10.1

v0.10.0

28 Dec 03:07
Compare
Choose a tag to compare
  • feat (breaking): replace fallback and validators exports with default export and HOOKS, respectively (b0199ab)
  • feat: support route hooks (b0199ab)

Full Changelog: v0.9.0...v0.10.0

v0.9.0

08 Dec 22:27
Compare
Choose a tag to compare
  • feat: include helpers with event (489a6c1)
  • feat: support Cloudflare Workers env and ctx (777f147)
  • fix: do not include validators in 405 method response (16ed163)
  • fix: clone request during validation, so the original request body can be accessed if desired (aec1880)

The text and json helpers were already being included in bundles for potential internal use. It was less than two dozen source code lines to also include html and redirect, so you can now access all of them within event instead of needing to do an import.

Full Changelog: v0.8.0...v0.9.0

v0.8.0

26 Nov 14:54
Compare
Choose a tag to compare

Vite v6 is now out of beta, so we're requiring the latest version (6.0.0).

Full Changelog: v0.7.0...v0.8.0

v0.7.0

25 Nov 02:22
Compare
Choose a tag to compare
  • feat: add params as a validator type (0708c3e)
  • feat: allow global typing of event.locals (eef2fd1)
  • fix: validation types (450ad6d)

Full Changelog: v0.6.3...v0.7.0

v0.6.3

13 Nov 13:13
Compare
Choose a tag to compare
  • fix: check validator existence before an instance of its method (ab64520)
  • build: update dependencies (c959892)

Full Changelog: v0.6.2...v0.6.3

v0.6.2

13 Nov 01:09
Compare
Choose a tag to compare

What's Changed

  • fix [breaking]: remove the parse property from validator types (5fea91f)
  • fix: add Validator type (dcb2e25)

Full Changelog: v0.6.1...v0.6.2