1.2.1
Changes:
- BREAKING API CHANGE: The OpenAPI schema for Collection was revised.
Collection.workflowwas removed.Collection.settingswas introduced and is mandatory for POST/PUT requests. - Resolved a bug where
Collection.descriptionwas not being saved (#547) - CI pipeline modified to detect bugs such as the above
Includes a MySQL migration that:
- Drops column
collection.workflow - Adds column
collection.settingsas typeJSON - Sets the value of column
settingsfor each record in tablecollectionbased on the value ofmetadata.fieldSettingsif it exists, andmetadata.statusSettingsif it exists. If those values do not exist, then the default value of settings is used.
{
"fields": {
"detail": {
"enabled": "findings",
"required": "findings"
},
"comment": {
"enabled": "always",
"required": "always"
}
},
"status": {
"canAccept": true,
"minAcceptGrant": 3,
"resetCriteria": "result"
}
}
- Removes the keys
fieldSettingsandstatusSettingsfrom the value of columnmetadatafor each record in tablecollection
We recommend backing up your database before updating to any release with a database migration.
Commits: