| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-08-03 | 7.8 kB | |
| v7.4.0 source code.tar.gz | 2026-08-03 | 12.6 MB | |
| v7.4.0 source code.zip | 2026-08-03 | 13.6 MB | |
| Totals: 3 Items | 26.2 MB | 2 | |
What's Changed
⚠️ Due to correctness fixes, behavior across the boolean-* methods has changed. If you depended on the invalid behavior of these methods take extra care when upgrading.
@turf/bearing
- Fix final bearing returning values outside [-180, 180] by @JSap0914 in https://github.com/Turfjs/turf/pull/3077
@turf/bezier
- Fix z value computation by @githubhanjunjun in https://github.com/Turfjs/turf/pull/3042
@turf/boolean-contains
- Allow boundary points in MultiPoint containment checks by @rexxars in https://github.com/Turfjs/turf/pull/3024
- Treat an equal two-vertex line as contained by @spokodev in https://github.com/Turfjs/turf/pull/3080
- Add MultiPolygon support for non-polygon types by @rexxars in https://github.com/Turfjs/turf/pull/3010
- Speed up point, line, and MultiPolygon hot paths by @rexxars in https://github.com/Turfjs/turf/pull/3099
- Reject inner polygon whose edge crosses a concave outer polygon by @aloktomarr in https://github.com/Turfjs/turf/pull/3104
@turf/boolean-crosses
- Make MultiPoint/LineString crossing order-independent by @spokodev in https://github.com/Turfjs/turf/pull/3079
- Return false if a line/line intersection is on an endpoint by @mfedderly in https://github.com/Turfjs/turf/pull/3070
@turf/boolean-disjoint
- Overlapping collinear lines should return false by @cycsmail in https://github.com/Turfjs/turf/pull/3097
- Test for explicit line/line touch on a boundary point by @mfedderly in https://github.com/Turfjs/turf/pull/3100
- Performance: Delegate flattening to booleanDisjoint by @rexxars in https://github.com/Turfjs/turf/pull/3103
@turf/boolean-point-in-polygon
- Perf improvement & Fix issue with multiple polygons when the point is on the boundary of a polygon by @Pitouli in https://github.com/Turfjs/turf/pull/2821
@turf/boolean-valid
- Add support for GeometryCollection geometries by @ltkum in https://github.com/Turfjs/turf/pull/2916
- Allow MultiLineStrings with only a single LineString by @sharmaB01 in https://github.com/Turfjs/turf/pull/2846
@turf/boolean-within
Internally this has been rewritten to use @turf/boolean-contains. This increases correctness, but the additional checks may have regressed performance slightly depending on inputs (it is actually faster for some inputs).
- Require an interior point in MultiPoint-in-Polygon check by @mahirhir in https://github.com/Turfjs/turf/pull/3085
- Add MultiPolygon support, de-duplicate logic by @rexxars in https://github.com/Turfjs/turf/pull/3011
@turf/clusters-dbscan
- Correctly honor
unitsoption by @mradlinski in https://github.com/Turfjs/turf/pull/3026
@turf/combine
- Docs: add MultiGeometries to input type by @rczobor in https://github.com/Turfjs/turf/pull/2935
@turf/convex
- Correctly include properties in the final result by @blchelle in https://github.com/Turfjs/turf/pull/2972
@turf/helpers
- Add short forms for Units and AreaUnits by @Johse in https://github.com/Turfjs/turf/pull/3063
@turf/line-arc
- Always reach bearing2 (fix dropped final vertex) by @chatman-media in https://github.com/Turfjs/turf/pull/3078
@turf/line-overlap
- Fixing missing certain horizontal/vertical lines with
tolerance(#2582) by @jonovotny in https://github.com/Turfjs/turf/pull/3071
@turf/polygonize
- Fix behavior when there are duplicate coordinates in the input by @Traksewt in https://github.com/Turfjs/turf/pull/3045
- Performance: Migrate to Map/Set by @mfedderly in https://github.com/Turfjs/turf/pull/3074
- Performance: Migrate edge storage from Array to Map for performance by @mfedderly in https://github.com/Turfjs/turf/pull/3081
@turf/projection
- Docs: Use official EPSG:3857 code instead of deprecated EPSG:900913 by @cycsmail in https://github.com/Turfjs/turf/pull/3101
@turf/transform-scale, @turf/transform-translate, @turf/transform-rotate
- Remove stale bboxes after coordinate transforms by @khalilurrrahmanridoykhan in https://github.com/Turfjs/turf/pull/3106
Internal:
- Publish without NPM_TOKEN by @mfedderly in https://github.com/Turfjs/turf/pull/3051
- Migrate @turf/buffer to TypeScript, ignoring errors by @mfedderly in https://github.com/Turfjs/turf/pull/2994
- Remove JavaScript package support from MRL config by @mfedderly in https://github.com/Turfjs/turf/pull/3056
- Move to pnpm catalogs by @mfedderly in https://github.com/Turfjs/turf/pull/3057
- Revert d3-geo to 2.x to fix Node CJS consumers by @mfedderly in https://github.com/Turfjs/turf/pull/3066
- Clean up the .gitignore files by @mfedderly in https://github.com/Turfjs/turf/pull/3067
- Add consumer-style testing for Turf by @mfedderly in https://github.com/Turfjs/turf/pull/3065
- Update the CI workflows by @mfedderly in https://github.com/Turfjs/turf/pull/3068
- Move to @types/earcut for @turf/tesselate by @mfedderly in https://github.com/Turfjs/turf/pull/3069
- Remove optional transitive dep on vue-template-compiler by @mfedderly in https://github.com/Turfjs/turf/pull/3089
- Upgrade dev dependencies by @mfedderly in https://github.com/Turfjs/turf/pull/3090
- Make last-checks tests less strict about @turf/helpers devDependencies by @mfedderly in https://github.com/Turfjs/turf/pull/3105
- line-offset - Fix bench.ts by @mfedderly in https://github.com/Turfjs/turf/pull/3111
- Clarify geomEach behavior and add a test by @mfedderly in https://github.com/Turfjs/turf/pull/3112
- Dependabot - Keep GitHub actions up to date by @mfedderly in https://github.com/Turfjs/turf/pull/3113
- Bump pnpm/action-setup from 4.1.0 to 6.0.9 by @dependabot[bot] in https://github.com/Turfjs/turf/pull/3115
- Bump actions/setup-node from 4.3.0 to 7.0.0 by @dependabot[bot] in https://github.com/Turfjs/turf/pull/3116
- Bump actions/checkout from 4.2.2 to 7.0.1 by @dependabot[bot] in https://github.com/Turfjs/turf/pull/3117
- Bump softprops/action-gh-release from 2.2.1 to 3.0.2 by @dependabot[bot] in https://github.com/Turfjs/turf/pull/3114
- Update release workflow to support OIDC by @mfedderly in https://github.com/Turfjs/turf/pull/3119
New Contributors
- @Johse made their first contribution in https://github.com/Turfjs/turf/pull/3063
- @githubhanjunjun made their first contribution in https://github.com/Turfjs/turf/pull/3042
- @rexxars made their first contribution in https://github.com/Turfjs/turf/pull/3024
- @spokodev made their first contribution in https://github.com/Turfjs/turf/pull/3080
- @chatman-media made their first contribution in https://github.com/Turfjs/turf/pull/3078
- @mradlinski made their first contribution in https://github.com/Turfjs/turf/pull/3026
- @Traksewt made their first contribution in https://github.com/Turfjs/turf/pull/3045
- @JSap0914 made their first contribution in https://github.com/Turfjs/turf/pull/3077
- @mahirhir made their first contribution in https://github.com/Turfjs/turf/pull/3085
- @jonovotny made their first contribution in https://github.com/Turfjs/turf/pull/3071
- @blchelle made their first contribution in https://github.com/Turfjs/turf/pull/2972
- @rczobor made their first contribution in https://github.com/Turfjs/turf/pull/2935
- @ltkum made their first contribution in https://github.com/Turfjs/turf/pull/2916
- @sharmaB01 made their first contribution in https://github.com/Turfjs/turf/pull/2846
- @cycsmail made their first contribution in https://github.com/Turfjs/turf/pull/3097
- @khalilurrrahmanridoykhan made their first contribution in https://github.com/Turfjs/turf/pull/3106
- @aloktomarr made their first contribution in https://github.com/Turfjs/turf/pull/3104
Full Changelog: https://github.com/Turfjs/turf/compare/v7.3.5...v7.4.0