From 5d86e1ee2ed35118bc699caea74c7996aceeed23 Mon Sep 17 00:00:00 2001 From: jbolda Date: Fri, 4 Nov 2022 16:14:11 +0000 Subject: [PATCH] publish new versions --- .changes/async-rules-running.md | 5 ----- examples/nextjs/auth0-react/CHANGELOG.md | 6 ++++++ examples/nextjs/auth0-react/package.json | 4 ++-- examples/nextjs/nextjs-auth0/CHANGELOG.md | 6 ++++++ examples/nextjs/nextjs-auth0/package.json | 4 ++-- integrations/cypress/CHANGELOG.md | 6 ++++++ integrations/cypress/package.json | 2 +- package-lock.json | 2 +- packages/auth0/CHANGELOG.md | 5 +++++ packages/auth0/package.json | 2 +- 10 files changed, 30 insertions(+), 12 deletions(-) delete mode 100644 .changes/async-rules-running.md diff --git a/.changes/async-rules-running.md b/.changes/async-rules-running.md deleted file mode 100644 index 38913609..00000000 --- a/.changes/async-rules-running.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@simulacrum/auth0-simulator': patch ---- - -Async rules were not properly processing and would run as a race condition mutating the `user` and `context` objects. This would mean part of the rule might be applied. This adds some additional wrappers in the rule running to properly handle and `await` on async code. diff --git a/examples/nextjs/auth0-react/CHANGELOG.md b/examples/nextjs/auth0-react/CHANGELOG.md index acba302e..e2bf7b2b 100644 --- a/examples/nextjs/auth0-react/CHANGELOG.md +++ b/examples/nextjs/auth0-react/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[0.1.17] + +- Async rules were not properly processing and would run as a race condition mutating the `user` and `context` objects. This would mean part of the rule might be applied. This adds some additional wrappers in the rule running to properly handle and `await` on async code. + - Bumped due to a bump in @simulacrum/auth0-simulator. + - [013b5db](https://github.com/thefrontside/simulacrum/commit/013b5dbf12d1995efe1fb6fba90b55d3fe05f523) change file on 2022-11-03 + ## \[0.1.16] - export `createAuth0Server` operation for running Auth0 server standalone. diff --git a/examples/nextjs/auth0-react/package.json b/examples/nextjs/auth0-react/package.json index 168e4b3a..4474b739 100644 --- a/examples/nextjs/auth0-react/package.json +++ b/examples/nextjs/auth0-react/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum-examples/nextjs-with-auth0-react", - "version": "0.1.16", + "version": "0.1.17", "private": true, "scripts": { "standup": "npm run sim & npm run dev", @@ -21,7 +21,7 @@ "react-dom": "17.0.2" }, "devDependencies": { - "@simulacrum/auth0-simulator": "0.8.0", + "@simulacrum/auth0-simulator": "0.8.1", "@simulacrum/client": "0.5.4", "@simulacrum/server": "0.6.2", "@types/react": "17.0.37", diff --git a/examples/nextjs/nextjs-auth0/CHANGELOG.md b/examples/nextjs/nextjs-auth0/CHANGELOG.md index 663d3f92..e97bc3cd 100644 --- a/examples/nextjs/nextjs-auth0/CHANGELOG.md +++ b/examples/nextjs/nextjs-auth0/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[0.0.18] + +- Async rules were not properly processing and would run as a race condition mutating the `user` and `context` objects. This would mean part of the rule might be applied. This adds some additional wrappers in the rule running to properly handle and `await` on async code. + - Bumped due to a bump in @simulacrum/auth0-simulator. + - [013b5db](https://github.com/thefrontside/simulacrum/commit/013b5dbf12d1995efe1fb6fba90b55d3fe05f523) change file on 2022-11-03 + ## \[0.0.17] - export `createAuth0Server` operation for running Auth0 server standalone. diff --git a/examples/nextjs/nextjs-auth0/package.json b/examples/nextjs/nextjs-auth0/package.json index b7d15105..4bdbb6b3 100644 --- a/examples/nextjs/nextjs-auth0/package.json +++ b/examples/nextjs/nextjs-auth0/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum-examples/nextjs-with-nextjs-auth0", - "version": "0.0.17", + "version": "0.0.18", "private": true, "scripts": { "standup": "npm run sim & npm run dev", @@ -22,7 +22,7 @@ "react-dom": "17.0.2" }, "devDependencies": { - "@simulacrum/auth0-simulator": "0.8.0", + "@simulacrum/auth0-simulator": "0.8.1", "@simulacrum/client": "0.5.4", "@simulacrum/server": "0.6.2", "@types/react": "17.0.37", diff --git a/integrations/cypress/CHANGELOG.md b/integrations/cypress/CHANGELOG.md index ea40c7f9..8084c694 100644 --- a/integrations/cypress/CHANGELOG.md +++ b/integrations/cypress/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[0.6.7] + +- Async rules were not properly processing and would run as a race condition mutating the `user` and `context` objects. This would mean part of the rule might be applied. This adds some additional wrappers in the rule running to properly handle and `await` on async code. + - Bumped due to a bump in @simulacrum/auth0-simulator. + - [013b5db](https://github.com/thefrontside/simulacrum/commit/013b5dbf12d1995efe1fb6fba90b55d3fe05f523) change file on 2022-11-03 + ## \[0.6.6] - export `createAuth0Server` operation for running Auth0 server standalone. diff --git a/integrations/cypress/package.json b/integrations/cypress/package.json index 86b28679..60bb95d8 100644 --- a/integrations/cypress/package.json +++ b/integrations/cypress/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum/auth0-cypress", - "version": "0.6.6", + "version": "0.6.7", "description": "Cypress simulacrum commands", "main": "dist/support/index.js", "types": "dist/support/index.d.ts", diff --git a/package-lock.json b/package-lock.json index e51d9e49..ebfdef30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12595,7 +12595,7 @@ }, "packages/auth0": { "name": "@simulacrum/auth0-simulator", - "version": "0.8.0", + "version": "0.8.1", "license": "MIT", "dependencies": { "@effection/process": "^2.0.1", diff --git a/packages/auth0/CHANGELOG.md b/packages/auth0/CHANGELOG.md index 4f0f578f..2315d72e 100644 --- a/packages/auth0/CHANGELOG.md +++ b/packages/auth0/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[0.8.1] + +- Async rules were not properly processing and would run as a race condition mutating the `user` and `context` objects. This would mean part of the rule might be applied. This adds some additional wrappers in the rule running to properly handle and `await` on async code. + - [013b5db](https://github.com/thefrontside/simulacrum/commit/013b5dbf12d1995efe1fb6fba90b55d3fe05f523) change file on 2022-11-03 + ## \[0.8.0] - export `createAuth0Server` operation for running Auth0 server standalone. diff --git a/packages/auth0/package.json b/packages/auth0/package.json index 2c7c40f5..17bd7025 100644 --- a/packages/auth0/package.json +++ b/packages/auth0/package.json @@ -1,6 +1,6 @@ { "name": "@simulacrum/auth0-simulator", - "version": "0.8.0", + "version": "0.8.1", "description": "Run local instance of Auth0 API for local development and integration testing", "main": "dist/index.js", "bin": "bin/index.js",