From 4b54d91b9c087539c25e9274bedc33dfc37d4324 Mon Sep 17 00:00:00 2001 From: jbolda <2019387+jbolda@users.noreply.github.com> Date: Fri, 13 Sep 2024 14:08:13 +0000 Subject: [PATCH] publish new versions --- .changes/foundation-delay.md | 5 ----- .changes/foundation-sim-logger.md | 5 ----- .changes/foundation-simulator-route-list.md | 5 ----- .changes/serve-json-files.md | 5 ----- package-lock.json | 2 +- packages/foundation/CHANGELOG.md | 12 ++++++++++++ packages/foundation/package.json | 2 +- 7 files changed, 14 insertions(+), 22 deletions(-) delete mode 100644 .changes/foundation-delay.md delete mode 100644 .changes/foundation-sim-logger.md delete mode 100644 .changes/foundation-simulator-route-list.md delete mode 100644 .changes/serve-json-files.md diff --git a/.changes/foundation-delay.md b/.changes/foundation-delay.md deleted file mode 100644 index 48f324f9..00000000 --- a/.changes/foundation-delay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@simulacrum/foundation-simulator": minor:enhance ---- - -Add API to configure a delay of all responses with a set interval. Using this in a simulator would enable a feel closer to a real external endpoint. diff --git a/.changes/foundation-sim-logger.md b/.changes/foundation-sim-logger.md deleted file mode 100644 index 20a89e80..00000000 --- a/.changes/foundation-sim-logger.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@simulacrum/foundation-simulator": minor:feat ---- - -All routes now add a log to the simulation state on every visit. This assists in tracking hits on each simulation route. diff --git a/.changes/foundation-simulator-route-list.md b/.changes/foundation-simulator-route-list.md deleted file mode 100644 index 8b55d4e1..00000000 --- a/.changes/foundation-simulator-route-list.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@simulacrum/foundation-simulator": minor:feat ---- - -To improve transparency and flexibility, we now include a page at the root that lists all of the routes, and the ability to signal which response to return. diff --git a/.changes/serve-json-files.md b/.changes/serve-json-files.md deleted file mode 100644 index 4f69dd30..00000000 --- a/.changes/serve-json-files.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@simulacrum/foundation-simulator": minor:feat ---- - -We now support serving a directly of JSON files through file path routing. Use `serveJsonFiles` to specify the folder which contains the files to serve. diff --git a/package-lock.json b/package-lock.json index 54c04ec6..50246e4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9399,7 +9399,7 @@ }, "packages/foundation": { "name": "@simulacrum/foundation-simulator", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "dependencies": { "ajv-formats": "^3.0.1", diff --git a/packages/foundation/CHANGELOG.md b/packages/foundation/CHANGELOG.md index 8c28dfb8..e6eb40db 100644 --- a/packages/foundation/CHANGELOG.md +++ b/packages/foundation/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[0.2.0] + +### New Features + +- [`ab1c616`](https://github.com/thefrontside/simulacrum/commit/ab1c61663582bed118cecb61ed3321227ad0eb3f) All routes now add a log to the simulation state on every visit. This assists in tracking hits on each simulation route. +- [`ad2dbc9`](https://github.com/thefrontside/simulacrum/commit/ad2dbc97b5068b4662ae8d95f188ae9dac80be0c) To improve transparency and flexibility, we now include a page at the root that lists all of the routes, and the ability to signal which response to return. +- [`f20a3a6`](https://github.com/thefrontside/simulacrum/commit/f20a3a6d69c265683f75005ed3687d6ff5fd6497) ([#283](https://github.com/thefrontside/simulacrum/pull/283)) We now support serving a directly of JSON files through file path routing. Use `serveJsonFiles` to specify the folder which contains the files to serve. + +### Enhancements + +- [`209ffa5`](https://github.com/thefrontside/simulacrum/commit/209ffa55bfd3532b2771e3bfb03ef771d1a05eed) Add API to configure a delay of all responses with a set interval. Using this in a simulator would enable a feel closer to a real external endpoint. + ## \[0.1.0] - [`58ae1d9`](https://github.com/thefrontside/simulacrum/commit/58ae1d9d5719775a7595ec9bbf55b2c015a892bf) This simulator is a base to iteratively build a simulator for use in published simulators in `@simulacrum` scope or custom implementations elsewhere. This includes the components likely to be used in each simulator (server, router, data store) and pieces to enable quickly spinning up a simulator to get started as through an OpenAPI spec. diff --git a/packages/foundation/package.json b/packages/foundation/package.json index 30aced25..b1c2b2fd 100644 --- a/packages/foundation/package.json +++ b/packages/foundation/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum/foundation-simulator", - "version": "0.1.0", + "version": "0.2.0", "description": "Base simulator to build simulators for integration testing.", "author": "Frontside Engineering ", "license": "MIT",