Skip to content

Latest commit

 

History

History
145 lines (99 loc) · 5.81 KB

CHANGELOG.md

File metadata and controls

145 lines (99 loc) · 5.81 KB

Change Log

2.2.1

  • Add types export to package.json (#182)

2.2.0

  • React 18 compatible v2.0 version generally available

2.1.0-rc.0 (next, React 18)

  • segmentValueFormatter function prop for customizing segment values.

1.0.2

  • svgAriaLabel prop for accessibility. More details - #135

1.0.1

1.0.0 (v17 React support)

  • React v17 and v6 d3 support. No Breaking Changes.

0.14.1

  • Typescript types for valueTextFontWeight config/prop

0.14.0

1.0.0-rc.0

  • First 1.0 Release candidate with React 17 support

0.13.1

  • ignore coverage folder from npm bundle

0.13.0

  • CustomSegmentLabelPosition, Transition types for both Typescript and JS. Resolves #81
  • 100% Test coverage
  • codecov, github actions integration

0.12.0

  • removed @babel/runtime-corejs2 as dependency. ref: #76

0.11.0

0.10.1

  • npmignore to reduce npm tarball/package size. Linking to github image asset for README

0.10.0

  • customSegmentLabels prop to display custom labels. Live Example
  • bugfix. Fixed #68

0.9.0

  • Typescript support with typescript definition file

0.8.0

  • paddingHorizontal, paddingVertical props to configure space for label texts of bigger font sizes.

0.7.3

0.7.2

  • labelFontSize and valueTextFontSize configurable props.

0.7.1

0.7.0

0.6.1

0.6.0

0.5.6

  • maxSegmentLabels now takes 0 as valid value. Addresses - #43

0.5.5

  • babel 7 runtime issue fixed. Affected versions - 0.5.0 to 0.5.4

0.5.0

0.4.2

  • needleHeightRatio for controlling the height of the needle. Takes a float between 0 and 1 and controls the height.

0.4.1

  • Handle d3 ticks behaviour when we get a single tick. Refer d3/d3-scale#149 for more info

0.4.0

  • Bumped d3 version to 5.x
  • Handled specific d3-scale behaviour (d3/d3-scale#149). Fixes #27

0.3.3

  • Handling invalid needleTransition prop. Switching to default easeQuadInOut by throwing a warning.

0.3.2

0.3.1

  • updating peerDependencies with React 16

0.3.0

  • REACT 16 updating react version to 16, along with enzyme to version 3.

0.2.3

  • currentValueText configuration to display custom current value text.

0.2.2

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

  • forceRender config 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 textColor prop

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 MIT license

0.1.4

  • Make needleTransitionDuration configurable
  • Make needleTransition configurable
  • make ringWidth configurable