Skip to content

v5.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Jun 19:21
· 201 commits to refs/heads/main since this release
18786c4

5.0.0 (2023-06-01)

⚠ BREAKING CHANGES

  • dashboards: handle dynamic dashboards in SingleWidgetDashboardSegment (#373)
    • addToSummary and addToAlarm props have been removed
      • To control dashboard visibility of this segment, please use MonitoringDashboardsOverrideProps in calls to addSegment instead.
      • No action is required if you were not providing these props
    • dashboardsToInclude prop has been added
      • If you would like to use SingleWidgetDashboardSegment with dynamic dashboards, provide the list of dashboards on which this segment should show.

Before:

// Adds single widget to detail dashboard only
facade.addSegment(
      new SingleWidgetDashboardSegment(new TextWidget({ markdown: "Simple Dashboard Segment" }), false, false)
);

After:

// Adds single widget to detail dashboard only 
facade.addSegment(
    new SingleWidgetDashboardSegment(new TextWidget({ markdown: "Simple Dashboard Segment" })),
    {
        addToSummaryDashboard: false,
        addToAlarmDashboard: false,
        addToDetailDashboard: true,
    }
);

Bug Fixes

  • dashboards: handle dynamic dashboards in SingleWidgetDashboardSegment (#373) (18786c4)