Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Releases: tomwanzek/d3-v4-definitelytyped

v2.0.0

24 Sep 20:30
Compare
Choose a tag to compare

This is the Final Release for this repo. All definitions have been migrated to DefinitelyTyped and are available through npm@types.

This release is a cut-over release.

It includes one added definition for the d3-scales-chromatic module.

v2.0.0-rc.2

24 Aug 16:22
Compare
Choose a tag to compare

The definitions are now considered to be functionally complete for all modules comprising the D3 standard bundle, including definitions for the standard bundle itself.

Also included are the following additional optional scope modules:

  • d3-selection-multi
  • d3-hsv

Thanks to @Ledragon, @gustavderdrache and @arrayjam for your contributions!!!

🎉

The only limitation is related to the missing d3 global when individual modules are used as D3 vanilla scripts. This is related to the open and tracked TypeScript issue pertaining to merging into the same global identifier from different UMD module definitions.

v1.23.0

20 Aug 20:37
Compare
Choose a tag to compare
v1.23.0 Pre-release
Pre-release

Enhancements to the following:

  • d3-selection: Local interface now has template parameter for datum type and Selection.property(...) can accept Local as first argument
  • d3-shape: SeriesPoint interface enhanced to enforce mandatory first and second element for coordinate array.
  • d3-voronoi: VoronoiPoint is now an interface which enforces mandatory first and second element for coordinate array. VoronoiPointPair is now and interface which enforces mandatory first and second element for point array.

v1.22.0

18 Aug 21:53
Compare
Choose a tag to compare
v1.22.0 Pre-release
Pre-release

Added complete module with tests for:

  • d3-geo

Bug fix:

  • d3-shape: for typo in curve factory naming for curveStepAfter

v1.21.0

18 Aug 02:49
Compare
Choose a tag to compare
v1.21.0 Pre-release
Pre-release

Change to BaseType used for Selection and Transition to include Window (d3-selection and by implication d3-transition).

Note that, for selections/transitions of Window or EnterElement not all methods on the Selection and Transition interfaces are meaningful.

v1.20.0

17 Aug 16:56
Compare
Choose a tag to compare
v1.20.0 Pre-release
Pre-release

Improvements:

  • d3-axis: The scale() getter in the Axis interface is now templated to allow casting the return value from AxisScale to a more specific known scale type
  • d3-force: The force(...) getter in the Simulation interface is now templated to allow casting the return value from Force to a more specific known force type

Bug-fix:

  • d3-force: initialize(...) method of Force interface is optional.

v1.19.0

09 Aug 05:25
Compare
Choose a tag to compare
v1.19.0 Pre-release
Pre-release

Added completed modules with tests for:

  • d3-selection-multi
  • d3-hsv

(Note that these are not standard D3 bundle modules.)

Bug fixes:

  • d3-brush return type of .move(...), and
  • d3-force return type of .tick(...).

Generalizations:

  • permit arguments which can be coerced to number as argument when invoking a ScaleSequential scale, and
  • generalize d3-color and d3-interpolate to accommodate color space object additions like the one in d3-hsv

v1.18.0

02 Aug 17:18
Compare
Choose a tag to compare
v1.18.0 Pre-release
Pre-release

Changes to d3-axis to address dependency-decoupling from TimeInterval interface defined in d3-time:

  • Added AxisTimeInterval as a minimally viable contract to pass a time interval into Axis.ticks(...) or Axis.tickArguments(...)
  • Adapted AxisScale interface to work with AxisTimeInterval
  • Improved signatures for Axis.ticks(...) or Axis.tickArguments(...)

v1.17.0

01 Aug 23:43
Compare
Choose a tag to compare
v1.17.0 Pre-release
Pre-release

Added completed module with tests:

  • d3-request

v1.16.0

28 Jul 01:27
Compare
Choose a tag to compare
v1.16.0 Pre-release
Pre-release

Added completed modules with tests:

  • d3-queue