2.2.8
See changelog and completed issues
API changes
Added ability to specify release
guards per state according to #90. Example:
schema: {
states: [
{
name: "open",
description: "Open",
release: [ // this section is new
{
to: "approved" // optional
guards: [...] // the same what we have in transitions
},
...
]
}
]
}
Added new configuration property for editor:
schemaConfig = {
state: {
releaseGuards: {
toState: 'single' // all, single, multiple (default)
},
}
}
See issue for details about these options.