diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 185851ce4..36588106e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,7 +1,7 @@ { - ".": "5.11.0", - "packages/cli": "5.8.3", - "packages/core": "5.8.0", - "packages/http": "5.8.3", - "packages/http-server": "5.8.3" + ".": "5.11.1", + "packages/cli": "5.9.0", + "packages/core": "5.9.0", + "packages/http": "5.9.0", + "packages/http-server": "5.9.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index ab814509b..095e28754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +## [5.11.1](https://github.com/stainless-api/prism/compare/v5.11.0...v5.11.1) (2024-08-09) + + +### Bug Fixes + +* pin @stoplight/json dep to 3.20.0 ([#1](https://github.com/stainless-api/prism/issues/1)) ([1e7a286](https://github.com/stainless-api/prism/commit/1e7a286ca284aad9d12e0f5784c8e564a23c3e32)) + ## [5.11.0](https://github.com/stoplightio/prism/compare/v5.10.0...v5.11.0) (2024-07-19) diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 653ce60f2..ecf30f5ec 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [5.9.0](https://github.com/stainless-api/prism/compare/v5.8.3...v5.9.0) (2024-08-09) + + +### Features + +* 1813 start using 415 code for invalid content-types instead constantly inferring it ([df475fc](https://github.com/stainless-api/prism/commit/df475fcb67608428c143b3e6a988d95a1ef1fd3e)) +* Allow JSON Schema Faker configuration in specification ([b72dd03](https://github.com/stainless-api/prism/commit/b72dd03e24bea4a7178c824eb0d83c68715f1503)) +* **deps:** bump node from 16 to 18.20 ([#2520](https://github.com/stainless-api/prism/issues/2520)) ([4b175a6](https://github.com/stainless-api/prism/commit/4b175a614a7d1f184863d741c8cbec494b37b57f)) +* **proxy:** add a flag to skip request validation ([71d04c8](https://github.com/stainless-api/prism/commit/71d04c8e19fef64f1354a17e51cf48a0d8b4bee7)) +* STOP-243 - create prism instance with full spec ([#2501](https://github.com/stainless-api/prism/issues/2501)) ([ed41dca](https://github.com/stainless-api/prism/commit/ed41dca89e5ad673f1a0d813b403a44de7e367b2)) +* support circular refs ([#1835](https://github.com/stainless-api/prism/issues/1835)) ([d287dd7](https://github.com/stainless-api/prism/commit/d287dd700c2597c0b20214c8340680dd42e20085)) + + +### Bug Fixes + +* fixed [#1860](https://github.com/stainless-api/prism/issues/1860) performance regression ([fe6345d](https://github.com/stainless-api/prism/commit/fe6345dc8a78dc0a0a30774c0175422c9cc93139)) +* json schema faker fillProperties not working ([#2398](https://github.com/stainless-api/prism/issues/2398)) ([e8acebd](https://github.com/stainless-api/prism/commit/e8acebd430dfe3cfc9db7bda3228256153346488)) +* mock issue resolve for similar templated requests ([#2564](https://github.com/stainless-api/prism/issues/2564)) ([b8e9fd8](https://github.com/stainless-api/prism/commit/b8e9fd815f0f612664b36704e4200d5473875fbe)) +* pin @stoplight/json dep to 3.20.0 ([#1](https://github.com/stainless-api/prism/issues/1)) ([1e7a286](https://github.com/stainless-api/prism/commit/1e7a286ca284aad9d12e0f5784c8e564a23c3e32)) +* update http-spec ([#2037](https://github.com/stainless-api/prism/issues/2037)) ([72d6882](https://github.com/stainless-api/prism/commit/72d6882bc39a673e65b1fc10ff88d3581b838dca)) +* upgrade dependencies and resolve breaking http spec changes ([#2105](https://github.com/stainless-api/prism/issues/2105)) ([ebbc6c1](https://github.com/stainless-api/prism/commit/ebbc6c1546aced8db0f492dd80651d2459c9bae0)) +* upgrade jsrp to 9.2.4 to allow basic auth ([#2279](https://github.com/stainless-api/prism/issues/2279)) ([2148a2b](https://github.com/stainless-api/prism/commit/2148a2bc9c43d2897900ffe5838d7bc76fd8a3d1)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @stoplight/prism-core bumped from 5.8.0 to 5.9.0 + * @stoplight/prism-http bumped from 5.8.2 to 5.9.0 + * @stoplight/prism-http-server bumped from 5.8.2 to 5.9.0 + ## [5.8.3](https://github.com/stoplightio/prism/compare/v5.8.2...v5.8.3) (2024-07-19) diff --git a/packages/cli/package.json b/packages/cli/package.json index c869e5789..5d35ebc64 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@stainless-api/prism-cli", - "version": "5.8.5", + "version": "5.9.0", "author": "Stainless ", "bin": { "prism": "./dist/index.js" @@ -9,9 +9,9 @@ "dependencies": { "@stoplight/json": "3.20.0", "@stoplight/json-schema-ref-parser": "9.2.7", - "@stoplight/prism-core": "5.8.0", - "@stoplight/prism-http": "5.8.2", - "@stoplight/prism-http-server": "5.8.2", + "@stoplight/prism-core": "5.9.0", + "@stoplight/prism-http": "5.9.0", + "@stoplight/prism-http-server": "5.9.0", "@stoplight/types": "14.1.0", "chalk": "^4.1.2", "chokidar": "^3.5.2", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 7d91dfe25..3435d9635 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [5.9.0](https://github.com/stainless-api/prism/compare/v5.8.0...v5.9.0) (2024-08-09) + + +### Features + +* **deps:** bump node from 16 to 18.20 ([#2520](https://github.com/stainless-api/prism/issues/2520)) ([4b175a6](https://github.com/stainless-api/prism/commit/4b175a614a7d1f184863d741c8cbec494b37b57f)) +* **http:** added support to Deprecation header for deprecated operations [#1563](https://github.com/stainless-api/prism/issues/1563) ([1415319](https://github.com/stainless-api/prism/commit/14153193c69bccd960e62bc2b86ec23470d66921)) + ## [5.8.0](https://github.com/stoplightio/prism/compare/v5.7.0...v5.8.0) (2024-04-29) diff --git a/packages/core/package.json b/packages/core/package.json index b7cccf889..60acaf00a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/prism-core", - "version": "5.8.0", + "version": "5.9.0", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "Stoplight ", diff --git a/packages/http-server/CHANGELOG.md b/packages/http-server/CHANGELOG.md index 626a9320a..d15253bef 100644 --- a/packages/http-server/CHANGELOG.md +++ b/packages/http-server/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [5.9.0](https://github.com/stainless-api/prism/compare/v5.8.3...v5.9.0) (2024-08-09) + + +### Features + +* 1813 start using 415 code for invalid content-types instead constantly inferring it ([df475fc](https://github.com/stainless-api/prism/commit/df475fcb67608428c143b3e6a988d95a1ef1fd3e)) +* adds more standard compliant request body handling ([#2260](https://github.com/stainless-api/prism/issues/2260)) ([3b56cb7](https://github.com/stainless-api/prism/commit/3b56cb72f41d106cbcc95bb7c27711a3c05c6298)) +* **deps:** bump node from 16 to 18.20 ([#2520](https://github.com/stainless-api/prism/issues/2520)) ([4b175a6](https://github.com/stainless-api/prism/commit/4b175a614a7d1f184863d741c8cbec494b37b57f)) +* STOP-243 - create prism instance with full spec ([#2501](https://github.com/stainless-api/prism/issues/2501)) ([ed41dca](https://github.com/stainless-api/prism/commit/ed41dca89e5ad673f1a0d813b403a44de7e367b2)) +* support circular refs ([#1835](https://github.com/stainless-api/prism/issues/1835)) ([d287dd7](https://github.com/stainless-api/prism/commit/d287dd700c2597c0b20214c8340680dd42e20085)) + + +### Bug Fixes + +* **http-server:** discard request body if the content-length header i… ([#2103](https://github.com/stainless-api/prism/issues/2103)) ([c172f42](https://github.com/stainless-api/prism/commit/c172f42c89d67c3963eb9962d0550d5126756d34)) +* mock issue resolve for similar templated requests ([#2564](https://github.com/stainless-api/prism/issues/2564)) ([b8e9fd8](https://github.com/stainless-api/prism/commit/b8e9fd815f0f612664b36704e4200d5473875fbe)) +* update http-spec ([#2037](https://github.com/stainless-api/prism/issues/2037)) ([72d6882](https://github.com/stainless-api/prism/commit/72d6882bc39a673e65b1fc10ff88d3581b838dca)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @stoplight/prism-core bumped from ^5.8.0 to ^5.9.0 + * @stoplight/prism-http bumped from ^5.8.3 to ^5.9.0 + ## [5.8.3](https://github.com/stoplightio/prism/compare/v5.8.2...v5.8.3) (2024-07-19) diff --git a/packages/http-server/package.json b/packages/http-server/package.json index efc677fc2..7898c809f 100644 --- a/packages/http-server/package.json +++ b/packages/http-server/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/prism-http-server", - "version": "5.8.3", + "version": "5.9.0", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "Stoplight ", @@ -19,8 +19,8 @@ "access": "public" }, "dependencies": { - "@stoplight/prism-core": "^5.8.0", - "@stoplight/prism-http": "^5.8.3", + "@stoplight/prism-core": "^5.9.0", + "@stoplight/prism-http": "^5.9.0", "@stoplight/types": "^14.1.0", "fast-xml-parser": "^4.2.0", "fp-ts": "^2.11.5", diff --git a/packages/http/CHANGELOG.md b/packages/http/CHANGELOG.md index b89b9ee35..5ebf2297d 100644 --- a/packages/http/CHANGELOG.md +++ b/packages/http/CHANGELOG.md @@ -1,5 +1,51 @@ # Changelog +## [5.9.0](https://github.com/stainless-api/prism/compare/v5.8.3...v5.9.0) (2024-08-09) + + +### Features + +* 1813 start using 415 code for invalid content-types instead constantly inferring it ([df475fc](https://github.com/stainless-api/prism/commit/df475fcb67608428c143b3e6a988d95a1ef1fd3e)) +* adds more standard compliant request body handling ([#2260](https://github.com/stainless-api/prism/issues/2260)) ([3b56cb7](https://github.com/stainless-api/prism/commit/3b56cb72f41d106cbcc95bb7c27711a3c05c6298)) +* Allow JSON Schema Faker configuration in specification ([b72dd03](https://github.com/stainless-api/prism/commit/b72dd03e24bea4a7178c824eb0d83c68715f1503)) +* better validation for optional auth ([#2401](https://github.com/stainless-api/prism/issues/2401)) ([e2d9f0f](https://github.com/stainless-api/prism/commit/e2d9f0f23884c73a8dad371e3497a0956c00ee11)) +* **deps:** bump node from 16 to 18.20 ([#2520](https://github.com/stainless-api/prism/issues/2520)) ([4b175a6](https://github.com/stainless-api/prism/commit/4b175a614a7d1f184863d741c8cbec494b37b57f)) +* **http:** added support to Deprecation header for deprecated operations [#1563](https://github.com/stainless-api/prism/issues/1563) ([1415319](https://github.com/stainless-api/prism/commit/14153193c69bccd960e62bc2b86ec23470d66921)) +* **http:** detect complex schema error, improve error message ([#2327](https://github.com/stainless-api/prism/issues/2327)) ([07af511](https://github.com/stainless-api/prism/commit/07af51120ecb8593bc7c0892bc79f5ad5258a67c)) +* STOP-243 - create prism instance with full spec ([#2501](https://github.com/stainless-api/prism/issues/2501)) ([ed41dca](https://github.com/stainless-api/prism/commit/ed41dca89e5ad673f1a0d813b403a44de7e367b2)) +* support circular refs ([#1835](https://github.com/stainless-api/prism/issues/1835)) ([d287dd7](https://github.com/stainless-api/prism/commit/d287dd700c2597c0b20214c8340680dd42e20085)) + + +### Bug Fixes + +* [#1881](https://github.com/stainless-api/prism/issues/1881) fixed memory leak for validation ([931fc0f](https://github.com/stainless-api/prism/commit/931fc0fe47b4ff4ec58f8ba3369d50f8d1bf47c3)) +* [#1881](https://github.com/stainless-api/prism/issues/1881) fixed memory leak for validation ([bfc258a](https://github.com/stainless-api/prism/commit/bfc258aa98e49c46fa5116ca1e7b49b8a3117ce9)) +* [#1881](https://github.com/stainless-api/prism/issues/1881) fixed memory leak for validation ([1a05283](https://github.com/stainless-api/prism/commit/1a0528365251043d041c487ebeb905a51310e420)) +* [#7839](https://github.com/stainless-api/prism/issues/7839) fixed handling of number with format: double ([e10a1e5](https://github.com/stainless-api/prism/commit/e10a1e54995bd0a0c325412de63041835023f5d5)) +* 1917 fixed handling of example request for invalid requests ([444012b](https://github.com/stainless-api/prism/commit/444012bf1d9675abb2628727d4c5b39de486eb43)) +* another fix for memory leak of schema validation ([ded2a9b](https://github.com/stainless-api/prism/commit/ded2a9b110459b7c15e00115e5a600f6f8cd8438)) +* decode path before matching it ([ed5bce8](https://github.com/stainless-api/prism/commit/ed5bce837fb0cf83d15fb1a085227986f063aee7)) +* **http-negotiator:** [#2381](https://github.com/stainless-api/prism/issues/2381) add additional warn log message ([#2550](https://github.com/stainless-api/prism/issues/2550)) ([64a23fc](https://github.com/stainless-api/prism/commit/64a23fc530ff1e01c186f01e77a5906c0251f394)) +* **http:** add explicit dependency on chalk ([#2263](https://github.com/stainless-api/prism/issues/2263)) ([55b07c9](https://github.com/stainless-api/prism/commit/55b07c98145799faf0aae47a023a34a6e22e714b)) +* json schema faker fillProperties not working ([#2398](https://github.com/stainless-api/prism/issues/2398)) ([e8acebd](https://github.com/stainless-api/prism/commit/e8acebd430dfe3cfc9db7bda3228256153346488)) +* keep encoded value if uri decoding fails. ([#2387](https://github.com/stainless-api/prism/issues/2387)) ([aba9bee](https://github.com/stainless-api/prism/commit/aba9bee0dae442da8364c327bd3d2e560e7de4cc)) +* mock issue resolve for similar templated requests ([#2564](https://github.com/stainless-api/prism/issues/2564)) ([b8e9fd8](https://github.com/stainless-api/prism/commit/b8e9fd815f0f612664b36704e4200d5473875fbe)) +* pin @stoplight/json dep to 3.20.0 ([#1](https://github.com/stainless-api/prism/issues/1)) ([1e7a286](https://github.com/stainless-api/prism/commit/1e7a286ca284aad9d12e0f5784c8e564a23c3e32)) +* readOnly objects in arrays are handled correctly ([#2513](https://github.com/stainless-api/prism/issues/2513)) ([7670236](https://github.com/stainless-api/prism/commit/767023681f481d5e9d8c46203613faa635541eab)) +* remove deprecated usage of parse ([#1959](https://github.com/stainless-api/prism/issues/1959)) ([ea5b445](https://github.com/stainless-api/prism/commit/ea5b44555435424c2743fd3cde9bea75a408c6b8)) +* replace date-time validator with our bug fixed version ([#1856](https://github.com/stainless-api/prism/issues/1856)) ([44186db](https://github.com/stainless-api/prism/commit/44186dbf6eba6ad506fd9f08e473edf891cdbf3c)) +* update http-spec ([#2037](https://github.com/stainless-api/prism/issues/2037)) ([72d6882](https://github.com/stainless-api/prism/commit/72d6882bc39a673e65b1fc10ff88d3581b838dca)) +* upgrade dependencies and resolve breaking http spec changes ([#2105](https://github.com/stainless-api/prism/issues/2105)) ([ebbc6c1](https://github.com/stainless-api/prism/commit/ebbc6c1546aced8db0f492dd80651d2459c9bae0)) +* use proper client call in memory leak tests ([c223192](https://github.com/stainless-api/prism/commit/c223192750c2edde958e43da8bffe639f2672952)) +* validateOutput() when schema contains internal reference ([#2363](https://github.com/stainless-api/prism/issues/2363)) ([8e143e6](https://github.com/stainless-api/prism/commit/8e143e6622bdc8098a5c86c399831a12858612d5)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @stoplight/prism-core bumped from ^5.8.0 to ^5.9.0 + ## [5.8.3](https://github.com/stoplightio/prism/compare/v5.8.2...v5.8.3) (2024-07-19) diff --git a/packages/http/package.json b/packages/http/package.json index 56b682a8a..f82e7d652 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/prism-http", - "version": "5.8.3", + "version": "5.9.0", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "Stoplight ", @@ -22,7 +22,7 @@ "@stoplight/json-schema-merge-allof": "0.7.8", "@stoplight/json-schema-ref-parser": "9.2.7", "@stoplight/json-schema-sampler": "0.3.0", - "@stoplight/prism-core": "^5.8.0", + "@stoplight/prism-core": "^5.9.0", "@stoplight/types": "^14.1.0", "@stoplight/yaml": "^4.2.3", "abstract-logging": "^2.0.1", diff --git a/version.txt b/version.txt index c68d476cc..32447ce31 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -5.11.0 +5.11.1