All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- return type for
schedulingService.checkFormSchedulingEvent
toFormSchedulingEvent
getDisplayDetailsFromFormSubmissionPayment
topaymentService
webhookSubscriptionService
submissionService.processInjectablesInCustomResource()
- [BREAKING] support for NodeJS 16
formElementsService.getRootElementValueById()
to support retrieving submission data from nested forms
- check if repeatable set element value is an empty array
ADDRESS_DETAILS
predicate type added toconditionalLogicService.evaluateConditionalPredicate
googleAddress
to typed Lookup Elementsgroups
toparseUserProfile()
- support for
FORM
predicate type inevaluateConditionalPredicate
- replaceCustomValues working with nested values and propertyName
excludeNestedElements
option tosubmissionService.replaceInjectablesWithElementValues()
,submissionService.replaceInjectablesWithSubmissionValues()
andformElementsService.matchElementsTagRegex()
- [BREAKING]
submissionService.replaceInjectablesWithElementValues()
andsubmissionService.replaceInjectablesWithSubmissionValues()
return value to be an object with ahadAllInjectablesReplaced
property - [BREAKING] allow
submissionService.getElementSubmissionValue
to accept an optionalelementId
property and return element and value
- [BREAKING]
formElementsService.ElementWYSIWYGRegex
arcGISWebMap
form element tosubmissionService
- Westpac Quickstream payment event to typeCastService
apiNSWLiquorLicense
form element totypeCastService
andsubmissionService
- repeatable set conditional logic not evaluating predicate elements correctly
formElementsService.injectFormElementsIntoForm()
- username to
replaceInjectablesWithElementValues
{TASK_NAME}
,{TASK_GROUP_NAME}
and{TASK_GROUP_INSTANCE_LABEL}
to replaceable parameters
REPEATABLESET
predicate type toconditionalLogicService.evaluateConditionalPredicate
- CI job for building docs
formElementsService.fixElementName()
formElementsService.parseDynamicFormElementOptions()
- [BREAKING]
formElementsService.parseFormElementOptionsSet()
toAutoLookupElement
totypeCastService.formElements
formElementsService.determineIsInfoPage()
gov-pay
payment event to payment event check
- [BREAKING] support for NodeJS 14
- Submission value (Non Element) injectable replacement was only replacing first instance in a string
- Also inject user email with
replaceInjectablesWithElementValues
- [BREAKING]
submissionService.replaceElementValues()
tosubmissionService.replaceInjectablesWithElementValues()
- [BREAKING]
submissionService.replaceCustomValues()
tosubmissionService.replaceInjectablesWithSubmissionValues()
- [BREAKING] required
formatDateTime()
option tosubmissionService.getElementSubmissionValue()
,submissionService.replaceCustomValues()
andsubmissionService.replaceElementValues()
@microsoft/eslint-plugin-sdl
eslint plugin
- unit tests for allowing an element to be used twice in a conditional predicate
- support for NodeJS 18
- [BREAKING] support for NodeJS 12
WYSIWYGRegex
toformElementsService
matchElementsTagRegex
toformElementsService
replaceElementValues
tosubmissionService
- message returned from ABN service when business name isn't found
generateFormElementsConditionallyShown
- Dependant option set elements will now return adependencyIsLoading?
property
- Added
emailVerified
,phoneNumber
andphoneNumberVerified
values toUserProfile
- update
getABNNumberFromABNRecord
to look forisCurrentIndicator
equal to 'Y'
- type checks to submission data
freshdeskDependentField
form element
schedulingService
submissionService
paymentService
fileUploadService
'ELEMENT'
based'NUMERIC'
conditional predicates to allow showing a form element based on the numeric value of another form element
- [BREAKING]
validatePaymentAmount()
function. Replaced bypaymentService.checkForPaymentEvent()
- [BREAKING]
getContentDisposition()
function. Replaced byfileUploadService.getContentDisposition()
- [BREAKING]
replaceCustomValues()
function. Moved intosubmissionService
- [BREAKING]
getElementSubmissionValue()
function. Moved intosubmissionService
- [BREAKING]
conditionalLogicService.evaluateConditionalPredicate()
function. - [BREAKING]
conditionalLogicService.evaluateConditionalOptionsPredicate()
function.
- Payment validation for payments
- Removed test script
toStorageElement
totypeCastService.formElements
- added generateFormElementsConditionallyShown to conditionalLogicService
- added flattenFormElements to formElementService
- contentDisposition function for file upload
abnService
abn
element and relating information
bsb
andfiles
to lookup form elements
- [BREAKING]
getElementSubmissionValue
form
parameter toformElements
replaceCustomValues()
only replacing element submission data that is a string
getElementSubmissionValue
not catering for'autocomplete'
form elements having no options
- [BREAKING]
getElementSubmissionValue
function to use labels and obey element rules for certain elements
replaceCustomValues()
adding"undefined"
to string
previousApprovalId
toreplaceCustomValues
Initial release