Skip to content

Latest commit

 

History

History
185 lines (99 loc) · 11 KB

File metadata and controls

185 lines (99 loc) · 11 KB

Changelog

[0.8.0]

Enhancements

  • 3317d15 (#365 by @jbolda) Convert package to ESM only. All LTS are able to import ESM, both from an ESM or CJS context.

Dependencies

  • b0313de (#370 by @jbolda) Workspace deps with pnpm unintentionally expanded the dep range for @simulacrum/foundation-simulator. Clamp it down to only exact range defined.

[0.7.0]

Enhancements

  • fd1d673 (#350 by @jbolda) Upgrades the foundation simulator to starfx@0.16.0 which in turn upgrades to effection@^4. Highly unlikely to be a breaking change, but bumping a minor for safety.

[0.6.4]

[0.6.3]

  • d4f2be5 (#349 by @jbolda) Skip simulator asset minification. Also remove usage of String.raw. This was breaking the /login view in the Auth0 simulator with the way tsdown was escaping the strings.

Dependencies

  • Upgraded to @simulacrum/foundation-simulator@0.6.1

[0.6.2]

Bug Fixes

  • a78fa61 (#341 by @jbolda) Use the extend options and properly pass the extendRouter that will allow the user to add or change route handling. Closes #317.
  • 7c120ed (#315 by @jbolda) Better handle nested owners which previously threw errors, e.g. map() of undefined. Also accept the custom header as used by the @octokit/graphql package.

Dependencies

  • Upgraded to @simulacrum/foundation-simulator@0.6.0
  • 16ceab1 (#337 by @jbolda) Export helpers from foundation simulator for use in dumping data into the stores, such as in the GitHub API simulator.

[0.6.1]

Bug Fixes

  • 356bfdd Fix typesVersion pointing to old directories. Update tsdown.

Dependencies

  • Upgraded to @simulacrum/foundation-simulator@0.5.1

[0.6.0]

Enhancements

  • c52b964 (#322 by @jbolda) POSSIBLY BREAKING: Switch to ESM modules with a dual published CJS option. This was enabled by swapping out lodash for defu to merge OpenAPI specifications.
  • 95bc2cf (#323 by @jbolda) POSSIBLY BREAKING: Update the express v5. If you are using the extended router, you may need to confirm your routes against the express v5 migration guide.
  • 33efe53 (#329 by @jbolda) Add additional TypeScript configure in workspace to further refine type checks. Run tsc in CI for every package.
  • 6b452c3 (#320 by @jbolda) Switch to using tsdown to help build both ESM and CJS versions of the package. This also includes helpers to ensure that the published package has all of the required properties and configuration.

Dependencies

  • Upgraded to @simulacrum/foundation-simulator@0.5.0

[0.5.7]

Bug Fixes

  • dd8a08c Add extensions to all imports including bare /index imports. With an updated version of TypeScript, this allowed a build which correctly added extensions to every relative import improving compatibility with Node and file resolution.

Dependencies

  • Upgraded to @simulacrum/foundation-simulator@0.4.1

[0.5.6]

Dependencies

  • Upgraded to @simulacrum/foundation-simulator@0.4.0

[0.5.5]

Bug Fixes

  • ade6ca6 The /user/memberships/orgs endpoint didn't return data per the schema. Fix and validate.

[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

  • Upgraded to @simulacrum/foundation-simulator@0.3.1

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

[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

  • Upgraded to @simulacrum/foundation-simulator@0.3.0

[0.5.1]

Bug Fixes

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

Dependencies

  • Upgraded to @simulacrum/foundation-simulator@0.2.1

[0.5.0]

Enhancements

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

[0.4.0]

[0.3.3]

  • d38705a(#265) Adding the isArchived and defaultBranchRef as options to return in the query.

[0.3.2]

Bug Fixes

  • 1040a8f(#263) A repository query would fail due to a destructured name. This fixes the reference and adds an additional check for matching nameWithOwner.

[0.3.1]

Dependencies

  • 70eedc3(#260) Bump the version of graphgen to 1.8.1 to support the latest type signature expected from the factory that is passed to the server.

[0.3.0]

  • Allow extenstion of github api simulator with new endpoints and middleware
    • b065a10 Add changeset on 2023-05-05

[0.2.4]

  • Added the description mapping to repositories.
    • ba0046e add the description mapping to Github API simulator (#256) on 2023-03-02

[0.2.3]

  • add repository mock data to github-api-simulator
    • 62e3948 add repository mock data to github-api-simulator (#247) on 2022-12-05

[0.2.2]

  • export World and Factory types
    • 1c70396 export World and Factory types (#245) on 2022-12-01

[0.2.1]

  • Fix path resolution to github api schema
    • 995b6bb Fix path resolution to github api schema (#243) on 2022-11-30

[0.2.0]

  • create the @simulacrum/github-api-simulator package
    • 0eb4ebf add changeset on 2022-11-30