Skip to content

Releases: yaph/d3-geomap

4.0.0

22 Oct 18:23
Compare
Choose a tag to compare

4.0.0 - 2024-10-22

Compare with 3.3.0

Added

  • Add d3-color v3.1 as dev dependency, load it in examples when necessary. Closes #61 (c3334dd by Ramiro Gómez).
  • Add modified playwright config. Use url to examples dir in webserver config. (fd7c2e3 by Ramiro Gómez).
  • Add host to config. (b6978ba by Ramiro Gómez).
  • Add and use playwright for testing. Add several tests using example maps. Remove nightwatch and old tests. (764ddab by Ramiro Gómez).
  • Add CHANGELOG and make task to create it. (6a1dd19 by Ramiro Gómez).
  • Add CHANGELOG.md. Add make task to create CHANGELOG.md (fed2f2f by Ramiro Gómez).
  • Add and update example maps. (499bcae by Ramiro Gómez).
  • Add github funding info (f759820 by Ramiro Gómez).

Removed

  • Remove action as long as it doesn't work. (862cac9 by Ramiro Gómez).
  • Remove tests workflow. Don't use clean install in workflow. (2c7d5df by Ramiro Gómez).
  • Remove geo property from Geomap object (breaking change). (051a491 by Ramiro Gómez).

Changes in Version 3.3.0

11 Dec 10:53
Compare
Choose a tag to compare
  • Use nightwatch.js for end to end tests and add several tests for example maps.
  • Add unitName function which tests that the property to be used as the unitId is defined, before manipulating it and returning it. Fixes issue #58.

Changes in Version 3.2.0

23 Oct 22:16
Compare
Choose a tag to compare
  • Identifier values in CSV files used for map units can now contain whitespace, see pull request.

Changes in Version 3.1.0

24 Sep 20:47
Compare
Choose a tag to compare
  • Add optional geoData property as alternative to geofile. See pull request.
  • Increase the default scale factor optimized for world map.

Changes in Version 3.0.0

11 Jun 19:33
Compare
Choose a tag to compare

This release introduces several changes that are backwards incompatible. On the plus side d3-geomap can now be imported via import or require from other npm modules. Many thanks to Dylan Praul for his substantial contributions.

  • Provide a built version that other npm modules can consume with import or require.
  • Rename d3.geomap.choropleth to d3.choropleth.
  • Refer to the package as d3-geomap and to the JavaScript object as d3.geomap.
  • Remove the colorbrewer object, which provided color scales. Instead d3-scale-chromatic, which is included in D3, can be used.
  • The d3-geomap CSS class must be added to map elements for default styling.
  • The TopoJSON files included in the distribution are now built from Natural Earth Vector version 4.1.0
  • The downloadable zip bundle does not include the dependencies any more.
  • The Rollup module bundler is now used for building the distribution.
  • Upgrade to D3 version 5.

Changes in Version 2.0.0

19 Oct 22:45
Compare
Choose a tag to compare
  • The draw function now only accepts a single argument, the map selection.
  • Upgrade to D3 version 4.
  • Use mapshaper to create TopoJSON files. Id values are now accessed via the properties attribute of a feature object.