Change Log
January 29, 2026 ยท View on GitHub
v3.1.2
- Bump min
lodash-esversion tov4.17.23.
v3.1.0 / v3.1.1
- Public release for
React 19
v3.0.0-rc.0
React 19 rcsupport andNext 15support
2.2.1
- Add
typesexport to package.json (https://github.com/palerdot/react-d3-speedometer/pull/182)
2.2.0
React 18compatiblev2.0version generally available
2.1.0-rc.0 (next, React 18)
segmentValueFormatterfunction prop for customizing segment values.
1.0.2
svgAriaLabelprop for accessibility. More details - https://github.com/palerdot/react-d3-speedometer/issues/135
1.0.1
PropTypesmoved todependenciesfrompeerDependencies. ref: https://github.com/facebook/prop-types#how-to-depend-on-this-package. sandbox: https://codesandbox.io/s/kind-breeze-esuge?file=/src/App.js
1.0.0 (v17 React support)
React v17andv6 d3support. No Breaking Changes.
0.14.1
Typescripttypes forvalueTextFontWeightconfig/prop
0.14.0
valueTextFontWeightconfig/prop to control font weight of current value. ref: https://codesandbox.io/s/eloquent-morning-mnysk?file=/src/App.js- dev changes: prettier changes:
singleQuote: true,arrowParens: avoid.prettierupgraded tov2 - dev changes:
jest v26
1.0.0-rc.0
- First
1.0Release candidate withReact 17support
0.13.1
- ignore
coveragefolder from npm bundle
0.13.0
CustomSegmentLabelPosition,Transitiontypes for both Typescript and JS. Resolves https://github.com/palerdot/react-d3-speedometer/issues/81100%Test coveragecodecov,github actionsintegration
0.12.0
- removed
@babel/runtime-corejs2as dependency. ref: https://github.com/palerdot/react-d3-speedometer/issues/76
0.11.0
- migrated to
lodash-esfromlodashfor better tree shaking. Exportingtypesandthemesfrom core for better reusablility. - removed
lodashdependency. ref: https://codesandbox.io/s/zen-darkness-c3ev3, https://codesandbox.io/s/gracious-swanson-1rts8
0.10.1
npmignoreto reduce npm tarball/package size. Linking to github image asset for README
0.10.0
customSegmentLabelsprop to display custom labels. Live Example- bugfix. Fixed https://github.com/palerdot/react-d3-speedometer/issues/68
0.9.0
Typescriptsupport with typescript definition file
0.8.0
paddingHorizontal,paddingVerticalprops to configure space for label texts of bigger font sizes.
0.7.3
dimensionUnitprop to configurewidth/height... Defaults topx. More context - https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#Length
0.7.2
labelFontSizeandvalueTextFontSizeconfigurable props.
0.7.1
bugfix. Handle negative values and custom min/max values forcustomSegmentStops. Fixes - https://github.com/palerdot/react-d3-speedometer/issues/51 and https://github.com/palerdot/react-d3-speedometer/issues/52. ref - https://codesandbox.io/s/jolly-thompson-2k3d7
0.7.0
- new
customSegmentStopsconfiguration to customize segments, ref: https://codesandbox.io/s/purple-cdn-eu9xf. Complete rewrite of core, where core is modularized and separated from lifecycle methods
0.6.1
- removed unwanted
globalpackage from dependency. ref: - https://codesandbox.io/s/billowing-lake-9somf
0.6.0
- new option/prop
segmentColorsfor giving custom segment colors. Reference - https://palerdot.in/react-d3-speedometer/?path=/story/react-d3-speedometer--custom-segment-colors. ref: - https://codesandbox.io/s/relaxed-silence-c3qkb
0.5.6
maxSegmentLabelsnow takes0as valid value. Addresses - https://github.com/palerdot/react-d3-speedometer/issues/43
0.5.5
babel 7runtime issue fixed. Affected versions -0.5.0to0.5.4
0.5.0
maxSegmentLabelsprop to limit labels for segment. Useful for displaying gradient like effect. Example - https://palerdot.in/react-d3-speedometer/?path=/story/react-d3-speedometer--gradient-effect-with-large-number-of-segments-and-maxsegmentlabels-configcurrentValuePlaceholderStyleto configure custom placeholder for current value. Example - https://palerdot.in/react-d3-speedometer/?path=/story/react-d3-speedometer--custom-current-value-placeholder-style-for-eg-value
0.4.2
needleHeightRatiofor controlling the height of the needle. Takes a float between 0 and 1 and controls the height.
0.4.1
- Handle
d3ticks behaviour when we get a single tick. Refer https://github.com/d3/d3-scale/issues/149 for more info
0.4.0
- Bumped d3 version to 5.x
- Handled specific
d3-scalebehaviour (https://github.com/d3/d3-scale/issues/149). Fixes https://github.com/palerdot/react-d3-speedometer/issues/27
0.3.3
- Handling invalid
needleTransitionprop. Switching to defaulteaseQuadInOutby throwing a warning.
0.3.2
- Using simple string replace for
currentValueTextinstead of template literal for better support for IE - https://caniuse.com/#feat=template-literals
0.3.1
- updating
peerDependencieswithReact 16
0.3.0
REACT 16updating react version to 16, along with enzyme to version 3.
0.2.3
currentValueTextconfiguration to display custom current value text.
0.2.2
valueFormatoption for formatting the values. Should be a valid input for - https://github.com/d3/d3-format#locale_format
0.2.1
- Tweaked the positioning of current value element to be 23 points below so that it is legible in smaller speedometers.
0.2.0
forceRenderconfig option, to rerender the whole component on props change. Previously, only the values are updated and animated.
0.1.11
- new test case for custom
textColorprop
0.1.10
- new test case for validating default color
0.1.9
- new test case for checking number of segments
0.1.8
- configuring
textColor
0.1.7
- Basic test coverage using enzyme
0.1.5, 0.1.6
- Moving to
MITlicense
0.1.4
- Make
needleTransitionDurationconfigurable - Make
needleTransitionconfigurable - make
ringWidthconfigurable