Skip to content

1.2.1

Compare
Choose a tag to compare
@csmig csmig released this 18 Jan 12:15
· 401 commits to main since this release
74e6477

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 type JSON
  • Sets the value of column settings for each record in table collection based on the value of metadata.fieldSettings if it exists, and metadata.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 and statusSettings from the value of column metadata for each record in table collection

We recommend backing up your database before updating to any release with a database migration.

Commits: