1.2.1
Changes:
- BREAKING API CHANGE: The OpenAPI schema for Collection was revised.
Collection.workflow
was removed.Collection.settings
was introduced and is mandatory for POST/PUT requests. - Resolved a bug where
Collection.description
was 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.settings
as typeJSON
- Sets the value of column
settings
for each record in tablecollection
based on the value ofmetadata.fieldSettings
if it exists, andmetadata.statusSettings
if 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
fieldSettings
andstatusSettings
from the value of columnmetadata
for each record in tablecollection
We recommend backing up your database before updating to any release with a database migration.
Commits: