Skip to content

Commit

Permalink
Release v1.13.0 (#83)
Browse files Browse the repository at this point in the history
* Release v1.13.0

* added migration steps for constraint violations

---------

Co-authored-by: Chet Joswig <[email protected]>
  • Loading branch information
camargo and Chet Joswig authored Sep 6, 2023
1 parent da5a850 commit a2cc3e9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/upgrade-guides/1-12-0-to-1-13-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 1.12.0 to 1.13.0

This document describes the upgrade instructions from `1.12.0` to `1.13.0`.

## Update Constraints to Use New Schema

The shape of violation responses has changed to include additional context information and allow for the implementation of rolling window constraints. The updated graphql shape to query for violations is below.

```diff
query CheckConstraints($planId: Int!) {
constraintViolations(planId: $planId) {
- violations
+ constraintId
+ constraintName
+ resourceIds
+ type
+ violations {
+ activityInstanceIds
+ windows {
+ end
+ start
+ }
+ }
}
}
```
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ const sidebars = {
'glossary',
],
upgradeGuides: [
'upgrade-guides/1-12-0-to-1-13-0',
'upgrade-guides/1-11-0-to-1-12-0',
'upgrade-guides/1-10-0-to-1-11-0',
'upgrade-guides/1-9-0-to-1-10-0',
Expand Down

0 comments on commit a2cc3e9

Please sign in to comment.