From b627ecfbb9016f5938f467c385f7c88f08e7880b Mon Sep 17 00:00:00 2001 From: Jon Duckworth Date: Thu, 17 Jun 2021 21:43:56 -0400 Subject: [PATCH 1/3] Update package version --- pystac/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystac/version.py b/pystac/version.py index bf2ec71a9..f9e4327dd 100644 --- a/pystac/version.py +++ b/pystac/version.py @@ -1,7 +1,7 @@ import os from typing import Optional -__version__ = "1.0.0-beta.3" +__version__ = "1.0.0-rc.1" """Library version""" From 8bb9fdde60c651969c0cb6590ac9f9a6d2f310bd Mon Sep 17 00:00:00 2001 From: Jon Duckworth Date: Thu, 17 Jun 2021 21:48:08 -0400 Subject: [PATCH 2/3] Update CHANGELOG, add entry for inheritance change --- CHANGELOG.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a16950050..a4a445ff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ ### Added +### Changed + +### Fixed + +### Removed + +### Deprecated + +## [v1.0.0-rc.1] + +### Added + - License file included in distribution ([#409](https://github.com/stac-utils/pystac/pull/409)) - Links to Issues, Discussions, and documentation sites ([#409](https://github.com/stac-utils/pystac/pull/409)) - Python minimum version set to `>=3.6` ([#409](https://github.com/stac-utils/pystac/pull/409)) @@ -25,6 +37,8 @@ - `*Extension.ext` methods now have an optional `add_if_missing` argument, which will add the extension schema URI to the object's `stac_extensions` list if it is not present ([#450](https://github.com/stac-utils/pystac/pull/450)) +- `from_file` and `from_dict` methods on `STACObject` sub-classes always return instance + of calling class ([#451](https://github.com/stac-utils/pystac/pull/451)) ### Fixed @@ -37,9 +51,7 @@ ([#455](https://github.com/stac-utils/pystac/pull/455)) - Schema URI base for STAC 1.0.0-beta.1 ([#455](https://github.com/stac-utils/pystac/pull/455)) -### Removed - -## [1.0.0-beta.3] +## [v1.0.0-beta.3] ### Added @@ -60,7 +72,7 @@ - Two v0.6.0 examples from the test suite ([#373](https://github.com/stac-utils/pystac/pull/373)) -## [1.0.0-beta.2] +## [v1.0.0-beta.2] ### Changed @@ -368,7 +380,8 @@ use `Band.create` Initial release. -[Unreleased]: +[Unreleased]: +[v1.0.0-rc.1]: [v1.0.0-beta.3]: [v1.0.0-beta.2]: [v1.0.0-beta.1]: From 1d79b419a1c1587a11c6b7f79a8c58bedbeb0800 Mon Sep 17 00:00:00 2001 From: Rob Emanuele Date: Thu, 17 Jun 2021 21:57:51 -0400 Subject: [PATCH 3/3] Add CHANGELOG entry for PR #454 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4a445ff9..5150a0e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Migration for pre-1.0.0-rc.1 Stats Objects (renamed to Range Objects in 1.0.0-rc.3) ([#447](https://github.com/stac-utils/pystac/pull/447)) - Attempting to extend a `STACObject` that does not contain the extension's schema URI in `stac_extensions` raises new `ExtensionNotImplementedError` ([#450](https://github.com/stac-utils/pystac/pull/450)) +- `STACObject.from_dict` now takes a `preserve_dict` parameter, which if False will avoid a call to deepcopy on the passed in dict and can result in performance gains (defaults to True. Reading from a file will use preserve_dict=False resulting in better performance. ([#454](https://github.com/stac-utils/pystac/pull/454)) ### Changed