Skip to content

Releases: thefrontside/simulacrum

@simulacrum/github-api-simulator v0.5.4

20 Feb 19:28
6892ff4
Compare
Choose a tag to compare

[0.5.4]

Enhancements

  • e920b0d All existing custom routes, repository and installations endpoints, now return a 404 in cases where there are no associated resources to match the real API functionality.

Bug Fixes

  • 0ba82b7 Change the default simulation helper page to /simulation to avoid the conflict with the default GitHub route at the root, /.

Dependencies

@simulacrum/foundation-simulator v0.3.1

20 Feb 19:27
6892ff4
Compare
Choose a tag to compare

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

@simulacrum/github-api-simulator v0.5.3

07 Feb 22:45
cfb1095
Compare
Choose a tag to compare

[0.5.3]

Bug Fixes

  • e565f7b Possibly breaking We incorrectly used the hosted schema with an Enterprise endpoint. Correcting this to default to the hosted endpoint with the hosted schema. Use apiUrl and apiSchema if there is need to adjust for Enterprise use cases.

@simulacrum/github-api-simulator v0.5.2

04 Feb 04:23
c64e7c2
Compare
Choose a tag to compare

[0.5.2]

Bug Fixes

  • 85816d8 Validate and correct responses with OpenAPI specification for /installation/repositories, /orgs/{org}/repos, /repos/{org}/{repo}/branches, orgs/{org}/installation, and /repos/{owner}/{repo}/installation when passing in initialState.

Dependencies

@simulacrum/foundation-simulator v0.3.0

04 Feb 04:23
c64e7c2
Compare
Choose a tag to compare

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

@simulacrum/github-api-simulator v0.5.1

17 Jan 22:27
3f91c09
Compare
Choose a tag to compare

[0.5.1]

Bug Fixes

  • 2741f00 The bin file was not specified so running with npx directly was broken.

Dependencies

@simulacrum/foundation-simulator v0.2.1

17 Jan 22:27
3f91c09
Compare
Choose a tag to compare

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

@simulacrum/github-api-simulator v0.5.0

15 Jan 23:23
dfb0544
Compare
Choose a tag to compare

[0.5.0]

Enhancements

  • 7d39c71 Rebuilding on top of the foundation simulator to establish a mutable state. Also begin handling REST-based routes.

@simulacrum/foundation-simulator v0.2.0

16 Sep 14:28
57eb23a
Compare
Choose a tag to compare

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

@simulacrum/foundation-simulator v0.1.0

20 Jul 01:29
f4c44e8
Compare
Choose a tag to compare

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