Skip to content

Commit 57eb23a

Browse files
authored
Merge pull request #284 from thefrontside/release
Publish New Versions
2 parents 124105c + 18eb8ce commit 57eb23a

8 files changed

+15
-27
lines changed

.changes/foundation-delay.md

-5
This file was deleted.

.changes/foundation-proxy-save.md

-5
This file was deleted.

.changes/foundation-sim-logger.md

-5
This file was deleted.

.changes/foundation-simulator-route-list.md

-5
This file was deleted.

.changes/serve-json-files.md

-5
This file was deleted.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/foundation/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## \[0.2.0]
4+
5+
### New Features
6+
7+
- [`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.
8+
- [`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.
9+
- [`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.
10+
11+
### Enhancements
12+
13+
- [`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.
14+
- [`e9c7fed`](https://github.com/thefrontside/simulacrum/commit/e9c7fed73a2a5fa7ba26c6823dab2aadc48f8ceb) Add option the proxy to real API and save JSON responses in `./src/serve` directory.
15+
316
## \[0.1.0]
417

518
- [`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.

packages/foundation/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@simulacrum/foundation-simulator",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Base simulator to build simulators for integration testing.",
55
"author": "Frontside Engineering <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)