diff --git a/.github/workflows/auto-pr-to-release.yml b/.github/workflows/auto-pr-to-release.yml
index 968ebba47..0be40b8fb 100644
--- a/.github/workflows/auto-pr-to-release.yml
+++ b/.github/workflows/auto-pr-to-release.yml
@@ -73,11 +73,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check for milestone and if release branch exists
+ continue-on-error: true
id: check_release_branch
run: |
if [ -z "${{ env.MILESTONE }}" ]; then
echo "No milestone set. Exiting."
- exit 0
+ exit 1
fi
RELEASE_BRANCH="release-${{ env.MILESTONE }}"
@@ -87,10 +88,11 @@ jobs:
echo "RELEASE_BRANCH=${RELEASE_BRANCH}" >> $GITHUB_ENV
else
echo "Release branch $RELEASE_BRANCH does not exist. Exiting."
- exit 0
+ exit 1
fi
- name: Create and push the new branch for the PR
+ if: ${{ steps.check_release_branch.outcome == 'success' }}
run: |
SEMANTIC_PR_TITLE="${{ env.PR_TITLE }}"
diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml
index a60139597..93288c6e1 100644
--- a/.github/workflows/deploy-prod.yml
+++ b/.github/workflows/deploy-prod.yml
@@ -14,7 +14,7 @@ on:
core-image-tag:
description: Core DockerHub image tag
required: true
- default: 'v1.4.1'
+ default: 'v1.5.0'
countryconfig-image-tag:
description: Your Country Config DockerHub image tag
required: true
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index a747682bb..4c3d837ec 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -15,7 +15,7 @@ on:
core-image-tag:
description: Core DockerHub image tag
required: true
- default: 'v1.4.1'
+ default: 'v1.5.0'
countryconfig-image-tag:
description: Your Country Config DockerHub image tag
required: true
diff --git a/.github/workflows/reset-2fa.yml b/.github/workflows/reset-2fa.yml
index 7ed86fb52..729f9f47d 100644
--- a/.github/workflows/reset-2fa.yml
+++ b/.github/workflows/reset-2fa.yml
@@ -16,6 +16,7 @@ on:
- staging
- qa
- production
+ - backup
jobs:
reset:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c1407a662..2410acbfa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,24 +2,45 @@
## 1.6.0 (TBD)
+### Breaking changes
+
- Remove `splitView` option from DOCUMENT_UPLOADER_WITH_OPTION field
- New required sections preview & review added. Signature field definitions are now part of these two sections same as normal form fields.
+- Remove `inputFieldWidth` from Number type form field
+
+## 1.5.0
+
+### Breaking changes
+
+- #### Update the certificate preview mechanism
+
+ In effort of minimizing JavaScript-bundle size, we have streamlined the way how review certificate -page renders certificates. In case the images in your certificates are previewing blurry, you need to update your SVG-certificates to print QR-codes and other images directly with `` instead of the more complicated `` -paradigm. This doesn't affect printed certificates as they are still created as previously.
+
+- #### Application config items `DATE_OF_BIRTH_UNKNOWN` and `INFORMANT_SIGNATURE_REQUIRED` moved under `FEATURES`
+
+ See https://github.com/opencrvs/opencrvs-farajaland/pull/1005 for details
+
+- #### Infrastructure
-## [1.5.0]
+- Treat backup host identically to other hosts. To migrate:
+
+ 1. Move all inventory files (qa.yml, production.yml...) from `infrastructure/server-setup` to `infrastructure/server-setup/inventory`
+ 2. Run environment creator for your backup server `yarn environment:init --environment=backup`
+
+### Other changes
+- Upgrade Node.js to 18
+- Remove dependency OpenHIM. The OpenHIM database is kept for backwards compatibility reasons and will be removed in v1.6
- Change auth URLs to access them via gateway
- Add hearth URL to search service
- Include an endpoint for serving individual certificates in development mode
- Include compositionId in confirm registration payload
-- Move individual configuration options to feature flags
- Remove logrocket refrences
-- Upgrade to node 18
- Enable gzip compression in client & login
- Make SENTRY_DSN variable optional
- Use docker compose v2 in github workflows
- Mass email from national system admin
-- Remove dependency on openhim. The openhim db is kept for backwards compatibility reasons and will be removed in v1.6
-- Add smtp environment variables in qa compose file
+- Add SMTP environment variables in qa compose file
- Use image tag instead of patterns in certificate SVGs
- Generate default address according to logged-in user's location
- Remove authentication from dashboard queries route
@@ -32,13 +53,10 @@
- Provide env variables for metabase admin credentials
- Improved formatting of informant name for inProgress declaration emails
- Rename `farajaland-map.geojson` to `map.geojson` to not tie implementations into example country naming
+- Remove `splitView` option from DOCUMENT_UPLOADER_WITH_OPTION field [#114](https://github.com/opencrvs/opencrvs-countryconfig/pull/114)
+- Enable authentication for certificates endpoint [#188](https://github.com/opencrvs/opencrvs-countryconfig/pull/188)
-**Infrastructure**
-
-- Treat backup host identically to other hosts. To migrate:
-
- 1. Move all inventory files (qa.yml, production.yml...) from `infrastructure/server-setup` to `infrastructure/server-setup/inventory`
- 2. Run environment creator for your backup server `yarn environment:init --environment=backup`
+- #### Infrastructure
- Allow using staging to both period restore of production backup and also for backing up its own data to a different location using `backup_server_remote_target_directory` and `backup_server_remote_source_directory` ansible variables. This use case is mostly meant for OpenCRVS team internal use.
diff --git a/infrastructure/environments/setup-environment.ts b/infrastructure/environments/setup-environment.ts
index 12f8a9bfe..83a0642bf 100644
--- a/infrastructure/environments/setup-environment.ts
+++ b/infrastructure/environments/setup-environment.ts
@@ -221,8 +221,7 @@ async function promptAndStoreAnswer(
}
function generateLongPassword() {
- const chars =
- '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_'
+ const chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
let result = ''
for (let i = 16; i > 0; --i)
result += chars[Math.floor(Math.random() * chars.length)]
diff --git a/package.json b/package.json
index 6969d4376..dd2250442 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencrvs/countryconfig",
- "version": "1.4.1",
+ "version": "1.5.0",
"description": "OpenCRVS country configuration for reference data",
"os": [
"darwin",