Sourced from @turf/simplify
's
releases.
v7.0.0
See v7 CHANGELOG
The docs website is being updated to support versioning. Please be patient.
Sourced from @turf/simplify
's
changelog.
7.0.0
⚠️ Breaking
- Move to
@types/geojson
package instead of declaring our own. Typescript consumers of Turf will need to import from@types/geojson
. (#2158)- Move distribution JS to target ES2017 (#2237)
- Please change to using named exports instead of default exports from the various packages
@turf/https://github.com/Turfjs/turf/blob/master/helpers
Correct the conversion factor for degrees (#2177)@turf/https://github.com/Turfjs/turf/blob/master/helpers
polygon() will now throw if the first and last coordinates are not the same (#2173)@turf/https://github.com/Turfjs/turf/blob/master/helpers
Separate AreaUnits into its own type (#2393)@turf/https://github.com/Turfjs/turf/blob/master/area
Fix earth radius to use WGS84 median earth radius (#2166)@https://github.com/Turfjs/turf/blob/master/turf/https://github.com/Turfjs/turf/blob/master/turf
Remove re-exports for turf 4.x compatability (#2183)@turf/https://github.com/Turfjs/turf/blob/master/rectangle-grid
Fix correctness for large areas (#2106)- `@turf/https://github.com/Turfjs/turf/blob/master/square-grid Fix correctness for large areas (#2106)
@turf/https://github.com/Turfjs/turf/blob/master/union
Accept FeatureCollection for multiple inputs (#2247)@turf/https://github.com/Turfjs/turf/blob/master/difference
Accept FeatureCollection for multiple inputs (#2247)@turf/https://github.com/Turfjs/turf/blob/master/intersect
Accept FeatureCollection for multiple inputs (#2247)@turf/https://github.com/Turfjs/turf/blob/master/buffer
Add undefined return for when the geometry is invalid (#2613)🏅 New Features/Enhancements
@turf/https://github.com/Turfjs/turf/blob/master/kinks
Move to sweepline-intersections library for performance (#1896)- `@turf/https://github.com/Turfjs/turf/blob/master/buffer Reduce bundle size by moving from turf-jsts to
@turf/jsts
(#2217)@turf/https://github.com/Turfjs/turf/blob/master/boolean-equal
Add option for precision (#2231)@turf/https://github.com/Turfjs/turf/blob/master/boolean-point-in-polygon
Move to point-in-polygon-hao library for performance and correctness (#1893)- [
@turf/line-intersect
][line-intersect] Move to sweepline-intersections library for performance (#2033)@turf/https://github.com/Turfjs/turf/blob/master/boolean-contains
Add multipolygon support (#2338)@turf/https://github.com/Turfjs/turf/blob/master/nearest-point
Add unit option (#2415)@turf/https://github.com/Turfjs/turf/blob/master/voronoi
Retain properties from points (#1450)🐛 Bug Fixes
@turf/https://github.com/Turfjs/turf/blob/master/polygon-smooth
Options argument is now actually optional (#2149)@turf/https://github.com/Turfjs/turf/blob/master/polygon-smooth
Fix crashes with polygons containing multiple holes (#2323)@turf/https://github.com/Turfjs/turf/blob/master/line-arc
Ensure all points are generated when the first and last points are the same (#2142)@turf/https://github.com/Turfjs/turf/blob/master/clone
Fix cloning of features with null geometries (#2316)@turf/https://github.com/Turfjs/turf/blob/master/dissolve
Now correctly depends on@turf/flatten
(#2345)@turf/https://github.com/Turfjs/turf/blob/master/clean-coords
Allow 3 coordinate closed LineStrings (#2178)@turf/https://github.com/Turfjs/turf/blob/master/helpers
Add alternate spellings for Units: millimetres, centimetres, metres, kilometres (#2168)@turf/https://github.com/Turfjs/turf/blob/master/ellipse
Add pivot and angle options to typescript (#2174)@turf/https://github.com/Turfjs/turf/blob/master/quadrat-analysis
Fix test flake (#2182)@turf/https://github.com/Turfjs/turf/blob/master/bbox
Use input bbox instead of computing it (#2171)@turf/https://github.com/Turfjs/turf/blob/master/transform-scale
Removes invalid bbox when scaling (#2171)@turf/https://github.com/Turfjs/turf/blob/master/invariant
getCoord now shallow clones its result to prevent accidental mutations (#2167)@turf/https://github.com/Turfjs/turf/blob/master/line-overlap
Identify multiple overlaps on a single segment (#2134)@turf/https://github.com/Turfjs/turf/blob/master/transform-scale
Fix factor to allow only numbers >= 0 (#2169)@turf/https://github.com/Turfjs/turf/blob/master/voronoi
Make options optional (#2195)@turf/https://github.com/Turfjs/turf/blob/master/boolean-within
Fix multipoint checks (#2216)@turf/https://github.com/Turfjs/turf/blob/master/points-within-polygon
Fix dropped properties on MultiPoint results (#2227)@turf/https://github.com/Turfjs/turf/blob/master/random
Throws error on invalid bbox inputs (#2172)@turf/https://github.com/Turfjs/turf/blob/master/boolean-parallel
Lines with 180 degree angle between them are also considered parallel (#2475)@turf/https://github.com/Turfjs/turf/blob/master/unkink-polygon
Fix a maximum call stack size exceeded error with very large polygons (#2504)@turf/https://github.com/Turfjs/turf/blob/master/line-arc
Number of arc segments generated wasn't related to steps value passed in (#2524)
... (truncated)
3d3a791
v7.0.04862998
Fix @turf/buffer
types to allow for undefined returns when
the inputs result ...09e9ebd
Update changelog for 7.0 release (#2609)1f39da5
Prep infra for v7 release (#2607)ce335a0
Define inputs for nx (#2603)c76e6e9
boolean-within check if line ends outside of poly (#2599)e0bdd0a
Converting packages to type: module by default (#2565)876702a
Update ISSUE_TEMPLATE.md (#2576)251b645
Bump follow-redirects from 1.15.3 to 1.15.5 (#2572)08576cb
Remove references to geojsonhint and geojson-fixtures (#2571)