Skip to content

Migrate by default #1504

@gadomski

Description

@gadomski

As described in #1503 (comment), our from_file method migrates to the latest version by default, but from_dict does not. This can lead to confusing discrepancies in behavior depending on how STAC data gets into pystac. I think we should align on migrate-by-default, as we will continue to see more and more STAC (and extension) versions as time goes on.

This could be as simple as change the from_dict default. This could lead to unexpected behavior for some users but IMO that'd be worth it, and not a breaking change. Thoughts?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions