Skip to main content

1.1.0 to 1.2.0

This document describes the upgrade instructions from 1.1.0 to 1.2.0.

UI View Schema Grid Update (#387)

The UI view schema has replaced the layout property with a much simpler grid property. The grid property fully specifies the panel grids on the UI plan page. To update just delete the old layout object and add the grid object to your existing views or view generation scripts. Here is the diff:

{
+ "grid": {
+ "columnSizes": "1fr 3px 3fr 3px 1fr",
+ "leftComponentBottom": "SimulationPanel",
+ "leftComponentTop": "ActivityTypesPanel",
+ "leftHidden": false,
+ "leftRowSizes": "1fr",
+ "leftSplit": false,
+ "middleComponentBottom": "ActivityTablePanel",
+ "middleRowSizes": "2fr 3px 1fr",
+ "middleSplit": true,
+ "rightComponentBottom": "TimelineEditorPanel",
+ "rightComponentTop": "ActivityFormPanel",
+ "rightHidden": false,
+ "rightRowSizes": "1fr",
+ "rightSplit": false
+ },
- "layout": {
- "columnSizes": "1fr 3px 3fr 3px 1fr",
- "columns": [
- { "componentName": "ActivityTypesPanel", "id": 1, "type": "component" },
- { "id": 2, "track": 1, "type": "gutter" },
- {
- "id": 3,
- "rowSizes": "2fr 3px 1fr",
- "rows": [
- { "componentName": "TimelinePanel", "id": 4, "timelineId": 0, "type": "component" },
- { "id": 5, "track": 1, "type": "gutter" },
- { "activityTableId": 0, "componentName": "ActivityTablePanel", "id": 6, "type": "component" }
- ],
- "type": "rows"
- },
- { "id": 7, "track": 3, "type": "gutter" },
- { "componentName": "ActivityFormPanel", "id": 8, "type": "component" }
- ],
- "gridName": "View",
- "id": 0,
- "type": "columns"
- }
}

Here is a good default grid JSON for easy copy-paste:

{
"columnSizes": "1fr 3px 3fr 3px 1fr",
"leftComponentBottom": "SimulationPanel",
"leftComponentTop": "ActivityTypesPanel",
"leftHidden": false,
"leftRowSizes": "1fr",
"leftSplit": false,
"middleComponentBottom": "ActivityTablePanel",
"middleRowSizes": "2fr 3px 1fr",
"middleSplit": true,
"rightComponentBottom": "TimelineEditorPanel",
"rightComponentTop": "ActivityFormPanel",
"rightHidden": false,
"rightRowSizes": "1fr",
"rightSplit": false
}

JSON (de)serialization of SerializedValue Refactor (#577)

Any implementations of the SerializedValue.Visitor interface will need to replace their onReal(double) and onInt(long) methods with the new onNumeric(BigDecimal) method.

Seq JSON Version Bump (#683)

The Aerie sequence editor now supports seq-json-schema version 1.0.16. This should be mostly transparent if you've been keeping up with the schema versions, but we are noting it here for completeness.