Skip to content

Releases: RobinTail/express-zod-api

v18.6.3

18 May 08:53
Compare
Choose a tag to compare

Fixes

Chores

Full Changelog: v18.6.2...v18.6.3

v19.1.2

16 May 19:09
7a6c010
Compare
Choose a tag to compare

Fixes

Chores

Full Changelog: v19.1.1...v19.1.2

v19.1.1

15 May 22:22
Compare
Choose a tag to compare

Fixes

Full Changelog: v19.1.0...v19.1.1

v19.1.0

14 May 18:04
Compare
Choose a tag to compare

What's Changed

  • Feat: support custom brands handling in Documentation and Integration by @RobinTail in #1750

Full Changelog: v19.0.0...v19.1.0

v19.0.0

13 May 21:48
38e157c
Compare
Choose a tag to compare

Version 19 is for Dime

This version is focused on making express-zod-api a complete zod plugin. In this regard withMeta is removed in favor of the recommended approach on extending zod functionality, which opens up opportunities for new features and simplifies the consumer experience. Another improvement has been made for parsers: they are now applied selectively depending on the type of expected request.

Breaking changes

  • Increased the minimum supported versions:
    • For Node.js: 18.18.0, 20.9.0 or 22.0.0;
    • For zod: 3.23.0;
    • For express: 4.19.2;
    • For express-fileupload and @types/express-fileupload: 1.5.0.
  • Removed the deprecated method withMeta() (see v18.5.0 for details);
  • Removed support for static options by EndpointsFactory::addOptions() (see v18.6.0 for details);
  • Freezed the arrays returned by the methods or exposed by properties of Endpoint and DependsOnMethod;
  • Changed interface for ez.raw(): additional properties should be supplied as its argument, not via .extend();
  • Changed the following config options:
    • The function assigned to server.upload.beforeUpload now accepts request instead of app;
    • The function assigned to server.beforeRouting is now called before parsing too.

Features

  • New configurable level info for built-in logger (higher than debug, but lower than warn);
  • Selective parsers equipped with a child logger.

Migration

Find the migration guide in the Changelog

v18.6.2

12 May 10:54
Compare
Choose a tag to compare

Refactoring

Chores

Full Changelog: v18.6.1...v18.6.2

v18.6.1

11 May 10:46
Compare
Choose a tag to compare
  • Documentation update on using .addOptions with caution.

Full Changelog: v18.6.0...v18.6.1

v18.6.0

11 May 09:07
Compare
Choose a tag to compare

Feature

Chores

Full Changelog: v18.5.2...v18.6.0

v18.5.2

07 May 11:30
Compare
Choose a tag to compare

Changes

Chores

Full Changelog: v18.5.1...v18.5.2

v18.5.1

05 May 22:42
Compare
Choose a tag to compare

Changes

Chores

Full Changelog: v18.5.0...v18.5.1