Skip to content

Commit

Permalink
Release 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Apr 17, 2024
1 parent c5a87e0 commit 81a9e19
Showing 1 changed file with 68 additions and 64 deletions.
132 changes: 68 additions & 64 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,88 @@
## [1.3.4](https://github.com/opencrvs/opencrvs-farajaland/compare/v1.3.3...v1.3.4)

## Breaking changes

## New features

## Bug fixes

- Fix typo in certificate handlebar names

See [Releases](https://github.com/opencrvs/opencrvs-farajaland/releases) for release notes of older releases.

## [1.3.3](https://github.com/opencrvs/opencrvs-farajaland/compare/v1.3.2...v1.3.3)

## Breaking changes

## New features

- #### Greater customizability of location data in certificates
The various admin level handlebars e.g. **statePlaceofbirth**,
**districtPrimaryMother** only contained the name of that location which was
not able to take advantage of all the information OpenCRVS had available
about the various admin levels e.g. the name of that location in the
secondary language. So we are introducing a new set of admin level
handlebars that would contain the **id** of that location which we can
resolve into a value of the shape
```
{
name: string
alias: string
}
```
using the new **"location"** handlebar helper. Here name is the primary
label of the location and alias being the secondary one. Currently only
these 2 fields are available but we will be adding more fields depending on
various countries requirements. If previously the certificate svg used to
contain `{{districtPlaceofbirth}}` then now we can replace it with
`{{location districtPlaceofbirthId 'name'}}`. To access alias, the `'name'`
needs to be replaced with `'alias'`.
Below is a list of all the new handlebars that are meant to be used with the
"location" handlebar helper.
- statePrimaryInformantId
- districtPrimaryInformantId
- statePlaceofbirthId
- districtPlaceofbirthId
- statePrimaryMotherId
- districtPrimaryMotherId
- statePrimaryFatherId
- districtPrimaryFatherId
- statePrimaryDeceasedId
- districtPrimaryDeceasedId
- statePlaceofdeathId
- districtPlaceofdeathId
- statePrimaryGroomId
- districtPrimaryGroomId
- statePrimaryBrideId
- districtPrimaryBrideId
- statePlaceofmarriageId
- districtPlaceofmarriageId
- registrar.stateId
- registrar.districtId
- registrar.officeId
- registrationAgent.stateId
- registrationAgent.districtId
- registrationAgent.officeId
##### We will be deprecating the counterpart of the above mentioned handlebars that contains only the label of the specified location in a future version so we highly recommend that implementers update their certificates to use these new ones.

The various admin level handlebars e.g. **statePlaceofbirth**,
**districtPrimaryMother** only contained the name of that location which was
not able to take advantage of all the information OpenCRVS had available
about the various admin levels e.g. the name of that location in the
secondary language. So we are introducing a new set of admin level
handlebars that would contain the **id** of that location which we can
resolve into a value of the shape

```
{
name: string
alias: string
}
```

using the new **"location"** handlebar helper. Here name is the primary
label of the location and alias being the secondary one. Currently only
these 2 fields are available but we will be adding more fields depending on
various countries requirements. If previously the certificate svg used to
contain `{{districtPlaceofbirth}}` then now we can replace it with
`{{location districtPlaceofbirthId 'name'}}`. To access alias, the `'name'`
needs to be replaced with `'alias'`.

Below is a list of all the new handlebars that are meant to be used with the
"location" handlebar helper.

- statePrimaryInformantId
- districtPrimaryInformantId
- statePlaceofbirthId
- districtPlaceofbirthId
- statePrimaryMotherId
- districtPrimaryMotherId
- statePrimaryFatherId
- districtPrimaryFatherId
- statePrimaryDeceasedId
- districtPrimaryDeceasedId
- statePlaceofdeathId
- districtPlaceofdeathId
- statePrimaryGroomId
- districtPrimaryGroomId
- statePrimaryBrideId
- districtPrimaryBrideId
- statePlaceofmarriageId
- districtPlaceofmarriageId
- registrar.stateId
- registrar.districtId
- registrar.officeId
- registrationAgent.stateId
- registrationAgent.districtId
- registrationAgent.officeId

##### We will be deprecating the counterpart of the above mentioned handlebars that contains only the label of the specified location in a future version so we highly recommend that implementers update their certificates to use these new ones.

- #### "Spouse" section in Farajaland death form

Spouse section is an optional section in death form. Going forward it will be included in Farajaland example configuration.

- #### Type of ID dropdown
Farajaland forms will now include a dropdown to select the type of ID an individual is providing e.g. National ID, Driving License etc. instead of being restricted to only national ID number.
- #### Number of dependents of deceased field
As an example of custom field, the deceased section in death form will now include the __numberOfDependants__ field.
As an example of custom field, the deceased section in death form will now include the **numberOfDependants** field.
- #### Reason for late registration field
The birth & death forms will include another custom field, __reasonForLateRegistration__, which makes use of "LATE_REGISTRATION_TARGET" configuration option in it's visibility conditional.
The birth & death forms will include another custom field, **reasonForLateRegistration**, which makes use of "LATE_REGISTRATION_TARGET" configuration option in it's visibility conditional.

## Bug fixes

- Updated translations for form introduction page and sending for approval to reflect the default notification method being email.
- Remove hard-coded conditionals from "occupation" field to make it usable in the deceased form
## [1.3.4](https://github.com/opencrvs/opencrvs-farajaland/compare/v1.3.3...v1.3.4) (TBD)
## Breaking changes
## New features
## Bug fixes
- Fix typo in certificate handlebar names
See [Releases](https://github.com/opencrvs/opencrvs-farajaland/releases) for release notes of older releases.

0 comments on commit 81a9e19

Please sign in to comment.