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..ca54529a 100644 --- a/packages/foundation/CHANGELOG.md +++ b/packages/foundation/CHANGELOG.md @@ -1,5 +1,13 @@ # 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. + ## \[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",