unstale

npm / victory

victory

What changed in victory 30 to 37, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

24 breaking30 new APIs and options6 behavior and defaults4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

victory 374 changes

Breaking changes 1

  • 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.0release notes

Fixes and other changes 3

victory 3513 changes

Breaking changes 5

  • Text size approximations are more accurate in most cases, which may change layouts that depended on the previous approximations.

    35.0.0release notes

  • Zero padding on tooltip styles overrides label styles across other theme namespaces, so tooltip pointers start at their data elements by default.

    35.0.0release notes

  • Corrects labelPosition behavior: startAngle and endAngle were previously inverted.

    35.0.0release notes

  • 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.0release notes

  • style.padding no longer adds padding between the flyout and its label; use flyoutPadding for that spacing.

    35.0.0release notes

New APIs and options 6

  • The material theme adds polarDependentAxis settings, uses more widely available default label fonts, and reduces default label padding for boxplot and candlestick.

    35.0.0release notes

  • Themes can define polarAxis, polarDependentAxis, and polarIndependentAxis namespaces, merged with the corresponding less-specific axis themes.

    35.0.0release notes

  • Adds padding around label backgrounds, with a number or directional values; arrays support multi-line labels.

    35.0.0release notes

  • 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.0release notes

  • Adds the polar-chart labelPlacement prop with vertical, parallel, and perpendicular values; labels remain vertical when it is omitted.

    35.0.0release notes

  • Adds padding between the flyout edge and its label. Both built-in themes set it to 5 by default.

    35.0.0release notes

Behavior and default changes 1

  • 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.0release notes

Fixes and other changes 1

  • Tooltip themes are now merged correctly with label styles and props.

    35.0.0release notes

victory 341 changes

Breaking changes 1

  • This version uses the context API introduced in react@16.3.0.

    34.0.0release notes

victory 3324 changes

Breaking changes 8

  • 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.0release notes

  • Renames the VictoryTooltip flyout height prop from height to flyoutHeight to avoid conflict with the parent-provided SVG height.

    33.0.0release notes

  • Renames the VictoryTooltip flyout width prop from width to flyoutWidth to avoid conflict with the parent-provided SVG width.

    33.0.0release notes

  • 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.0release notes

  • Invisible ticks and grids are no longer rendered unless they have events attached, reducing interference with events.

    33.0.0release notes

  • 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.0release notes

  • 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.0release notes

  • 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.0release notes

New APIs and options 15

  • 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.0release notes

  • 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.0release notes

  • Adds a label component corresponding to the close portion of a VictoryCandlestick candle.

    33.0.0release notes

  • Adds labels corresponding to the close portion of a VictoryCandlestick candle.

    33.0.0release notes

  • 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.0release notes

  • Victory components using VictoryTooltip as a label now pass the overall height of the parent SVG to the tooltip.

    33.0.0release notes

  • Adds a label component corresponding to the high portion of a VictoryCandlestick candle.

    33.0.0release notes

  • Adds labels corresponding to the high portion of a VictoryCandlestick candle.

    33.0.0release notes

  • Adds a label component corresponding to the low portion of a VictoryCandlestick candle.

    33.0.0release notes

  • Adds labels corresponding to the low portion of a VictoryCandlestick candle.

    33.0.0release notes

  • Adds a VictoryVoronoiContainer boolean prop that determines whether labels follow the mouse position or snap into place.

    33.0.0release notes

  • Adds a label component corresponding to the open portion of a VictoryCandlestick candle.

    33.0.0release notes

  • Adds labels corresponding to the open portion of a VictoryCandlestick candle.

    33.0.0release notes

  • 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.0release notes

  • Victory components using VictoryTooltip as a label now pass the overall width of the parent SVG to the tooltip.

    33.0.0release notes

Behavior and default changes 1

  • Style namespaces now include the new candle-part labels; when general labels and specific label styles are provided, their styles are merged.

    33.0.0release notes

victory 326 changes

Breaking changes 5

  • 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.0release notes

  • 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.0release notes

  • 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.0release notes

  • Axis orientation is no longer tied to whether the component is the dependentAxis.

    32.0.0release notes

  • Horizontal charts no longer require flipped data; data supplied in the previously flipped format will no longer work correctly.

    32.0.0release notes

New APIs and options 1

  • Add the horizontal prop to turn any existing chart type into a horizontal chart without altering its data or other props.

    32.0.0release notes

victory 3110 changes

Breaking changes 1

  • VictoryPie no longer provides pathFunction to Slice; this affects wrappers relying on the provided prop, but not users supplying their own.

    31.0.0release notes

New APIs and options 7

  • 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.0release notes

  • Slice now accepts cornerRadius as a number or a function of datum and active, enabling per-slice control.

    31.0.0release notes

  • Slice now accepts innerRadius as a number or a function of datum and active, enabling per-slice control.

    31.0.0release notes

  • Slice now accepts padAngle as a number or a function of datum and active, enabling per-slice control.

    31.0.0release notes

  • Slice now accepts radius as a number or a function of datum and active, enabling per-slice control.

    31.0.0release notes

  • Slice now accepts sliceEndAngle as a number or a function of datum and active; values should be given in degrees.

    31.0.0release notes

  • Slice now accepts sliceStartAngle as a number or a function of datum and active; values should be given in degrees.

    31.0.0release notes

Behavior and default changes 2

  • 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.0release notes

  • 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.0release notes

victory 306 changes

Breaking changes 3

  • Victory no longer supports installing from git.

    30.0.0release notes

  • The Axis / Grid primitive component is now named LineSegment.

    30.0.0release notes

  • The package exports a different set than before; it now exports VictoryChart.

    30.0.0release notes

New APIs and options 1

  • Victory is organized as a monorepo with separately named packages exporting chart components, containers, and related APIs.

    30.0.0release notes

Behavior and default changes 2

  • The main package exports everything exported from the newly organized Victory packages.

    30.0.0release notes

  • The package's exports differ from before; it exports shared components, primitives, and utilities, including LineSegment.

    30.0.0release notes