Repository navigation
Version Packages - #3161
Merged
Merged
Version Packages#3161
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 9, 2026 23:39
7890102 to
cab6e72
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 10, 2026 05:53
cab6e72 to
1c3fc6e
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 12, 2026 17:57
1c3fc6e to
2306005
Compare
Open
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 12, 2026 18:20
2306005 to
c2ba758
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 12, 2026 19:09
c2ba758 to
d1d6da1
Compare
ryan-roemer
previously approved these changes
Nov 12, 2026
ryan-roemer
added a commit
that referenced
this pull request
Nov 12, 2026
…an't resolve it to 18 (#3167) - Version Packages #3161 failed `test`: its lockfile refresh (`changeset version && pnpm install --no-frozen-lockfile`) resolved every package's auto-installed `react` peer to the website's 18.3.1, so package code loaded React 18 while the root's test tooling used 19 (victory-tooltip: "A React Element from an older version of React") - The 28 packages with a `react` peer list `react: ^19.3.1` as a devDependency (root's range), so the lockfile no longer depends on resolution order - Replayed the version script locally: before, 28 `react` entries flip to 18.3.1 and victory-tooltip fails; after, only version specifiers change and all tests pass - CI's React 18 matrix still works (its `overrides` apply to devDependencies too; checked 18.0.0 locally) - devDependencies only, no changeset; AGENTS.md notes why
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 12, 2026 19:51
d1d6da1 to
b283863
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
victory-core@38.1.0
Minor Changes
c47d8ca- The primitivesCircle,Line,Path,Rect,TextandTSpanaccept their element's SVG attributes in TypeScript, such as<Line x1={25} y1={270} />,<Path d="..." />and<Circle cx={1} cy={2} r={3} />(#3122). These worked at runtime but failed to type-check. Where a Victory prop shares a name with an SVG attribute (origin,role,style,id,tabIndex,rx, ...), Victory's type is kept;name, which the primitives don't write to the element, stays out.VictoryPrimitiveShapePropstakes an optional element type (VictoryPrimitiveShapeProps<SVGLineElement>). New exported types:TSpanProps(the props ofTSpan) andVictoryPrimitiveSvgProps.Patch Changes
#3165
3ba0908-DataGetterPropType(the type ofx,y,y0andsortKey) accepts accessors that return aDate, such asx={(d) => new Date(d.date)}. These worked at runtime but failed to type-check (TS2769).#3164
1e3997f- Fix type errors in published declarations underskipLibCheck: false.createContainerandmakeCreateContainerFunctionnow have explicit return types (TS2344 before), with the same props as before.ErrorBar's props areErrorBarPropsinstead ofany(typeof ErrorBar.default, TS2339 before). Code that passedErrorBarundeclared props, or wrongly typed ones, compiled only because of this and now fails to type-check.Axis.getTicksreturnsnumber[] | string[] | Date[]: it returnsDates for datetickValues, which its inferrednumber[] | string[]left out (alsoVictoryAxis's inferredticks).#3160
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-area@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-axis@38.1.0
Patch Changes
#3164
1e3997f- Fix type errors in published declarations underskipLibCheck: false.createContainerandmakeCreateContainerFunctionnow have explicit return types (TS2344 before), with the same props as before.ErrorBar's props areErrorBarPropsinstead ofany(typeof ErrorBar.default, TS2339 before). Code that passedErrorBarundeclared props, or wrongly typed ones, compiled only because of this and now fails to type-check.Axis.getTicksreturnsnumber[] | string[] | Date[]: it returnsDates for datetickValues, which its inferrednumber[] | string[]left out (alsoVictoryAxis's inferredticks).#3160
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-bar@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-box-plot@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-brush-container@38.1.0
Patch Changes
e1909f7- Type declarations no longer reference lodash's types, which consumers don't have (@types/lodashisn't a dependency): they resolved toany, or failed with TS7016 underskipLibCheck: false. The throttled helper handlers (BrushHelpers.onGlobalMouseMove,onMouseMove,ZoomHelpers.onWheel, ...) are now typed with their call signature,cancel()andflush(), andVictorySharedEvents'sgetBaseProps/getBasePropsFromChildrenreturnRecord<string, any>.victory-candlestick@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-canvas@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-create-container@38.1.0
Patch Changes
1e3997f- Fix type errors in published declarations underskipLibCheck: false.createContainerandmakeCreateContainerFunctionnow have explicit return types (TS2344 before), with the same props as before.ErrorBar's props areErrorBarPropsinstead ofany(typeof ErrorBar.default, TS2339 before). Code that passedErrorBarundeclared props, or wrongly typed ones, compiled only because of this and now fails to type-check.Axis.getTicksreturnsnumber[] | string[] | Date[]: it returnsDates for datetickValues, which its inferrednumber[] | string[]left out (alsoVictoryAxis's inferredticks).victory-cursor-container@38.1.0
Patch Changes
e1909f7- Type declarations no longer reference lodash's types, which consumers don't have (@types/lodashisn't a dependency): they resolved toany, or failed with TS7016 underskipLibCheck: false. The throttled helper handlers (BrushHelpers.onGlobalMouseMove,onMouseMove,ZoomHelpers.onWheel, ...) are now typed with their call signature,cancel()andflush(), andVictorySharedEvents'sgetBaseProps/getBasePropsFromChildrenreturnRecord<string, any>.victory-errorbar@38.1.0
Patch Changes
#3164
1e3997f- Fix type errors in published declarations underskipLibCheck: false.createContainerandmakeCreateContainerFunctionnow have explicit return types (TS2344 before), with the same props as before.ErrorBar's props areErrorBarPropsinstead ofany(typeof ErrorBar.default, TS2339 before). Code that passedErrorBarundeclared props, or wrongly typed ones, compiled only because of this and now fails to type-check.Axis.getTicksreturnsnumber[] | string[] | Date[]: it returnsDates for datetickValues, which its inferrednumber[] | string[]left out (alsoVictoryAxis's inferredticks).#3160
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-histogram@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-legend@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-line@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-pie@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-polar-axis@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-scatter@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-selection-container@38.1.0
Patch Changes
e1909f7- Type declarations no longer reference lodash's types, which consumers don't have (@types/lodashisn't a dependency): they resolved toany, or failed with TS7016 underskipLibCheck: false. The throttled helper handlers (BrushHelpers.onGlobalMouseMove,onMouseMove,ZoomHelpers.onWheel, ...) are now typed with their call signature,cancel()andflush(), andVictorySharedEvents'sgetBaseProps/getBasePropsFromChildrenreturnRecord<string, any>.victory-shared-events@38.1.0
Patch Changes
e1909f7- Type declarations no longer reference lodash's types, which consumers don't have (@types/lodashisn't a dependency): they resolved toany, or failed with TS7016 underskipLibCheck: false. The throttled helper handlers (BrushHelpers.onGlobalMouseMove,onMouseMove,ZoomHelpers.onWheel, ...) are now typed with their call signature,cancel()andflush(), andVictorySharedEvents'sgetBaseProps/getBasePropsFromChildrenreturnRecord<string, any>.victory-voronoi@38.1.0
Patch Changes
37c7a74- Build type declarations with@types/react19. Refs fromuseCanvasContext()(canvasRef) anduseVictoryContainer()(localContainerRef) are now typedRefObject<HTMLCanvasElement | null>andRefObject<HTMLDivElement | null>(no change on@types/react18; correct on 19). InferredReactElementreturn types of some render methods now useunknownprops instead ofany, and class component types no longer list the legacyrefsproperty. Code type-checks the same on@types/react18 and 19.victory-voronoi-container@38.1.0
Patch Changes
e1909f7- Type declarations no longer reference lodash's types, which consumers don't have (@types/lodashisn't a dependency): they resolved toany, or failed with TS7016 underskipLibCheck: false. The throttled helper handlers (BrushHelpers.onGlobalMouseMove,onMouseMove,ZoomHelpers.onWheel, ...) are now typed with their call signature,cancel()andflush(), andVictorySharedEvents'sgetBaseProps/getBasePropsFromChildrenreturnRecord<string, any>.victory-zoom-container@38.1.0
Patch Changes
e1909f7- Type declarations no longer reference lodash's types, which consumers don't have (@types/lodashisn't a dependency): they resolved toany, or failed with TS7016 underskipLibCheck: false. The throttled helper handlers (BrushHelpers.onGlobalMouseMove,onMouseMove,ZoomHelpers.onWheel, ...) are now typed with their call signature,cancel()andflush(), andVictorySharedEvents'sgetBaseProps/getBasePropsFromChildrenreturnRecord<string, any>.victory@38.1.0
No changes in this release.
victory-brush-line@38.1.0
No changes in this release.
victory-chart@38.1.0
No changes in this release.
victory-group@38.1.0
No changes in this release.
victory-stack@38.1.0
No changes in this release.
victory-tooltip@38.1.0
No changes in this release.
victory-vendor@38.1.0
No changes in this release.