Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 2.0.0 #155

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
# Changelog

## [2.0.0](https://github.com/Coobaha/typed-fastify/compare/v2.2.0...v2.0.0) (2024-03-17)


### ⚠ BREAKING CHANGES

* Better support for json-like input and outputs in the schema
* additionalProperties false by default ([#88](https://github.com/Coobaha/typed-fastify/issues/88))
* jsonify req.body
* bump fastify and fix types
* bump to fastify4
* empty response type should now be typed as never instead of void
* start correctly aliasing refs
* bumping minor version as 0.1.x were published
* make response schema be a map of statuses instead of contents

### Features

* Add --watch support ([#107](https://github.com/Coobaha/typed-fastify/issues/107)) ([72f0107](https://github.com/Coobaha/typed-fastify/commit/72f01071d048446cb4ead3958e71feb915ba0632))
* add AsRouteObj to Service interface ([f03cb41](https://github.com/Coobaha/typed-fastify/commit/f03cb415042b75e43403430fd09f61ba96a821e4))
* add request.routeOptions support ([#82](https://github.com/Coobaha/typed-fastify/issues/82)) ([1a49a6c](https://github.com/Coobaha/typed-fastify/commit/1a49a6cdf02e1afb4dff037286eecdd9b24257ad))
* add typed params inferred from route path ([613ef14](https://github.com/Coobaha/typed-fastify/commit/613ef143f0a741be9456057c1a70877678184d2f))
* allow jsonified variants in response ([e15f273](https://github.com/Coobaha/typed-fastify/commit/e15f27313361b333cc3dad517ded4168d7e36bf0))
* Better support for json-like input and outputs in the schema ([f27e6f8](https://github.com/Coobaha/typed-fastify/commit/f27e6f8e4ebe9a71ce04f9e91c36337b306824a1))
* bump deps ([#153](https://github.com/Coobaha/typed-fastify/issues/153)) ([e8bbe96](https://github.com/Coobaha/typed-fastify/commit/e8bbe96ef6479cfb9d00ea9a9baa2b9fd612d7c4))
* bump deps and expose logger and schema compiler generics from Fastify ([80d209d](https://github.com/Coobaha/typed-fastify/commit/80d209dda1721ee4492a5eff5a05ac07fe76c7e6))
* bump fastify / ts types and better type preHandler ([#61](https://github.com/Coobaha/typed-fastify/issues/61)) ([d7c8dce](https://github.com/Coobaha/typed-fastify/commit/d7c8dce5003f5b1d05819c819060b440c86a6613))
* Remove `undefined` from `Jsonlike` ([#98](https://github.com/Coobaha/typed-fastify/issues/98)) ([eb06e32](https://github.com/Coobaha/typed-fastify/commit/eb06e32d98fdc301cf4438ff2ccd522fdb47e545))
* start correctly aliasing refs ([6e3362d](https://github.com/Coobaha/typed-fastify/commit/6e3362db34819869f2a61aef4ebbad803f77b6f1))
* treat redirect as reply ([519e6ca](https://github.com/Coobaha/typed-fastify/commit/519e6cad45ba780c78f6c0938f75b032b6bf2da1))


### Bug Fixes

* $ref id replacement ([482cbd4](https://github.com/Coobaha/typed-fastify/commit/482cbd4c412f43df015ccb4b9bec09f0e15514eb))
* additionalProperties false by default ([#88](https://github.com/Coobaha/typed-fastify/issues/88)) ([442fabb](https://github.com/Coobaha/typed-fastify/commit/442fabb9c7fd216f188c7dfb1f79f2e04f697b0c))
* allow gen command to accept multiple files ([273d532](https://github.com/Coobaha/typed-fastify/commit/273d532afbad6900264e4d2b362ad590cb3f6e5c))
* bump 📸 ([2aa0ce6](https://github.com/Coobaha/typed-fastify/commit/2aa0ce641cf6fffa1d418715abf4c100f4965698))
* bump all deps ([4c6aca7](https://github.com/Coobaha/typed-fastify/commit/4c6aca7e0c0edcfc25b2e567005a45c0ed98d2b0))
* bump dependencies ([#116](https://github.com/Coobaha/typed-fastify/issues/116)) ([5558aae](https://github.com/Coobaha/typed-fastify/commit/5558aae95d0385a25a478fd8fea4c4f9e5e274cd))
* bump deps ([51019ff](https://github.com/Coobaha/typed-fastify/commit/51019ffc1d57e362f3e07cc48bf3df8d50f0b742))
* bump deps ([584c73e](https://github.com/Coobaha/typed-fastify/commit/584c73ec22311562aa025b8443043c37913506d7))
* bump deps ([#127](https://github.com/Coobaha/typed-fastify/issues/127)) ([1afea0f](https://github.com/Coobaha/typed-fastify/commit/1afea0f9116e7f436bc1bf5db87be33a3d2a24c7))
* bump deps ([#66](https://github.com/Coobaha/typed-fastify/issues/66)) ([03794d2](https://github.com/Coobaha/typed-fastify/commit/03794d2e5e8eca914194dec58bb681e07faa4a04))
* bump deps and update tests ([#78](https://github.com/Coobaha/typed-fastify/issues/78)) ([486dae2](https://github.com/Coobaha/typed-fastify/commit/486dae255fb2f17b0dc1df4dd634b6091501c016))
* bump fastify and fix types ([eab5750](https://github.com/Coobaha/typed-fastify/commit/eab5750d1f30b8e1d414742fe314ff1f800d4b70))
* bump test and fix schema with const tag ([77d5a8b](https://github.com/Coobaha/typed-fastify/commit/77d5a8b57522dc4f2feea38d15aca8529cb3a213))
* bump to fastify4 ([b1e9813](https://github.com/Coobaha/typed-fastify/commit/b1e98132abb660cc0bb7b0d0d905ef252f3b15d0))
* bumping minor version as 0.1.x were published ([bd0d44c](https://github.com/Coobaha/typed-fastify/commit/bd0d44c339265c337c626e05aa5ec01db48b9ac6))
* change Jsonlike behavior for response body to allow both JsonValue and original type ([b8716f6](https://github.com/Coobaha/typed-fastify/commit/b8716f670ceb66b623b7d740697c3991493eef9c))
* fix code after deps bump ([6440479](https://github.com/Coobaha/typed-fastify/commit/64404796f3ba28a407e120e903398dac979d8e64))
* fix schema generator in node v14 ([391d59d](https://github.com/Coobaha/typed-fastify/commit/391d59d8d9e29b079130a7a4c05040ae320d7c5a))
* fix type imports ([6bf1606](https://github.com/Coobaha/typed-fastify/commit/6bf1606e29b9c7c9248e7e0bdd419f44dd5ddb78))
* fix type missmatch ([#57](https://github.com/Coobaha/typed-fastify/issues/57)) ([72e8d9b](https://github.com/Coobaha/typed-fastify/commit/72e8d9b61cad07ff3e39ced44b8b952ce6e5260c))
* include schema option in route declaration ([#149](https://github.com/Coobaha/typed-fastify/issues/149)) ([81dd230](https://github.com/Coobaha/typed-fastify/commit/81dd230e5ad58dea5eb066014e4860cce7ad4f6d))
* jsonify req.body ([636b343](https://github.com/Coobaha/typed-fastify/commit/636b3435428728498a3cc93191861d3471a18eae))
* make response schema be a map of statuses instead of contents ([a8fd0c7](https://github.com/Coobaha/typed-fastify/commit/a8fd0c7e94505dfc33b8e51f4b39851d6ba7b0a4))
* mention TS 4.2 requirement ([fdc39d0](https://github.com/Coobaha/typed-fastify/commit/fdc39d06e584393c941d00655cc5e485ae0dd970))
* move std-env to dependencies from devDependencies ([002b12a](https://github.com/Coobaha/typed-fastify/commit/002b12a028c58e33aba285119c07e397a4bace22))
* Omit then from Reply to correctly infer AsReply return 🎉 ([a2a143c](https://github.com/Coobaha/typed-fastify/commit/a2a143c2d0d9f0ff0dab8eefee49bd1e4380e048))
* release as latest dist-tag ([9517815](https://github.com/Coobaha/typed-fastify/commit/951781514813f1d64f213614c19edcefae29cd92))
* release as latest dist-tag ([37e3541](https://github.com/Coobaha/typed-fastify/commit/37e354104e77e932b815725b5bb3166520899d24))
* rename definitions to namespace ([f887706](https://github.com/Coobaha/typed-fastify/commit/f887706fed340a5943212984b7cdb0d7352f72a6))
* rename namespace to properties ([89da88c](https://github.com/Coobaha/typed-fastify/commit/89da88c49967eaa5c53db88b848f509e31ae172d))
* tweak release action ([e1ce5de](https://github.com/Coobaha/typed-fastify/commit/e1ce5de881310bdcf5254d0e7ccb2317203b752e))
* validate schema without responses and force send to be called ([2ecda87](https://github.com/Coobaha/typed-fastify/commit/2ecda876484c21d1b23e7f0a520d4e015cad5eb9))


### Miscellaneous Chores

* release 2.0.0 ([e6c8cc5](https://github.com/Coobaha/typed-fastify/commit/e6c8cc5118ff356ee45d2b567ece1450c78bb602))

## [2.2.0](https://github.com/Coobaha/typed-fastify/compare/v2.1.4...v2.2.0) (2024-03-17)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@coobaha/typed-fastify",
"description": "opinionated types for fastify",
"version": "2.2.0",
"version": "2.0.0",
"bin": {
"tfs": "bin/gen.bin.js",
"typed-fastify-schema": "bin/gen.bin.js"
Expand Down