Skip to content

Latest commit

 

History

History
259 lines (164 loc) · 10.6 KB

CHANGELOG.md

File metadata and controls

259 lines (164 loc) · 10.6 KB

VictoryNative Changelog

30.4.0 (2018-08-24)

-378 - Adds disableContainerEvents prop for all native container components

30.3.0 (2018-08-24)

  • victory/#1088 - Bugfix: don’t ignore angle: 0 for text styles
  • victory/#1091 - Fix inconsistent defaultBrushArea behavior. Thanks @bees
  • victory/#1093 - Remove trailing whitespace and incorrect zeroes in transform strings
  • victory/#1094 - Support direction prop for VictoryLabel and Text primitive
  • victory/#1096 - Fix bug in horizontal zooming and panning
  • victory/#1101 - Fix arguments in VictoryVoronoiContainer label function. Thanks @evsheino

30.1.0 (2018-07-27)

-354

  • Updates Victory dependencies to 30.1.0
  • Supports react-native-svg^6.5.0

30.0.0 (2018-07-23)

Associated Pull Requests: -347 updates test and demo infrastructure to work with [email protected] -346 refactors and simplifies native container mixins, and enforces consistency for imports -343 updates all victory-* dependencies and updates infrastructure to babel 7

0.18.2 (2018-06-22)

VictoryCore -390 Breaking Change for other Victory packages This PR changes how the exported helper reduceChildren operates, and removes getDomainFromGroupedData -392 Make sure transforms are applied to primitive components

VictoryChart -555 Refactors how VictoryStack and VictoryGroup interact with child data. Fixes bugs related to stacked and grouped charts in VictoryVoronoiContainer

0.18.1 (2018-06-13)

-322 Use Dimension.get("window").width to set the default width and height for VictoryPie

0.18.0 (2018-06-06)

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 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

  • 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

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.
  • Support top and bottom cornerRadius for bars. Support functional cornerRadius defaultBrushArea prop with supported options "all", "none" and "disable"

0.17.4 (2018-04-01)

-292 Fixes a bug with polar line and area chart rendering

0.17.3 (2018-03-28)

-289 Add VictoryBoxPlot

0.17.2 (2018-03-14)

-277 Fixes a naming bug in VictoryZoomContainer

0.17.1 (2018-02-12)

-258 Support disable prop on container components

0.17.0 (2018-02-06)

-250 Refactors all primitive components and updates to [email protected] dependencies. See CHANGELOG. Note: VictoryBrushLine is not implemented in victory-native

0.16.6 (2018-01-03)

-232 Import from victory-/es instead of victory-/src

0.16.5 (2017-12-20)

  • 221 Fixes a bug with circular clipPaths

0.16.4 (2017-12-19)

  • 215 Fixes a bug with press events and VictoryPortal

0.16.3 (2017-12-18)

  • 214 Fixes bugs in VictoryZoomContainer and VictoryContainer

0.16.2 (2017-12-17)

0.16.1 (2017-11-14)

  • 180 Fix unsupported style bug
  • 181 Fix container styles

VictoryCore

  • [316] (FormidableLabs/victory-core#316)
    • adds cornerRadius prop for Bar
    • adds barRatio prop for Bar
    • removes rounding from calculated paths
    • fixes a domain bug for negative bars and areas

VictoryChart

  • 538 Adds barRatio and cornerRadius props to VictoryBar

  • 539 Fixes a bug in bubble plots

0.16.0 (2017-11-07)

176

  • Updates react-* and victory-* dependencies to latest versions
  • Adds a temporary fix for text rotations. More robust fix pending resolution of react-native-svg#242

0.15.0 (2017-09-11)

157 Supports changes related to VictoryLegend More details

0.14.0 (2017-07-17)

119 Transform slices rather than entire VictoryPie group

0.13.0 (2017-07-14)

116 remove peerDependencies; use ~ deps 113 Improve VictoryArea

0.12.0 (2017-06-20)

111 Adds VictoryLegend

0.11.1 (2017-06-16)

104 Supports polar charts for victory-native

Breaking Change

  • Temporarily disables all rotation transformations on text elements due to an underlying issue in react-native-svg

0.10.1 (2017-06-13)

  • Peg react to exact alpha version, 16.0.0-alpha.12.

0.10.0 (2017-06-08)

  • Fixes animations on VictoryLine and VictoryArea. Requires upgrades to react, react-native, react-native-svg.

0.9.0 (2017-05-26)

  • VictoryCursorContainer, dep upgrades, remove VictoryZoom + VictoryVoronoiTooltip

0.8.2 (2017-05-08)

  • Allows animations on Android (fixed in react-native-svg)

0.8.1 (2017-05-05)

  • Fixes synthetic event reuse error in VictoryZoomContainer

0.8.0 (2017-04-20)

  • Adds VictoryVoronoiContainer, VictorySelectionContainer, VictoryZoomContainer, VictoryBrushContainer

0.7.2 (2017-04-06)

  • Fixes VictoryLine and VictoryArea animations

0.7.1 (2017-04-04)

  • Upgrades Victory dependencies
  • Fixes demos and hot reloading
  • Removes OS-specific font

0.7.0 (2017-03-19)

  • Removes victory-chart-native, victory-pie-native, victory-core-native
  • Depends directly on victory-chart and victory-pie (victory-core was already a dep)
  • Upgrades to react-native@~0.42.0 and react-native-svg@^5.1.5
  • Fixes broken demos

0.6.0 (2016-12-15)

  • Changes how transitions and animations operate for continuous data
  • Adds support for className in primitive components
  • Moves react and react-native to peerDependencies

0.5.0 (2016-11-29)

  • Adds support for VictoryZoom

0.4.0 (2016-10-18)

  • Adds support for VictoryPortal
  • Exports primitive components directly from Victory

0.3.0 (2016-09-18)

  • Adds support for VictoryTooltip
  • Adds support for VictoryVoronoi
  • Adds support for VictoryVoronoiTooltip
  • Portal pattern for tooltips is not supported in this release

0.2.0 (2016-08-22)

  • Moves react-native-svg to peerDependencies
  • Adds support for clipPath
  • Updates all dependencies

0.1.1 (2016-08-01)

  • Fix demos

0.1.0 (2016-08-01)

  • Initial Release