Skip to content

Releases: d3/d3-format

v3.1.2

14 Jan 18:35
ebdc2d5

Choose a tag to compare

  • Avoid use of optional chaining to retain ES2019 compatibility. #149

v3.1.1

14 Jan 04:25
ee1044f

Choose a tag to compare

  • Fix handling of parens with formatPrefix. #134 #135 #142 Thanks, @GlenKelley!
  • Fix precisionFixed, precisionRound, and precisionPrefix to return NaN when step is zero. #147
  • Fix the s format to not sometimes apply an erroneous suffix to NaN or ±Infinity. #147
  • The r format now formats zero as 0 instead of 0.0. #147
  • Upgrade ESLint, Vitest, etc.

v3.1.0

04 Dec 16:59
08806c6

Choose a tag to compare

  • Export local definitions. #118
  • Update local definitions. #120
  • Fix documentation for the type c character data format. #116
  • Upgrade dependencies.

v3.0.1

05 Jun 18:35
bba8f0e

Choose a tag to compare

  • Update dependencies.
  • Make build reproducible.

v3.0.0

24 Apr 23:24
aa3dab4

Choose a tag to compare

  • Adopt type: module.

This package now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.

v2.0.0

20 Aug 16:09
ebd043f

Choose a tag to compare

  • Change the default minus sign to the minus sign (−) instead of hyphen-minus (-). #62

This release adopts ES2015 language features such as for-of and drops support for older browsers, including IE. If you need to support pre-ES2015 environments, you should stick with d3-format 1.x or use a transpiler.

v1.4.5

20 Aug 15:55
c7a8573

Choose a tag to compare

  • Fix decimal d formatting of numbers greater than or equal to 1e21. #24
  • Update dependencies.

v1.4.4

01 Apr 19:23

Choose a tag to compare

  • Fix sign of near-zero negative values when using the + sign directive. #92

v1.4.3

29 Dec 16:54

Choose a tag to compare

  • Fix trimming of trailing zeroes in exponents. #83
  • Declare setting the default locale as a side effect. #84

v1.4.2

16 Nov 18:19

Choose a tag to compare

  • Add sideEffects: false to the package.json.