express-zod-api

A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.

MIT License

Downloads
20.4K
Stars
612
Committers
9

Bot releases are hidden (Show)

express-zod-api - v15.3.0

Published by RobinTail 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v15.2.0...v15.3.0

express-zod-api - v15.2.0

Published by RobinTail 10 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v15.1.0...v15.2.0

express-zod-api - v15.1.0

Published by RobinTail 10 months ago

Notice

The distribution becomes ESM first, while remaining dual (CJS support remains). This should not be a breaking change: the right files should be chosen automatically. However, the filenames in dist folder are renamed: for ESM: index.js and index.d.ts, for CJS: index.cjs and index.d.cts.

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v15.0.1...v15.1.0

express-zod-api - v15.0.1

Published by RobinTail 10 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v15.0.0...v15.0.1

express-zod-api - v15.0.0

Published by RobinTail 11 months ago

Version 15 is for Vika

Breaking changes

  • Packages express-fileupload and compression become optional peer dependencies;
  • Methods createServer() and attachRouting() become async;
  • Method createLogger() requires an additional argument;
  • Read the migration guide in Changelog.

Features

  • Supporting any logger having debug(), warn(), info() and error() methods;
    • Package winston is now optional.
  • Supporting any testing framework having a function mocking method for testEndpoint():
    • Both jest and vitest are supported automatically;
    • With most modern Node.js you can also use the integrated node:test module.
  • Introducing module augmentation approach for integrating chosen logger and testing framework.
express-zod-api - v14.2.5

Published by RobinTail 11 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.2.4...v14.2.5

express-zod-api - v14.2.4

Published by RobinTail 11 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.2.3...v14.2.4

express-zod-api - v15.0.0-beta3

Published by RobinTail 11 months ago

Beta release for testing purposes only. Please avoid using it on production.

express-zod-api - v15.0.0-beta2

Published by RobinTail 11 months ago

Beta release for testing purposes only. Please avoid using it on production.

express-zod-api - v15.0.0-beta1

Published by RobinTail 11 months ago

Beta release for testing purposes only. Please avoid using it on production.

express-zod-api - v14.2.3

Published by RobinTail 11 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.2.2...v14.2.3

express-zod-api - v14.2.2

Published by RobinTail 11 months ago

Hotfix: exporting AppConfig and ServerConfig types.

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.2.1...v14.2.2

express-zod-api - v14.2.1

Published by RobinTail 11 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.2.0...v14.2.1

express-zod-api - v14.2.0

Published by RobinTail 12 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.1.0...v14.2.0

express-zod-api - v14.1.0

Published by RobinTail 12 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.0.3...v14.1.0

express-zod-api - v14.0.3

Published by RobinTail 12 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.0.2...v14.0.3

express-zod-api - v14.0.2

Published by RobinTail 12 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.0.1...v14.0.2

express-zod-api - v14.0.2-beta1

Published by RobinTail 12 months ago

For testing purposes only

express-zod-api - v14.0.1

Published by RobinTail 12 months ago

What's Changed

Full Changelog: https://github.com/RobinTail/express-zod-api/compare/v14.0.0...v14.0.1

express-zod-api - v14.0.0

Published by RobinTail about 1 year ago

Please refer to the Changelog for migration guide.

What's Changed

Full Diff: https://github.com/RobinTail/express-zod-api/compare/v12.5.1...v14.0.0