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

FeatureCollection Type #2620

Closed
pdfabbro opened this issue Jun 14, 2024 · 6 comments
Closed

FeatureCollection Type #2620

pdfabbro opened this issue Jun 14, 2024 · 6 comments
Labels

Comments

@pdfabbro
Copy link

pdfabbro commented Jun 14, 2024

Where can I import the FeatureCollection type from turf? After the update to 7.0

import { FeatureCollection } from "@turf/turf";

does not work. Similar with GeometryCollection

@twelch
Copy link
Collaborator

twelch commented Jun 14, 2024

See the CHANGELOG for breaking changes, you need to import these types from the @types/geojson package

@twelch twelch closed this as completed Jun 14, 2024
@pdfabbro
Copy link
Author

pdfabbro commented Jun 14, 2024

@twelch Thanks! I looked around but couldn't find the change log. Found it now!

@twelch
Copy link
Collaborator

twelch commented Jun 14, 2024

You'll find it at the top-level of the repo, it could be made more visible. I'll reopen this as a documentation task.

@twelch twelch reopened this Jun 14, 2024
@twelch twelch added the docs label Jun 14, 2024
@pdfabbro
Copy link
Author

pdfabbro commented Jun 14, 2024

@twelch It worked, thanks! I was looking for the change log here https://github.com/Turfjs/turf/releases/tag/v7.0.0 and then here https://github.com/Turfjs/turf/releases. Being a dev, I probably shoulda found it at the root of the code though lol... my bad

@twelch
Copy link
Collaborator

twelch commented Jun 14, 2024

Thanks, the release message is automated, maybe an automatic reference to the changelog can get added

@twelch
Copy link
Collaborator

twelch commented Jun 27, 2024

Resolved by #2621, changelog has been deprecated and starting with next release, the release notes with any migration steps should be found in the Github release notes.

@twelch twelch closed this as completed Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants