Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump d3 from 5.16.0 to 6.0.0 #490

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 27, 2020

Bumps d3 from 5.16.0 to 6.0.0.

Release notes

Sourced from d3's releases.

v6.0.0

For more on what’s new, see CHANGES.

To upgrade from D3 5.x, see the migration guide.

Changelog

Sourced from d3's changelog.

Changes in D3 6.0

Released August 26, 2020.

This document covers only major changes. For minor and patch changes, please see the release notes.

D3 6.0 introduces several non-backwards-compatible changes.

d3-array now uses native collections (Map and Set) instead of object dictionaries, and accepts any iterable (for-of) not just arrays. d3.group and d3.rollup are powerful new aggregation functions that replace d3.nest and work great with d3-hierarchy and d3-selection. There are lots of new array helpers, too, such as d3.greatest, d3.quickselect, and d3.fsum.

d3-selection now passes events directly to event listeners, replacing the d3.event global and bringing D3 inline with vanilla JavaScript and most other frameworks.

d3-delaunay replaces d3-voronoi, offering dramatic improvements to performance and robustness. It also supports fast search. And there’s a new d3-geo-voronoi for spherical (geographical) data!

d3-random is greatly expanded and includes a fast linear congruential generator for seeded randomness.

d3-chord has new layouts for directed and transposed chord diagrams.

d3-scale adds a new radial scale type.

… and a variety of other small enhancements and new and improved examples.

d3-selection has a new event manager:

  • d3.event → (event) passed as the first argument to all listeners [details]
  • d3.mouse, d3.touch, d3.touches, d3.clientPoint → d3.pointer [details]

d3-brush, d3-drag and d3-zoom also use the new event manager:

  • brush.on listeners now receive event [details]
  • drag.on listeners now receive event [details]
  • zoom.on listeners now receive event [details]

d3-voronoi is deprecated, and replaced by d3-delaunay:

  • d3.voronoi → d3.Delaunay [details]

d3-collection is deprecated, and its methods are replaced:

  • d3.nest → d3.group and d3.rollup (from d3-array) [details]
  • d3.map → Map [details]
  • d3.set → Set [details]
  • d3.keys → Object.keys [details]
  • d3.values → Object.values [details]
  • d3.entries → Object.entries [details]

d3-array has renamed two methods:

  • d3.histogram → d3.bin [details]
  • d3.scan → d3.leastIndex [details]
Commits
Maintainer changes

This version was pushed to npm by recifs, a new releaser for d3 since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [d3](https://github.com/d3/d3) from 5.16.0 to 6.0.0.
- [Release notes](https://github.com/d3/d3/releases)
- [Changelog](https://github.com/d3/d3/blob/master/CHANGES.md)
- [Commits](d3/d3@v5.16.0...v6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 27, 2020
Copy link
Contributor

@LoneRifle LoneRifle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be okay - we only use d3.select

@LoneRifle LoneRifle merged commit 9cc9ad9 into develop Aug 27, 2020
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/d3-6.0.0 branch August 27, 2020 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant