Releases: yaph/d3-geomap
Releases · yaph/d3-geomap
4.0.0
4.0.0 - 2024-10-22
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
Changes in Version 3.3.0
- 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 theunitId
is defined, before manipulating it and returning it. Fixes issue #58.
Changes in Version 3.2.0
- Identifier values in CSV files used for map units can now contain whitespace, see pull request.
Changes in Version 3.1.0
- 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
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
orrequire
. - Rename
d3.geomap.choropleth
tod3.choropleth
. - Refer to the package as
d3-geomap
and to the JavaScript object asd3.geomap
. - Remove the
colorbrewer
object, which provided color scales. Insteadd3-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
- 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.