Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 3.37 KB

CHANGELOG.md

File metadata and controls

47 lines (26 loc) · 3.37 KB

Changelog

[0.4.0]

New Features

  • 774c860 Now allows setting the server as https with a certificate applied in the home directory. Use the protocol to enable the search for the SSL certificate.

[0.3.1]

Enhancements

  • 0ba82b7 Add API to pass in a page route for the default simulation helper page. This allows for those services which define a valid route returned at the root.

Bug Fixes

  • 34ecabd Fix exports in package.json and tsconfig.json with ESM for improved compatibility with pnpm.

[0.3.0]

New Features

  • 07e0560 Based on handler return versus response.status().json() and the new verbose option, log out or return 502 on failed validation of response data based on OpenAPI schema.
  • 07e0560 Add verbose option to enable contextual logging for debugging purposes.

[0.2.1]

Bug Fixes

  • 6a6fc71 Due to upstream dep requirements, the react-redux depends on react-dom. Including it as a dependency to resolve this issue, but we will work to remove it from the dependency chain as that code path is not utilized in this library.

[0.2.0]

New Features

  • ab1c616 All routes now add a log to the simulation state on every visit. This assists in tracking hits on each simulation route.
  • ad2dbc9 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 (#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 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.
  • e9c7fed Add option the proxy to real API and save JSON responses in ./src/serve directory.

[0.1.0]

  • 58ae1d9 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.