From e182350ef167250734a773ea6fe0361626936b96 Mon Sep 17 00:00:00 2001 From: kristoferlund Date: Wed, 28 Sep 2022 19:52:00 +0200 Subject: [PATCH 1/2] v0.12.2 --- CHANGELOG.md | 12 +++++++++++- package.json | 2 +- packages/api/package.json | 2 +- packages/discord-bot/package.json | 2 +- packages/frontend/package.json | 2 +- packages/frontend/src/model/app.ts | 2 +- packages/mongodb/package.json | 2 +- packages/setup/package.json | 2 +- 8 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b016a504..f81172881 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Setup script now uses a prebuilt Docker image to speed up setup process. #575 #606 +## [0.12.2] - 2022-09-28 + +### Added + +- **Devops:** Setup script now uses a prebuilt Docker image to speed up setup process. #575 #606 +- **Devops:** Merged project `.env` files into a single root file to simplify for automated setup #591 + +### Fixed + +- **API:** Quantify endpoint now disallows any scores that are not in the configured range #608 #610 +- **Frontend:** Praise logo in dashboard is now linked again, taking user to start page #609 #611 ## [0.12.1] - 2022-09-27 diff --git a/package.json b/package.json index 3db56fa27..3a5b02117 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "praise", - "version": "0.12.1", + "version": "0.12.2", "license": "GPL-3.0-or-later", "description": "Praise community contributions to build a culture of giving and gratitude.", "private": true, diff --git a/packages/api/package.json b/packages/api/package.json index 5ddb727df..d7cdb6b7b 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "api", - "version": "0.12.1", + "version": "0.12.2", "license": "GPL-3.0-or-later", "description": "The Praise REST API running on Node/Express, using MongoDB for storage.", "type": "commonjs", diff --git a/packages/discord-bot/package.json b/packages/discord-bot/package.json index 19096d17e..31cc07f43 100644 --- a/packages/discord-bot/package.json +++ b/packages/discord-bot/package.json @@ -1,6 +1,6 @@ { "name": "discord-bot", - "version": "0.12.1", + "version": "0.12.2", "license": "GPL-3.0-or-later", "description": "The Praise Discord bot is the main way for users to interact with the Praise system.", "dependencies": { diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 74d338b9f..319540566 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "0.12.1", + "version": "0.12.2", "license": "GPL-3.0-or-later", "description": "The Praise dashboard built on React/Recoil/Tailwind CSS.", "private": true, diff --git a/packages/frontend/src/model/app.ts b/packages/frontend/src/model/app.ts index c3730e8a9..8c894a0ad 100644 --- a/packages/frontend/src/model/app.ts +++ b/packages/frontend/src/model/app.ts @@ -33,7 +33,7 @@ interface PraiseAppVersion { export const usePraiseAppVersion = (): PraiseAppVersion => { const appVersion: PraiseAppVersion = { - current: '0.12.1', //TODO: get this from package.json + current: '0.12.2', //TODO: get this from package.json latest: undefined, newVersionAvailable: false, }; diff --git a/packages/mongodb/package.json b/packages/mongodb/package.json index 0dc4f4924..15e20aa08 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "mongodb", - "version": "0.12.1", + "version": "0.12.2", "license": "GPL-3.0-or-later", "description": "The Prasie data is stored in a MongoDb database." } diff --git a/packages/setup/package.json b/packages/setup/package.json index 449d4a7ab..f0fe20a6d 100644 --- a/packages/setup/package.json +++ b/packages/setup/package.json @@ -1,6 +1,6 @@ { "name": "setup", - "version": "0.12.1", + "version": "0.12.2", "license": "GPL-3.0-or-later", "type": "commonjs", "description": "Praise ENV setup scripts.", From 80cffce925e4c3d85dee0beb0e60960426ec6cb3 Mon Sep 17 00:00:00 2001 From: kristoferlund Date: Wed, 28 Sep 2022 19:58:31 +0200 Subject: [PATCH 2/2] CHANGELOG --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f81172881..ad2878977 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **API:** Quantify endpoint now disallows any scores that are not in the configured range #608 #610 - **Frontend:** Praise logo in dashboard is now linked again, taking user to start page #609 #611 +### Upgrade Instructions + +Beacause of changes to the `.env` file structure, you need to run the setup script after pulling +changes from GitHub. + +1. `git pull` +2. `bash setup.sh` +3. `bash upgrade.sh` + ## [0.12.1] - 2022-09-27 A minor release to fix some bugs related to image uploading.