diff --git a/.changes/convert-obj-to-prop.md b/.changes/convert-obj-to-prop.md deleted file mode 100644 index e389f356..00000000 --- a/.changes/convert-obj-to-prop.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@simulacrum/foundation-simulator": minor:enhance -"@simulacrum/github-api-simulator": patch:deps ---- - -Export helpers from foundation simulator for use in dumping data into the stores, such as in the GitHub API simulator. diff --git a/.changes/default-bind-host.md b/.changes/default-bind-host.md deleted file mode 100644 index b08f0899..00000000 --- a/.changes/default-bind-host.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@simulacrum/foundation-simulator": minor ---- - -Don't explicitly run simulation on "localhost" as the host parameter. This allows responses when addressed via `::1` (ipv6) and `0.0.0.0` in -ipv4 for example depending on system configuration. Allow the user to instead pass all properties that the Node `http` and `https` expect, including a port and host for cases where explicit control is required. diff --git a/.changes/extend-auth0-gh-router.md b/.changes/extend-auth0-gh-router.md deleted file mode 100644 index e7fe9021..00000000 --- a/.changes/extend-auth0-gh-router.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@simulacrum/auth0-simulator": patch:bug -"@simulacrum/github-api-simulator": patch:bug ---- - -Use the `extend` options and properly pass the `extendRouter` that will allow the user to add or change route handling. Closes #317. diff --git a/.changes/foundation-tasks-and-webhooks.md b/.changes/foundation-tasks-and-webhooks.md deleted file mode 100644 index 3a2b2abd..00000000 --- a/.changes/foundation-tasks-and-webhooks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@simulacrum/foundation-simulator": minor:feat ---- - -Add tasks to handle generic functions that would run in an `effection` scope. This enables the ability to handle webhooks. A webhook is an action that can be triggered directly and makes a `POST` to a specified endpoint, but can also watch and trigger on updates to the store. diff --git a/.changes/gh-api-nested-graphql-handling.md b/.changes/gh-api-nested-graphql-handling.md deleted file mode 100644 index 6b4030b5..00000000 --- a/.changes/gh-api-nested-graphql-handling.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@simulacrum/github-api-simulator": patch:bug ---- - -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. diff --git a/package-lock.json b/package-lock.json index 4f847610..85a4d5ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7352,11 +7352,11 @@ }, "packages/auth0": { "name": "@simulacrum/auth0-simulator", - "version": "0.11.1", + "version": "0.11.2", "license": "MIT", "dependencies": { "@faker-js/faker": "^9.3.0", - "@simulacrum/foundation-simulator": "0.5.1", + "@simulacrum/foundation-simulator": "0.6.0", "assert-ts": "^0.3.4", "base64-url": "^2.3.3", "cookie-session": "^2.1.0", @@ -7384,7 +7384,7 @@ }, "packages/foundation": { "name": "@simulacrum/foundation-simulator", - "version": "0.5.1", + "version": "0.6.0", "license": "MIT", "dependencies": { "ajv-formats": "^3.0.1", @@ -7404,11 +7404,11 @@ }, "packages/github-api": { "name": "@simulacrum/github-api-simulator", - "version": "0.6.1", + "version": "0.6.2", "license": "Apache-2.0", "dependencies": { "@faker-js/faker": "^9.3.0", - "@simulacrum/foundation-simulator": "0.5.1", + "@simulacrum/foundation-simulator": "0.6.0", "assert-ts": "^0.3.4", "graphql": "^16.9.0", "graphql-yoga": "^5.15.1", diff --git a/packages/auth0/CHANGELOG.md b/packages/auth0/CHANGELOG.md index 96c85f42..46ae1d40 100644 --- a/packages/auth0/CHANGELOG.md +++ b/packages/auth0/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[0.11.2] + +### Bug Fixes + +- [`a78fa61`](https://github.com/thefrontside/simulacrum/commit/a78fa610a0d3a5f5f3e15dce739b6c4c6174141e) ([#341](https://github.com/thefrontside/simulacrum/pull/341) by [@jbolda](https://github.com/thefrontside/simulacrum/../../jbolda)) Use the `extend` options and properly pass the `extendRouter` that will allow the user to add or change route handling. Closes #317. + +### Dependencies + +- Upgraded to `@simulacrum/foundation-simulator@0.6.0` + ## \[0.11.1] ### Bug Fixes diff --git a/packages/auth0/package.json b/packages/auth0/package.json index f6bdb694..9438375e 100644 --- a/packages/auth0/package.json +++ b/packages/auth0/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum/auth0-simulator", - "version": "0.11.1", + "version": "0.11.2", "description": "Run local instance of Auth0 API for local development and integration testing", "main": "./dist/index.cjs", "bin": "bin/start.cjs", @@ -40,7 +40,7 @@ }, "homepage": "https://github.com/thefrontside/simulacrum#readme", "dependencies": { - "@simulacrum/foundation-simulator": "0.5.1", + "@simulacrum/foundation-simulator": "0.6.0", "@faker-js/faker": "^9.3.0", "assert-ts": "^0.3.4", "base64-url": "^2.3.3", diff --git a/packages/foundation/CHANGELOG.md b/packages/foundation/CHANGELOG.md index 164230a9..79d07878 100644 --- a/packages/foundation/CHANGELOG.md +++ b/packages/foundation/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## \[0.6.0] + +- [`7dc3615`](https://github.com/thefrontside/simulacrum/commit/7dc36151f5feeb69909800ce5325742541cac642) ([#335](https://github.com/thefrontside/simulacrum/pull/335) by [@cowboyd](https://github.com/thefrontside/simulacrum/../../cowboyd)) Don't explicitly run simulation on "localhost" as the host parameter. This allows responses when addressed via `::1` (ipv6) and `0.0.0.0` in + ipv4 for example depending on system configuration. Allow the user to instead pass all properties that the Node `http` and `https` expect, including a port and host for cases where explicit control is required. + +### New Features + +- [`121b301`](https://github.com/thefrontside/simulacrum/commit/121b3013400cd7387bc62cf122f0ef1ff78b0353) ([#338](https://github.com/thefrontside/simulacrum/pull/338) by [@jbolda](https://github.com/thefrontside/simulacrum/../../jbolda)) Add tasks to handle generic functions that would run in an `effection` scope. This enables the ability to handle webhooks. A webhook is an action that can be triggered directly and makes a `POST` to a specified endpoint, but can also watch and trigger on updates to the store. + +### Dependencies + +- [`16ceab1`](https://github.com/thefrontside/simulacrum/commit/16ceab115b027bbcffb44b4b7becd3869304e8f5) ([#337](https://github.com/thefrontside/simulacrum/pull/337) by [@jbolda](https://github.com/thefrontside/simulacrum/../../jbolda)) Export helpers from foundation simulator for use in dumping data into the stores, such as in the GitHub API simulator. + ## \[0.5.1] ### Bug Fixes diff --git a/packages/foundation/package.json b/packages/foundation/package.json index f5c7e061..595021d1 100644 --- a/packages/foundation/package.json +++ b/packages/foundation/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum/foundation-simulator", - "version": "0.5.1", + "version": "0.6.0", "description": "Base simulator to build simulators for integration testing.", "author": "Frontside Engineering ", "license": "MIT", diff --git a/packages/github-api/CHANGELOG.md b/packages/github-api/CHANGELOG.md index 966fcd8d..dfed1fc7 100644 --- a/packages/github-api/CHANGELOG.md +++ b/packages/github-api/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[0.6.2] + +### Bug Fixes + +- [`a78fa61`](https://github.com/thefrontside/simulacrum/commit/a78fa610a0d3a5f5f3e15dce739b6c4c6174141e) ([#341](https://github.com/thefrontside/simulacrum/pull/341) by [@jbolda](https://github.com/thefrontside/simulacrum/../../jbolda)) Use the `extend` options and properly pass the `extendRouter` that will allow the user to add or change route handling. Closes #317. +- [`7c120ed`](https://github.com/thefrontside/simulacrum/commit/7c120ed2820b11ce3fa3fba7219c890252687e11) ([#315](https://github.com/thefrontside/simulacrum/pull/315) by [@jbolda](https://github.com/thefrontside/simulacrum/../../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`](https://github.com/thefrontside/simulacrum/commit/16ceab115b027bbcffb44b4b7becd3869304e8f5) ([#337](https://github.com/thefrontside/simulacrum/pull/337) by [@jbolda](https://github.com/thefrontside/simulacrum/../../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 diff --git a/packages/github-api/package.json b/packages/github-api/package.json index bf927f81..0a8dd48d 100644 --- a/packages/github-api/package.json +++ b/packages/github-api/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum/github-api-simulator", - "version": "0.6.1", + "version": "0.6.2", "description": "Provides common functionality to frontend app and plugins.", "license": "Apache-2.0", "bugs": { @@ -43,7 +43,7 @@ }, "dependencies": { "@faker-js/faker": "^9.3.0", - "@simulacrum/foundation-simulator": "0.5.1", + "@simulacrum/foundation-simulator": "0.6.0", "assert-ts": "^0.3.4", "graphql": "^16.9.0", "graphql-yoga": "^5.15.1",