From 8d2ba156f15a609efd49878bbc5958dc47e0dec2 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Wed, 1 Jan 2025 20:59:33 +0100 Subject: [PATCH] v3.0.0-rc.13 --- changelog.md | 2 +- docs/package.json | 2 +- examples/kitchensink/package.json | 14 +- examples/minimal/package.json | 6 +- migration-v2.md | 44 ++++ package-lock.json | 298 ++++++++++++------------- package.json | 2 +- packages/api/package.json | 12 +- packages/core-assortments/package.json | 10 +- packages/core-bookmarks/package.json | 6 +- packages/core-countries/package.json | 6 +- packages/core-currencies/package.json | 6 +- packages/core-delivery/package.json | 10 +- packages/core-enrollments/package.json | 8 +- packages/core-events/package.json | 6 +- packages/core-files/package.json | 10 +- packages/core-filters/package.json | 10 +- packages/core-languages/package.json | 6 +- packages/core-orders/package.json | 8 +- packages/core-payment/package.json | 8 +- packages/core-products/package.json | 8 +- packages/core-quotations/package.json | 8 +- packages/core-users/package.json | 14 +- packages/core-warehousing/package.json | 8 +- packages/core-worker/package.json | 6 +- packages/core/package.json | 40 ++-- packages/events/package.json | 4 +- packages/file-upload/package.json | 6 +- packages/logger/package.json | 2 +- packages/mongodb/package.json | 4 +- packages/platform/package.json | 20 +- packages/plugins/package.json | 26 +-- packages/roles/package.json | 2 +- packages/shared/package.json | 2 +- packages/ticketing/package.json | 14 +- packages/utils/package.json | 4 +- readme.md | 49 ---- 37 files changed, 343 insertions(+), 348 deletions(-) create mode 100644 migration-v2.md diff --git a/changelog.md b/changelog.md index 3f2d0d717..5e9389252 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,4 @@ -# Unchained Engine v3.0 RC10 ("Odi") +# Unchained Engine v3.0 RC13 ("Odi") We are thrilled to announce Unchained Engine v3.0, 5 years after the first version. We started with an overloaded framework approach using Meteor and gradually removed dependency by dependency, getting closer to the metal and in-line with today's standards. Unchained Engine... - ...is 100% ESM and self-hosted diff --git a/docs/package.json b/docs/package.json index 9e768e967..83c95a51b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,7 @@ "name": "docs", "description": "Docs for Unchained Engine", "private": true, - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "ISC", "scripts": { "dev": "docusaurus start", diff --git a/examples/kitchensink/package.json b/examples/kitchensink/package.json index 5089525a3..b8aed0223 100644 --- a/examples/kitchensink/package.json +++ b/examples/kitchensink/package.json @@ -2,7 +2,7 @@ "name": "example-kitchensink", "description": "Kitchensink for Unchained Engine", "private": true, - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "type": "module", "homepage": "https://unchained.shop", @@ -35,12 +35,12 @@ }, "dependencies": { "@graphql-yoga/plugin-response-cache": "^3.12.8", - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core-delivery": "^3.0.0-rc.12", - "@unchainedshop/core-payment": "^3.0.0-rc.12", - "@unchainedshop/platform": "^3.0.0-rc.12", - "@unchainedshop/plugins": "^3.0.0-rc.12", - "@unchainedshop/ticketing": "^3.0.0-rc.12", + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core-delivery": "^3.0.0-rc.13", + "@unchainedshop/core-payment": "^3.0.0-rc.13", + "@unchainedshop/platform": "^3.0.0-rc.13", + "@unchainedshop/plugins": "^3.0.0-rc.13", + "@unchainedshop/ticketing": "^3.0.0-rc.13", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.7", "dotenv-extended": "^2.9.0", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index fe5554cfd..6e053bbe8 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -2,7 +2,7 @@ "name": "@unchainedshop/minimal", "description": "Kitchensink for Unchained Engine", "private": true, - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "type": "module", "homepage": "https://unchained.shop", @@ -36,8 +36,8 @@ "dependencies": { "@fastify/cookie": "^11.0.1", "@fastify/session": "^11.0.2", - "@unchainedshop/platform": "^3.0.0-rc.12", - "@unchainedshop/plugins": "^3.0.0-rc.12", + "@unchainedshop/platform": "^3.0.0-rc.13", + "@unchainedshop/plugins": "^3.0.0-rc.13", "connect-mongo": "^5.1.0", "fastify": "^5.2.0" }, diff --git a/migration-v2.md b/migration-v2.md new file mode 100644 index 000000000..4d2cfc133 --- /dev/null +++ b/migration-v2.md @@ -0,0 +1,44 @@ +# Migration Guide v1 -> v2 + +1. WHATWG Fetch Support required +Update Node to 18 or enable Experimental Fetch support on Node.js 16+ + +2. GraphQL Version & Express backed-in +``` +npm install graphql@16 +npm uninstall apollo-server-express body-parser graphql-scalars graphql-upload isomorphic-unfetch locale simpl-schema +``` + +3. Switch to Battery-Included + +Remove custom login-with-single-sign-on and remove all code that involves loading standard plugins and/or gridfs/datatrans webhooks. Furthermore `startPlatform` will not hook into express and it will not start the graphql server automatically anymore. This has been changed to support other backend frameworks than Express and to support Lambda Mode of Apollo. For those reasons, `startPlatform` has been changed and now returns an object containing `unchainedAPI` and the `apolloGraphQLServer`. + +To make it boot with express and the default plugins, you have to do the following: + +Import the connect functions and the defaultModules: + +``` +import { defaultModules, connectDefaultPluginsToExpress4 } from '@unchainedshop/plugins'; +import { connect } from '@unchainedshop/api/express/index.js'; +``` + +Then pass defaultModules to the „modules“ prop of startPlatform: + +``` +const engine = await startPlatform({ modules: defaultModules, … }); +``` + +Now, start the GraphQL server, connect it to Express and load the custom modules: + +``` +const engine = await startPlatform({ … }); + +await engine.apolloGraphQLServer.start(); // Counterintuitively, this has to be done before the platform is connected to express + +connect(app, engine); +connectDefaultPluginsToExpress4(app, engine); +``` + +5. The userId’s that were used to set some internal db fields about updatedBy / createdBy need to be dropped from various functions. This will most propably affect seed code. Typescript will help you with that. + +6. Examine the API Breaking Changes in the Changelog for API incompatibilities between 1.2 and 2.0. diff --git a/package-lock.json b/package-lock.json index 9a7da1227..2c619c442 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@unchainedshop/engine", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@unchainedshop/engine", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "workspaces": [ "packages/logger", @@ -69,16 +69,16 @@ }, "examples/kitchensink": { "name": "example-kitchensink", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "@graphql-yoga/plugin-response-cache": "^3.12.8", - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core-delivery": "^3.0.0-rc.12", - "@unchainedshop/core-payment": "^3.0.0-rc.12", - "@unchainedshop/platform": "^3.0.0-rc.12", - "@unchainedshop/plugins": "^3.0.0-rc.12", - "@unchainedshop/ticketing": "^3.0.0-rc.12", + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core-delivery": "^3.0.0-rc.13", + "@unchainedshop/core-payment": "^3.0.0-rc.13", + "@unchainedshop/platform": "^3.0.0-rc.13", + "@unchainedshop/plugins": "^3.0.0-rc.13", + "@unchainedshop/ticketing": "^3.0.0-rc.13", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.7", "dotenv-extended": "^2.9.0", @@ -113,13 +113,13 @@ }, "examples/minimal": { "name": "@unchainedshop/minimal", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "@fastify/cookie": "^11.0.1", "@fastify/session": "^11.0.2", - "@unchainedshop/platform": "^3.0.0-rc.12", - "@unchainedshop/plugins": "^3.0.0-rc.12", + "@unchainedshop/platform": "^3.0.0-rc.13", + "@unchainedshop/plugins": "^3.0.0-rc.13", "connect-mongo": "^5.1.0", "fastify": "^5.2.0" }, @@ -16926,14 +16926,14 @@ }, "packages/api": { "name": "@unchainedshop/api", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/core": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/roles": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/core": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/roles": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "accounting": "0.4.1", "dataloader": "^2.2.3", "expiry-map": "^2.0.0", @@ -16998,29 +16998,29 @@ }, "packages/core": { "name": "@unchainedshop/core", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/core-assortments": "^3.0.0-rc.12", - "@unchainedshop/core-bookmarks": "^3.0.0-rc.12", - "@unchainedshop/core-countries": "^3.0.0-rc.12", - "@unchainedshop/core-currencies": "^3.0.0-rc.12", - "@unchainedshop/core-delivery": "^3.0.0-rc.12", - "@unchainedshop/core-enrollments": "^3.0.0-rc.12", - "@unchainedshop/core-events": "^3.0.0-rc.12", - "@unchainedshop/core-files": "^3.0.0-rc.12", - "@unchainedshop/core-filters": "^3.0.0-rc.12", - "@unchainedshop/core-languages": "^3.0.0-rc.12", - "@unchainedshop/core-orders": "^3.0.0-rc.12", - "@unchainedshop/core-payment": "^3.0.0-rc.12", - "@unchainedshop/core-products": "^3.0.0-rc.12", - "@unchainedshop/core-quotations": "^3.0.0-rc.12", - "@unchainedshop/core-users": "^3.0.0-rc.12", - "@unchainedshop/core-warehousing": "^3.0.0-rc.12", - "@unchainedshop/core-worker": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/core-assortments": "^3.0.0-rc.13", + "@unchainedshop/core-bookmarks": "^3.0.0-rc.13", + "@unchainedshop/core-countries": "^3.0.0-rc.13", + "@unchainedshop/core-currencies": "^3.0.0-rc.13", + "@unchainedshop/core-delivery": "^3.0.0-rc.13", + "@unchainedshop/core-enrollments": "^3.0.0-rc.13", + "@unchainedshop/core-events": "^3.0.0-rc.13", + "@unchainedshop/core-files": "^3.0.0-rc.13", + "@unchainedshop/core-filters": "^3.0.0-rc.13", + "@unchainedshop/core-languages": "^3.0.0-rc.13", + "@unchainedshop/core-orders": "^3.0.0-rc.13", + "@unchainedshop/core-payment": "^3.0.0-rc.13", + "@unchainedshop/core-products": "^3.0.0-rc.13", + "@unchainedshop/core-quotations": "^3.0.0-rc.13", + "@unchainedshop/core-users": "^3.0.0-rc.13", + "@unchainedshop/core-warehousing": "^3.0.0-rc.13", + "@unchainedshop/core-worker": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17031,13 +17031,13 @@ }, "packages/core-assortments": { "name": "@unchainedshop/core-assortments", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17048,11 +17048,11 @@ }, "packages/core-bookmarks": { "name": "@unchainedshop/core-bookmarks", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17063,11 +17063,11 @@ }, "packages/core-countries": { "name": "@unchainedshop/core-countries", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17078,11 +17078,11 @@ }, "packages/core-currencies": { "name": "@unchainedshop/core-currencies", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17093,13 +17093,13 @@ }, "packages/core-delivery": { "name": "@unchainedshop/core-delivery", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17110,13 +17110,13 @@ }, "packages/core-enrollments": { "name": "@unchainedshop/core-enrollments", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/breejs__later": "^4.1.5", @@ -17128,11 +17128,11 @@ }, "packages/core-events": { "name": "@unchainedshop/core-events", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17143,13 +17143,13 @@ }, "packages/core-files": { "name": "@unchainedshop/core-files", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17160,13 +17160,13 @@ }, "packages/core-filters": { "name": "@unchainedshop/core-filters", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "expiry-map": "^2.0.0", "p-memoize": "^7.1.1" }, @@ -17179,11 +17179,11 @@ }, "packages/core-languages": { "name": "@unchainedshop/core-languages", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17194,13 +17194,13 @@ }, "packages/core-orders": { "name": "@unchainedshop/core-orders", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "@kontsedal/locco": "0.1.0", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17211,12 +17211,12 @@ }, "packages/core-payment": { "name": "@unchainedshop/core-payment", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17227,12 +17227,12 @@ }, "packages/core-products": { "name": "@unchainedshop/core-products", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17243,12 +17243,12 @@ }, "packages/core-quotations": { "name": "@unchainedshop/core-quotations", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17259,16 +17259,16 @@ }, "packages/core-users": { "name": "@unchainedshop/core-users", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "@node-rs/bcrypt": "^1.10.7", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/roles": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/roles": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17288,12 +17288,12 @@ }, "packages/core-warehousing": { "name": "@unchainedshop/core-warehousing", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17304,11 +17304,11 @@ }, "packages/core-worker": { "name": "@unchainedshop/core-worker", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/breejs__later": "^4.1.5", @@ -17320,10 +17320,10 @@ }, "packages/events": { "name": "@unchainedshop/events", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12" + "@unchainedshop/logger": "^3.0.0-rc.13" }, "devDependencies": { "@types/jest": "^29.5.14", @@ -17335,11 +17335,11 @@ }, "packages/file-upload": { "name": "@unchainedshop/file-upload", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "base-x": "^5.0.0" }, "devDependencies": { @@ -17357,7 +17357,7 @@ }, "packages/logger": { "name": "@unchainedshop/logger", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "chalk": "^5.4.1", @@ -17387,10 +17387,10 @@ }, "packages/mongodb": { "name": "@unchainedshop/mongodb", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", @@ -17416,18 +17416,18 @@ }, "packages/platform": { "name": "@unchainedshop/platform", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/plugins": "^3.0.0-rc.12", - "@unchainedshop/roles": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/plugins": "^3.0.0-rc.13", + "@unchainedshop/roles": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "mustache": "^4.2.0", "safe-stable-stringify": "^2.5.0" }, @@ -17444,22 +17444,22 @@ }, "packages/plugins": { "name": "@unchainedshop/plugins", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core-delivery": "^3.0.0-rc.12", - "@unchainedshop/core-enrollments": "^3.0.0-rc.12", - "@unchainedshop/core-orders": "^3.0.0-rc.12", - "@unchainedshop/core-payment": "^3.0.0-rc.12", - "@unchainedshop/core-products": "^3.0.0-rc.12", - "@unchainedshop/core-warehousing": "^3.0.0-rc.12", - "@unchainedshop/core-worker": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core-delivery": "^3.0.0-rc.13", + "@unchainedshop/core-enrollments": "^3.0.0-rc.13", + "@unchainedshop/core-orders": "^3.0.0-rc.13", + "@unchainedshop/core-payment": "^3.0.0-rc.13", + "@unchainedshop/core-products": "^3.0.0-rc.13", + "@unchainedshop/core-warehousing": "^3.0.0-rc.13", + "@unchainedshop/core-worker": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5" }, @@ -17596,7 +17596,7 @@ }, "packages/roles": { "name": "@unchainedshop/roles", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { "lodash.clone": "4.5.0" @@ -17610,7 +17610,7 @@ }, "packages/shared": { "name": "@unchainedshop/shared", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "dependencies": { "@types/node": "^22.10.2", "typescript": "^5.7.2" @@ -17618,15 +17618,15 @@ }, "packages/ticketing": { "name": "@unchainedshop/ticketing", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core-files": "^3.0.0-rc.12", - "@unchainedshop/core-worker": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12" + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core-files": "^3.0.0-rc.13", + "@unchainedshop/core-worker": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13" }, "devDependencies": { "@types/express": "^5.0.0", @@ -17641,10 +17641,10 @@ }, "packages/utils": { "name": "@unchainedshop/utils", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12", + "@unchainedshop/logger": "^3.0.0-rc.13", "hashids": "^2.3.0", "resolve-accept-language": "^3.1.10" }, diff --git a/package.json b/package.json index 494453cd0..ec19f15e0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@unchainedshop/engine", "description": "Unchained Engine", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "license": "EUPL-1.2", "private": "true", "homepage": "https://unchained.shop", diff --git a/packages/api/package.json b/packages/api/package.json index 66d55b926..449ad0348 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/api", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/api-index.js", "types": "lib/api-index.d.ts", "type": "module", @@ -71,11 +71,11 @@ } }, "dependencies": { - "@unchainedshop/core": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/roles": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/core": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/roles": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "accounting": "0.4.1", "dataloader": "^2.2.3", "expiry-map": "^2.0.0", diff --git a/packages/core-assortments/package.json b/packages/core-assortments/package.json index 11d9ab96d..8258107b7 100644 --- a/packages/core-assortments/package.json +++ b/packages/core-assortments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-assortments", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/assortments-index.js", "types": "lib/assortments-index.d.ts", "type": "module", @@ -31,10 +31,10 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-bookmarks/package.json b/packages/core-bookmarks/package.json index 69a644afc..eee995b62 100644 --- a/packages/core-bookmarks/package.json +++ b/packages/core-bookmarks/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-bookmarks", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/bookmarks-index.js", "types": "lib/bookmarks-index.d.ts", "type": "module", @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-countries/package.json b/packages/core-countries/package.json index ee59e2146..ce02fde73 100644 --- a/packages/core-countries/package.json +++ b/packages/core-countries/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-countries", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/countries-index.js", "types": "lib/countries-index.d.ts", "type": "module", @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-currencies/package.json b/packages/core-currencies/package.json index 94e7a91b5..393faef24 100644 --- a/packages/core-currencies/package.json +++ b/packages/core-currencies/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-currencies", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/currencies-index.js", "types": "lib/currencies-index.d.ts", "type": "module", @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-delivery/package.json b/packages/core-delivery/package.json index 0b1a4f4ea..8daeb9edc 100644 --- a/packages/core-delivery/package.json +++ b/packages/core-delivery/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-delivery", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/delivery-index.js", "types": "lib/delivery-index.d.ts", "type": "module", @@ -31,10 +31,10 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-enrollments/package.json b/packages/core-enrollments/package.json index 151a03420..0f2b551c3 100644 --- a/packages/core-enrollments/package.json +++ b/packages/core-enrollments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-enrollments", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/enrollments-index.js", "types": "lib/enrollments-index.d.ts", "type": "module", @@ -32,9 +32,9 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/breejs__later": "^4.1.5", diff --git a/packages/core-events/package.json b/packages/core-events/package.json index 6992c6abc..fe3e54898 100644 --- a/packages/core-events/package.json +++ b/packages/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-events", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/events-index.js", "types": "lib/events-index.d.ts", "type": "module", @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-files/package.json b/packages/core-files/package.json index 85e963d5d..08964f9ee 100644 --- a/packages/core-files/package.json +++ b/packages/core-files/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-files", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/files-index.js", "types": "lib/files-index.d.ts", "type": "module", @@ -31,10 +31,10 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-filters/package.json b/packages/core-filters/package.json index 2fd0a25e5..133677bb6 100644 --- a/packages/core-filters/package.json +++ b/packages/core-filters/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-filters", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/filters-index.js", "types": "lib/filters-index.d.ts", "type": "module", @@ -31,10 +31,10 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "expiry-map": "^2.0.0", "p-memoize": "^7.1.1" }, diff --git a/packages/core-languages/package.json b/packages/core-languages/package.json index 66a3341fb..360ebbf7b 100644 --- a/packages/core-languages/package.json +++ b/packages/core-languages/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-languages", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/languages-index.js", "types": "lib/languages-index.d.ts", "type": "module", @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-orders/package.json b/packages/core-orders/package.json index 945ceb317..035a3aea3 100644 --- a/packages/core-orders/package.json +++ b/packages/core-orders/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-orders", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/orders-index.js", "types": "lib/orders-index.d.ts", "type": "module", @@ -32,9 +32,9 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@kontsedal/locco": "0.1.0", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-payment/package.json b/packages/core-payment/package.json index 953306a6d..e1cd67b38 100644 --- a/packages/core-payment/package.json +++ b/packages/core-payment/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-payment", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/payment-index.js", "types": "lib/payment-index.d.ts", "type": "module", @@ -31,9 +31,9 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-products/package.json b/packages/core-products/package.json index 7b3182418..206ee82f3 100644 --- a/packages/core-products/package.json +++ b/packages/core-products/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-products", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/products-index.js", "types": "lib/products-index.d.ts", "type": "module", @@ -31,9 +31,9 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-quotations/package.json b/packages/core-quotations/package.json index 2e44f2b3d..dbb6929fc 100644 --- a/packages/core-quotations/package.json +++ b/packages/core-quotations/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-quotations", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/quotations-index.js", "types": "lib/quotations-index.d.ts", "type": "module", @@ -31,9 +31,9 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-users/package.json b/packages/core-users/package.json index ea6650070..e225ab0bf 100644 --- a/packages/core-users/package.json +++ b/packages/core-users/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-users", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/users-index.js", "types": "lib/users-index.d.ts", "type": "module", @@ -32,12 +32,12 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@node-rs/bcrypt": "^1.10.7", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/roles": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/roles": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "peerDependencies": { "fido2-lib": ">= 3.5 < 4" diff --git a/packages/core-warehousing/package.json b/packages/core-warehousing/package.json index ceb5bb57a..1d4cd3c15 100644 --- a/packages/core-warehousing/package.json +++ b/packages/core-warehousing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-warehousing", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/warehousing-index.js", "types": "lib/warehousing-index.d.ts", "type": "module", @@ -31,9 +31,9 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/core-worker/package.json b/packages/core-worker/package.json index 6179a500f..85c02f543 100644 --- a/packages/core-worker/package.json +++ b/packages/core-worker/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-worker", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/worker-index.js", "types": "lib/worker-index.d.ts", "type": "module", @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/breejs__later": "^4.1.5", diff --git a/packages/core/package.json b/packages/core/package.json index 498446aa6..68ba1a8d8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/core-index.js", "types": "lib/core-index.d.ts", "type": "module", @@ -32,25 +32,25 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/core-assortments": "^3.0.0-rc.12", - "@unchainedshop/core-bookmarks": "^3.0.0-rc.12", - "@unchainedshop/core-countries": "^3.0.0-rc.12", - "@unchainedshop/core-currencies": "^3.0.0-rc.12", - "@unchainedshop/core-delivery": "^3.0.0-rc.12", - "@unchainedshop/core-enrollments": "^3.0.0-rc.12", - "@unchainedshop/core-events": "^3.0.0-rc.12", - "@unchainedshop/core-files": "^3.0.0-rc.12", - "@unchainedshop/core-filters": "^3.0.0-rc.12", - "@unchainedshop/core-languages": "^3.0.0-rc.12", - "@unchainedshop/core-orders": "^3.0.0-rc.12", - "@unchainedshop/core-payment": "^3.0.0-rc.12", - "@unchainedshop/core-products": "^3.0.0-rc.12", - "@unchainedshop/core-quotations": "^3.0.0-rc.12", - "@unchainedshop/core-users": "^3.0.0-rc.12", - "@unchainedshop/core-warehousing": "^3.0.0-rc.12", - "@unchainedshop/core-worker": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/core-assortments": "^3.0.0-rc.13", + "@unchainedshop/core-bookmarks": "^3.0.0-rc.13", + "@unchainedshop/core-countries": "^3.0.0-rc.13", + "@unchainedshop/core-currencies": "^3.0.0-rc.13", + "@unchainedshop/core-delivery": "^3.0.0-rc.13", + "@unchainedshop/core-enrollments": "^3.0.0-rc.13", + "@unchainedshop/core-events": "^3.0.0-rc.13", + "@unchainedshop/core-files": "^3.0.0-rc.13", + "@unchainedshop/core-filters": "^3.0.0-rc.13", + "@unchainedshop/core-languages": "^3.0.0-rc.13", + "@unchainedshop/core-orders": "^3.0.0-rc.13", + "@unchainedshop/core-payment": "^3.0.0-rc.13", + "@unchainedshop/core-products": "^3.0.0-rc.13", + "@unchainedshop/core-quotations": "^3.0.0-rc.13", + "@unchainedshop/core-users": "^3.0.0-rc.13", + "@unchainedshop/core-warehousing": "^3.0.0-rc.13", + "@unchainedshop/core-worker": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/packages/events/package.json b/packages/events/package.json index 99cdd4513..fd5b5bf06 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/events", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/events-index.js", "types": "lib/events-index.d.ts", "type": "module", @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12" + "@unchainedshop/logger": "^3.0.0-rc.13" }, "devDependencies": { "@types/jest": "^29.5.14", diff --git a/packages/file-upload/package.json b/packages/file-upload/package.json index 58dcbe4c7..b2f99c656 100644 --- a/packages/file-upload/package.json +++ b/packages/file-upload/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/file-upload", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/file-upload-index.js", "types": "lib/file-upload-index.d.ts", "type": "module", @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "base-x": "^5.0.0" }, "devDependencies": { diff --git a/packages/logger/package.json b/packages/logger/package.json index 4c8f2c70a..a3ff95d45 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/logger", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/logger-index.js", "types": "lib/logger-index.d.ts", "type": "module", diff --git a/packages/mongodb/package.json b/packages/mongodb/package.json index 2a1c2fe35..3b98f3d89 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/mongodb", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "description": "MongoDB provider for unchained platform", "main": "lib/mongodb-index.js", "types": "lib/mongodb-index.d.ts", @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/utils": "^3.0.0-rc.12" + "@unchainedshop/utils": "^3.0.0-rc.13" }, "peerDependencies": { "@mongodb-js/zstd": ">= 2.0 < 3", diff --git a/packages/platform/package.json b/packages/platform/package.json index 7e44f64e7..03d4a5059 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/platform", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/platform-index.js", "types": "lib/platform-index.d.ts", "type": "module", @@ -34,15 +34,15 @@ "node": ">=22.0.0" }, "dependencies": { - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12", - "@unchainedshop/plugins": "^3.0.0-rc.12", - "@unchainedshop/roles": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13", + "@unchainedshop/plugins": "^3.0.0-rc.13", + "@unchainedshop/roles": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "mustache": "^4.2.0", "safe-stable-stringify": "^2.5.0" }, diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 1a26c7d5e..30fcb225d 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/plugins", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/plugins-index.js", "types": "lib/plugins-index.d.ts", "exports": { @@ -36,18 +36,18 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core-delivery": "^3.0.0-rc.12", - "@unchainedshop/core-enrollments": "^3.0.0-rc.12", - "@unchainedshop/core-orders": "^3.0.0-rc.12", - "@unchainedshop/core-payment": "^3.0.0-rc.12", - "@unchainedshop/core-products": "^3.0.0-rc.12", - "@unchainedshop/core-warehousing": "^3.0.0-rc.12", - "@unchainedshop/core-worker": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/file-upload": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/utils": "^3.0.0-rc.12", + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core-delivery": "^3.0.0-rc.13", + "@unchainedshop/core-enrollments": "^3.0.0-rc.13", + "@unchainedshop/core-orders": "^3.0.0-rc.13", + "@unchainedshop/core-payment": "^3.0.0-rc.13", + "@unchainedshop/core-products": "^3.0.0-rc.13", + "@unchainedshop/core-warehousing": "^3.0.0-rc.13", + "@unchainedshop/core-worker": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/file-upload": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/utils": "^3.0.0-rc.13", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5" }, diff --git a/packages/roles/package.json b/packages/roles/package.json index 42bdd2a36..7611536ee 100644 --- a/packages/roles/package.json +++ b/packages/roles/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/roles", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "description": "Roles package for unchained engine", "main": "lib/roles-index.js", "types": "lib/roles-index.d.ts", diff --git a/packages/shared/package.json b/packages/shared/package.json index a5aa7e713..4594b1ed0 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,7 +1,7 @@ { "name": "@unchainedshop/shared", "private": true, - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "scripts": { "clean": "", "build": "", diff --git a/packages/ticketing/package.json b/packages/ticketing/package.json index 4a000e3cf..c60fd7570 100644 --- a/packages/ticketing/package.json +++ b/packages/ticketing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/ticketing", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/index.js", "types": "lib/index.d.ts", "type": "module", @@ -31,12 +31,12 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/api": "^3.0.0-rc.12", - "@unchainedshop/core-files": "^3.0.0-rc.12", - "@unchainedshop/core-worker": "^3.0.0-rc.12", - "@unchainedshop/events": "^3.0.0-rc.12", - "@unchainedshop/logger": "^3.0.0-rc.12", - "@unchainedshop/mongodb": "^3.0.0-rc.12" + "@unchainedshop/api": "^3.0.0-rc.13", + "@unchainedshop/core-files": "^3.0.0-rc.13", + "@unchainedshop/core-worker": "^3.0.0-rc.13", + "@unchainedshop/events": "^3.0.0-rc.13", + "@unchainedshop/logger": "^3.0.0-rc.13", + "@unchainedshop/mongodb": "^3.0.0-rc.13" }, "peerDependencies": { "@hyperlink/node-apn": ">= 5.1", diff --git a/packages/utils/package.json b/packages/utils/package.json index 614e00ff7..42de6a362 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/utils", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "main": "lib/utils-index.js", "types": "lib/utils-index.d.ts", "type": "module", @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^3.0.0-rc.12", + "@unchainedshop/logger": "^3.0.0-rc.13", "hashids": "^2.3.0", "resolve-accept-language": "^3.1.10" }, diff --git a/readme.md b/readme.md index 8d3fdd0fe..6b1c5f80f 100644 --- a/readme.md +++ b/readme.md @@ -36,52 +36,3 @@ npm start admin@unchained.local / password: password 2. Navigate to http://localhost:4010/graphql to view the GraphQL Playground - -## Migration to Unchained 1.0 - -See [changelog.md](changelog.md) - -## Migration to Unchained 2.0 - -1. WHATWG Fetch Support required -Update Node to 18 or enable Experimental Fetch support on Node.js 16+ - -2. GraphQL Version & Express backed-in -``` -npm install graphql@16 -npm uninstall apollo-server-express body-parser graphql-scalars graphql-upload isomorphic-unfetch locale simpl-schema -``` - -3. Switch to Battery-Included - -Remove custom login-with-single-sign-on and remove all code that involves loading standard plugins and/or gridfs/datatrans webhooks. Furthermore `startPlatform` will not hook into express and it will not start the graphql server automatically anymore. This has been changed to support other backend frameworks than Express and to support Lambda Mode of Apollo. For those reasons, `startPlatform` has been changed and now returns an object containing `unchainedAPI` and the `apolloGraphQLServer`. - -To make it boot with express and the default plugins, you have to do the following: - -Import the connect functions and the defaultModules: - -``` -import { defaultModules, connectDefaultPluginsToExpress4 } from '@unchainedshop/plugins'; -import { connect } from '@unchainedshop/api/express/index.js'; -``` - -Then pass defaultModules to the „modules“ prop of startPlatform: - -``` -const engine = await startPlatform({ modules: defaultModules, … }); -``` - -Now, start the GraphQL server, connect it to Express and load the custom modules: - -``` -const engine = await startPlatform({ … }); - -await engine.apolloGraphQLServer.start(); // Counterintuitively, this has to be done before the platform is connected to express - -connect(app, engine); -connectDefaultPluginsToExpress4(app, engine); -``` - -5. The userId’s that were used to set some internal db fields about updatedBy / createdBy need to be dropped from various functions. This will most propably affect seed code. Typescript will help you with that. - -6. Examine the API Breaking Changes in the Changelog for API incompatibilities between 1.2 and 2.0.