Skip to content

Commit cf7a0c5

Browse files
authored
Do the 7.0.0-alpha.1 release (#2493)
* update changelog * v7.0.0-alpha.1 * More changelog
1 parent 4469661 commit cf7a0c5

File tree

115 files changed

+711
-705
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+711
-705
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you
77
- Move distribution JS to target ES2017 (#2237)
88
- [`@turf/helpers`](helpers) Correct the conversion factor for degrees (#2177)
99
- [`@turf/helpers`](helpers) polygon() will now throw if the first and last coordinates are not the same (#2173)
10+
- [`@turf/helpers`](helpers) Separate AreaUnits into its own type (#2393)
1011
- [`@turf/area`](area) Fix earth radius to use WGS84 median earth radius (#2166)
1112
- [`@turf/turf`](turf) Remove re-exports for turf 4.x compatability (#2183)
1213
- [`@turf/rectangle-grid`](rectangle-grid) Fix correctness for large areas (#2106)
@@ -22,6 +23,7 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you
2223
- [`@turf/boolean-point-in-polygon`](boolean-point-in-polygon) Move to point-in-polygon-hao library for performance and correctness (#1893)
2324
- [`@turf/line-intersect`][line-intersect] Move to sweepline-intersections library for performance (#2033)
2425
- [`@turf/boolean-contains`](boolean-contains) Add multipolygon support (#2338)
26+
- [`@turf/nearest-point`](nearest-point) Add unit option (#2415)
2527

2628
## 🐛 Bug Fixes
2729
- [`@turf/polygon-smooth`](polygon-smooth) Options argument is now actually optional (#2149)
@@ -52,6 +54,9 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you
5254
- [`@turf/buffer`](buffer) Clean up Typescript types (#2188)
5355
- [`@turf/polygon-smooth`](polygon-smooth) Clean up a typo (#2293)
5456
- [`@turf/nearest-point-on-line`](nearest-point-on-line) Clean up typescript types (#2296)
57+
- [`@turf/boolean-touches`](boolean-touches) Add boolean-touches to docs (#2431)
58+
- [`@turf/boolean-equals`](boolean-equals) Improve docs (#2412)
59+
5560
- Remove Bower references (#2146)
5661
- Fix typo in README (#2313)
5762
- Lots of cleanup for CONTRIBUTING, README, and RELEASING (#2186)
@@ -63,6 +68,7 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you
6368
- [`@turf/turf](turf) Add booleanTouches export (#2170)
6469
- [`@turf/turf](turf) Add booleanConcave export (#2265)
6570
- [`@turf/helpers](helpers) Make isObject a little more accurate (#2176)
71+
- Add custom types entry point to exports, required by Typescript for node16, nodenext and bundler module resolution strategies (#2400, #2452)
6672
- types.ts tests are now run in strict mode (#2363)
6773
- Uses tslib now for smaller bundles (#2165)
6874
- Remove object-assign dependency from all packages (#2241)

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
}
1313
},
1414
"npmClient": "yarn",
15-
"version": "7.0.0-alpha.0"
15+
"version": "7.0.0-alpha.1"
1616
}

packages/turf-along/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/along",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf along module",
55
"author": "Turf Authors",
66
"license": "MIT",
@@ -58,11 +58,11 @@
5858
"typescript": "*"
5959
},
6060
"dependencies": {
61-
"@turf/bearing": "^7.0.0-alpha.0",
62-
"@turf/destination": "^7.0.0-alpha.0",
63-
"@turf/distance": "^7.0.0-alpha.0",
64-
"@turf/helpers": "^7.0.0-alpha.0",
65-
"@turf/invariant": "^7.0.0-alpha.0",
61+
"@turf/bearing": "^7.0.0-alpha.1",
62+
"@turf/destination": "^7.0.0-alpha.1",
63+
"@turf/distance": "^7.0.0-alpha.1",
64+
"@turf/helpers": "^7.0.0-alpha.1",
65+
"@turf/invariant": "^7.0.0-alpha.1",
6666
"tslib": "^2.3.0"
6767
}
6868
}

packages/turf-angle/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/angle",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf angle module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -48,9 +48,9 @@
4848
"test:tape": "tsx test.js"
4949
},
5050
"devDependencies": {
51-
"@turf/distance": "^7.0.0-alpha.0",
52-
"@turf/sector": "^7.0.0-alpha.0",
53-
"@turf/truncate": "^7.0.0-alpha.0",
51+
"@turf/distance": "^7.0.0-alpha.1",
52+
"@turf/sector": "^7.0.0-alpha.1",
53+
"@turf/truncate": "^7.0.0-alpha.1",
5454
"@types/tape": "*",
5555
"benchmark": "*",
5656
"glob": "*",
@@ -63,10 +63,10 @@
6363
"write-json-file": "*"
6464
},
6565
"dependencies": {
66-
"@turf/bearing": "^7.0.0-alpha.0",
67-
"@turf/helpers": "^7.0.0-alpha.0",
68-
"@turf/invariant": "^7.0.0-alpha.0",
69-
"@turf/rhumb-bearing": "^7.0.0-alpha.0",
66+
"@turf/bearing": "^7.0.0-alpha.1",
67+
"@turf/helpers": "^7.0.0-alpha.1",
68+
"@turf/invariant": "^7.0.0-alpha.1",
69+
"@turf/rhumb-bearing": "^7.0.0-alpha.1",
7070
"tslib": "^2.3.0"
7171
}
7272
}

packages/turf-area/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/area",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf area module",
55
"author": "Turf Authors",
66
"license": "MIT",
@@ -58,8 +58,8 @@
5858
"write-json-file": "*"
5959
},
6060
"dependencies": {
61-
"@turf/helpers": "^7.0.0-alpha.0",
62-
"@turf/meta": "^7.0.0-alpha.0",
61+
"@turf/helpers": "^7.0.0-alpha.1",
62+
"@turf/meta": "^7.0.0-alpha.1",
6363
"tslib": "^2.3.0"
6464
}
6565
}

packages/turf-bbox-clip/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bbox-clip",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf bbox-clip module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -53,7 +53,7 @@
5353
"test:tape": "tsx test.js"
5454
},
5555
"devDependencies": {
56-
"@turf/bbox": "^7.0.0-alpha.0",
56+
"@turf/bbox": "^7.0.0-alpha.1",
5757
"@types/tape": "*",
5858
"benchmark": "*",
5959
"load-json-file": "*",
@@ -65,8 +65,8 @@
6565
"write-json-file": "*"
6666
},
6767
"dependencies": {
68-
"@turf/helpers": "^7.0.0-alpha.0",
69-
"@turf/invariant": "^7.0.0-alpha.0",
68+
"@turf/helpers": "^7.0.0-alpha.1",
69+
"@turf/invariant": "^7.0.0-alpha.1",
7070
"tslib": "^2.3.0"
7171
}
7272
}

packages/turf-bbox-polygon/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bbox-polygon",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf bbox-polygon module",
55
"author": "Turf Authors",
66
"license": "MIT",
@@ -57,7 +57,7 @@
5757
"typescript": "*"
5858
},
5959
"dependencies": {
60-
"@turf/helpers": "^7.0.0-alpha.0",
60+
"@turf/helpers": "^7.0.0-alpha.1",
6161
"tslib": "^2.3.0"
6262
}
6363
}

packages/turf-bbox/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bbox",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf bbox module",
55
"author": "Turf Authors",
66
"license": "MIT",
@@ -58,8 +58,8 @@
5858
"typescript": "*"
5959
},
6060
"dependencies": {
61-
"@turf/helpers": "^7.0.0-alpha.0",
62-
"@turf/meta": "^7.0.0-alpha.0",
61+
"@turf/helpers": "^7.0.0-alpha.1",
62+
"@turf/meta": "^7.0.0-alpha.1",
6363
"tslib": "^2.3.0"
6464
}
6565
}

packages/turf-bearing/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bearing",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf bearing module",
55
"author": "Turf Authors",
66
"license": "MIT",
@@ -45,7 +45,7 @@
4545
"test:tape": "tsx test.js"
4646
},
4747
"devDependencies": {
48-
"@turf/destination": "^7.0.0-alpha.0",
48+
"@turf/destination": "^7.0.0-alpha.1",
4949
"@types/tape": "*",
5050
"benchmark": "*",
5151
"npm-run-all": "*",
@@ -56,8 +56,8 @@
5656
"write-json-file": "*"
5757
},
5858
"dependencies": {
59-
"@turf/helpers": "^7.0.0-alpha.0",
60-
"@turf/invariant": "^7.0.0-alpha.0",
59+
"@turf/helpers": "^7.0.0-alpha.1",
60+
"@turf/invariant": "^7.0.0-alpha.1",
6161
"tslib": "^2.3.0"
6262
}
6363
}

packages/turf-bezier-spline/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/bezier-spline",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf bezier-spline module",
55
"author": "Turf Authors",
66
"license": "MIT",
@@ -59,8 +59,8 @@
5959
"write-json-file": "*"
6060
},
6161
"dependencies": {
62-
"@turf/helpers": "^7.0.0-alpha.0",
63-
"@turf/invariant": "^7.0.0-alpha.0",
62+
"@turf/helpers": "^7.0.0-alpha.1",
63+
"@turf/invariant": "^7.0.0-alpha.1",
6464
"tslib": "^2.3.0"
6565
}
6666
}

packages/turf-boolean-clockwise/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/boolean-clockwise",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf boolean-clockwise module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -63,8 +63,8 @@
6363
"typescript": "*"
6464
},
6565
"dependencies": {
66-
"@turf/helpers": "^7.0.0-alpha.0",
67-
"@turf/invariant": "^7.0.0-alpha.0",
66+
"@turf/helpers": "^7.0.0-alpha.1",
67+
"@turf/invariant": "^7.0.0-alpha.1",
6868
"tslib": "^2.3.0"
6969
}
7070
}

packages/turf-boolean-concave/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/boolean-concave",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf boolean-concave module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -62,8 +62,8 @@
6262
"typescript": "*"
6363
},
6464
"dependencies": {
65-
"@turf/helpers": "^7.0.0-alpha.0",
66-
"@turf/invariant": "^7.0.0-alpha.0",
65+
"@turf/helpers": "^7.0.0-alpha.1",
66+
"@turf/invariant": "^7.0.0-alpha.1",
6767
"tslib": "^2.3.0"
6868
}
6969
}

packages/turf-boolean-contains/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/boolean-contains",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf boolean-contains module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -64,11 +64,11 @@
6464
"typescript": "*"
6565
},
6666
"dependencies": {
67-
"@turf/bbox": "^7.0.0-alpha.0",
68-
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.0",
69-
"@turf/boolean-point-on-line": "^7.0.0-alpha.0",
70-
"@turf/helpers": "^7.0.0-alpha.0",
71-
"@turf/invariant": "^7.0.0-alpha.0",
67+
"@turf/bbox": "^7.0.0-alpha.1",
68+
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.1",
69+
"@turf/boolean-point-on-line": "^7.0.0-alpha.1",
70+
"@turf/helpers": "^7.0.0-alpha.1",
71+
"@turf/invariant": "^7.0.0-alpha.1",
7272
"tslib": "^2.3.0"
7373
}
7474
}

packages/turf-boolean-crosses/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/boolean-crosses",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf boolean-crosses module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -63,11 +63,11 @@
6363
"typescript": "*"
6464
},
6565
"dependencies": {
66-
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.0",
67-
"@turf/helpers": "^7.0.0-alpha.0",
68-
"@turf/invariant": "^7.0.0-alpha.0",
69-
"@turf/line-intersect": "^7.0.0-alpha.0",
70-
"@turf/polygon-to-line": "^7.0.0-alpha.0",
66+
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.1",
67+
"@turf/helpers": "^7.0.0-alpha.1",
68+
"@turf/invariant": "^7.0.0-alpha.1",
69+
"@turf/line-intersect": "^7.0.0-alpha.1",
70+
"@turf/polygon-to-line": "^7.0.0-alpha.1",
7171
"tslib": "^2.3.0"
7272
}
7373
}

packages/turf-boolean-disjoint/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/boolean-disjoint",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf boolean-disjoint module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -62,11 +62,11 @@
6262
"typescript": "*"
6363
},
6464
"dependencies": {
65-
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.0",
66-
"@turf/helpers": "^7.0.0-alpha.0",
67-
"@turf/line-intersect": "^7.0.0-alpha.0",
68-
"@turf/meta": "^7.0.0-alpha.0",
69-
"@turf/polygon-to-line": "^7.0.0-alpha.0",
65+
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.1",
66+
"@turf/helpers": "^7.0.0-alpha.1",
67+
"@turf/line-intersect": "^7.0.0-alpha.1",
68+
"@turf/meta": "^7.0.0-alpha.1",
69+
"@turf/polygon-to-line": "^7.0.0-alpha.1",
7070
"tslib": "^2.3.0"
7171
}
7272
}

packages/turf-boolean-equal/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/boolean-equal",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf boolean-equal module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -67,9 +67,9 @@
6767
"typescript": "*"
6868
},
6969
"dependencies": {
70-
"@turf/clean-coords": "^7.0.0-alpha.0",
71-
"@turf/helpers": "^7.0.0-alpha.0",
72-
"@turf/invariant": "^7.0.0-alpha.0",
70+
"@turf/clean-coords": "^7.0.0-alpha.1",
71+
"@turf/helpers": "^7.0.0-alpha.1",
72+
"@turf/invariant": "^7.0.0-alpha.1",
7373
"geojson-equality": "0.1.6",
7474
"tslib": "^2.3.0"
7575
}

packages/turf-boolean-intersects/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@turf/boolean-intersects",
3-
"version": "7.0.0-alpha.0",
3+
"version": "7.0.0-alpha.1",
44
"description": "turf boolean-intersects module",
55
"author": "Turf Authors",
66
"contributors": [
@@ -62,9 +62,9 @@
6262
"typescript": "*"
6363
},
6464
"dependencies": {
65-
"@turf/boolean-disjoint": "^7.0.0-alpha.0",
66-
"@turf/helpers": "^7.0.0-alpha.0",
67-
"@turf/meta": "^7.0.0-alpha.0",
65+
"@turf/boolean-disjoint": "^7.0.0-alpha.1",
66+
"@turf/helpers": "^7.0.0-alpha.1",
67+
"@turf/meta": "^7.0.0-alpha.1",
6868
"tslib": "^2.3.0"
6969
}
7070
}

0 commit comments

Comments
 (0)