From 208a50baca375b704be6aaaa6d44623a9e340cec Mon Sep 17 00:00:00 2001 From: Iku-turso Date: Mon, 23 Oct 2023 11:17:00 +0300 Subject: [PATCH] chore(release): v18.0.0 --- CHANGELOG.md | 19 ++ lerna.json | 2 +- package-lock.json | 252 +++++++++--------- packages/fp/CHANGELOG.md | 6 + packages/fp/package.json | 8 +- packages/generable/CHANGELOG.md | 4 + packages/generable/package.json | 10 +- .../infrastructure/babel-for-js/CHANGELOG.md | 4 + .../infrastructure/babel-for-js/package.json | 2 +- .../infrastructure/babel-for-ts/CHANGELOG.md | 4 + .../infrastructure/babel-for-ts/package.json | 2 +- packages/infrastructure/jest/CHANGELOG.md | 4 + packages/infrastructure/jest/package.json | 2 +- packages/infrastructure/prettier/CHANGELOG.md | 4 + packages/infrastructure/prettier/package.json | 2 +- .../infrastructure/typescript/CHANGELOG.md | 4 + .../infrastructure/typescript/package.json | 2 +- .../webpack-for-js/CHANGELOG.md | 4 + .../webpack-for-js/package.json | 4 +- .../webpack-for-ts/CHANGELOG.md | 4 + .../webpack-for-ts/package.json | 6 +- packages/injectable/core/CHANGELOG.md | 17 ++ packages/injectable/core/package-lock.json | 2 +- packages/injectable/core/package.json | 12 +- .../CHANGELOG.md | 4 + .../package-lock.json | 2 +- .../package.json | 14 +- .../CHANGELOG.md | 4 + .../package-lock.json | 2 +- .../package.json | 14 +- .../extension-for-mobx/CHANGELOG.md | 16 ++ .../extension-for-mobx/package-lock.json | 2 +- .../extension-for-mobx/package.json | 14 +- packages/injectable/react/CHANGELOG.md | 4 + packages/injectable/react/package-lock.json | 2 +- packages/injectable/react/package.json | 14 +- packages/injectable/utils/CHANGELOG.md | 4 + packages/injectable/utils/package-lock.json | 2 +- packages/injectable/utils/package.json | 18 +- packages/linkable/CHANGELOG.md | 4 + packages/linkable/package.json | 10 +- packages/mobx-utils/CHANGELOG.md | 4 + packages/mobx-utils/package-lock.json | 2 +- packages/mobx-utils/package.json | 14 +- packages/test-utils/CHANGELOG.md | 4 + packages/test-utils/package.json | 10 +- 46 files changed, 331 insertions(+), 213 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c93fb92d..abe5df8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +### ⚠ BREAKING CHANGES + +- Illegal attempts to inject singletons with an instantiation parameter now throw. + Adapt by either: + +1. Changing design to not use instantiation parameters for singletons +2. Making the singletons keyed singletons instead +3. Having singletons receive what they need as a dependency, instead of instantiation parameter + +### Features + +- Expose typing of getKeyedSingletonCompositeKey ([2e94d50](https://github.com/ogre-works/ogre-tools/commit/2e94d50dbed1fd22fce2ce891b294cb469f798f2)) +- Introduce DeepMap, being like Map, but with composite keys instead of singular ones ([7ef8e99](https://github.com/ogre-works/ogre-tools/commit/7ef8e998a2ec09093715d2d77892fb8223906971)) +- Make ComputedInjectMany support instantiation parameters ([fc6aefa](https://github.com/ogre-works/ogre-tools/commit/fc6aefac3f0bff3ea91d92bb145004915eeacdcf)) +- Make keys of keyedSingleton able to be composed of multiple reference values ([ad6c067](https://github.com/ogre-works/ogre-tools/commit/ad6c067b477b6d77ca066ab17a38c0079b24e329)) +- Make singletons throw if instantiation parameter is provided ([96215f2](https://github.com/ogre-works/ogre-tools/commit/96215f2d2abba2f817fdb4e184bfb6914b27e6c8)) + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) ### Features diff --git a/lerna.json b/lerna.json index eac5ce59..da46a6da 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "17.10.0", + "version": "18.0.0", "useWorkspaces": true, "command": { "bootstrap": { diff --git a/package-lock.json b/package-lock.json index 15a1a6cd..99a35722 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21735,12 +21735,12 @@ }, "packages/fp": { "name": "@ogre-tools/fp", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" }, "peerDependencies": { @@ -21749,31 +21749,31 @@ }, "packages/generable": { "name": "@ogre-tools/generable", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", "lodash": "^4.17.21" } }, "packages/infrastructure/babel-for-js": { "name": "@ogre-tools/infrastructure-babel-for-js", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT" }, "packages/infrastructure/babel-for-ts": { "name": "@ogre-tools/infrastructure-babel-for-ts", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT" }, "packages/infrastructure/jest": { "name": "@ogre-tools/infrastructure-jest", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "dependencies": { "@swc/core": "^1.3.20", @@ -23176,7 +23176,7 @@ }, "packages/infrastructure/prettier": { "name": "@ogre-tools/infrastructure-prettier", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "bin": { "ogre-tools-fix-code-style": "bin/fix-code-style.sh", @@ -23185,63 +23185,63 @@ }, "packages/infrastructure/typescript": { "name": "@ogre-tools/infrastructure-typescript", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT" }, "packages/infrastructure/webpack-for-js": { "name": "@ogre-tools/infrastructure-webpack-for-js", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "bin": { "ogre-tools-build-js": "bin/build.sh" }, "devDependencies": { - "@ogre-tools/infrastructure-prettier": "^17.10.0" + "@ogre-tools/infrastructure-prettier": "^18.0.0" } }, "packages/infrastructure/webpack-for-ts": { "name": "@ogre-tools/infrastructure-webpack-for-ts", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "dependencies": { - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "bin": { "ogre-tools-build-ts": "bin/build.sh" }, "devDependencies": { - "@ogre-tools/infrastructure-prettier": "^17.10.0" + "@ogre-tools/infrastructure-prettier": "^18.0.0" } }, "packages/injectable/core": { "name": "@ogre-tools/injectable", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", + "@ogre-tools/fp": "^18", "lodash": "^4.17.21" } }, "packages/injectable/extension-for-auto-registration": { "name": "@ogre-tools/injectable-extension-for-auto-registration", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21" } }, @@ -23264,34 +23264,34 @@ }, "packages/injectable/extension-for-error-monitoring": { "name": "@ogre-tools/injectable-extensions-for-error-handling", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21" } }, "packages/injectable/extension-for-mobx": { "name": "@ogre-tools/injectable-extension-for-mobx", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^18", + "@ogre-tools/injectable": "^18", "lodash": "^4.17.21", "mobx": "^6.3.0" } @@ -23316,17 +23316,17 @@ }, "packages/injectable/react": { "name": "@ogre-tools/injectable-react", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21", "mobx": "^6.3.0", "mobx-react": "^7.2.0", @@ -23336,31 +23336,31 @@ }, "packages/injectable/utils": { "name": "@ogre-tools/injectable-utils", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { "@async-fn/jest": "^1.6.4", - "@ogre-tools/infrastructure-babel-for-ts": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-typescript": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-ts": "^17.10.0", - "@ogre-tools/test-utils": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-ts": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-typescript": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-ts": "^18.0.0", + "@ogre-tools/test-utils": "^18.0.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21" } }, "packages/linkable": { "name": "@ogre-tools/linkable", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "dependencies": { - "@ogre-tools/fp": "^17.10.0", - "@ogre-tools/injectable": "^17.10.0", - "@ogre-tools/injectable-extension-for-auto-registration": "^17.10.0", + "@ogre-tools/fp": "^18.0.0", + "@ogre-tools/injectable": "^18.0.0", + "@ogre-tools/injectable-extension-for-auto-registration": "^18.0.0", "fast-glob": "^3.2.12", "fs-extra": "^9.0.1", "lodash": "^4.17.21", @@ -23372,7 +23372,7 @@ }, "devDependencies": { "@async-fn/jest": "^1.6.4", - "@ogre-tools/test-utils": "^17.10.0" + "@ogre-tools/test-utils": "^18.0.0" } }, "packages/linkable/node_modules/fast-glob": { @@ -23392,30 +23392,30 @@ }, "packages/mobx-utils": { "name": "@ogre-tools/mobx-utils", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21", "mobx": "^6.3.0" } }, "packages/test-utils": { "name": "@ogre-tools/test-utils", - "version": "17.10.0", + "version": "18.0.0", "license": "MIT", "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "peerDependencies": { "lodash": "^4.17.21" @@ -27449,18 +27449,18 @@ "@ogre-tools/fp": { "version": "file:packages/fp", "requires": { - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" } }, "@ogre-tools/generable": { "version": "file:packages/generable", "requires": { - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }, "@ogre-tools/infrastructure-babel-for-js": { @@ -28517,83 +28517,83 @@ "@ogre-tools/infrastructure-webpack-for-js": { "version": "file:packages/infrastructure/webpack-for-js", "requires": { - "@ogre-tools/infrastructure-prettier": "^17.10.0" + "@ogre-tools/infrastructure-prettier": "^18.0.0" } }, "@ogre-tools/infrastructure-webpack-for-ts": { "version": "file:packages/infrastructure/webpack-for-ts", "requires": { - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }, "@ogre-tools/injectable": { "version": "file:packages/injectable/core", "requires": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" } }, "@ogre-tools/injectable-extension-for-auto-registration": { "version": "file:packages/injectable/extension-for-auto-registration", "requires": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }, "@ogre-tools/injectable-extension-for-mobx": { "version": "file:packages/injectable/extension-for-mobx", "requires": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" } }, "@ogre-tools/injectable-extensions-for-error-handling": { "version": "file:packages/injectable/extension-for-error-monitoring", "requires": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }, "@ogre-tools/injectable-react": { "version": "file:packages/injectable/react", "requires": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }, "@ogre-tools/injectable-utils": { "version": "file:packages/injectable/utils", "requires": { "@async-fn/jest": "^1.6.4", - "@ogre-tools/infrastructure-babel-for-ts": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-typescript": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-ts": "^17.10.0", - "@ogre-tools/test-utils": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-ts": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-typescript": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-ts": "^18.0.0", + "@ogre-tools/test-utils": "^18.0.0" } }, "@ogre-tools/linkable": { "version": "file:packages/linkable", "requires": { "@async-fn/jest": "^1.6.4", - "@ogre-tools/fp": "^17.10.0", - "@ogre-tools/injectable": "^17.10.0", - "@ogre-tools/injectable-extension-for-auto-registration": "^17.10.0", - "@ogre-tools/test-utils": "^17.10.0", + "@ogre-tools/fp": "^18.0.0", + "@ogre-tools/injectable": "^18.0.0", + "@ogre-tools/injectable-extension-for-auto-registration": "^18.0.0", + "@ogre-tools/test-utils": "^18.0.0", "fast-glob": "^3.2.12", "fs-extra": "^9.0.1", "lodash": "^4.17.21", @@ -28617,19 +28617,19 @@ "@ogre-tools/mobx-utils": { "version": "file:packages/mobx-utils", "requires": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }, "@ogre-tools/test-utils": { "version": "file:packages/test-utils", "requires": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }, "@parcel/watcher": { diff --git a/packages/fp/CHANGELOG.md b/packages/fp/CHANGELOG.md index 2ef9f63f..f38ccca1 100644 --- a/packages/fp/CHANGELOG.md +++ b/packages/fp/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +### Features + +- Introduce DeepMap, being like Map, but with composite keys instead of singular ones ([7ef8e99](https://github.com/ogre-works/ogre-tools/commit/7ef8e998a2ec09093715d2d77892fb8223906971)) + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) ### Features diff --git a/packages/fp/package.json b/packages/fp/package.json index d68477e1..ecfaf51f 100644 --- a/packages/fp/package.json +++ b/packages/fp/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/fp", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "A collection of low abstraction functions in functional programming flavor", "files": [ "build", @@ -38,9 +38,9 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" } } diff --git a/packages/generable/CHANGELOG.md b/packages/generable/CHANGELOG.md index 421e8375..d6f1025d 100644 --- a/packages/generable/CHANGELOG.md +++ b/packages/generable/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/generable + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/generable diff --git a/packages/generable/package.json b/packages/generable/package.json index 6bea8d66..01eadbcd 100644 --- a/packages/generable/package.json +++ b/packages/generable/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/generable", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "A collection of low abstraction functions in functional programming flavor for generators", "files": [ "build", @@ -21,7 +21,7 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", "lodash": "^4.17.21" }, "bugs": { @@ -38,8 +38,8 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } } diff --git a/packages/infrastructure/babel-for-js/CHANGELOG.md b/packages/infrastructure/babel-for-js/CHANGELOG.md index 6ddc2361..fe81ad88 100644 --- a/packages/infrastructure/babel-for-js/CHANGELOG.md +++ b/packages/infrastructure/babel-for-js/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/infrastructure-babel-for-js + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/infrastructure-babel-for-js diff --git a/packages/infrastructure/babel-for-js/package.json b/packages/infrastructure/babel-for-js/package.json index 27295f44..8c2075c9 100644 --- a/packages/infrastructure/babel-for-js/package.json +++ b/packages/infrastructure/babel-for-js/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/infrastructure-babel-for-js", "private": true, - "version": "17.10.0", + "version": "18.0.0", "description": "Shared babel configuration", "repository": { "type": "git", diff --git a/packages/infrastructure/babel-for-ts/CHANGELOG.md b/packages/infrastructure/babel-for-ts/CHANGELOG.md index b69fd6ce..95a1354c 100644 --- a/packages/infrastructure/babel-for-ts/CHANGELOG.md +++ b/packages/infrastructure/babel-for-ts/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/infrastructure-babel-for-ts + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/infrastructure-babel-for-ts diff --git a/packages/infrastructure/babel-for-ts/package.json b/packages/infrastructure/babel-for-ts/package.json index 2cf63bd1..692be07a 100644 --- a/packages/infrastructure/babel-for-ts/package.json +++ b/packages/infrastructure/babel-for-ts/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/infrastructure-babel-for-ts", "private": true, - "version": "17.10.0", + "version": "18.0.0", "description": "Shared babel configuration", "repository": { "type": "git", diff --git a/packages/infrastructure/jest/CHANGELOG.md b/packages/infrastructure/jest/CHANGELOG.md index 3efe24cf..d9313ea4 100644 --- a/packages/infrastructure/jest/CHANGELOG.md +++ b/packages/infrastructure/jest/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/infrastructure-jest + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/infrastructure-jest diff --git a/packages/infrastructure/jest/package.json b/packages/infrastructure/jest/package.json index ee460fe3..4a578053 100644 --- a/packages/infrastructure/jest/package.json +++ b/packages/infrastructure/jest/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/infrastructure-jest", "private": true, - "version": "17.10.0", + "version": "18.0.0", "description": "Shared jest configuration", "repository": { "type": "git", diff --git a/packages/infrastructure/prettier/CHANGELOG.md b/packages/infrastructure/prettier/CHANGELOG.md index 6e1cad29..392579e9 100644 --- a/packages/infrastructure/prettier/CHANGELOG.md +++ b/packages/infrastructure/prettier/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/infrastructure-prettier + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/infrastructure-prettier diff --git a/packages/infrastructure/prettier/package.json b/packages/infrastructure/prettier/package.json index e4f47c59..8ea7ddaa 100644 --- a/packages/infrastructure/prettier/package.json +++ b/packages/infrastructure/prettier/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/infrastructure-prettier", "private": true, - "version": "17.10.0", + "version": "18.0.0", "description": "Shared prettier configuration", "repository": { "type": "git", diff --git a/packages/infrastructure/typescript/CHANGELOG.md b/packages/infrastructure/typescript/CHANGELOG.md index eb47ec46..f7b867d6 100644 --- a/packages/infrastructure/typescript/CHANGELOG.md +++ b/packages/infrastructure/typescript/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/infrastructure-typescript + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/infrastructure-typescript diff --git a/packages/infrastructure/typescript/package.json b/packages/infrastructure/typescript/package.json index b0611417..0d9c1532 100644 --- a/packages/infrastructure/typescript/package.json +++ b/packages/infrastructure/typescript/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/infrastructure-typescript", "private": true, - "version": "17.10.0", + "version": "18.0.0", "description": "Shared typescript configuration", "repository": { "type": "git", diff --git a/packages/infrastructure/webpack-for-js/CHANGELOG.md b/packages/infrastructure/webpack-for-js/CHANGELOG.md index cbefb247..3413282d 100644 --- a/packages/infrastructure/webpack-for-js/CHANGELOG.md +++ b/packages/infrastructure/webpack-for-js/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/infrastructure-webpack-for-js + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/infrastructure-webpack-for-js diff --git a/packages/infrastructure/webpack-for-js/package.json b/packages/infrastructure/webpack-for-js/package.json index 796f4069..d24f3c23 100644 --- a/packages/infrastructure/webpack-for-js/package.json +++ b/packages/infrastructure/webpack-for-js/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/infrastructure-webpack-for-js", "private": true, - "version": "17.10.0", + "version": "18.0.0", "description": "Shared webpack configuration", "bin": { "ogre-tools-build-js": "bin/build.sh" @@ -26,7 +26,7 @@ }, "prettier": "@ogre-tools/infrastructure-prettier", "devDependencies": { - "@ogre-tools/infrastructure-prettier": "^17.10.0" + "@ogre-tools/infrastructure-prettier": "^18.0.0" }, "scripts": { "code-style:verify": "ogre-tools-verify-code-style", diff --git a/packages/infrastructure/webpack-for-ts/CHANGELOG.md b/packages/infrastructure/webpack-for-ts/CHANGELOG.md index 8e0604f6..313364d8 100644 --- a/packages/infrastructure/webpack-for-ts/CHANGELOG.md +++ b/packages/infrastructure/webpack-for-ts/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/infrastructure-webpack-for-ts + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/infrastructure-webpack-for-ts diff --git a/packages/infrastructure/webpack-for-ts/package.json b/packages/infrastructure/webpack-for-ts/package.json index adbc0b6e..c4ce7e34 100644 --- a/packages/infrastructure/webpack-for-ts/package.json +++ b/packages/infrastructure/webpack-for-ts/package.json @@ -1,13 +1,13 @@ { "name": "@ogre-tools/infrastructure-webpack-for-ts", "private": true, - "version": "17.10.0", + "version": "18.0.0", "description": "Shared webpack configuration", "bin": { "ogre-tools-build-ts": "bin/build.sh" }, "dependencies": { - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" }, "repository": { "type": "git", @@ -29,7 +29,7 @@ }, "prettier": "@ogre-tools/infrastructure-prettier", "devDependencies": { - "@ogre-tools/infrastructure-prettier": "^17.10.0" + "@ogre-tools/infrastructure-prettier": "^18.0.0" }, "scripts": { "code-style:verify": "ogre-tools-verify-code-style", diff --git a/packages/injectable/core/CHANGELOG.md b/packages/injectable/core/CHANGELOG.md index e6d6760d..2a0ff65c 100644 --- a/packages/injectable/core/CHANGELOG.md +++ b/packages/injectable/core/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +### ⚠ BREAKING CHANGES + +- Illegal attempts to inject singletons with an instantiation parameter now throw. + Adapt by either: + +1. Changing design to not use instantiation parameters for singletons +2. Making the singletons keyed singletons instead +3. Having singletons receive what they need as a dependency, instead of instantiation parameter + +### Features + +- Expose typing of getKeyedSingletonCompositeKey ([2e94d50](https://github.com/ogre-works/ogre-tools/commit/2e94d50dbed1fd22fce2ce891b294cb469f798f2)) +- Make keys of keyedSingleton able to be composed of multiple reference values ([ad6c067](https://github.com/ogre-works/ogre-tools/commit/ad6c067b477b6d77ca066ab17a38c0079b24e329)) +- Make singletons throw if instantiation parameter is provided ([96215f2](https://github.com/ogre-works/ogre-tools/commit/96215f2d2abba2f817fdb4e184bfb6914b27e6c8)) + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/injectable diff --git a/packages/injectable/core/package-lock.json b/packages/injectable/core/package-lock.json index de7b1b71..d50a85e2 100644 --- a/packages/injectable/core/package-lock.json +++ b/packages/injectable/core/package-lock.json @@ -1,6 +1,6 @@ { "name": "@ogre-tools/injectable", - "version": "17.10.0", + "version": "18.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/injectable/core/package.json b/packages/injectable/core/package.json index 2f56fbb4..0529128d 100644 --- a/packages/injectable/core/package.json +++ b/packages/injectable/core/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/injectable", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "A brutal dependency injection container", "files": [ "build", @@ -20,7 +20,7 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", + "@ogre-tools/fp": "^18", "lodash": "^4.17.21" }, "gitHead": "a5e3d70aa0d5d45dbf2f3d37f586fac93bfffc86", @@ -39,10 +39,10 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" }, "prettier": "@ogre-tools/infrastructure-prettier" diff --git a/packages/injectable/extension-for-auto-registration/CHANGELOG.md b/packages/injectable/extension-for-auto-registration/CHANGELOG.md index ae6a1e0c..51be287c 100644 --- a/packages/injectable/extension-for-auto-registration/CHANGELOG.md +++ b/packages/injectable/extension-for-auto-registration/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/injectable-extension-for-auto-registration + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/injectable-extension-for-auto-registration diff --git a/packages/injectable/extension-for-auto-registration/package-lock.json b/packages/injectable/extension-for-auto-registration/package-lock.json index f458d594..00afa017 100644 --- a/packages/injectable/extension-for-auto-registration/package-lock.json +++ b/packages/injectable/extension-for-auto-registration/package-lock.json @@ -1,6 +1,6 @@ { "name": "@ogre-tools/injectable-extension-for-auto-registration", - "version": "17.10.0", + "version": "18.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/injectable/extension-for-auto-registration/package.json b/packages/injectable/extension-for-auto-registration/package.json index cea448cf..e80b567c 100644 --- a/packages/injectable/extension-for-auto-registration/package.json +++ b/packages/injectable/extension-for-auto-registration/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/injectable-extension-for-auto-registration", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "Auto-registration of injectables for Injectable in Ogre Tools", "files": [ "build", @@ -19,8 +19,8 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21" }, "bugs": { @@ -38,9 +38,9 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } } diff --git a/packages/injectable/extension-for-error-monitoring/CHANGELOG.md b/packages/injectable/extension-for-error-monitoring/CHANGELOG.md index 9cb9c4ee..903ba8aa 100644 --- a/packages/injectable/extension-for-error-monitoring/CHANGELOG.md +++ b/packages/injectable/extension-for-error-monitoring/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/injectable-extensions-for-error-handling + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/injectable-extensions-for-error-handling diff --git a/packages/injectable/extension-for-error-monitoring/package-lock.json b/packages/injectable/extension-for-error-monitoring/package-lock.json index ef23a515..a6035a51 100644 --- a/packages/injectable/extension-for-error-monitoring/package-lock.json +++ b/packages/injectable/extension-for-error-monitoring/package-lock.json @@ -1,6 +1,6 @@ { "name": "@ogre-tools/injectable-react", - "version": "17.10.0", + "version": "18.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/injectable/extension-for-error-monitoring/package.json b/packages/injectable/extension-for-error-monitoring/package.json index 34f29feb..fa65fee4 100644 --- a/packages/injectable/extension-for-error-monitoring/package.json +++ b/packages/injectable/extension-for-error-monitoring/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/injectable-extensions-for-error-handling", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "Error monitoring for Injectable in Ogre Tools", "files": [ "build", @@ -19,8 +19,8 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21" }, "bugs": { @@ -38,9 +38,9 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } } diff --git a/packages/injectable/extension-for-mobx/CHANGELOG.md b/packages/injectable/extension-for-mobx/CHANGELOG.md index 46409be8..20383303 100644 --- a/packages/injectable/extension-for-mobx/CHANGELOG.md +++ b/packages/injectable/extension-for-mobx/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +### ⚠ BREAKING CHANGES + +- Illegal attempts to inject singletons with an instantiation parameter now throw. + Adapt by either: + +1. Changing design to not use instantiation parameters for singletons +2. Making the singletons keyed singletons instead +3. Having singletons receive what they need as a dependency, instead of instantiation parameter + +### Features + +- Make ComputedInjectMany support instantiation parameters ([fc6aefa](https://github.com/ogre-works/ogre-tools/commit/fc6aefac3f0bff3ea91d92bb145004915eeacdcf)) +- Make singletons throw if instantiation parameter is provided ([96215f2](https://github.com/ogre-works/ogre-tools/commit/96215f2d2abba2f817fdb4e184bfb6914b27e6c8)) + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/injectable-extension-for-mobx diff --git a/packages/injectable/extension-for-mobx/package-lock.json b/packages/injectable/extension-for-mobx/package-lock.json index ef23a515..a6035a51 100644 --- a/packages/injectable/extension-for-mobx/package-lock.json +++ b/packages/injectable/extension-for-mobx/package-lock.json @@ -1,6 +1,6 @@ { "name": "@ogre-tools/injectable-react", - "version": "17.10.0", + "version": "18.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/injectable/extension-for-mobx/package.json b/packages/injectable/extension-for-mobx/package.json index e293a460..27c3d513 100644 --- a/packages/injectable/extension-for-mobx/package.json +++ b/packages/injectable/extension-for-mobx/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/injectable-extension-for-mobx", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "MobX support for Injectable in Ogre Tools", "files": [ "build", @@ -19,8 +19,8 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^18", + "@ogre-tools/injectable": "^18", "lodash": "^4.17.21", "mobx": "^6.3.0" }, @@ -40,10 +40,10 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0", + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0", "tsd": "^0.29.0" } } diff --git a/packages/injectable/react/CHANGELOG.md b/packages/injectable/react/CHANGELOG.md index 7412a894..b4a58db1 100644 --- a/packages/injectable/react/CHANGELOG.md +++ b/packages/injectable/react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/injectable-react + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/injectable-react diff --git a/packages/injectable/react/package-lock.json b/packages/injectable/react/package-lock.json index ef23a515..a6035a51 100644 --- a/packages/injectable/react/package-lock.json +++ b/packages/injectable/react/package-lock.json @@ -1,6 +1,6 @@ { "name": "@ogre-tools/injectable-react", - "version": "17.10.0", + "version": "18.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/injectable/react/package.json b/packages/injectable/react/package.json index 0b4c1af6..2d3c417e 100644 --- a/packages/injectable/react/package.json +++ b/packages/injectable/react/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/injectable-react", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "A brutal component for injecting components that use injectable", "files": [ "build", @@ -20,8 +20,8 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21", "mobx": "^6.3.0", "mobx-react": "^7.2.0", @@ -44,9 +44,9 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } } diff --git a/packages/injectable/utils/CHANGELOG.md b/packages/injectable/utils/CHANGELOG.md index 21d5afe0..d64aa15a 100644 --- a/packages/injectable/utils/CHANGELOG.md +++ b/packages/injectable/utils/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/injectable-utils + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/injectable-utils diff --git a/packages/injectable/utils/package-lock.json b/packages/injectable/utils/package-lock.json index de7b1b71..d50a85e2 100644 --- a/packages/injectable/utils/package-lock.json +++ b/packages/injectable/utils/package-lock.json @@ -1,6 +1,6 @@ { "name": "@ogre-tools/injectable", - "version": "17.10.0", + "version": "18.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/injectable/utils/package.json b/packages/injectable/utils/package.json index c865a332..674073fe 100644 --- a/packages/injectable/utils/package.json +++ b/packages/injectable/utils/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/injectable-utils", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "Utilities to support general usage of injectable", "files": [ "build", @@ -20,18 +20,18 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21" }, "devDependencies": { "@async-fn/jest": "^1.6.4", - "@ogre-tools/infrastructure-babel-for-ts": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-typescript": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-ts": "^17.10.0", - "@ogre-tools/test-utils": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-ts": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-typescript": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-ts": "^18.0.0", + "@ogre-tools/test-utils": "^18.0.0" }, "gitHead": "a5e3d70aa0d5d45dbf2f3d37f586fac93bfffc86", "bugs": { diff --git a/packages/linkable/CHANGELOG.md b/packages/linkable/CHANGELOG.md index d3a80216..141d4ae6 100644 --- a/packages/linkable/CHANGELOG.md +++ b/packages/linkable/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/linkable + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/linkable diff --git a/packages/linkable/package.json b/packages/linkable/package.json index 4214714f..3186e149 100644 --- a/packages/linkable/package.json +++ b/packages/linkable/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/linkable", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "Like 'npm link', but doesn't trip over with symlinks and local node_modules of linking target.", "type": "commonjs", "publishConfig": { @@ -20,9 +20,9 @@ "license": "MIT", "homepage": "https://github.com/ogre-works/ogre-tools#readme", "dependencies": { - "@ogre-tools/fp": "^17.10.0", - "@ogre-tools/injectable": "^17.10.0", - "@ogre-tools/injectable-extension-for-auto-registration": "^17.10.0", + "@ogre-tools/fp": "^18.0.0", + "@ogre-tools/injectable": "^18.0.0", + "@ogre-tools/injectable-extension-for-auto-registration": "^18.0.0", "fast-glob": "^3.2.12", "fs-extra": "^9.0.1", "lodash": "^4.17.21", @@ -30,7 +30,7 @@ }, "devDependencies": { "@async-fn/jest": "^1.6.4", - "@ogre-tools/test-utils": "^17.10.0" + "@ogre-tools/test-utils": "^18.0.0" }, "scripts": { "build": "ogre-tools-build-ts", diff --git a/packages/mobx-utils/CHANGELOG.md b/packages/mobx-utils/CHANGELOG.md index 659f2858..4530bde3 100644 --- a/packages/mobx-utils/CHANGELOG.md +++ b/packages/mobx-utils/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/mobx-utils + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/mobx-utils diff --git a/packages/mobx-utils/package-lock.json b/packages/mobx-utils/package-lock.json index ef23a515..a6035a51 100644 --- a/packages/mobx-utils/package-lock.json +++ b/packages/mobx-utils/package-lock.json @@ -1,6 +1,6 @@ { "name": "@ogre-tools/injectable-react", - "version": "17.10.0", + "version": "18.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/mobx-utils/package.json b/packages/mobx-utils/package.json index 47abd36b..9c68ed90 100644 --- a/packages/mobx-utils/package.json +++ b/packages/mobx-utils/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/mobx-utils", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "A brutal component for injecting components that use injectable", "files": [ "build", @@ -20,8 +20,8 @@ "author": "Ogre Works", "license": "MIT", "peerDependencies": { - "@ogre-tools/fp": "^16 || ^17", - "@ogre-tools/injectable": "^16 || ^17", + "@ogre-tools/fp": "^16 || ^17 || ^18", + "@ogre-tools/injectable": "^16 || ^17 || ^18", "lodash": "^4.17.21", "mobx": "^6.3.0" }, @@ -42,9 +42,9 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } } diff --git a/packages/test-utils/CHANGELOG.md b/packages/test-utils/CHANGELOG.md index 77f47f91..b149e3a1 100644 --- a/packages/test-utils/CHANGELOG.md +++ b/packages/test-utils/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [18.0.0](https://github.com/ogre-works/ogre-tools/compare/v17.10.0...v18.0.0) (2023-10-23) + +**Note:** Version bump only for package @ogre-tools/test-utils + ## [17.10.0](https://github.com/ogre-works/ogre-tools/compare/v17.9.0...v17.10.0) (2023-10-19) **Note:** Version bump only for package @ogre-tools/test-utils diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index e08787a8..6f45e43c 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,7 +1,7 @@ { "name": "@ogre-tools/test-utils", "private": false, - "version": "17.10.0", + "version": "18.0.0", "description": "A collection of test-utils for Ogre-tools.", "files": [ "build", @@ -38,9 +38,9 @@ "code-style:fix": "ogre-tools-fix-code-style" }, "devDependencies": { - "@ogre-tools/infrastructure-babel-for-js": "^17.10.0", - "@ogre-tools/infrastructure-jest": "^17.10.0", - "@ogre-tools/infrastructure-prettier": "^17.10.0", - "@ogre-tools/infrastructure-webpack-for-js": "^17.10.0" + "@ogre-tools/infrastructure-babel-for-js": "^18.0.0", + "@ogre-tools/infrastructure-jest": "^18.0.0", + "@ogre-tools/infrastructure-prettier": "^18.0.0", + "@ogre-tools/infrastructure-webpack-for-js": "^18.0.0" } }