Skip to content

Commit

Permalink
Merge pull request #916 from FormidableLabs/update-0.25.0
Browse files Browse the repository at this point in the history
update for 0.25.0
  • Loading branch information
boygirl committed Feb 5, 2018
2 parents 0f09538 + 6314064 commit 9cfec9c
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 18 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Victory Changelog

## 0.25.0 (2018-02-04)

**Major Features**
- `VictoryBrushLine` for multi-brush support

**Breaking Changes**
- `Candle` expects a new set of props from `VictoryCandlestick`
- The `Line` component has been renamed to `Axis` / `Grid`
- Internal methods for _all_ Victory primitive components have changed. This will be a breaking change for users who are extending primitive components, including `victory-native`.

VictoryCore
-[336](https://github.com/FormidableLabs/victory-core/pull/336) Fixes key names for `ErrorBar`
-[325](https://github.com/FormidableLabs/victory-core/pull/325) Adds a `getDimension` static method for `VictoryLegend`
-[326](https://github.com/FormidableLabs/victory-core/pull/326) Adds a fallback prop for `VictoryLegend` `titleOrientation`
-[327](https://github.com/FormidableLabs/victory-core/pull/327) Use `pointerEvents: "painted"` for grid styles
-[328](https://github.com/FormidableLabs/victory-core/pull/328) Adds `inline` prop for `VictoryLabel`
-[329](https://github.com/FormidableLabs/victory-core/pull/329) Bugfix `add-events`
-[330](https://github.com/FormidableLabs/victory-core/pull/330) Adds `wickStyleWidth` prop for `Candle`
*This is a breaking change as it changes the expected props for `Candle`*
-[331](https://github.com/FormidableLabs/victory-core/pull/331) Bugfix portal rendering
-[333](https://github.com/FormidableLabs/victory-core/pull/333) Whitelist style attributes
-[335](https://github.com/FormidableLabs/victory-core/pull/335) Update primitives
*This is a breaking change for `victory-native` and anyone extending primitive components.*
*This is a breaking change for for the `Line` component. Renamed `Axis` / `Grid`

VictoryChart
-[551](https://github.com/FormidableLabs/victory-chart/pull/551) Bux fixes and improvements for VictoryStack
-[553](https://github.com/FormidableLabs/victory-chart/pull/553) Allow renderInPortal to be false for tooltips in `VictoryVoronoiContainer`
-[554](https://github.com/FormidableLabs/victory-chart/pull/554) Add support for `wickStrokeWidth` in `VictoryCandlestick`
**This is a breaking change as the expected props for `Candle` are changed**
-[556](https://github.com/FormidableLabs/victory-chart/pull/556) Fixes undefined context variable
-[558](https://github.com/FormidableLabs/victory-chart/pull/558) Allow `func` PropType for `color` on `VictoryGroup`
-[559](https://github.com/FormidableLabs/victory-chart/pull/559) Implement `VictoryBrushLine` and use updated primitive components
**This is a breaking change for anyone using the `Line` primitive. It has been renamed to `Axis` / `Grid`.
**This may be a breaking change for anyone who was _extending_ Victory primitives**

VictoryPie
-[166](https://github.com/FormidableLabs/victory-pie/pull/166) Update Victory primitives


## 0.24.4 (2018-01-08)

VictoryCore
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"dependencies": {
"builder": "^3.2.1",
"builder-victory-component": "^5.1.2",
"victory-chart": "^24.6.1",
"victory-core": "^20.6.0",
"victory-pie": "^13.3.1"
"victory-chart": "^25.0.0",
"victory-core": "^21.0.0",
"victory-pie": "^14.0.0"
},
"devDependencies": {
"builder-victory-component-dev": "^5.1.2",
Expand Down
10 changes: 7 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
Area, Bar, Border, Candle, ClipPath, Curve, ErrorBar, Line, Point, Slice, Voronoi, Flyout,
Area, Axis, Bar, Border, Box, Candle, ClipPath, Curve, ErrorBar, Grid, Point, Slice, Voronoi,
Flyout, Circle, Rect, Line, Path, TSpan, Text,
VictoryAnimation,
VictoryContainer,
VictoryLabel,
Expand Down Expand Up @@ -33,13 +34,15 @@ import {
VictoryBrushContainer, BrushHelpers, brushContainerMixin,
VictoryVoronoiContainer, VoronoiHelpers, voronoiContainerMixin,
VictoryCursorContainer, CursorHelpers, cursorContainerMixin,
combineContainerMixins, createContainer
combineContainerMixins, createContainer,
VictoryBrushLine
} from "victory-chart";

import { VictoryPie } from "victory-pie";

export {
Area, Bar, Border, Candle, ClipPath, Curve, ErrorBar, Line, Point, Slice, Voronoi, Flyout,
Area, Axis, Bar, Border, Box, Candle, ClipPath, Curve, ErrorBar, Grid, Point, Slice, Voronoi,
Flyout, Circle, Rect, Line, Path, TSpan, Text,
VictoryAnimation,
VictoryArea,
VictoryAxis,
Expand Down Expand Up @@ -69,6 +72,7 @@ export {
VictoryCursorContainer, CursorHelpers, cursorContainerMixin,
VictoryVoronoiContainer, VoronoiHelpers, voronoiContainerMixin,
combineContainerMixins, createContainer,
VictoryBrushLine,
addEvents, Collection, Data, DefaultTransitions, Domain, Events, Helpers, Log,
PropTypes, Scale, Style, TextSize, Transitions, Selection, LabelHelpers
};
10 changes: 9 additions & 1 deletion test/client/spec/components/victory.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,24 @@ describe("victory", () => {
expect(Victory.VictoryTooltip).not.to.equal(undefined);
expect(Victory.VictoryVoronoi).not.to.equal(undefined);
expect(Victory.Area).not.to.equal(undefined);
expect(Victory.Axis).not.to.equal(undefined);
expect(Victory.Bar).not.to.equal(undefined);
expect(Victory.Border).not.to.equal(undefined);
expect(Victory.Candle).not.to.equal(undefined);
expect(Victory.ClipPath).not.to.equal(undefined);
expect(Victory.Curve).not.to.equal(undefined);
expect(Victory.ErrorBar).not.to.equal(undefined);
expect(Victory.Line).not.to.equal(undefined);
expect(Victory.Grid).not.to.equal(undefined);
expect(Victory.Point).not.to.equal(undefined);
expect(Victory.Slice).not.to.equal(undefined);
expect(Victory.Voronoi).not.to.equal(undefined);
expect(Victory.Flyout).not.to.equal(undefined);
expect(Victory.Circle).not.to.equal(undefined);
expect(Victory.Rect).not.to.equal(undefined);
expect(Victory.Path).not.to.equal(undefined);
expect(Victory.Line).not.to.equal(undefined);
expect(Victory.TSpan).not.to.equal(undefined);
expect(Victory.Text).not.to.equal(undefined);
expect(Victory.VictoryPortal).not.to.equal(undefined);
expect(Victory.Portal).not.to.equal(undefined);
expect(Victory.VictoryClipContainer).not.to.equal(undefined);
Expand Down Expand Up @@ -73,5 +80,6 @@ describe("victory", () => {
expect(Victory.cursorContainerMixin).not.to.equal(undefined);
expect(Victory.combineContainerMixins).not.to.equal(undefined);
expect(Victory.createContainer).not.to.equal(undefined);
expect(Victory.VictoryBrushLine).not.to.equal(undefined);
});
});

0 comments on commit 9cfec9c

Please sign in to comment.