# What changed in victory

> 64 changes in victory 30 to 37 from its official release notes, upgrade guides and advisories: 24 breaking, 30 new APIs and options. Each one cited. Sources checked 2026-10-28. HTML: https://unstale.sh/npm/victory/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## victory 37

### Breaking changes

- Support for IE10 and older browsers was dropped, reducing file sizes; browser transforms target > 0.5%, last 2 versions, Firefox ESR, not dead. (37.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v37.0.0)

### Fixes and other changes

- Fixes container prop forwarding in Victory Native. (37.4.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v37.4.0)
- Handles an empty theme object for error bars. (37.4.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v37.4.0)
- Handles empty labelStyle values. (37.4.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v37.4.0)

## victory 35

### Breaking changes

- Text size approximations are more accurate in most cases, which may change layouts that depended on the previous approximations. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Zero padding on tooltip styles overrides label styles across other theme namespaces, so tooltip pointers start at their data elements by default. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Corrects labelPosition behavior: startAngle and endAngle were previously inverted. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Elements render relative to the origin independently instead of being translated as a group, allowing correct positioning within VictoryPortal; custom components may be affected. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- style.padding no longer adds padding between the flyout and its label; use flyoutPadding for that spacing. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)

### New APIs and options

- The material theme adds polarDependentAxis settings, uses more widely available default label fonts, and reduces default label padding for boxplot and candlestick. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Themes can define polarAxis, polarDependentAxis, and polarIndependentAxis namespaces, merged with the corresponding less-specific axis themes. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Adds padding around label backgrounds, with a number or directional values; arrays support multi-line labels. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Adds label backgrounds rendered as rect elements behind labels; the prop accepts a style object or an array of objects for multi-line labels. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Adds the polar-chart labelPlacement prop with vertical, parallel, and perpendicular values; labels remain vertical when it is omitted. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)
- Adds padding between the flyout edge and its label. Both built-in themes set it to 5 by default. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)

### Behavior and default changes

- The greyscale theme changes, including use of more widely available default fonts for labels and reduced default label padding for boxplot and candlestick. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)

### Fixes and other changes

- Tooltip themes are now merged correctly with label styles and props. (35.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v35.0.0)

## victory 34

### Breaking changes

- This version uses the context API introduced in react@16.3.0. (34.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v34.0.0)

## victory 33

### Breaking changes

- Multi-point tooltips rendered by VictoryVoronoiContainer are no longer constrained to the chart area by default; add constrainToVisibleArea to VictoryTooltip to enable it. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Renames the VictoryTooltip flyout height prop from height to flyoutHeight to avoid conflict with the parent-provided SVG height. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Renames the VictoryTooltip flyout width prop from width to flyoutWidth to avoid conflict with the parent-provided SVG width. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Functional props such as labels and functional styles now receive one object containing the props that control rendering, rather than separate datum and active arguments. Data accessors and tickFormat are unchanged. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Invisible ticks and grids are no longer rendered unless they have events attached, reducing interference with events. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- React component primitives such as Bar and Path were replaced with function primitives; this is a breaking change for developers extending Victory components. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- The default label is now positioned next to the center of the candle rather than above it; use highLabels or highLabelComponent for the older positioning. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Parent components now pass label x and y values matching the associated data point; padding is represented through dx and dy instead of being added to x and y. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)

### New APIs and options

- Adds a VictoryTooltip prop accepting x and y values or functions to position the tooltip center around its main body, excluding the pointer. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a VictoryTooltip prop accepting x and y values or functions to offset the tooltip center from its pointed-to value; pointerLength is not respected when set. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a label component corresponding to the close portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds labels corresponding to the close portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a VictoryTooltip prop that moves the tooltip to fit within the rendered SVG; it can enable this behavior for single-point and multi-point tooltips. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Victory components using VictoryTooltip as a label now pass the overall height of the parent SVG to the tooltip. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a label component corresponding to the high portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds labels corresponding to the high portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a label component corresponding to the low portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds labels corresponding to the low portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a VictoryVoronoiContainer boolean prop that determines whether labels follow the mouse position or snap into place. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a label component corresponding to the open portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds labels corresponding to the open portion of a VictoryCandlestick candle. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Adds a VictoryChart boolean prop; it is true by default in victory-native to reduce the possibility of axis elements interfering with events. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)
- Victory components using VictoryTooltip as a label now pass the overall width of the parent SVG to the tooltip. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)

### Behavior and default changes

- Style namespaces now include the new candle-part labels; when general labels and specific label styles are provided, their styles are merged. (33.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v33.0.0)

## victory 32

### Breaking changes

- Dimension props on horizontal charts now refer to the target variable dimension; brushDimension, cursorDimension, selectionDimension, voronoiDimension, and zoomDimension consistently use x for independent and y for dependent. (32.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v32.0.0)
- Position values supplied to custom dataComponents from components such as VictoryChart are scaled for horizontal chart layout, so users relying on them may need to flip or adjust them. (32.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v32.0.0)
- For horizontal charts, x and y values in scale, domain, maxDomain, minDomain, domainPadding, and categories props consistently refer to independent and dependent dimensions; existing props may need their x and y values reversed. (32.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v32.0.0)
- Axis orientation is no longer tied to whether the component is the dependentAxis. (32.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v32.0.0)
- Horizontal charts no longer require flipped data; data supplied in the previously flipped format will no longer work correctly. (32.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v32.0.0)

### New APIs and options

- Add the horizontal prop to turn any existing chart type into a horizontal chart without altering its data or other props. (32.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v32.0.0)

## victory 31

### Breaking changes

- VictoryPie no longer provides pathFunction to Slice; this affects wrappers relying on the provided prop, but not users supplying their own. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)

### New APIs and options

- endAngle in degrees is added to each datum passed into Slice to make functional props easier to use; existing data properties are not overridden. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)
- Slice now accepts cornerRadius as a number or a function of datum and active, enabling per-slice control. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)
- Slice now accepts innerRadius as a number or a function of datum and active, enabling per-slice control. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)
- Slice now accepts padAngle as a number or a function of datum and active, enabling per-slice control. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)
- Slice now accepts radius as a number or a function of datum and active, enabling per-slice control. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)
- Slice now accepts sliceEndAngle as a number or a function of datum and active; values should be given in degrees. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)
- Slice now accepts sliceStartAngle as a number or a function of datum and active; values should be given in degrees. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)

### Behavior and default changes

- padAngle in degrees is added to each datum passed into Slice to make functional props easier to use; existing data properties are not overridden. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)
- startAngle in degrees is added to each datum passed into Slice to make functional props easier to use; existing data properties are not overridden. (31.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v31.0.0)

## victory 30

### Breaking changes

- Victory no longer supports installing from git. (30.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v30.0.0)
- The Axis / Grid primitive component is now named LineSegment. (30.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v30.0.0)
- The package exports a different set than before; it now exports VictoryChart. (30.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v30.0.0)

### New APIs and options

- Victory is organized as a monorepo with separately named packages exporting chart components, containers, and related APIs. (30.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v30.0.0)

### Behavior and default changes

- The main package exports everything exported from the newly organized Victory packages. (30.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v30.0.0)
- The package's exports differ from before; it exports shared components, primitives, and utilities, including LineSegment. (30.0.0) — [release notes](https://github.com/FormidableLabs/victory/releases/tag/v30.0.0)
