Skip to content

Releases: jcwillox/typebox-x

v1.3.1

04 Nov 03:48
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Invalid value error types in typebox 0.33.16 (1df2a9e)

📦 Build

  • deps: Lock file maintenance (cf2bac5)
  • deps: Lock file maintenance (66ba3aa)
  • deps: Update all non-major dependencies (6639a8b)
  • deps: Update all non-major dependencies (4930943)
  • deps: Update dependency @nestjs/swagger to v8 (68e31f8)
  • deps: Update dependency @types/node to v22 (34c827f)
  • deps: Update node.js to v22 (#10) (9b15cf5)

Full Changelog: v1.3.0...v1.3.1

v1.3.0

11 Sep 05:28
6a93792
Compare
Choose a tag to compare

✨ Features

  • Add LiteralEnum variant for openapi 3.0 compatibility (3fc6916)
  • Add shouldDowngradeSchema to check if downgrade is needed (ff7e5a8)
  • Add downgrade if needed function (9d4131e)
  • Add function for enhancing errors (a225231)
  • Add function to check if schema has ids (fd7736a)
  • Add testing support (473ebf2)
  • nestjs: Include location and param name in validation errors (6a93792)
  • nestjs: Support providing a custom schema transforming function (cefde44)

🐛 Bug Fixes

  • Remove automatic conversion of intersection schemas to composite (dc73d50)

📚 Documentation

  • Add descriptions for all utility variants (077ce54)

♻️ Refactoring

  • Improve and cleanup downgrade schema logic (08da71f)

🚦 Test

  • Add tests for downgrade schema (af40cc3)

📦 Build

  • deps: Update all non-major dependencies (3cef649)
  • deps: Update typebox peer dependency constraints (53142fb)

Full Changelog: v1.2.0...v1.3.0

v1.2.0

28 Jul 13:51
453cf87
Compare
Choose a tag to compare

✨ Features

  • Add required error factory function (8a683d0)
  • Add validation error factory function (a4b8393)
  • Downgrade constants to enums and recurse on unions (c89d36e)
  • Support coercing array path params (1133434)
  • Support disabling response validation (d92982c)
  • Support merging intersection schemas (620af8b)
  • Support setting required schemas (7704688)

🐛 Bug Fixes

  • Return encoded response value on validation error (453cf87)
  • Use 200 for delete responses (8e2eee5)

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

v1.1.0

22 Jul 06:33
f73b2e2
Compare
Choose a tag to compare

✨ Features

  • Add StringEnum utility (ddfd596)
  • Add additional formats (1d9577d)
  • Add original cause to validation error (718c01e)
  • Downgrade json schemas to be openapi 3.0 compatible (d38cfcf)
  • Support create customised request methods with defaults (f73b2e2)
  • Throw cleaner errors from env loader (bcf1133)

Full Changelog: v1.0.3...v1.1.0

v1.0.3

19 Jul 07:59
0f7d7e5
Compare
Choose a tag to compare

🐛 Bug Fixes

Full Changelog: v1.0.2...v1.0.3

v1.0.2

19 Jul 07:35
2e6ecdf
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Avoid esm only validatorjs imports (2e6ecdf)

Full Changelog: v1.0.1...v1.0.2

v1.0.1

19 Jul 07:01
aad5ec5
Compare
Choose a tag to compare

📚 Documentation

Full Changelog: v1.0.0...v1.0.1

v1.0.0

19 Jul 06:47
986a8be
Compare
Choose a tag to compare

✨ Features

  • Add additional kind utils (9f931af)
  • Add env loader (0b0e4de)
  • Add nestjs integration (24f8523)
  • Add nestjs method decorators (661ba94)
  • Add typebox utils (54ad699)
  • formats: Add color-hex format (473ebc4)
  • nestjs: Add extended validation error (629bae6)
  • Strip error with empty path (32b77d2)

🐛 Bug Fixes

  • formats: Improve date-time validation (7f06dad)
  • Unable to extend namespace error (c1714bc)

⚡ Performance

  • Improve validatorjs bundling performance (1315d87)

📚 Documentation

🏗️ Chore

♻️ Refactoring

  • Move formats to top-level (cbe618a)

Full Changelog: ...v1.0.0