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

New major release! Turf 5.0 🎉 #1082

Closed
14 tasks done
DenisCarriere opened this issue Nov 9, 2017 · 3 comments
Closed
14 tasks done

New major release! Turf 5.0 🎉 #1082

DenisCarriere opened this issue Nov 9, 2017 · 3 comments

Comments

@DenisCarriere
Copy link
Member

DenisCarriere commented Nov 9, 2017

New major release! Turf 5.0 🎉

TurfJS releases are being tracked using Milestones.

Contributors

⭐️ Major Updates

  • TurfJS now supports ES Modules (Related PR's)
  • Optional parameters are now defined as an Object.

🚀 New Modules

@turf/voronoi

Takes a FeatureCollection of points, and a bounding box, and returns a FeatureCollection of Voronoi polygons.
(PR #1043 - Author @stevage)

@turf/shortest-path

Returns the shortest path from start to end without colliding with any feature in obstacles
(PR #956 - Author @stebogit)

@turf/boolean-parallel

Boolean-Parallel returns True if each segment of line1 is parallel to the correspondent segment of line2
(PR #941 - Author @stebogit)

@turf/nearest-point-on-line

Takes a {@link Point} and a {@link LineString} and calculates the closest Point on the (Multi)LineString.
(PR #939 - Author @stebogit)

🏅 New Features/Enhancements

🐛 Bug Fixes

⚠️ Breaking Change

  • Optional parameters are now defined as an Object:

Before

var from = [-75.343, 39.984];
var to = [-75.534, 39.123];
var units = 'miles';
var distance = turf.distance(from, to, units);

After

var from = [-75.343, 39.984];
var to = [-75.534, 39.123];
var options = {units: 'miles'};
var distance = turf.distance(from, to, options);

Twitter:

@stebogit
Copy link
Collaborator

stebogit commented Nov 9, 2017

Hooray! 🍻 🎉 😃

@ka7eh
Copy link

ka7eh commented Nov 9, 2017

Shouldn't these go into CHANGELOG.md too? I noticed it hasn't been updated for ages.

@DenisCarriere
Copy link
Member Author

@ka7eh Agreed, we've been pushing the release changelogs here, we might want to merge those into the CHANGELOG.md file as well.

https:/Turfjs/turf/tree/master/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants