mitodl / odl-video-service

building blocks for a basic video service for ODL
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Update dependency victory to ^0.27.0 #1129

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
victory (source) ^0.25.6 -> ^0.27.0 age adoption passing confidence

Release Notes

FormidableLabs/victory (victory) ### [`v0.27.2`](https://togithub.com/FormidableLabs/victory/blob/HEAD/CHANGELOG.md#0272) [Compare Source](https://togithub.com/FormidableLabs/victory/compare/v0.27.1...v0.27.2) VictoryPie -[182](https://togithub.com/FormidableLabs/victory-pie/pull/182) Adds optional `radius` and `origin` props to `VictoryPie`. The `radius` prop should be given as a single number. The `origin` prop should be given as an object with number values specified for "x" and "y". When these props are not given, radius and origin are determined by `width`, `height`, and `padding` as previously. ### [`v0.27.1`](https://togithub.com/FormidableLabs/victory/blob/HEAD/CHANGELOG.md#0271-2018-06-21) [Compare Source](https://togithub.com/FormidableLabs/victory/compare/v0.27.0...v0.27.1) VictoryCore -[390](https://togithub.com/FormidableLabs/victory-core/pull/390) *Breaking Change for other Victory packages* This PR changes how the exported helper `reduceChildren` operates, and removes `getDomainFromGroupedData` -[392](https://togithub.com/FormidableLabs/victory-core/pull/392) Make sure transforms are applied to primitive components VictoryChart -[555](https://togithub.com/FormidableLabs/victory-chart/pull/555) Refactors how `VictoryStack` and `VictoryGroup` interact with child data. Fixes bugs related to stacked and grouped charts in `VictoryVoronoiContainer` ### [`v0.27.0`](https://togithub.com/FormidableLabs/victory/blob/HEAD/CHANGELOG.md#0270-2018-06-05) [Compare Source](https://togithub.com/FormidableLabs/victory/compare/v0.26.1...v0.27.0) **Breaking Changes** - Refactors utility methods. This is an internal breaking change, but should not be a breaking change for most Victory users. See [victory-core/380](https://togithub.com/FormidableLabs/victory-core/pull/380) for details - Upgrades to `react-fast-compare@^2.0.0` which changes function comparison. This means that Victory components *will* update when functions are not equal. This closes several Victory issues, but may cause a slight performance decline **New Features** - Adds `minDomain` and `maxDomain` props. These props may be used to set one edge of a domain while allowing the other edge to be determined by data or other props. `minDomain` and `maxDomain` override `domainPadding`. - Adds `singleQuadrantDomainPadding` prop. This prop may be given as a boolean or an object with boolean values for x and y. When this prop is set to `false` for a given dimension, any `domainPadding` applied in that dimension will *not* be constrained to existing quadrants. ### [`v0.26.1`](https://togithub.com/FormidableLabs/victory/blob/HEAD/CHANGELOG.md#0261-2018-05-17) [Compare Source](https://togithub.com/FormidableLabs/victory/compare/v0.26.0...v0.26.1) VictoryCore -[374](https://togithub.com/FormidableLabs/victory-core/pull/374) Consistent `PropTypes` for `clipId` -[373](https://togithub.com/FormidableLabs/victory-core/pull/373) Evaluate styles for polar bars -[372](https://togithub.com/FormidableLabs/victory-core/pull/372) Support top and bottom cornerRadius for bars. Support functional cornerRadius -[371](https://togithub.com/FormidableLabs/victory-core/pull/371) Evaluate Whisker styles -[370](https://togithub.com/FormidableLabs/victory-core/pull/370) Refactor to remove lifecycle methods VictoryChart -[594](https://togithub.com/FormidableLabs/victory-chart/pull/594) Support functional `cornerRadius` and objects with `cornerRadius` defined for "top" and "bottom" -[593](https://togithub.com/FormidableLabs/victory-chart/pull/593) Add `defaultBrushArea` prop with supported options "all", "none" and "disable" -[591](https://togithub.com/FormidableLabs/victory-chart/pull/591) Ensure that `VictoryVoronoiContainer` works correctly with `VictoryGroup` data. ### [`v0.26.0`](https://togithub.com/FormidableLabs/victory/blob/HEAD/CHANGELOG.md#0260-2018-04-21) [Compare Source](https://togithub.com/FormidableLabs/victory/compare/v0.25.7...v0.26.0) **BREAKING CHANGES** *Disable arbitrary styles from data* This change deprecates Victory's ability to automatically pick up style attributes from the data object. This change will improve performance, but will be a breaking change for many users. Fortunately the upgrade path is simple: If your data object looks like data={[ { x: 1, y: 1, fill: "red", opacity: 0.2 }, ... ]} Add the following functional styles: style={{ data: { fill: (d) => d.fill, opacity: (d) => d.opacity } }} and everything will work as before. *Limit Pre-calculating label props* Base props for labels will no longer be pre-calculated unless a labels prop exists. This change improves performance, but it will be a breaking change for users who were using events for adding labels to elements that did not already have them using an event mutation like: events={[{ target: "data", eventHandlers: { onClick: () => { return [{ target: "labels", mutation: () => ({ text: "clicked" }) }]; } } }]} If you are using this pattern, you can make labels work as expected by adding a dummy labels prop like: `labels={() => null}` Note: This change *does not* affect tooltips, which exist, but are invisible until they receive the `active` prop **All Changes** VictoryCore -[364](https://togithub.com/FormidableLabs/victory-core/pull/364) Perf: Remove style whitelist filter. -[369](https://togithub.com/FormidableLabs/victory-core/pull/369) Ensure state -[368](https://togithub.com/FormidableLabs/victory-core/pull/368) Audit lodash methods -[367](https://togithub.com/FormidableLabs/victory-core/pull/367) Simplify state filtering -[365](https://togithub.com/FormidableLabs/victory-core/pull/365) Perf: Return early when label content is null or undefined -[362](https://togithub.com/FormidableLabs/victory-core/pull/362) Perf: Filter falsey mutations from state VictoryChart -[587](https://togithub.com/FormidableLabs/victory-chart/pull/587) Disable styles on data -[584](https://togithub.com/FormidableLabs/victory-chart/pull/584) Check for labels prop before computing baseProps for labels -[589](https://togithub.com/FormidableLabs/victory-chart/pull/589) Audit lodash methods -[583](https://togithub.com/FormidableLabs/victory-chart/pull/583) Perf improvement for `VictorySelectionContainer` VictoryPie -[176](https://togithub.com/FormidableLabs/victory-pie/pull/176) Disable styles on data -[177](https://togithub.com/FormidableLabs/victory-pie/pull/177) Audit lodash methods ### [`v0.25.7`](https://togithub.com/FormidableLabs/victory/blob/HEAD/CHANGELOG.md#0257-2018-03-27) [Compare Source](https://togithub.com/FormidableLabs/victory/compare/v0.25.6...v0.25.7) VictoryCore -[343](https://togithub.com/FormidableLabs/victory-core/pull/343) Changes the render order of lines and areas in the `Area` primitive -[344](https://togithub.com/FormidableLabs/victory-core/pull/344) bug fix for `VictoryTransition` with fewer children -[334](https://togithub.com/FormidableLabs/victory-core/pull/334) Add `Whisker` primitive for `VictoryBoxPlot` VictoryChart -[557](https://togithub.com/FormidableLabs/victory-chart/pull/557) `VictoryBoxPlot` -[575](https://togithub.com/FormidableLabs/victory-chart/pull/575) Stack datasets with differeing domains -[574](https://togithub.com/FormidableLabs/victory-chart/pull/574) Refactor helper method exports VictoryPie -[168](https://togithub.com/FormidableLabs/victory-pie/pull/168) Refactor helper method exports

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚩 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.