diff --git a/.changeset/great-swans-hammer.md b/.changeset/great-swans-hammer.md deleted file mode 100644 index e123e05..0000000 --- a/.changeset/great-swans-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"openapi-msw": minor ---- - -Added compilation and exports for CommonJS modules. This makes OpenAPI-MSW usable in projects that still use CommonJS as their module system. diff --git a/.changeset/perfect-pans-pump.md b/.changeset/perfect-pans-pump.md deleted file mode 100644 index 91352e1..0000000 --- a/.changeset/perfect-pans-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"openapi-msw": minor ---- - -Added enhanced typing for the `request` object. Now, `request.json()` and `request.text()` infer their return type from the given OpenAPI request-body content schema. Previously, only `request.json()` has been inferred without considering the content-type. diff --git a/CHANGELOG.md b/CHANGELOG.md index 724f38f..a0e907c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # openapi-msw +## 0.6.0 + +### Minor Changes + +- [#50](https://github.com/christoph-fricke/openapi-msw/pull/50) [`37da681`](https://github.com/christoph-fricke/openapi-msw/commit/37da6814e65105cfc5c38067bdf32ba1c6208d8f) Thanks [@christoph-fricke](https://github.com/christoph-fricke)! - Added compilation and exports for CommonJS modules. This makes OpenAPI-MSW usable in projects that still use CommonJS as their module system. + +- [#52](https://github.com/christoph-fricke/openapi-msw/pull/52) [`88ca9da`](https://github.com/christoph-fricke/openapi-msw/commit/88ca9da973ac0a9d25a3185e1cf05b88722c717d) Thanks [@christoph-fricke](https://github.com/christoph-fricke)! - Added enhanced typing for the `request` object. Now, `request.json()` and `request.text()` infer their return type from the given OpenAPI request-body content schema. Previously, only `request.json()` has been inferred without considering the content-type. + ## 0.5.0 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index 8a2a0d9..098b091 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openapi-msw", - "version": "0.5.0", + "version": "0.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "openapi-msw", - "version": "0.5.0", + "version": "0.6.0", "license": "MIT", "dependencies": { "openapi-typescript-helpers": "^0.0.8" diff --git a/package.json b/package.json index 608d480..fcafbd1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/package.json", "name": "openapi-msw", "type": "module", - "version": "0.5.0", + "version": "0.6.0", "license": "MIT", "author": "Christoph Fricke ", "description": "Tiny, type-safe wrapper around MSW for type inference from OpenAPI schemas.",