Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 3.75 KB

CHANGELOG.md

File metadata and controls

83 lines (52 loc) · 3.75 KB

VictoryPie Changelog

4.2.0 (2016-07-02)

  • Adds support for themes
  • Adds support for Victory Native

4.1.0 (2016-06-17)

  • Supports events on the parent element via the parent namespace in the events prop.
  • parent events have access to width, height, style and the calculated slices and the calculated pathFuncton
  • When mutating elements via the return from event handlers, mutation objects may now take arrays for eventKey to target several individual elements, or the special value "all" to apply changes to all elements of a particular target type
  • Supports a custom containerComponent prop, which defaults to VictoryContainer
  • Adds default aria roles via VictoryContainer
  • Adds support for a cornerRadius prop. Thanks @judikdavid!
  • Renders all slices before labels so that labels are not overlapped.

4.0.0 (2016-06-01)

  • Upgrades to React 15
  • Updates the events API to support shared events This is a breaking change for events

3.0.0 (2016-05-13)

  • improves consistency for labelComponent and dataComponent props. Replaces a custom SliceLabel component with VictoryLabel to make the api more consistent and predictable. This is a breaking change for custom label components, as VictoryLabel expects a different set of props than the previous SliceLabel component. See VictoryLabel for more detail.

  • Functional styles and props are now all evaluated before they are passed as props to labelComponent or dataComponent, so that custom components will have access to the final values.

  • events are bound and partially applied prior to being passed as props to labelComponent or dataComponent

  • it is now possible to specify angle and verticalAnchor props for VictoryLabel via the style object

  • event return values are stored differently on state to facilitate interaction between data and labels. This is a breaking change for events as event handlers must now return an object with with data and/or labels keys so that these values may be applied appropriately to data and label elements respectively.

  • improved integration tests

2.1.0 (2016-04-15)

  • Add support for custom data components
  • Add support for enter and exit transitions, and add default transitions

2.0.0 (2016-03-15)

  • Add event handling via an events prop
  • Update to lodash 4
  • Update d3-shape to the latest version
  • Updates via builder-victory-component to support Babel 6
  • Provide label text via a text prop rather than children

1.1.0 (2016-03-01)

  • Move Radium to devDependencies
  • Fix unmount problems with Demo
  • Add npm start and npm test scripts
  • Don't publish source maps to npm
  • Don't publish built docs to npm

1.0.1 (2016-02-12)

  • Use minified file path for gzip size badge
  • Update victory-util and victory-label versions

1.0.0 (2016-01-30)

  • Supports data accessor functions! more detail
  • Application dependencies like radium and lodash now live in components, not in the Builder archetype. This is a breaking change. FormidableLabs/victory#176
  • Extracted shared code into victory-util

0.3.0 (2016-01-26)

0.2.0 Alpha (2015-12-16)

Functional styles for data (each pie slice) and labels. Styles may be given as a function of data, where data is each data object in the array provided to props.data

using d3-modules instead of all of d3

Basic code coverage.

We make no promises about any code prior to this release.