|
1 | 1 | # Victory Changelog
|
2 | 2 |
|
3 |
| -## 0.16.2 (2017-02-05) |
| 3 | +## 0.18.0 (2017-02-27) |
| 4 | +**(VictoryVoronoiContainer)** |
4 | 5 |
|
5 |
| -- [195](https://github.com/FormidableLabs/victory-core/pull/195) |
| 6 | +**BREAKING CHANGES** |
| 7 | + - `VictoryTooltip` no longer automatically adds the `active` prop to data when hovered. To turn this behavior on, set the new `activateData` boolean prop on `VictoryTooltip` |
| 8 | + - Deprecates `label` in favor of `labels` in `VictoryLine` and `VictoryArea`, allowing individual data labels for these components like in other Victory components. This will be a breaking change for anyone using the `label` prop in `VictoryLine` or `VictoryArea`. Series labels will need to be configured manually. |
| 9 | + - `VictoryZoomContainer` now zooms both x and y dimensions, use the prop `dimension="x"` to return to the old behavior |
| 10 | + - `VictoryZoomContainer` now centers zoom behavior on the mouse position rather than the center of the chart |
| 11 | + - `VictoryZoomContainer` has a minimum zoom level of the extent of the domain / 1000. Set a custom minimum with the `minimumZoom` prop, which takes an object with numeric values for x and/ or y. |
| 12 | + - `VictoryBrushContainer` no longer has `dimension="x"` as the default value. |
| 13 | + |
| 14 | +**Deprecation Notice** |
| 15 | +`VictoryVoronoi` and `VictoryVoronoiTooltip` have been replaced by `VictoryVoronoiContainer` and will be deprecated in version 0.20.0 |
| 16 | + |
| 17 | +[victory-core/196](https://github.com/FormidableLabs/victory-core/pull/196) |
| 18 | +- `VictoryTooltip` no longer automatically adds the `active` prop to data when hovered. To turn this behavior on, set the new `activateData` boolean prop on `VictoryTooltip` |
| 19 | +- Adds a `theme` prop to `VictoryContainer` so that custom containers may pick up themes from their parents |
| 20 | +- Removes default `title` and `desc` props from `VictoryContainer` |
| 21 | +- Adds support for providing `text` as an array for `VictoryLabel` |
| 22 | +- Adds support for providing `style` as an array for `VictoryLabel` so that each line of a multi-line label may be styled independently |
| 23 | +- Changes how null data values are handled by `Area` and `Curve` primitives |
| 24 | +- Adds a `reduceChildren` method to `Helpers` to ensure order consistency when working with nested children |
| 25 | + |
| 26 | +[victory-core/201](https://github.com/FormidableLabs/victory-core/pull/201) |
| 27 | +- implements data sorting for all components with a `sortKey` props |
| 28 | + |
| 29 | +[victory-chart/432](https://github.com/FormidableLabs/victory-chart/pull/432) |
| 30 | +- Adds `VictoryVoronoiContainer` for hover events (tooltips). `VictoryVoronoiContainer` has several benefits over `VictoryVoronoi` and `VictoryVoronoiTooltip` |
| 31 | + - Supports multi-dataset voronoi |
| 32 | + - Much better performance (voronoi polygons are not actually rendered, so the number of nodes rendered is dramatically lower) |
| 33 | + - Supports multi-data tooltips |
| 34 | + - Supports rectangular selections with a dimension prop |
| 35 | + _i.e._ `dimension="x"` creates vertical hover areas for every unique x value in all child data |
| 36 | +- Deprecates `label` in favor of `labels` in `VictoryLine` and `VictoryArea`, allowing individual data labels for these components like in other Victory components. This will be a breaking change for anyone using the `label` prop in `VictoryLine` or `VictoryArea`. Series labels will need to be configured manually |
| 37 | +- Changes how null values are handled in `VictoryArea`, and groups all line and area segments (i.e. split by null values) into the same `eventKey`, so that they operate as a single line for the purposes of events. |
| 38 | + |
| 39 | +[victory-chart/438](https://github.com/FormidableLabs/victory-chart/pull/438) |
| 40 | +- Supports x and y dimension zooming in `VictoryZoomContainer` |
| 41 | +- Adds a `minimumZoom` prop for `VictoryZoomContainer` |
| 42 | +- Zooming centers on mouse position rather than in the center of the chart |
| 43 | + |
| 44 | +[victory-core/207](https://github.com/FormidableLabs/victory-core/pull/207) |
| 45 | +- Adds a `translateY` prop for `ClipPath` to support x, y zoom behavior |
| 46 | +- Removes default `clipPadding` in `ClipPath` |
| 47 | + |
| 48 | +## 0.17.0 (2017-02-05) |
| 49 | + |
| 50 | +- [victory-core/195](https://github.com/FormidableLabs/victory-core/pull/195) |
6 | 51 | - Fixes null event state bug
|
7 |
| -- [431](https://github.com/FormidableLabs/victory-chart/pull/431) |
| 52 | +- [victory-chart/431](https://github.com/FormidableLabs/victory-chart/pull/431) |
8 | 53 | - Sets a maximum amount of scale per zoom event for smoother interaction with fast onWheel events
|
9 | 54 |
|
10 | 55 | ## 0.16.1 (2017-02-03)
|
11 | 56 |
|
12 |
| -- [429](https://github.com/FormidableLabs/victory-chart/pull/429) |
| 57 | +- [victory-chart/429](https://github.com/FormidableLabs/victory-chart/pull/429) |
13 | 58 | - Throttles `onWheel` and `onMouseMove` events on Victory container components
|
14 | 59 | - Exports container event helpers
|
15 | 60 |
|
16 | 61 | ## 0.16.0 (2017-01-30)
|
17 | 62 |
|
18 | 63 | **This release includes major breaking changes related to `VictoryZoom`**
|
19 | 64 |
|
20 |
| -- [189](https://github.com/FormidableLabs/victory-core/pull/189) and [191](https://github.com/FormidableLabs/victory-core/pull/190) |
| 65 | +- [victory-core/189](https://github.com/FormidableLabs/victory-core/pull/189) and [191](https://github.com/FormidableLabs/victory-core/pull/190) |
21 | 66 | - Adds `VictoryLegend` component
|
22 |
| -- [190](https://github.com/FormidableLabs/victory-core/pull/190) |
| 67 | +- [victory-core/190](https://github.com/FormidableLabs/victory-core/pull/190) |
23 | 68 | - Allows `VictoryContainer` to render either `<g>` or `<svg>` depending on the value of the standalone prop
|
24 | 69 | - Passes a timer down in context for `VictorySharedEvents`
|
25 | 70 | - Event handlers have access to the context they are being called from via an argument
|
|
28 | 73 | - useful for `VictoryZoomContainer`
|
29 | 74 | - Adds the ability to define callbacks in the events prop that will be called after `setState`
|
30 | 75 | - useful for allowing `VictoryZoomContainer` to call methods like `resumeAnimation`
|
31 |
| -- [427](https://github.com/FormidableLabs/victory-chart/pull/427) |
| 76 | +- [victory-chart/427](https://github.com/FormidableLabs/victory-chart/pull/427) |
32 | 77 | - Adds `VictoryBrushContainer`
|
33 | 78 | - Adds `VictoryZoomContainer` to replace `VictoryZoom`
|
34 | 79 | - [See pull request for examples](https://github.com/FormidableLabs/victory-chart/pull/427)
|
|
0 commit comments