Skip to content

Commit

Permalink
publish new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbolda authored and github-actions[bot] committed Sep 13, 2024
1 parent 8f46cd4 commit 4b54d91
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 22 deletions.
5 changes: 0 additions & 5 deletions .changes/foundation-delay.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/foundation-sim-logger.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/foundation-simulator-route-list.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/serve-json-files.md

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions packages/foundation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion packages/foundation/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 4b54d91

Please sign in to comment.