billmcchesney1 / pacbot

PacBot (Policy as Code Bot)
https://tmobile.github.io/pacbot/
Apache License 2.0
0 stars 0 forks source link

Update dependency d3 to v7 - autoclosed #389

Closed mend-for-github-com[bot] closed 7 months ago

mend-for-github-com[bot] commented 1 year ago

This PR contains the following updates:

Package Type Update Change
d3 (source) dependencies major ^4.11.0 -> ^7.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
High 7.5 WS-2022-0322 #348

Release Notes

d3/d3 (d3) ### [`v7.0.0`](https://togithub.com/d3/d3/releases/tag/v7.0.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.7.0...v7.0.0) Breaking changes: - Adopt type: module. [#​3501](https://togithub.com/d3/d3/issues/3501) - Adopt [InternMap](https://togithub.com/mbostock/internmap) for [ordinal scale domains](https://togithub.com/d3/d3-scale/blob/main/README.md#ordinal-scales). - [d3.ascending](https://togithub.com/d3/d3-array/blob/main/README.md#ascending) and [d3.descending](https://togithub.com/d3/d3-array/blob/main/README.md#descending) no longer consider null comparable. - [d3.bin](https://togithub.com/d3/d3-array/blob/main/README.md#bin) now ignores nulls. - Convert array-likes (e.g., live NodeList) to arrays in [d3.selectAll](https://togithub.com/d3/d3-selection/blob/main/README.md#selectAll) and [*selection*.selectAll](https://togithub.com/d3/d3-selection/blob/main/README.md#selection_selectAll). Non-breaking changes: - Add [d3.mode](https://togithub.com/d3/d3-array/blob/main/README.md#mode). - Add [d3.flatGroup](https://togithub.com/d3/d3-array/blob/main/README.md#flatGroup) and [d3.flatRollup](https://togithub.com/d3/d3-array/blob/main/README.md#flatRollup). - Add [*transition*.selectChild](https://togithub.com/d3/d3-transition/blob/main/README.md#selectChild). - Add [*transition*.selectChildren](https://togithub.com/d3/d3-transition/blob/main/README.md#selectChildren). - Adopt [robust predicates](https://togithub.com/mourner/robust-predicates) for [Delaunay triangulation](https://togithub.com/d3/d3-delaunay). - Fix [*delaunay*.voronoi](https://togithub.com/d3/d3-delaunay/blob/main/README.md#delaunay_voronoi)’s computed circumcenters for [collinear points on the hull](https://observablehq.com/@​fil/d3-delaunay-6-robustly-released). - Allow [*brush*.move](https://togithub.com/d3/d3-brush/blob/main/README.md#brush_move) and [*brush*.clear](https://togithub.com/d3/d3-brush/blob/main/README.md#brush_clear) to take an optional event. - Allow [*selection*.merge](https://togithub.com/d3/d3-selection/blob/main/README.md#selection_merge) to take a transition. - Allow [*selection*.join](https://togithub.com/d3/d3-selection/blob/main/README.md#selection_join) to take transitions. - Apply [linear binning](https://observablehq.com/@​d3/contourdensity-linear-binning) for [d3.contourDensity](https://togithub.com/d3/d3-contour/blob/main/README.md#contourDensity). - Generate [*contours*.thresholds](https://togithub.com/d3/d3-contour/blob/main/README.md#contours_thresholds) at nicer round tick values. - Fix [*axis*.tickArguments](https://togithub.com/d3/d3-axis/blob/main/README.md#axis_tickArguments) to accept an iterable. - Fix [*axis*.tickValues](https://togithub.com/d3/d3-axis/blob/main/README.md#axis_tickValues) to accept an iterable. - Fix undefined *event* during [*brush*.move](https://togithub.com/d3/d3-brush/blob/main/README.md#brush_move). - Fix [drag event listeners](https://togithub.com/d3/d3-drag) to be explicitly non-passive where necessary ([#​78](https://togithub.com/d3/d3-drag/issues/78)). - Fix [zoom event listeners](https://togithub.com/d3/d3-zoom) to be explicitly non-passive where necessary. - Fix variable initialization error in d3-zoom. - Expose [d3.ZoomTransform](https://togithub.com/d3/d3-zoom/blob/main/README.md#zoom-transforms) constructor. - Update dependencies. - Make build reproducible. D3 now requires Node.js 12 or higher. For more, please read [Sindre Sorhus’s FAQ](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). ### [`v6.7.0`](https://togithub.com/d3/d3/releases/tag/v6.7.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.6.2...v6.7.0) - Add [d3.timeTicks](https://togithub.com/d3/d3-time/blob/master/README.md#timeTicks) and [d3.utcTicks](https://togithub.com/d3/d3-time/blob/master/README.md#utcTicks). - Add [d3.timeTickInterval](https://togithub.com/d3/d3-time/blob/master/README.md#timeTickInterval) and [d3.utcTickInterval](https://togithub.com/d3/d3-time/blob/master/README.md#utcTickInterval). ### [`v6.6.2`](https://togithub.com/d3/d3/releases/tag/v6.6.2) [Compare Source](https://togithub.com/d3/d3/compare/v6.6.1...v6.6.2) - Fix handling of null with quantitative scales; null is now considered an “unknown” value, not zero. ### [`v6.6.1`](https://togithub.com/d3/d3/releases/tag/v6.6.1) [Compare Source](https://togithub.com/d3/d3/compare/v6.6.0...v6.6.1) - Fix rounding error in [d3.ticks](https://togithub.com/d3/d3-array/blob/master/README.md#ticks). ### [`v6.6.0`](https://togithub.com/d3/d3/releases/tag/v6.6.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.5.0...v6.6.0) - Add [d3.fcumsum](https://togithub.com/d3/d3-array/blob/master/README.md#fcumsum). Thanks, [@​Fil](https://togithub.com/Fil)! - Add [d3.curveBumpX](https://togithub.com/d3/d3-shape/blob/master/README.md#curveBumpX) and [d3.curveBumpY](https://togithub.com/d3/d3-shape/blob/master/README.md#curveBumpY). Thanks, [@​Fil](https://togithub.com/Fil)! - Add [*axis*.offset](https://togithub.com/d3/d3-axis/blob/master/README.md#axis_offset). - Only offset the axis by 0.5px on low-resolution devices (devicePixelRatio ≤ 1). - Update dependencies. ### [`v6.5.0`](https://togithub.com/d3/d3/releases/tag/v6.5.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.4.0...v6.5.0) - Add [d3.groupSort](https://togithub.com/d3/d3-array/blob/master/README.md#groupSort). - Allow [d3.sort](https://togithub.com/d3/d3-array/blob/master/README.md#sort) to take multiple accessors. ### [`v6.4.0`](https://togithub.com/d3/d3/releases/tag/v6.4.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.3.1...v6.4.0) - Add [d3.InternMap](https://togithub.com/d3/d3-array/blob/master/README.md#InternMap). - Add [d3.InternSet](https://togithub.com/d3/d3-array/blob/master/README.md#InternSet). - Change [d3.group](https://togithub.com/d3/d3-array/blob/master/README.md#group), [d3.rollup](https://togithub.com/d3/d3-array/blob/master/README.md#rollup) *et al.* to use InternMap. ### [`v6.3.1`](https://togithub.com/d3/d3/releases/tag/v6.3.1) [Compare Source](https://togithub.com/d3/d3/compare/v6.3.0...v6.3.1) - Fix last bin with [d3.bin](https://togithub.com/d3/d3-array/blob/master/README.md#bin) when the values are not numbers. - Fix last bin with [d3.bin](https://togithub.com/d3/d3-array/blob/master/README.md#bin) when the tick increment is fractional. ### [`v6.3.0`](https://togithub.com/d3/d3/releases/tag/v6.3.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.2.0...v6.3.0) - [d3.sort](https://togithub.com/d3/d3-array/blob/master/README.md#sort) now may accept an accessor. - Fix zero-width last bin with [d3.bin](https://togithub.com/d3/d3-array/blob/master/README.md#bin). ### [`v6.2.0`](https://togithub.com/d3/d3/releases/tag/v6.2.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.1.1...v6.2.0) - Add [d3.nice](https://togithub.com/d3/d3-array/blob/master/README.md#nice). - Add [d3.every](https://togithub.com/d3/d3-array/blob/master/README.md#every). - Add [d3.some](https://togithub.com/d3/d3-array/blob/master/README.md#some). - Add [d3.filter](https://togithub.com/d3/d3-array/blob/master/README.md#filter). - Add [d3.map](https://togithub.com/d3/d3-array/blob/master/README.md#map). - Add [d3.reduce](https://togithub.com/d3/d3-array/blob/master/README.md#reduce). - Add [d3.reverse](https://togithub.com/d3/d3-array/blob/master/README.md#reverse). - Add [d3.sort](https://togithub.com/d3/d3-array/blob/master/README.md#sort). - Add [d3.difference](https://togithub.com/d3/d3-array/blob/master/README.md#difference). - Add [d3.disjoint](https://togithub.com/d3/d3-array/blob/master/README.md#disjoint). - Add [d3.intersection](https://togithub.com/d3/d3-array/blob/master/README.md#intersection). - Add [d3.superset](https://togithub.com/d3/d3-array/blob/master/README.md#superset). - Add [d3.subset](https://togithub.com/d3/d3-array/blob/master/README.md#subset). - Add [d3.union](https://togithub.com/d3/d3-array/blob/master/README.md#union). - Fix [d3.bin](https://togithub.com/d3/d3-array/blob/master/README.md#bins) to nice the domain by default, ensuring uniform bin widths. - Fix [d3.scaleQuantile](https://togithub.com/d3/d3-scale/blob/master/README.md#scaleQuantile) performance regression. Thanks [@​ilijapuaca](https://togithub.com/ilijapuaca)! ### [`v6.1.1`](https://togithub.com/d3/d3/releases/tag/v6.1.1) [Compare Source](https://togithub.com/d3/d3/compare/v6.1.0...v6.1.1) - Fix imprecision with [*bin*.thresholds](https://togithub.com/d3/d3-array/blob/master/README.md#bin_thresholds)(*count*). ### [`v6.1.0`](https://togithub.com/d3/d3/releases/tag/v6.1.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.0.0...v6.1.0) - Add [d3.shuffler](https://togithub.com/d3/d3-array/blob/master/README.md#shuffler). - Add [d3.bisectCenter](https://togithub.com/d3/d3-array/blob/master/README.md#bisectCenter). - Fix off-by-one with [*bisector*.center](https://togithub.com/d3/d3-array/blob/master/README.md#bisector_center). - Accept any integer seed with [d3.randomLcg](https://togithub.com/d3/d3-random/blob/master/README.md#randomLcg). ### [`v6.0.0`](https://togithub.com/d3/d3/releases/tag/v6.0.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.16.0...v6.0.0) - Adopt ES2015, including support for iterables and collections (Map and Set). - Remove d3.event; [*selection*.on](https://togithub.com/d3/d3-selection/blob/master/README.md#selection_on) now passes events directly to listeners. - Remove d3.mouse, d3.touch, d3.touches, d3.clientPoint; add [d3.pointer](https://togithub.com/d3/d3-selection/blob/master/README.md#pointer) and [d3.pointers](https://togithub.com/d3/d3-selection/blob/master/README.md#pointers). - Remove d3.nest; add [d3.group](https://togithub.com/d3/d3-array/blob/master/README.md#group) and [d3.rollup](https://togithub.com/d3/d3-array/blob/master/README.md#rollup). - Remove [d3-collection](https://togithub.com/d3/d3-collection); see [d3-array](https://togithub.com/d3/d3-array). - Remove [d3-voronoi](https://togithub.com/d3/d3-voronoi); add [d3-delaunay](https://togithub.com/d3/d3-delaunay). - Remove support for Bower. For more on what’s new, see [CHANGES](https://togithub.com/d3/d3/blob/master/CHANGES.md). To upgrade from D3 5.x, see the [migration guide](https://observablehq.com/@​d3/d3v6-migration-guide). ### [`v5.16.0`](https://togithub.com/d3/d3/releases/tag/v5.16.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.15.1...v5.16.0) - Add [*projection*.reflectX](https://togithub.com/d3/d3-geo/blob/master/README.md#projection_reflectX). - Add [*projection*.reflectY](https://togithub.com/d3/d3-geo/blob/master/README.md#projection_reflectY). - Fix achromatic hexadecimal colors. ### [`v5.15.1`](https://togithub.com/d3/d3/releases/tag/v5.15.1) [Compare Source](https://togithub.com/d3/d3/compare/v5.15.0...v5.15.1) - Fix sign of near-zero negative values when using the `+` sign directive. ### [`v5.15.0`](https://togithub.com/d3/d3/releases/tag/v5.15.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.14.2...v5.15.0) - Add [d3.interpolateNumberArray](https://togithub.com/d3/d3-interpolate/blob/master/README.md#interpolateNumberArray). - Add support for typed arrays to [d3.interpolate](https://togithub.com/d3/d3-interpolate/blob/master/README.md#interpolate). - Add support for typed arrays to [d3.interpolateArray](https://togithub.com/d3/d3-interpolate/blob/master/README.md#interpolateArray). - Fix numeric interpolation to return exact values for *t* = 0 and *t* = 1. - Fix trimming of trailing zeroes in exponents. ### [`v5.14.2`](https://togithub.com/d3/d3/releases/tag/v5.14.2) [Compare Source](https://togithub.com/d3/d3/compare/v5.14.1...v5.14.2) - Expose [*brush*.touchable](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_touchable). ### [`v5.14.1`](https://togithub.com/d3/d3/releases/tag/v5.14.1) [Compare Source](https://togithub.com/d3/d3/compare/v5.14.0...v5.14.1) - Propagate the *this* context to interpolators in *transition*.styleTween, *transition*.attrTween and *transition*.textTween. ### [`v5.14.0`](https://togithub.com/d3/d3/releases/tag/v5.14.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.13.1...v5.14.0) - Add [*transition*.textTween](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_textTween). - Fix handling of zero values in [d3.stackOffsetDiverging](https://togithub.com/d3/d3-shape/blob/master/README.md#stackOffsetDiverging). ### [`v5.13.1`](https://togithub.com/d3/d3/releases/tag/v5.13.1) [Compare Source](https://togithub.com/d3/d3/compare/v5.13.0...v5.13.1) - Fix crash initializing d3.brush. ### [`v5.13.0`](https://togithub.com/d3/d3/releases/tag/v5.13.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.12.0...v5.13.0) - Add [d3.csvFormatRow](https://togithub.com/d3/d3-dsv/blob/master/README.md#csvFormatRow). - Add [d3.csvFormatValue](https://togithub.com/d3/d3-dsv/blob/master/README.md#csvFormatValue). - Add [d3.tsvFormatRow](https://togithub.com/d3/d3-dsv/blob/master/README.md#tsvFormatRow). - Add [d3.tsvFormatValue](https://togithub.com/d3/d3-dsv/blob/master/README.md#tsvFormatValue). - Add [*dsv*.formatRow](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_formatRow). - Add [*dsv*.formatValue](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_formatValue). - Add support for parsing 4- and 8-digit hexadecimal colors in d3.color. Thanks, [@​zerovox](https://togithub.com/zerovox)! - Allow shorthand for current time intervals (e.g., `d3.timeDay()` returns today’s midnight). - Disallow whitespace and periods in type names passed to [d3.dispatch](https://togithub.com/d3/d3-dispatch/blob/master/README.md#dispatch). - Add fa-IR d3-time-format locale. Thanks, [@​mohsentaleb](https://togithub.com/mohsentaleb)! - Add `%q` directive for quarter of the year as a decimal number. Thanks, [@​jheer](https://togithub.com/jheer)! - Fix off-by-one error formatting `%U` when the year starts with Sunday. - Fix off-by-one error formatting `%W` when the year starts with Monday. - Fix off-by-one error parsing week and weekday numbers with d3.utcParse. - Fix string coercion of specifier passed to d3.utcParse. - Fix parsing of `%L` or `%f` in conjunction with `%s`. ### [`v5.12.0`](https://togithub.com/d3/d3/releases/tag/v5.12.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.11.0...v5.12.0) - Add [d3.FormatSpecifier](https://togithub.com/d3/d3-format/blob/master/README.md#FormatSpecifier). - Allow minus sign to be localized in [d3.format](https://togithub.com/d3/d3-format). Thanks, [@​benib](https://togithub.com/benib)! - Allow NaN to be localized in [d3.format](https://togithub.com/d3/d3-format). ### [`v5.11.0`](https://togithub.com/d3/d3/releases/tag/v5.11.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.10.1...v5.11.0) - Add [d3.interpolateTurbo](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#interpolateTurbo). - Add [d3.interpolateCividis](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#interpolateCividis). ### [`v5.10.1`](https://togithub.com/d3/d3/releases/tag/v5.10.1) [Compare Source](https://togithub.com/d3/d3/compare/v5.10.0...v5.10.1) - Fix broken brush corner resizers. - Fix brush multitouch filtering. ### [`v5.10.0`](https://togithub.com/d3/d3/releases/tag/v5.10.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.7...v5.10.0) #### [d3-brush](https://togithub.com/d3/d3-brush) - Add [*brush*.touchable](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_touchable). - Add [*brush*.clear](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_clear). - Add [*brush*.keyModifiers](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_keyModifiers). - Fix default [*brush*.extent](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_extent) to consider the SVG viewBox, if any. - Fix scroll prevention on touch devices. - Fix coercion of selection and extent inputs. - Fix order of handles in the DOM. - Fix [*brush*.move](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_move) when selection is empty. - Fix Space key immediately after clicking on a handle. - Fix missing *brush* event on parallel start. - Fix handling of orphaned input gestures. - Fix default [*brush*.touchable](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_touchable) if navigator.maxTouchPoints. - Fix multitouch gestures. - Fix click consumption when brush is not empty. - Fix default [*brush*.filter](https://togithub.com/d3/d3-brush/blob/master/README.md#brush_filter) on control-click. #### [d3-color](https://togithub.com/d3/d3-color) - Add [*color*.copy](https://togithub.com/d3/d3-color/blob/master/README.md#color_copy). - Add [*color*.formatHex](https://togithub.com/d3/d3-color/blob/master/README.md#color_formatHex). - Add [*color*.formatHsl](https://togithub.com/d3/d3-color/blob/master/README.md#color_formatHsl). - Add [*color*.formatRgb](https://togithub.com/d3/d3-color/blob/master/README.md#color_formatRgb). - Deprecate *color*.hex; use *color*.formatHex instead. #### [d3-drag](https://togithub.com/d3/d3-drag) - Fix default [*drag*.filter](https://togithub.com/d3/d3-drag/blob/master/README.md#drag_filter) on control-click. - Fix default [*drag*.touchable](https://togithub.com/d3/d3-drag/blob/master/README.md#drag_touchable) if navigator.maxTouchPoints. #### [d3-path](https://togithub.com/d3/d3-path) - Fix coercion of *anticlockwise* argument to [*path*.arc](https://togithub.com/d3/d3-path/blob/master/README.md#path_arc). Thanks, [@​Fil](https://togithub.com/Fil)! #### [d3-scale-chromatic](https://togithub.com/d3/d3-scale-chromatic) - Add [d3.schemeTableau10](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#schemeTableau10). Thanks [@​akngs](https://togithub.com/akngs)! #### [d3-zoom](https://togithub.com/d3/d3-zoom) - Fix default [*zoom*.extent](https://togithub.com/d3/d3-zoom/blob/master/README.md#zoom_extent) to consider the SVG viewBox. - Fix default [*zoom*.filter](https://togithub.com/d3/d3-zoom/blob/master/README.md#zoom_filter) to ignore control-click. - Fix default [*zoom*.touchable](https://togithub.com/d3/d3-zoom/blob/master/README.md#zoom_touchable) if navigator.maxTouchPoints. - Fix default [*zoom*.wheelDelta](https://togithub.com/d3/d3-zoom/blob/master/README.md#zoom_wheelDelta) if deltaMode !== 0. Thanks, [@​Dakkaron](https://togithub.com/Dakkaron)! - Fix handling of filtered multitouch gestures. Thanks, [@​robinhouston](https://togithub.com/robinhouston) and [@​testower](https://togithub.com/testower)! - Fix handling of orphaned gestures. - Fix emitting of zoom events during dbltap gestures. Thanks, [@​cambecc](https://togithub.com/cambecc)! - Add optional *point* to [*zoom*.transform](https://togithub.com/d3/d3-zoom/blob/master/README.md#zoom_transform) and related methods. - Fix [d3.zoomTransform](https://togithub.com/d3/d3-zoom/blob/master/README.md#zoomTransform) to inherit the transform from the closest ancestor, if any. ### [`v5.9.7`](https://togithub.com/d3/d3/releases/tag/v5.9.7) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.6...v5.9.7) - Revert chroma clamping in *hcl*.toString. ### [`v5.9.6`](https://togithub.com/d3/d3/releases/tag/v5.9.6) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.5...v5.9.6) - Account for rounding when determining whether a color is displayable. ### [`v5.9.5`](https://togithub.com/d3/d3/releases/tag/v5.9.5) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.4...v5.9.5) - Implement chroma clamping in [*hcl*.toString](https://togithub.com/d3/d3-color/blob/master/README.md#hcl). - Fix achromatic representation of white in [d3.hcl](https://togithub.com/d3/d3-color/blob/master/README.md#hcl) (again). ### [`v5.9.4`](https://togithub.com/d3/d3/releases/tag/v5.9.4) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.3...v5.9.4) - Fix achromatic representation of black and white in [d3.hcl](https://togithub.com/d3/d3-color/blob/master/README.md#hcl). ### [`v5.9.3`](https://togithub.com/d3/d3/releases/tag/v5.9.3) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.2...v5.9.3) - Fix [d3.stackDivergingOffset](https://togithub.com/d3/d3-shape/blob/master/README.md#stackDivergingOffset) when there is only one series. - Fix achromatic representation of black and white in [d3.hcl](https://togithub.com/d3/d3-color/blob/master/README.md#hcl). - Fix [d3.geoContains](https://togithub.com/d3/d3-geo/blob/master/README.md#geoContains) for LineStrings. Thanks, [@​ondras](https://togithub.com/ondras)! - Fix [d3.geoContains](https://togithub.com/d3/d3-geo/blob/master/README.md#geoContains) for longitudes outside of ±180°. - Fix [d3.geoBounds](https://togithub.com/d3/d3-geo/blob/master/README.md#geoBounds) for sphers. ### [`v5.9.2`](https://togithub.com/d3/d3/releases/tag/v5.9.2) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.1...v5.9.2) - Fix bug when initializing nodes with fixed positions in force simulations. ### [`v5.9.1`](https://togithub.com/d3/d3/releases/tag/v5.9.1) [Compare Source](https://togithub.com/d3/d3/compare/v5.9.0...v5.9.1) - Fix corruption when [*quadtree*.cover](https://togithub.com/d3/d3-quadtree/blob/master/README.md#quadtree_cover) is coincident with the current extent. - Favor a more concise ISO 8601 format for dates in [*dsv*.format](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_format) and [*dsv*.formatRows](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_formatRows). ### [`v5.9.0`](https://togithub.com/d3/d3/releases/tag/v5.9.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.8.2...v5.9.0) #### [d3-dsv](https://togithub.com/d3/d3-dsv) - Add [d3.autoType](https://togithub.com/d3/d3-dsv/blob/master/README.md#autoType) for automatic type inference when parsing! - Add [*dsv*.formatBody](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_formatBody), [d3.csvFormatBody](https://togithub.com/d3/d3-dsv/blob/master/README.md#csvFormatBody), and [d3.tsvFormatBody](https://togithub.com/d3/d3-dsv/blob/master/README.md#tsvFormatBody). - In [*dsv*.format](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_format) and [*dsv*.formatRows](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_formatRows), use *date*.toISOString to format dates. ### [`v5.8.2`](https://togithub.com/d3/d3/releases/tag/v5.8.2) [Compare Source](https://togithub.com/d3/d3/compare/v5.8.1...v5.8.2) - Fix [d3.timeMinute](https://togithub.com/d3/d3-time/blob/master/README.md#timeMinute) and [d3.timeHour](https://togithub.com/d3/d3-time/blob/master/README.md#timeHour) for historical times. ### [`v5.8.1`](https://togithub.com/d3/d3/releases/tag/v5.8.1) [Compare Source](https://togithub.com/d3/d3/compare/v5.8.0...v5.8.1) - Fix rendering glitch with [*arc*.cornerRadius](https://togithub.com/d3/d3-shape/blob/master/README.md#arc_cornerRadius). ### [`v5.8.0`](https://togithub.com/d3/d3/releases/tag/v5.8.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.7.0...v5.8.0) #### [d3-force](https://togithub.com/d3/d3-force) - Add *iterations* argument to [*simulation*.tick](https://togithub.com/d3/d3-force/blob/master/README.md#simulation_tick). Thanks, [@​vasturiano](https://togithub.com/vasturiano)! - Fix bug when initializing nodes with fixed positions. Thanks, [@​vasturiano](https://togithub.com/vasturiano)! #### [d3-geo](https://togithub.com/d3/d3-geo) - Fix projection where |longitude| > 180°. #### [d3-scale](https://togithub.com/d3/d3-scale) - Add *domain* and *range* (or *interpolator*) convenience constructors for all scale types. - Add default constructors for [sequential](https://togithub.com/d3/d3-scale/blob/master/README.md#sequential-scales) and [diverging](https://togithub.com/d3/d3-scale/blob/master/README.md#diverging-scales) scales. - Add [d3.tickFormat](https://togithub.com/d3/d3-scale/blob/master/README.md#tickFormat). - Add [d3.scaleSymlog](https://togithub.com/d3/d3-scale/blob/master/README.md#symlog-scales). - Add transformed sequential scales (*e.g.*, [d3.scaleSequentialLog](https://togithub.com/d3/d3-scale/blob/master/README.md#scaleSequentialLog)). - Add transformed diverging scales (*e.g.*, [d3.scaleDivergingLog](https://togithub.com/d3/d3-scale/blob/master/README.md#scaleDivergingLog)). - Add [d3.scaleSequentialQuantile](https://togithub.com/d3/d3-scale/blob/master/README.md#scaleSequentialQuantile) for *p*-quantiles. - Add [*scale*.unknown](https://togithub.com/d3/d3-scale/blob/master/README.md#continuous_unknown) for all scale types. - Allow unlimited [*band*.paddingOuter](https://togithub.com/d3/d3-scale/blob/master/README.md#band_paddingOuter) and [*point*.padding](https://togithub.com/d3/d3-scale/blob/master/README.md#point_padding). - For collapsed domains, use midpoint of domain or range rather than start. #### [d3-selection](https://togithub.com/d3/d3-selection) - Add [*selection*.join](https://togithub.com/d3/d3-selection/blob/master/README.md#selection_join)! - Fix [*selection*.order](https://togithub.com/d3/d3-selection/blob/master/README.md#selection_order) to enforce relative position, rather than exact siblings. - Remove vendor fallback for *element*.matches in [*selection*.filter](https://togithub.com/d3/d3-selection/blob/master/README.md#selection_filter) and [d3.matcher](https://togithub.com/d3/d3-selection/blob/master/README.md#matcher). #### [d3-shape](https://togithub.com/d3/d3-shape) - Add [d3.stackOrderAppearance](https://togithub.com/d3/d3-shape/blob/master/README.md#stackOrderAppearance). Thanks, [@​isaomatsunami](https://togithub.com/isaomatsunami)! - Fix d3.stackOrderInsideOut to use appearance (onset) rather than sum. - Fix rendering glitch with rounded arcs. #### [d3-transition](https://togithub.com/d3/d3-transition) - Add [*transition*.end](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_end). - Add *cancel* events to [*transition*.on](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_on). - Improve the performance of [*transition*.style](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_style) and [*transition*.attr](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_attr). - Tween functions can now use *this* to refer to the current node. - Fix removal of styles when the value passed to [*transition*.style](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_style) is null. - Fix interpolation in [*transition*.style](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_style) and [*transition*.attr](https://togithub.com/d3/d3-transition/blob/master/README.md#transition_attr) in certain non-string cases. ### [`v5.7.0`](https://togithub.com/d3/d3/releases/tag/v5.7.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.6.0...v5.7.0) - Add [d3.geoEqualEarth](https://togithub.com/d3/d3-geo/blob/master/README.md#geoEqualEarth). - Add [d3.interpolateHue](https://togithub.com/d3/d3-interpolate/blob/master/README.md#interpolateHue). - Add [d3.interpolateDiscrete](https://togithub.com/d3/d3-interpolate/blob/master/README.md#interpolateDiscrete). - Fix upper [histogram](https://togithub.com/d3/d3-array/blob/master/README.md#histogram) bin threshold in some cases. - Fix [axis](https://togithub.com/d3/d3-axis/blob/master/README.md) domain rendering when the outer tick size is zero. ### [`v5.6.0`](https://togithub.com/d3/d3/releases/tag/v5.6.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.5.0...v5.6.0) - Add [*density*.weight](https://togithub.com/d3/d3-contour/blob/master/README.md#density_weight). - Use currentColor instead of black for [axes](https://togithub.com/d3/d3-axis/blob/master/README.md). ### [`v5.5.0`](https://togithub.com/d3/d3/releases/tag/v5.5.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.4.0...v5.5.0) - Add [d3.scaleDiverging](https://togithub.com/d3/d3-scale/blob/master/README.md#scaleDiverging). - Fix treatment of degenerate domains in [d3.scaleSequential](https://togithub.com/d3/d3-scale/blob/master/README.md#scaleSequential). ### [`v5.4.0`](https://togithub.com/d3/d3/releases/tag/v5.4.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.3.0...v5.4.0) - Add [d3.interpolateSinebow](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#interpolateSinebow). ### [`v5.3.0`](https://togithub.com/d3/d3/releases/tag/v5.3.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.2.0...v5.3.0) - Add `~` option to [d3.format](https://togithub.com/d3/d3-format) to trim insignificant zeros. Thanks, [@​vasturiano](https://togithub.com/vasturiano)! - Fix [d3.formatSpecifier](https://togithub.com/d3/d3-format/blob/master/README.md#formatSpecifier) to not bake shorthand aliases. ### [`v5.2.0`](https://togithub.com/d3/d3/releases/tag/v5.2.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.1.0...v5.2.0) - Add [*color*.hex](https://togithub.com/d3/d3-color/blob/master/README.md#color_hex). - Add [d3.piecewise](https://togithub.com/d3/d3-interpolate/blob/master/README.md#piecewise). ### [`v5.1.0`](https://togithub.com/d3/d3/releases/tag/v5.1.0) [Compare Source](https://togithub.com/d3/d3/compare/v5.0.2...v5.1.0) - Add [d3.lch](https://togithub.com/d3/d3-color/blob/master/README.md#lch). - Add [d3.gray](https://togithub.com/d3/d3-color/blob/master/README.md#gray). - Switch from D65 to D50 for [Lab and HCL color spaces](https://beta.observablehq.com/@​mbostock/lab-and-rgb). Thanks, [@​danburzo](https://togithub.com/danburzo)! - Fix Lab and HCL representation of [achromatic colors](https://beta.observablehq.com/@​mbostock/achromatic-interpolation-test). ### [`v5.0.2`](https://togithub.com/d3/d3/releases/tag/v5.0.2) [Compare Source](https://togithub.com/d3/d3/compare/v5.0.1...v5.0.2) Replaced by [5.1.0](https://togithub.com/d3/d3/releases/tag/v5.1.0). ### [`v5.0.1`](https://togithub.com/d3/d3/releases/tag/v5.0.1) [Compare Source](https://togithub.com/d3/d3/compare/v5.0.0...v5.0.1) - Fix occasional overlap and hang in [d3.packSiblings](https://togithub.com/d3/d3-hierarchy/blob/master/README.md#packSiblings). Thanks, [@​robinhouston](https://togithub.com/robinhouston)! ### [`v5.0.0`](https://togithub.com/d3/d3/releases/tag/v5.0.0): 5.0.0 [Compare Source](https://togithub.com/d3/d3/compare/v4.13.0...v5.0.0) - Remove [d3-request](https://togithub.com/d3/d3-request); add [d3-fetch](https://togithub.com/d3/d3-fetch). - Remove [d3-queue](https://togithub.com/d3/d3-queue); see [Promise.all](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/all). - Add [d3-scale-chromatic](https://togithub.com/d3/d3-scale-chromatic). - Add [d3-contour](https://togithub.com/d3/d3-contour). - Add [*selection*.clone](https://togithub.com/d3/d3-selection/blob/master/README.md#selection_clone). - Add [d3.create](https://togithub.com/d3/d3-selection/blob/master/README.md#create). - Add [*projection*.angle](https://togithub.com/d3/d3-geo/blob/master/README.md#projection_angle). - Remove d3.schemeCategory20\* categorical color schemes. (See note below.) - Fix duplicate installation of D3 modules at different versions. ([#​3256](https://togithub.com/d3/d3/issues/3256)) - Fix [d3.format](https://togithub.com/d3/d3-format/blob/master/README.md#format)’s SI format for locales with currency suffixes. D3 now includes new [categorical color schemes](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#categorical) from ColorBrewer, along with ColorBrewer’s excellent [diverging](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#diverging), [sequential single-hue](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#sequential-single-hue) and [sequential multi-hue](https://togithub.com/d3/d3-scale-chromatic/blob/master/README.md#sequential-multi-hue) color schemes. The twenty-color schemes were removed because their grouped design often falsely implied non-existent relationships in the data: a shared hue can imply that the encoded data are part of a group (a super-category), while the relative lightness can falsely imply order. For more on what’s new, read [CHANGES](https://togithub.com/d3/d3/blob/master/CHANGES.md). ### [`v4.13.0`](https://togithub.com/d3/d3/releases/tag/v4.13.0) [Compare Source](https://togithub.com/d3/d3/compare/v4.12.2...v4.13.0) - Add [*selection*.clone](https://togithub.com/d3/d3-selection/blob/master/README.md#selection_clone). - Add [d3.create](https://togithub.com/d3/d3-selection/blob/master/README.md#create). - Fix [d3.format](https://togithub.com/d3/d3-format/blob/master/README.md#format)’s SI format for locales with currency suffixes. ### [`v4.12.2`](https://togithub.com/d3/d3/releases/tag/v4.12.2) [Compare Source](https://togithub.com/d3/d3/compare/v4.12.1...v4.12.2) - Pin to earlier version of UglifyJS to fix minified bundle. ### [`v4.12.1`](https://togithub.com/d3/d3/releases/tag/v4.12.1) [Compare Source](https://togithub.com/d3/d3/compare/v4.12.0...v4.12.1) - Point unpkg and jsDelivr to the minified bundle. ### [`v4.12.0`](https://togithub.com/d3/d3/releases/tag/v4.12.0) [Compare Source](https://togithub.com/d3/d3/compare/v4.11.0...v4.12.0) - Add [d3.clientPoint](https://togithub.com/d3/d3-selection/blob/master/README.md#clientPoint). - Add [*zoom*.constrain](https://togithub.com/d3/d3-zoom/blob/master/README.md#zoom_constrain). - Add `f`, `Q`, `s`, `u` and `V` [time format](https://togithub.com/d3/d3-time-format) specifiers. Thanks, [@​BrianMitchL](https://togithub.com/BrianMitchL) [@​krukon](https://togithub.com/krukon)! - Add [*projection*.fitWidth](https://togithub.com/d3/d3-geo/blob/master/README.md#projection_fitWidth), [*projection*.fitHeight](https://togithub.com/d3/d3-geo/blob/master/README.md#projection_fitHeight). Thanks, [@​mfogel](https://togithub.com/mfogel)! - Add tr-TR [time format](https://togithub.com/d3/d3-time-format) locale. Thanks, [@​filiz137](https://togithub.com/filiz137)! - Improve messages for [transition lifecycle](https://togithub.com/d3/d3-transition/blob/master/README.md#the-life-of-a-transition) errors. - Fix infinite loop in [*interval*.range](https://togithub.com/d3/d3-time/blob/master/README.md#interval_range). - Fix sub-millisecond ticks for [time scales](https://togithub.com/d3/d3-scale/blob/master/README.md#time-scales). Thanks, [@​FracturedShader](https://togithub.com/FracturedShader)! - Fix thousands separator in fr-FR [number format](https://togithub.com/d3/d3-format) locale. Thanks, [@​victornoel](https://togithub.com/victornoel)! - Fix missing *data*.columns when the input to [*dsv*.parse](https://togithub.com/d3/d3-dsv/blob/master/README.md#dsv_parse) is empty. Thanks, [@​tomwanzek](https://togithub.com/tomwanzek)! - Minor optimization to [d3.interpolateArray](https://togithub.com/d3/d3-interpolate/blob/master/README.md#interpolateArray). Thanks, [@​jetzhliu](https://togithub.com/jetzhliu).