From 8178bcec666f83a81e944f1eebab6bed9e2571e1 Mon Sep 17 00:00:00 2001 From: Michal Kleszcz Date: Wed, 22 May 2024 11:40:39 +0200 Subject: [PATCH] chore(release): 3.0.0 --- CHANGELOG.md | 33 +++++++++++++++++++ package.json | 2 +- packages/backend/package.json | 2 +- packages/contentful/package.json | 2 +- packages/infra/infra-core/package.json | 2 +- packages/infra/infra-functions/package.json | 2 +- packages/infra/infra-shared/package.json | 2 +- packages/internal/cli/package.json | 2 +- packages/internal/core/package.json | 2 +- packages/internal/docs/package.json | 2 +- .../internal/status-dashboard/package.json | 2 +- packages/internal/tools/package.json | 2 +- .../webapp-api-client/package.json | 2 +- .../webapp-contentful/package.json | 2 +- packages/webapp-libs/webapp-core/package.json | 2 +- .../webapp-libs/webapp-crud-demo/package.json | 2 +- .../webapp-libs/webapp-documents/package.json | 2 +- .../webapp-libs/webapp-emails/package.json | 2 +- .../webapp-libs/webapp-finances/package.json | 2 +- .../webapp-generative-ai/package.json | 2 +- .../webapp-notifications/package.json | 2 +- .../webapp-libs/webapp-tenants/package.json | 2 +- packages/webapp/package.json | 2 +- packages/workers/package.json | 2 +- 24 files changed, 56 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af0906eee..f1fb5a9d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,39 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [3.0.0](https://github.com/apptension/saas-boilerplate/compare/2.6.1...3.0.0) (2024-05-22) + +### ⚠ BREAKING CHANGES + +- Important migration instructions + +Before running the multi-tenancy migrations on your existing codebase or database, it is crucial to follow these steps to avoid any issues: + +1. Remove or comment `DJSTRIPE_SUBSCRIBER_MODEL` setting +2. Run the migrations +3. Revert the change: After the migrations have successfully completed, revert the change by uncommenting or re-adding the `DJSTRIPE_SUBSCRIBER_MODEL` setting. + +### Features + +- [#382](https://github.com/apptension/saas-boilerplate/issues/382) Multi-tenancy / Add support for multiple tenants ([#561](https://github.com/apptension/saas-boilerplate/issues/561)) ([e6c6dc3](https://github.com/apptension/saas-boilerplate/commit/e6c6dc39f0e96b3bb596f6b5dfae137938b37b1b)) +- Add `deps:` type to conventional-changelog ([#545](https://github.com/apptension/saas-boilerplate/issues/545)) ([8e7e982](https://github.com/apptension/saas-boilerplate/commit/8e7e982ef8246d9fcb05f82a2e96e983544c626e)) + +### Bug Fixes + +- Create default tenant for newly created social users ([#572](https://github.com/apptension/saas-boilerplate/issues/572)) ([d42bb44](https://github.com/apptension/saas-boilerplate/commit/d42bb445e1208d2ea15ba16919937685c156c259)) +- Missing \*.spec.tsx pattern in multiple tsconfig.spec.json files ([#557](https://github.com/apptension/saas-boilerplate/issues/557)) ([9dfcd51](https://github.com/apptension/saas-boilerplate/commit/9dfcd51fa3cdde3cb6e0becdcdff9a67793d8f49)) + +### Dependencies + +- [@testing-library](https://github.com/testing-library) update ([#563](https://github.com/apptension/saas-boilerplate/issues/563)) ([569fcee](https://github.com/apptension/saas-boilerplate/commit/569fcee66a7aafd77ba1352d89a304f4ca0f445a)) +- deprecated packages ([#552](https://github.com/apptension/saas-boilerplate/issues/552)) ([b83fe6f](https://github.com/apptension/saas-boilerplate/commit/b83fe6f349fb462aa1ec6f51699e373888b5ffbd)) +- root package bulk update (low impact) ([#565](https://github.com/apptension/saas-boilerplate/issues/565)) ([282bd5d](https://github.com/apptension/saas-boilerplate/commit/282bd5d8ea36074fb667f8516b3e6d60e2d6abb6)) +- Update aws libs ([#566](https://github.com/apptension/saas-boilerplate/issues/566)) ([0597933](https://github.com/apptension/saas-boilerplate/commit/05979330b3b15ada8ae02ae8d740ad5a4205215a)) +- Update nx to 19.0.1 ([#546](https://github.com/apptension/saas-boilerplate/issues/546)) ([063a891](https://github.com/apptension/saas-boilerplate/commit/063a891a25e17d5ed8da271004826f0ac57febc6)) +- Update sentry/react ([#569](https://github.com/apptension/saas-boilerplate/issues/569)) ([fadfdbf](https://github.com/apptension/saas-boilerplate/commit/fadfdbf8cd5aa80b62619712741515d1d9777d15)) +- Update vite to 5.2.x ([#551](https://github.com/apptension/saas-boilerplate/issues/551)) ([fc029f5](https://github.com/apptension/saas-boilerplate/commit/fc029f56d60e68e1b51583e268527639619e658b)) +- webapp-core package updates ([#559](https://github.com/apptension/saas-boilerplate/issues/559)) ([1e2837e](https://github.com/apptension/saas-boilerplate/commit/1e2837e7189c345bd1d785666eb665d89088cf4a)) + ### [2.6.1](https://github.com/apptension/saas-boilerplate/compare/2.6.0...2.6.1) (2024-05-10) ### Bug Fixes diff --git a/package.json b/package.json index a2e2c402a..bbc1ad416 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sb", - "version": "2.6.1", + "version": "3.0.0", "license": "MIT", "private": true, "scripts": { diff --git a/packages/backend/package.json b/packages/backend/package.json index 6622f0805..59b1a37e0 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@sb/backend", - "version": "2.6.1", + "version": "3.0.0", "scripts": { "lint:js": "eslint ." }, diff --git a/packages/contentful/package.json b/packages/contentful/package.json index 975754d49..c35823126 100644 --- a/packages/contentful/package.json +++ b/packages/contentful/package.json @@ -1,6 +1,6 @@ { "name": "contentful", - "version": "2.6.1", + "version": "3.0.0", "main": "index.js", "license": "UNLICENSED", "dependencies": { diff --git a/packages/infra/infra-core/package.json b/packages/infra/infra-core/package.json index 706c2a895..895c0a875 100644 --- a/packages/infra/infra-core/package.json +++ b/packages/infra/infra-core/package.json @@ -1,6 +1,6 @@ { "name": "@sb/infra-core", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "build": "tsc --project tsconfig.lib.json" diff --git a/packages/infra/infra-functions/package.json b/packages/infra/infra-functions/package.json index 386ce7a8f..05cad9c50 100644 --- a/packages/infra/infra-functions/package.json +++ b/packages/infra/infra-functions/package.json @@ -1,6 +1,6 @@ { "name": "@sb/infra-functions", - "version": "2.6.1", + "version": "3.0.0", "description": "", "main": "handler.js", "author": "", diff --git a/packages/infra/infra-shared/package.json b/packages/infra/infra-shared/package.json index 2c78332ac..46826f5f3 100644 --- a/packages/infra/infra-shared/package.json +++ b/packages/infra/infra-shared/package.json @@ -1,6 +1,6 @@ { "name": "@sb/infra-shared", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "build": "tsc --project tsconfig.lib.json" diff --git a/packages/internal/cli/package.json b/packages/internal/cli/package.json index acd09c313..f76f7d4ca 100644 --- a/packages/internal/cli/package.json +++ b/packages/internal/cli/package.json @@ -1,6 +1,6 @@ { "name": "@sb/cli", - "version": "2.6.1", + "version": "3.0.0", "description": "SaaS Boilerplate CLI", "author": "Patryk Ziemkowski pziemkowski@apptension.com", "bin": { diff --git a/packages/internal/core/package.json b/packages/internal/core/package.json index cde0f6e5f..00b6ffb3e 100644 --- a/packages/internal/core/package.json +++ b/packages/internal/core/package.json @@ -1,6 +1,6 @@ { "name": "@sb/core", - "version": "2.6.1", + "version": "3.0.0", "devDependencies": { "dotenv": "^16.3.1", "envalid": "^7.3.1", diff --git a/packages/internal/docs/package.json b/packages/internal/docs/package.json index 5007ce0b2..6c6840e48 100644 --- a/packages/internal/docs/package.json +++ b/packages/internal/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "2.6.1", + "version": "3.0.0", "private": true, "scripts": { "docusaurus": "nx exec -- docusaurus", diff --git a/packages/internal/status-dashboard/package.json b/packages/internal/status-dashboard/package.json index 871b10990..fe5e9885f 100644 --- a/packages/internal/status-dashboard/package.json +++ b/packages/internal/status-dashboard/package.json @@ -1,6 +1,6 @@ { "name": "status-dashboard", - "version": "2.6.1", + "version": "3.0.0", "private": true, "scripts": {}, "dependencies": { diff --git a/packages/internal/tools/package.json b/packages/internal/tools/package.json index 0cb150b36..1dc007f0d 100644 --- a/packages/internal/tools/package.json +++ b/packages/internal/tools/package.json @@ -1,6 +1,6 @@ { "name": "@sb/tools", - "version": "2.6.1", + "version": "3.0.0", "main": "src/index.js", "generators": "./generators.json", "executors": "./executors.json", diff --git a/packages/webapp-libs/webapp-api-client/package.json b/packages/webapp-libs/webapp-api-client/package.json index 8514bea79..1d5fb8904 100644 --- a/packages/webapp-libs/webapp-api-client/package.json +++ b/packages/webapp-libs/webapp-api-client/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-api-client", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-contentful/package.json b/packages/webapp-libs/webapp-contentful/package.json index d41e6a4fb..11fcec099 100644 --- a/packages/webapp-libs/webapp-contentful/package.json +++ b/packages/webapp-libs/webapp-contentful/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-contentful", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-core/package.json b/packages/webapp-libs/webapp-core/package.json index a9a2996a5..0fcf43640 100644 --- a/packages/webapp-libs/webapp-core/package.json +++ b/packages/webapp-libs/webapp-core/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-core", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-crud-demo/package.json b/packages/webapp-libs/webapp-crud-demo/package.json index a0406c4e7..0336345d7 100644 --- a/packages/webapp-libs/webapp-crud-demo/package.json +++ b/packages/webapp-libs/webapp-crud-demo/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-crud-demo", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-documents/package.json b/packages/webapp-libs/webapp-documents/package.json index 62b252006..0aeca4bee 100644 --- a/packages/webapp-libs/webapp-documents/package.json +++ b/packages/webapp-libs/webapp-documents/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-documents", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-emails/package.json b/packages/webapp-libs/webapp-emails/package.json index 26228f29a..e8bfd552a 100644 --- a/packages/webapp-libs/webapp-emails/package.json +++ b/packages/webapp-libs/webapp-emails/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-emails", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-finances/package.json b/packages/webapp-libs/webapp-finances/package.json index ba396d5c1..f676a6477 100644 --- a/packages/webapp-libs/webapp-finances/package.json +++ b/packages/webapp-libs/webapp-finances/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-finances", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-generative-ai/package.json b/packages/webapp-libs/webapp-generative-ai/package.json index 69f9563d9..6d582ecaf 100644 --- a/packages/webapp-libs/webapp-generative-ai/package.json +++ b/packages/webapp-libs/webapp-generative-ai/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-generative-ai", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-notifications/package.json b/packages/webapp-libs/webapp-notifications/package.json index a7324fdbf..9c36c93c7 100644 --- a/packages/webapp-libs/webapp-notifications/package.json +++ b/packages/webapp-libs/webapp-notifications/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-notifications", - "version": "2.6.1", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp-libs/webapp-tenants/package.json b/packages/webapp-libs/webapp-tenants/package.json index 13b985909..2a8c62e9c 100644 --- a/packages/webapp-libs/webapp-tenants/package.json +++ b/packages/webapp-libs/webapp-tenants/package.json @@ -1,6 +1,6 @@ { "name": "@sb/webapp-tenants", - "version": "2.6.0", + "version": "3.0.0", "type": "commonjs", "scripts": { "test": "jest", diff --git a/packages/webapp/package.json b/packages/webapp/package.json index b08d1c271..b7b64c375 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -1,6 +1,6 @@ { "name": "webapp", - "version": "2.6.1", + "version": "3.0.0", "private": true, "scripts": { "extract-intl": "formatjs extract 'src/**/!(*.d).(js|jsx|ts|tsx)' '../webapp-libs/*/src/**/!(*.d).(js|jsx|ts|tsx)' --id-interpolation-pattern '[sha512:contenthash:base64:6]' --out-file ../webapp-libs/webapp-core/src/translations/en.json --ignore src/tests/mocks/** --ignore ../webapp-libs/*src/tests/mocks/**", diff --git a/packages/workers/package.json b/packages/workers/package.json index 934135cb9..0b79f4ab8 100755 --- a/packages/workers/package.json +++ b/packages/workers/package.json @@ -1,6 +1,6 @@ { "name": "workers", - "version": "2.6.1", + "version": "3.0.0", "description": "", "main": "index.js", "scripts": {