diff --git a/CHANGELOG.md b/CHANGELOG.md index 095e28754..0410d6d64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -All notable changes to this project will be documented in this file. +:warning: This changelog is deprecated in favor of individual changelogs for each package. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to Semantic Versioning. +For up-to-date changelogs for this repository, see the following: @@ -30,179 +30,88 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), * STOP-243 - create prism instance with full spec ([#2501](https://github.com/stoplightio/prism/issues/2501)) ([ed41dca](https://github.com/stoplightio/prism/commit/ed41dca89e5ad673f1a0d813b403a44de7e367b2)) * support circular refs ([#1835](https://github.com/stoplightio/prism/issues/1835)) ([d287dd7](https://github.com/stoplightio/prism/commit/d287dd700c2597c0b20214c8340680dd42e20085)) +#### [Prism Core](https://github.com/stoplightio/prism/blob/master/packages/core/CHANGELOG.md) -### Bug Fixes +#### [Prism Http Server](https://github.com/stoplightio/prism/blob/master/packages/http-server/CHANGELOG.md) -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([931fc0f](https://github.com/stoplightio/prism/commit/931fc0fe47b4ff4ec58f8ba3369d50f8d1bf47c3)) -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([bfc258a](https://github.com/stoplightio/prism/commit/bfc258aa98e49c46fa5116ca1e7b49b8a3117ce9)) -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([1a05283](https://github.com/stoplightio/prism/commit/1a0528365251043d041c487ebeb905a51310e420)) -* [#7839](https://github.com/stoplightio/prism/issues/7839) fixed handling of number with format: double ([e10a1e5](https://github.com/stoplightio/prism/commit/e10a1e54995bd0a0c325412de63041835023f5d5)) -* 1917 fixed handling of example request for invalid requests ([444012b](https://github.com/stoplightio/prism/commit/444012bf1d9675abb2628727d4c5b39de486eb43)) -* another fix for memory leak of schema validation ([ded2a9b](https://github.com/stoplightio/prism/commit/ded2a9b110459b7c15e00115e5a600f6f8cd8438)) -* **ci:** release please simpler config ([#2489](https://github.com/stoplightio/prism/issues/2489)) ([b6be539](https://github.com/stoplightio/prism/commit/b6be539ff987194fda497d6b08c3671a7beed63f)) -* **ci:** release please with checkout ([#2492](https://github.com/stoplightio/prism/issues/2492)) ([ea378fc](https://github.com/stoplightio/prism/commit/ea378fc9187989b7eea42eb2d2f24e31bacf08a4)) -* **ci:** release please with root ([#2497](https://github.com/stoplightio/prism/issues/2497)) ([6043a9b](https://github.com/stoplightio/prism/commit/6043a9b792c6838acfa3d48c1bfe34ca8b7ba094)) -* **ci:** remove root from release please ([#2494](https://github.com/stoplightio/prism/issues/2494)) ([ad1743e](https://github.com/stoplightio/prism/commit/ad1743ee0387a13c85e5d37628bc2ba1236f83fb)) -* **ci:** STOP-267 add release please manifest ([#2484](https://github.com/stoplightio/prism/issues/2484)) ([82fe01e](https://github.com/stoplightio/prism/commit/82fe01e3a868863ba2854b7a14e8c10666b4f4a3)) -* **ci:** STOP-267 automate release branch creation ([#2479](https://github.com/stoplightio/prism/issues/2479)) ([182e4f9](https://github.com/stoplightio/prism/commit/182e4f96917d4967b9d363657ef65528ce3e33ae)) -* **ci:** STOP-267 improve auto-release config ([#2481](https://github.com/stoplightio/prism/issues/2481)) ([bb29592](https://github.com/stoplightio/prism/commit/bb29592ded13f2ec248236a564b46b6180f5e100)) -* decode path before matching it ([ed5bce8](https://github.com/stoplightio/prism/commit/ed5bce837fb0cf83d15fb1a085227986f063aee7)) -* **deps:** bump sanitize-html for security ([#1828](https://github.com/stoplightio/prism/issues/1828)) ([3fc86f4](https://github.com/stoplightio/prism/commit/3fc86f46fac222ceb4900d1f1d75f85543cf71f7)) -* fixed [#1860](https://github.com/stoplightio/prism/issues/1860) performance regression ([fe6345d](https://github.com/stoplightio/prism/commit/fe6345dc8a78dc0a0a30774c0175422c9cc93139)) -* **http-negotiator:** [#2381](https://github.com/stoplightio/prism/issues/2381) add additional warn log message ([#2550](https://github.com/stoplightio/prism/issues/2550)) ([64a23fc](https://github.com/stoplightio/prism/commit/64a23fc530ff1e01c186f01e77a5906c0251f394)) -* **http-server:** discard request body if the content-length header i… ([#2103](https://github.com/stoplightio/prism/issues/2103)) ([c172f42](https://github.com/stoplightio/prism/commit/c172f42c89d67c3963eb9962d0550d5126756d34)) -* **http:** add explicit dependency on chalk ([#2263](https://github.com/stoplightio/prism/issues/2263)) ([55b07c9](https://github.com/stoplightio/prism/commit/55b07c98145799faf0aae47a023a34a6e22e714b)) -* json schema faker fillProperties not working ([#2398](https://github.com/stoplightio/prism/issues/2398)) ([e8acebd](https://github.com/stoplightio/prism/commit/e8acebd430dfe3cfc9db7bda3228256153346488)) -* keep encoded value if uri decoding fails. ([#2387](https://github.com/stoplightio/prism/issues/2387)) ([aba9bee](https://github.com/stoplightio/prism/commit/aba9bee0dae442da8364c327bd3d2e560e7de4cc)) -* mock issue resolve for similar templated requests ([#2564](https://github.com/stoplightio/prism/issues/2564)) ([b8e9fd8](https://github.com/stoplightio/prism/commit/b8e9fd815f0f612664b36704e4200d5473875fbe)) -* **readme:** npm downloads badge ([#1849](https://github.com/stoplightio/prism/issues/1849)) ([3245a22](https://github.com/stoplightio/prism/commit/3245a22a059145aabf01d790992712405b3fbf11)) -* readOnly objects in arrays are handled correctly ([#2513](https://github.com/stoplightio/prism/issues/2513)) ([7670236](https://github.com/stoplightio/prism/commit/767023681f481d5e9d8c46203613faa635541eab)) -* remove deprecated usage of parse ([#1959](https://github.com/stoplightio/prism/issues/1959)) ([ea5b445](https://github.com/stoplightio/prism/commit/ea5b44555435424c2743fd3cde9bea75a408c6b8)) -* replace date-time validator with our bug fixed version ([#1856](https://github.com/stoplightio/prism/issues/1856)) ([44186db](https://github.com/stoplightio/prism/commit/44186dbf6eba6ad506fd9f08e473edf891cdbf3c)) -* testing circle ci build ([0d2deb0](https://github.com/stoplightio/prism/commit/0d2deb0cee73d73b301b5839103f2f50cbbc880b)) -* update http-spec ([#2037](https://github.com/stoplightio/prism/issues/2037)) ([72d6882](https://github.com/stoplightio/prism/commit/72d6882bc39a673e65b1fc10ff88d3581b838dca)) -* upgrade dependencies and resolve breaking http spec changes ([#2105](https://github.com/stoplightio/prism/issues/2105)) ([ebbc6c1](https://github.com/stoplightio/prism/commit/ebbc6c1546aced8db0f492dd80651d2459c9bae0)) -* upgrade deps to clean up last security vulnerabilities ([#2076](https://github.com/stoplightio/prism/issues/2076)) ([b1ac6f4](https://github.com/stoplightio/prism/commit/b1ac6f4c47a256c653965ebcd66f4693889ae157)) -* upgrade jsrp to 9.2.4 to allow basic auth ([#2279](https://github.com/stoplightio/prism/issues/2279)) ([2148a2b](https://github.com/stoplightio/prism/commit/2148a2bc9c43d2897900ffe5838d7bc76fd8a3d1)) -* use proper client call in memory leak tests ([c223192](https://github.com/stoplightio/prism/commit/c223192750c2edde958e43da8bffe639f2672952)) -* validateOutput() when schema contains internal reference ([#2363](https://github.com/stoplightio/prism/issues/2363)) ([8e143e6](https://github.com/stoplightio/prism/commit/8e143e6622bdc8098a5c86c399831a12858612d5)) - -## [5.10.0](https://github.com/stoplightio/prism/compare/v5.9.0...v5.10.0) (2024-07-02) +#### [Prism Http](https://github.com/stoplightio/prism/blob/master/packages/http/CHANGELOG.md) +The format for this file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to Semantic Versioning. -### Features + -* 1813 start using 415 code for invalid content-types instead constantly inferring it ([df475fc](https://github.com/stoplightio/prism/commit/df475fcb67608428c143b3e6a988d95a1ef1fd3e)) -* adds more standard compliant request body handling ([#2260](https://github.com/stoplightio/prism/issues/2260)) ([3b56cb7](https://github.com/stoplightio/prism/commit/3b56cb72f41d106cbcc95bb7c27711a3c05c6298)) -* Allow JSON Schema Faker configuration in specification ([b72dd03](https://github.com/stoplightio/prism/commit/b72dd03e24bea4a7178c824eb0d83c68715f1503)) -* better validation for optional auth ([#2401](https://github.com/stoplightio/prism/issues/2401)) ([e2d9f0f](https://github.com/stoplightio/prism/commit/e2d9f0f23884c73a8dad371e3497a0956c00ee11)) -* **deps:** bump node from 16 to 18.20 ([#2520](https://github.com/stoplightio/prism/issues/2520)) ([4b175a6](https://github.com/stoplightio/prism/commit/4b175a614a7d1f184863d741c8cbec494b37b57f)) -* **deps:** bump xcode version ([#2522](https://github.com/stoplightio/prism/issues/2522)) ([939f749](https://github.com/stoplightio/prism/commit/939f749100ed2a1d36bf0e62c37190ac192ea209)) -* **http:** added support to Deprecation header for deprecated operations [#1563](https://github.com/stoplightio/prism/issues/1563) ([1415319](https://github.com/stoplightio/prism/commit/14153193c69bccd960e62bc2b86ec23470d66921)) -* **http:** detect complex schema error, improve error message ([#2327](https://github.com/stoplightio/prism/issues/2327)) ([07af511](https://github.com/stoplightio/prism/commit/07af51120ecb8593bc7c0892bc79f5ad5258a67c)) -* **proxy:** add a flag to skip request validation ([71d04c8](https://github.com/stoplightio/prism/commit/71d04c8e19fef64f1354a17e51cf48a0d8b4bee7)) -* STOP-243 - create prism instance with full spec ([#2501](https://github.com/stoplightio/prism/issues/2501)) ([ed41dca](https://github.com/stoplightio/prism/commit/ed41dca89e5ad673f1a0d813b403a44de7e367b2)) -* support circular refs ([#1835](https://github.com/stoplightio/prism/issues/1835)) ([d287dd7](https://github.com/stoplightio/prism/commit/d287dd700c2597c0b20214c8340680dd42e20085)) +## [5.11.1](https://github.com/stoplightio/prism/compare/v5.11.0...v5.11.1) (2024-08-09) ### Bug Fixes -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([931fc0f](https://github.com/stoplightio/prism/commit/931fc0fe47b4ff4ec58f8ba3369d50f8d1bf47c3)) -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([bfc258a](https://github.com/stoplightio/prism/commit/bfc258aa98e49c46fa5116ca1e7b49b8a3117ce9)) -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([1a05283](https://github.com/stoplightio/prism/commit/1a0528365251043d041c487ebeb905a51310e420)) -* [#7839](https://github.com/stoplightio/prism/issues/7839) fixed handling of number with format: double ([e10a1e5](https://github.com/stoplightio/prism/commit/e10a1e54995bd0a0c325412de63041835023f5d5)) -* 1917 fixed handling of example request for invalid requests ([444012b](https://github.com/stoplightio/prism/commit/444012bf1d9675abb2628727d4c5b39de486eb43)) -* another fix for memory leak of schema validation ([ded2a9b](https://github.com/stoplightio/prism/commit/ded2a9b110459b7c15e00115e5a600f6f8cd8438)) -* **ci:** release please simpler config ([#2489](https://github.com/stoplightio/prism/issues/2489)) ([b6be539](https://github.com/stoplightio/prism/commit/b6be539ff987194fda497d6b08c3671a7beed63f)) -* **ci:** release please with checkout ([#2492](https://github.com/stoplightio/prism/issues/2492)) ([ea378fc](https://github.com/stoplightio/prism/commit/ea378fc9187989b7eea42eb2d2f24e31bacf08a4)) -* **ci:** release please with root ([#2497](https://github.com/stoplightio/prism/issues/2497)) ([6043a9b](https://github.com/stoplightio/prism/commit/6043a9b792c6838acfa3d48c1bfe34ca8b7ba094)) -* **ci:** remove root from release please ([#2494](https://github.com/stoplightio/prism/issues/2494)) ([ad1743e](https://github.com/stoplightio/prism/commit/ad1743ee0387a13c85e5d37628bc2ba1236f83fb)) -* **ci:** STOP-267 add release please manifest ([#2484](https://github.com/stoplightio/prism/issues/2484)) ([82fe01e](https://github.com/stoplightio/prism/commit/82fe01e3a868863ba2854b7a14e8c10666b4f4a3)) -* **ci:** STOP-267 automate release branch creation ([#2479](https://github.com/stoplightio/prism/issues/2479)) ([182e4f9](https://github.com/stoplightio/prism/commit/182e4f96917d4967b9d363657ef65528ce3e33ae)) -* **ci:** STOP-267 improve auto-release config ([#2481](https://github.com/stoplightio/prism/issues/2481)) ([bb29592](https://github.com/stoplightio/prism/commit/bb29592ded13f2ec248236a564b46b6180f5e100)) -* decode path before matching it ([ed5bce8](https://github.com/stoplightio/prism/commit/ed5bce837fb0cf83d15fb1a085227986f063aee7)) -* **deps:** bump sanitize-html for security ([#1828](https://github.com/stoplightio/prism/issues/1828)) ([3fc86f4](https://github.com/stoplightio/prism/commit/3fc86f46fac222ceb4900d1f1d75f85543cf71f7)) -* fixed [#1860](https://github.com/stoplightio/prism/issues/1860) performance regression ([fe6345d](https://github.com/stoplightio/prism/commit/fe6345dc8a78dc0a0a30774c0175422c9cc93139)) -* **http-negotiator:** [#2381](https://github.com/stoplightio/prism/issues/2381) add additional warn log message ([#2550](https://github.com/stoplightio/prism/issues/2550)) ([64a23fc](https://github.com/stoplightio/prism/commit/64a23fc530ff1e01c186f01e77a5906c0251f394)) -* **http-server:** discard request body if the content-length header i… ([#2103](https://github.com/stoplightio/prism/issues/2103)) ([c172f42](https://github.com/stoplightio/prism/commit/c172f42c89d67c3963eb9962d0550d5126756d34)) -* **http:** add explicit dependency on chalk ([#2263](https://github.com/stoplightio/prism/issues/2263)) ([55b07c9](https://github.com/stoplightio/prism/commit/55b07c98145799faf0aae47a023a34a6e22e714b)) -* json schema faker fillProperties not working ([#2398](https://github.com/stoplightio/prism/issues/2398)) ([e8acebd](https://github.com/stoplightio/prism/commit/e8acebd430dfe3cfc9db7bda3228256153346488)) -* keep encoded value if uri decoding fails. ([#2387](https://github.com/stoplightio/prism/issues/2387)) ([aba9bee](https://github.com/stoplightio/prism/commit/aba9bee0dae442da8364c327bd3d2e560e7de4cc)) -* **readme:** npm downloads badge ([#1849](https://github.com/stoplightio/prism/issues/1849)) ([3245a22](https://github.com/stoplightio/prism/commit/3245a22a059145aabf01d790992712405b3fbf11)) -* readOnly objects in arrays are handled correctly ([#2513](https://github.com/stoplightio/prism/issues/2513)) ([7670236](https://github.com/stoplightio/prism/commit/767023681f481d5e9d8c46203613faa635541eab)) -* remove deprecated usage of parse ([#1959](https://github.com/stoplightio/prism/issues/1959)) ([ea5b445](https://github.com/stoplightio/prism/commit/ea5b44555435424c2743fd3cde9bea75a408c6b8)) -* replace date-time validator with our bug fixed version ([#1856](https://github.com/stoplightio/prism/issues/1856)) ([44186db](https://github.com/stoplightio/prism/commit/44186dbf6eba6ad506fd9f08e473edf891cdbf3c)) -* testing circle ci build ([0d2deb0](https://github.com/stoplightio/prism/commit/0d2deb0cee73d73b301b5839103f2f50cbbc880b)) -* update http-spec ([#2037](https://github.com/stoplightio/prism/issues/2037)) ([72d6882](https://github.com/stoplightio/prism/commit/72d6882bc39a673e65b1fc10ff88d3581b838dca)) -* upgrade dependencies and resolve breaking http spec changes ([#2105](https://github.com/stoplightio/prism/issues/2105)) ([ebbc6c1](https://github.com/stoplightio/prism/commit/ebbc6c1546aced8db0f492dd80651d2459c9bae0)) -* upgrade deps to clean up last security vulnerabilities ([#2076](https://github.com/stoplightio/prism/issues/2076)) ([b1ac6f4](https://github.com/stoplightio/prism/commit/b1ac6f4c47a256c653965ebcd66f4693889ae157)) -* upgrade jsrp to 9.2.4 to allow basic auth ([#2279](https://github.com/stoplightio/prism/issues/2279)) ([2148a2b](https://github.com/stoplightio/prism/commit/2148a2bc9c43d2897900ffe5838d7bc76fd8a3d1)) -* use proper client call in memory leak tests ([c223192](https://github.com/stoplightio/prism/commit/c223192750c2edde958e43da8bffe639f2672952)) -* validateOutput() when schema contains internal reference ([#2363](https://github.com/stoplightio/prism/issues/2363)) ([8e143e6](https://github.com/stoplightio/prism/commit/8e143e6622bdc8098a5c86c399831a12858612d5)) - -## [5.9.0](https://github.com/stoplightio/prism/compare/v5.8.0...v5.9.0) (2024-04-29) - - -### Features - -* **deps:** bump xcode version ([#2522](https://github.com/stoplightio/prism/issues/2522)) ([939f749](https://github.com/stoplightio/prism/commit/939f749100ed2a1d36bf0e62c37190ac192ea209)) +* version update and bundled_issue changes ([#2577](https://github.com/stoplightio/prism/issues/2577)) ([c4074fa](https://github.com/stoplightio/prism/commit/c4074fa24438079e659061ee32d08464a688c17c)) ## [5.8.0](https://github.com/stoplightio/prism/compare/v5.7.0...v5.8.0) (2024-04-29) - ### Features -* **deps:** bump node from 16 to 18.20 ([#2520](https://github.com/stoplightio/prism/issues/2520)) ([4b175a6](https://github.com/stoplightio/prism/commit/4b175a614a7d1f184863d741c8cbec494b37b57f)) - +- **deps:** bump node from 16 to 18.20 ([#2520](https://github.com/stoplightio/prism/issues/2520)) ([4b175a6](https://github.com/stoplightio/prism/commit/4b175a614a7d1f184863d741c8cbec494b37b57f)) ### Bug Fixes -* readOnly objects in arrays are handled correctly ([#2513](https://github.com/stoplightio/prism/issues/2513)) ([7670236](https://github.com/stoplightio/prism/commit/767023681f481d5e9d8c46203613faa635541eab)) +- readOnly objects in arrays are handled correctly ([#2513](https://github.com/stoplightio/prism/issues/2513)) ([7670236](https://github.com/stoplightio/prism/commit/767023681f481d5e9d8c46203613faa635541eab)) ## [5.7.0](https://github.com/stoplightio/prism/compare/v5.6.0...v5.7.0) (2024-03-22) - ### Features -* STOP-243 - create prism instance with full spec ([#2501](https://github.com/stoplightio/prism/issues/2501)) ([ed41dca](https://github.com/stoplightio/prism/commit/ed41dca89e5ad673f1a0d813b403a44de7e367b2)) +- STOP-243 - create prism instance with full spec ([#2501](https://github.com/stoplightio/prism/issues/2501)) ([ed41dca](https://github.com/stoplightio/prism/commit/ed41dca89e5ad673f1a0d813b403a44de7e367b2)) ## [5.6.0](https://github.com/stoplightio/prism/compare/v5.5.4...v5.6.0) (2024-03-18) This is an inaccurate view of this release. -We are working to add Release Please to manage this and this should be cleaner in the next release. +We are working to add Release Please to manage this and this should be cleaner in the next release. Sorry for the inconvenience. - ### Features -* 1813 start using 415 code for invalid content-types instead constantly inferring it ([df475fc](https://github.com/stoplightio/prism/commit/df475fcb67608428c143b3e6a988d95a1ef1fd3e)) -* adds more standard compliant request body handling ([#2260](https://github.com/stoplightio/prism/issues/2260)) ([3b56cb7](https://github.com/stoplightio/prism/commit/3b56cb72f41d106cbcc95bb7c27711a3c05c6298)) -* Allow JSON Schema Faker configuration in specification ([b72dd03](https://github.com/stoplightio/prism/commit/b72dd03e24bea4a7178c824eb0d83c68715f1503)) -* better validation for optional auth ([#2401](https://github.com/stoplightio/prism/issues/2401)) ([e2d9f0f](https://github.com/stoplightio/prism/commit/e2d9f0f23884c73a8dad371e3497a0956c00ee11)) -* **http:** added support to Deprecation header for deprecated operations [#1563](https://github.com/stoplightio/prism/issues/1563) ([1415319](https://github.com/stoplightio/prism/commit/14153193c69bccd960e62bc2b86ec23470d66921)) -* **http:** detect complex schema error, improve error message ([#2327](https://github.com/stoplightio/prism/issues/2327)) ([07af511](https://github.com/stoplightio/prism/commit/07af51120ecb8593bc7c0892bc79f5ad5258a67c)) -* **proxy:** add a flag to skip request validation ([71d04c8](https://github.com/stoplightio/prism/commit/71d04c8e19fef64f1354a17e51cf48a0d8b4bee7)) -* support circular refs ([#1835](https://github.com/stoplightio/prism/issues/1835)) ([d287dd7](https://github.com/stoplightio/prism/commit/d287dd700c2597c0b20214c8340680dd42e20085)) - +- 1813 start using 415 code for invalid content-types instead constantly inferring it ([df475fc](https://github.com/stoplightio/prism/commit/df475fcb67608428c143b3e6a988d95a1ef1fd3e)) +- adds more standard compliant request body handling ([#2260](https://github.com/stoplightio/prism/issues/2260)) ([3b56cb7](https://github.com/stoplightio/prism/commit/3b56cb72f41d106cbcc95bb7c27711a3c05c6298)) +- Allow JSON Schema Faker configuration in specification ([b72dd03](https://github.com/stoplightio/prism/commit/b72dd03e24bea4a7178c824eb0d83c68715f1503)) +- better validation for optional auth ([#2401](https://github.com/stoplightio/prism/issues/2401)) ([e2d9f0f](https://github.com/stoplightio/prism/commit/e2d9f0f23884c73a8dad371e3497a0956c00ee11)) +- **http:** added support to Deprecation header for deprecated operations [#1563](https://github.com/stoplightio/prism/issues/1563) ([1415319](https://github.com/stoplightio/prism/commit/14153193c69bccd960e62bc2b86ec23470d66921)) +- **http:** detect complex schema error, improve error message ([#2327](https://github.com/stoplightio/prism/issues/2327)) ([07af511](https://github.com/stoplightio/prism/commit/07af51120ecb8593bc7c0892bc79f5ad5258a67c)) +- **proxy:** add a flag to skip request validation ([71d04c8](https://github.com/stoplightio/prism/commit/71d04c8e19fef64f1354a17e51cf48a0d8b4bee7)) +- support circular refs ([#1835](https://github.com/stoplightio/prism/issues/1835)) ([d287dd7](https://github.com/stoplightio/prism/commit/d287dd700c2597c0b20214c8340680dd42e20085)) ### Bug Fixes -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([931fc0f](https://github.com/stoplightio/prism/commit/931fc0fe47b4ff4ec58f8ba3369d50f8d1bf47c3)) -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([bfc258a](https://github.com/stoplightio/prism/commit/bfc258aa98e49c46fa5116ca1e7b49b8a3117ce9)) -* [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([1a05283](https://github.com/stoplightio/prism/commit/1a0528365251043d041c487ebeb905a51310e420)) -* fixed handling of number with format: double ([e10a1e5](https://github.com/stoplightio/prism/commit/e10a1e54995bd0a0c325412de63041835023f5d5)) -* 1917 fixed handling of example request for invalid requests ([444012b](https://github.com/stoplightio/prism/commit/444012bf1d9675abb2628727d4c5b39de486eb43)) -* another fix for memory leak of schema validation ([ded2a9b](https://github.com/stoplightio/prism/commit/ded2a9b110459b7c15e00115e5a600f6f8cd8438)) -* **ci:** release please simpler config ([#2489](https://github.com/stoplightio/prism/issues/2489)) ([b6be539](https://github.com/stoplightio/prism/commit/b6be539ff987194fda497d6b08c3671a7beed63f)) -* **ci:** release please with checkout ([#2492](https://github.com/stoplightio/prism/issues/2492)) ([ea378fc](https://github.com/stoplightio/prism/commit/ea378fc9187989b7eea42eb2d2f24e31bacf08a4)) -* **ci:** release please with root ([#2497](https://github.com/stoplightio/prism/issues/2497)) ([6043a9b](https://github.com/stoplightio/prism/commit/6043a9b792c6838acfa3d48c1bfe34ca8b7ba094)) -* **ci:** remove root from release please ([#2494](https://github.com/stoplightio/prism/issues/2494)) ([ad1743e](https://github.com/stoplightio/prism/commit/ad1743ee0387a13c85e5d37628bc2ba1236f83fb)) -* **ci:** STOP-267 add release please manifest ([#2484](https://github.com/stoplightio/prism/issues/2484)) ([82fe01e](https://github.com/stoplightio/prism/commit/82fe01e3a868863ba2854b7a14e8c10666b4f4a3)) -* **ci:** STOP-267 automate release branch creation ([#2479](https://github.com/stoplightio/prism/issues/2479)) ([182e4f9](https://github.com/stoplightio/prism/commit/182e4f96917d4967b9d363657ef65528ce3e33ae)) -* **ci:** STOP-267 improve auto-release config ([#2481](https://github.com/stoplightio/prism/issues/2481)) ([bb29592](https://github.com/stoplightio/prism/commit/bb29592ded13f2ec248236a564b46b6180f5e100)) -* decode path before matching it ([ed5bce8](https://github.com/stoplightio/prism/commit/ed5bce837fb0cf83d15fb1a085227986f063aee7)) -* **deps:** bump sanitize-html for security ([#1828](https://github.com/stoplightio/prism/issues/1828)) ([3fc86f4](https://github.com/stoplightio/prism/commit/3fc86f46fac222ceb4900d1f1d75f85543cf71f7)) -* fixed [#1860](https://github.com/stoplightio/prism/issues/1860) performance regression ([fe6345d](https://github.com/stoplightio/prism/commit/fe6345dc8a78dc0a0a30774c0175422c9cc93139)) -* **http-server:** discard request body if the content-length header i… ([#2103](https://github.com/stoplightio/prism/issues/2103)) ([c172f42](https://github.com/stoplightio/prism/commit/c172f42c89d67c3963eb9962d0550d5126756d34)) -* **http:** add explicit dependency on chalk ([#2263](https://github.com/stoplightio/prism/issues/2263)) ([55b07c9](https://github.com/stoplightio/prism/commit/55b07c98145799faf0aae47a023a34a6e22e714b)) -* json schema faker fillProperties not working ([#2398](https://github.com/stoplightio/prism/issues/2398)) ([e8acebd](https://github.com/stoplightio/prism/commit/e8acebd430dfe3cfc9db7bda3228256153346488)) -* keep encoded value if uri decoding fails. ([#2387](https://github.com/stoplightio/prism/issues/2387)) ([aba9bee](https://github.com/stoplightio/prism/commit/aba9bee0dae442da8364c327bd3d2e560e7de4cc)) -* **readme:** npm downloads badge ([#1849](https://github.com/stoplightio/prism/issues/1849)) ([3245a22](https://github.com/stoplightio/prism/commit/3245a22a059145aabf01d790992712405b3fbf11)) -* remove deprecated usage of parse ([#1959](https://github.com/stoplightio/prism/issues/1959)) ([ea5b445](https://github.com/stoplightio/prism/commit/ea5b44555435424c2743fd3cde9bea75a408c6b8)) -* replace date-time validator with our bug fixed version ([#1856](https://github.com/stoplightio/prism/issues/1856)) ([44186db](https://github.com/stoplightio/prism/commit/44186dbf6eba6ad506fd9f08e473edf891cdbf3c)) -* testing circle ci build ([0d2deb0](https://github.com/stoplightio/prism/commit/0d2deb0cee73d73b301b5839103f2f50cbbc880b)) -* update http-spec ([#2037](https://github.com/stoplightio/prism/issues/2037)) ([72d6882](https://github.com/stoplightio/prism/commit/72d6882bc39a673e65b1fc10ff88d3581b838dca)) -* upgrade dependencies and resolve breaking http spec changes ([#2105](https://github.com/stoplightio/prism/issues/2105)) ([ebbc6c1](https://github.com/stoplightio/prism/commit/ebbc6c1546aced8db0f492dd80651d2459c9bae0)) -* upgrade deps to clean up last security vulnerabilities ([#2076](https://github.com/stoplightio/prism/issues/2076)) ([b1ac6f4](https://github.com/stoplightio/prism/commit/b1ac6f4c47a256c653965ebcd66f4693889ae157)) -* upgrade jsrp to 9.2.4 to allow basic auth ([#2279](https://github.com/stoplightio/prism/issues/2279)) ([2148a2b](https://github.com/stoplightio/prism/commit/2148a2bc9c43d2897900ffe5838d7bc76fd8a3d1)) -* use proper client call in memory leak tests ([c223192](https://github.com/stoplightio/prism/commit/c223192750c2edde958e43da8bffe639f2672952)) -* validateOutput() when schema contains internal reference ([#2363](https://github.com/stoplightio/prism/issues/2363)) ([8e143e6](https://github.com/stoplightio/prism/commit/8e143e6622bdc8098a5c86c399831a12858612d5)) - - - - - - +- [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([931fc0f](https://github.com/stoplightio/prism/commit/931fc0fe47b4ff4ec58f8ba3369d50f8d1bf47c3)) +- [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([bfc258a](https://github.com/stoplightio/prism/commit/bfc258aa98e49c46fa5116ca1e7b49b8a3117ce9)) +- [#1881](https://github.com/stoplightio/prism/issues/1881) fixed memory leak for validation ([1a05283](https://github.com/stoplightio/prism/commit/1a0528365251043d041c487ebeb905a51310e420)) +- fixed handling of number with format: double ([e10a1e5](https://github.com/stoplightio/prism/commit/e10a1e54995bd0a0c325412de63041835023f5d5)) +- 1917 fixed handling of example request for invalid requests ([444012b](https://github.com/stoplightio/prism/commit/444012bf1d9675abb2628727d4c5b39de486eb43)) +- another fix for memory leak of schema validation ([ded2a9b](https://github.com/stoplightio/prism/commit/ded2a9b110459b7c15e00115e5a600f6f8cd8438)) +- **ci:** release please simpler config ([#2489](https://github.com/stoplightio/prism/issues/2489)) ([b6be539](https://github.com/stoplightio/prism/commit/b6be539ff987194fda497d6b08c3671a7beed63f)) +- **ci:** release please with checkout ([#2492](https://github.com/stoplightio/prism/issues/2492)) ([ea378fc](https://github.com/stoplightio/prism/commit/ea378fc9187989b7eea42eb2d2f24e31bacf08a4)) +- **ci:** release please with root ([#2497](https://github.com/stoplightio/prism/issues/2497)) ([6043a9b](https://github.com/stoplightio/prism/commit/6043a9b792c6838acfa3d48c1bfe34ca8b7ba094)) +- **ci:** remove root from release please ([#2494](https://github.com/stoplightio/prism/issues/2494)) ([ad1743e](https://github.com/stoplightio/prism/commit/ad1743ee0387a13c85e5d37628bc2ba1236f83fb)) +- **ci:** STOP-267 add release please manifest ([#2484](https://github.com/stoplightio/prism/issues/2484)) ([82fe01e](https://github.com/stoplightio/prism/commit/82fe01e3a868863ba2854b7a14e8c10666b4f4a3)) +- **ci:** STOP-267 automate release branch creation ([#2479](https://github.com/stoplightio/prism/issues/2479)) ([182e4f9](https://github.com/stoplightio/prism/commit/182e4f96917d4967b9d363657ef65528ce3e33ae)) +- **ci:** STOP-267 improve auto-release config ([#2481](https://github.com/stoplightio/prism/issues/2481)) ([bb29592](https://github.com/stoplightio/prism/commit/bb29592ded13f2ec248236a564b46b6180f5e100)) +- decode path before matching it ([ed5bce8](https://github.com/stoplightio/prism/commit/ed5bce837fb0cf83d15fb1a085227986f063aee7)) +- **deps:** bump sanitize-html for security ([#1828](https://github.com/stoplightio/prism/issues/1828)) ([3fc86f4](https://github.com/stoplightio/prism/commit/3fc86f46fac222ceb4900d1f1d75f85543cf71f7)) +- fixed [#1860](https://github.com/stoplightio/prism/issues/1860) performance regression ([fe6345d](https://github.com/stoplightio/prism/commit/fe6345dc8a78dc0a0a30774c0175422c9cc93139)) +- **http-server:** discard request body if the content-length header i… ([#2103](https://github.com/stoplightio/prism/issues/2103)) ([c172f42](https://github.com/stoplightio/prism/commit/c172f42c89d67c3963eb9962d0550d5126756d34)) +- **http:** add explicit dependency on chalk ([#2263](https://github.com/stoplightio/prism/issues/2263)) ([55b07c9](https://github.com/stoplightio/prism/commit/55b07c98145799faf0aae47a023a34a6e22e714b)) +- json schema faker fillProperties not working ([#2398](https://github.com/stoplightio/prism/issues/2398)) ([e8acebd](https://github.com/stoplightio/prism/commit/e8acebd430dfe3cfc9db7bda3228256153346488)) +- keep encoded value if uri decoding fails. ([#2387](https://github.com/stoplightio/prism/issues/2387)) ([aba9bee](https://github.com/stoplightio/prism/commit/aba9bee0dae442da8364c327bd3d2e560e7de4cc)) +- **readme:** npm downloads badge ([#1849](https://github.com/stoplightio/prism/issues/1849)) ([3245a22](https://github.com/stoplightio/prism/commit/3245a22a059145aabf01d790992712405b3fbf11)) +- remove deprecated usage of parse ([#1959](https://github.com/stoplightio/prism/issues/1959)) ([ea5b445](https://github.com/stoplightio/prism/commit/ea5b44555435424c2743fd3cde9bea75a408c6b8)) +- replace date-time validator with our bug fixed version ([#1856](https://github.com/stoplightio/prism/issues/1856)) ([44186db](https://github.com/stoplightio/prism/commit/44186dbf6eba6ad506fd9f08e473edf891cdbf3c)) +- testing circle ci build ([0d2deb0](https://github.com/stoplightio/prism/commit/0d2deb0cee73d73b301b5839103f2f50cbbc880b)) +- update http-spec ([#2037](https://github.com/stoplightio/prism/issues/2037)) ([72d6882](https://github.com/stoplightio/prism/commit/72d6882bc39a673e65b1fc10ff88d3581b838dca)) +- upgrade dependencies and resolve breaking http spec changes ([#2105](https://github.com/stoplightio/prism/issues/2105)) ([ebbc6c1](https://github.com/stoplightio/prism/commit/ebbc6c1546aced8db0f492dd80651d2459c9bae0)) +- upgrade deps to clean up last security vulnerabilities ([#2076](https://github.com/stoplightio/prism/issues/2076)) ([b1ac6f4](https://github.com/stoplightio/prism/commit/b1ac6f4c47a256c653965ebcd66f4693889ae157)) +- upgrade jsrp to 9.2.4 to allow basic auth ([#2279](https://github.com/stoplightio/prism/issues/2279)) ([2148a2b](https://github.com/stoplightio/prism/commit/2148a2bc9c43d2897900ffe5838d7bc76fd8a3d1)) +- use proper client call in memory leak tests ([c223192](https://github.com/stoplightio/prism/commit/c223192750c2edde958e43da8bffe639f2672952)) +- validateOutput() when schema contains internal reference ([#2363](https://github.com/stoplightio/prism/issues/2363)) ([8e143e6](https://github.com/stoplightio/prism/commit/8e143e6622bdc8098a5c86c399831a12858612d5)) ## 5.5.4 (2024.02.02) diff --git a/packages/cli/package.json b/packages/cli/package.json index 5d35ebc64..2be286596 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -7,7 +7,7 @@ }, "bugs": "https://github.com/stainless-api/prism/issues", "dependencies": { - "@stoplight/json": "3.20.0", + "@stoplight/json": "3.21.6", "@stoplight/json-schema-ref-parser": "9.2.7", "@stoplight/prism-core": "5.9.0", "@stoplight/prism-http": "5.9.0", diff --git a/packages/http/package.json b/packages/http/package.json index f82e7d652..ce97f4296 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -18,7 +18,7 @@ "dependencies": { "@faker-js/faker": "^6.0.0", "@stoplight/http-spec": "^7.0.3", - "@stoplight/json": "~3.20.0", + "@stoplight/json": "3.21.6", "@stoplight/json-schema-merge-allof": "0.7.8", "@stoplight/json-schema-ref-parser": "9.2.7", "@stoplight/json-schema-sampler": "0.3.0", diff --git a/packages/http/src/mocker/index.ts b/packages/http/src/mocker/index.ts index ff24e2a3f..5093f89ca 100644 --- a/packages/http/src/mocker/index.ts +++ b/packages/http/src/mocker/index.ts @@ -58,7 +58,7 @@ const mock: IPrismComponents { const payloadGenerator: PayloadGenerator = config.dynamic - ? partial(generate, resource, resource['__bundle__']) + ? partial(generate, resource, resource['__bundled__']) : partial(generateStatic, resource); return pipe( diff --git a/yarn.lock b/yarn.lock index 8a7d42fa6..cf863d5c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1165,10 +1165,10 @@ "@types/json-schema" "^7.0.7" json-pointer "^0.6.1" -"@stoplight/json@3.20.0": - version "3.20.0" - resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.20.0.tgz#3acd893c6ed3394ac0a32b383038bd9710a167f9" - integrity sha512-xR5nnO2HSy7hGzchUAv1/p7V94EXwHmpbm5ORim4BQm8w/u1sF2ttIYqDx8BesTLWTybRxLysyDH+QHjpQnQdw== +"@stoplight/json@3.21.6": + version "3.21.6" + resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.21.6.tgz#0053ece24d6b19f372b11591f249ede48514ed5b" + integrity sha512-KGisXfNigoYdWIj1jA4p3IAAIW5YFpU9BdoECdjyDLBbhWGGHzs77e0STSCBmXQ/K3ApxfED2R7mQ79ymjzlvQ== dependencies: "@stoplight/ordered-object-literal" "^1.0.3" "@stoplight/path" "^1.3.2" @@ -1189,18 +1189,6 @@ lodash "^4.17.21" safe-stable-stringify "^1.1" -"@stoplight/json@~3.20.0": - version "3.20.3" - resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.20.3.tgz#b6646e900362866e23532e8c359400f7d3d6dc5e" - integrity sha512-2m+Km6CkEPWj+H+CXxFyQB9+mVK8ifz9izK0UZpz4G1ZBx2Pd2hI+qw24FJ+X3DTYtMPYIeINTOEaTFWOmbRxQ== - dependencies: - "@stoplight/ordered-object-literal" "^1.0.3" - "@stoplight/path" "^1.3.2" - "@stoplight/types" "^13.6.0" - jsonc-parser "~2.2.1" - lodash "^4.17.21" - safe-stable-stringify "^1.1" - "@stoplight/ordered-object-literal@^1.0.1", "@stoplight/ordered-object-literal@^1.0.3": version "1.0.4" resolved "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.4.tgz"