Skip to content

Commit c7fa924

Browse files
authored
Release v0.5.0 (#303)
* release: v0.5.0 * docs: add v0.5.x to the versions table * docs: update releasing docs for the version table
1 parent 84b4fb0 commit c7fa924

File tree

4 files changed

+35
-17
lines changed

4 files changed

+35
-17
lines changed

CHANGELOG.md

+26-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
@@ -8,6 +9,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
89

910
### Added
1011

12+
### Changed
13+
14+
### Fixed
15+
16+
## Removed
17+
18+
### Deprecated
19+
20+
## [v0.5.0] - 2022-08-19
21+
22+
### Added
23+
1124
- Added a new keyword `modifier` to various constructors like `Client.open()` [#259](https://github.com/stac-utils/pystac-client/issues/259)
1225

1326
### Fixed
@@ -42,14 +55,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
4255
- Better error message when trying to search a non-item-search-conforming catalog [#164](https://github.com/stac-utils/pystac-client/pull/164)
4356
- Search `filter-lang` defaults to `cql2-json` instead of `cql-json` [#169](https://github.com/stac-utils/pystac-client/pull/169)
4457
- Search `filter-lang` will be set to `cql2-json` if the `filter` is a dict, or `cql2-text` if it is a string [#169](https://github.com/stac-utils/pystac-client/pull/169)
45-
- Search parameter `intersects` is now typed to only accept a str, dict, or object that implements `__geo_interface__` [#169](https://github.com/stac-utils/pystac-client/pull/169)
58+
- Search parameter `intersects` is now typed to only accept a str, dict, or object that implements `__geo_interface__` [#174](https://github.com/stac-utils/pystac-client/pull/174)
4659
- Better error message when trying to open a Collection with `Client.open` [#222](https://github.com/stac-utils/pystac-client/pull/222)
4760

48-
4961
### Deprecated
5062

5163
- Item Search methods `get_items()` and `get_item_collections()` have been renamed to
52-
`items()` and `item_collections()`. The original methods are now deprecated
64+
`items()` and `item_collections()`. The original methods are now deprecated
5365
and may be removed as early as v0.5.0. [#206](https://github.com/stac-utils/pystac-client/pull/206)
5466
- Item Search methods `get_all_items()` and `get_all_items_as_dict()` are now deprecated,
5567
and may be removed as early as v0.5.0.
@@ -60,10 +72,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6072
`item_collections()` should be used instead. [#206](https://github.com/stac-utils/pystac-client/pull/206)
6173
- CLI parameter `-q` is now deprecated and may be removed as early as v0.5.0. Use `--query` instead. [#215](https://github.com/stac-utils/pystac-client/pull/215)
6274

63-
6475
## Removed
6576

66-
- Client parameter `require_geojson_link` has been removed. [#169](https://github.com/stac-utils/pystac-client/pull/169)
77+
- Client parameter `require_geojson_link` has been removed. [#165](https://github.com/stac-utils/pystac-client/pull/165)
6778

6879
### Fixed
6980

@@ -72,9 +83,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7283
- Search fields parameter now has correct typing and handles both GET and POST JSON parameter formats. [#184](https://github.com/stac-utils/pystac-client/pull/184)
7384
- Use pytest configuration to skip benchmarks by default (instead of a `skip` mark). [#168](https://github.com/stac-utils/pystac-client/pull/168)
7485
- Methods retrieving collections incorrectly checked the existence of the OAFeat OpenAPI 3.0 conformance class
75-
(http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30) instead of the `STAC API - Collections`
76-
(https://api.stacspec.org/v1.0.0-beta.1/collections) or `STAC API - Features`
77-
(https://api.stacspec.org/v1.0.0-beta.1/ogcapi-features) conformance classes. [223](https://github.com/stac-utils/pystac-client/pull/223)
86+
(<http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30>) instead of the `STAC API - Collections`
87+
(<https://api.stacspec.org/v1.0.0-beta.1/collections>) or `STAC API - Features`
88+
(<https://api.stacspec.org/v1.0.0-beta.1/ogcapi-features>) conformance classes. [223](https://github.com/stac-utils/pystac-client/pull/223)
7889

7990
## [v0.3.5] - 2022-05-26
8091

@@ -108,6 +119,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
108119
- Added support for filtering the search endpoint using the `media_type` in `Client.open` [#142](https://github.com/stac-utils/pystac-client/pull/142)
109120

110121
### Fixed
122+
111123
- Values from `parameters` and `headers` arguments to `Client.open` and `Client.from_file` are now also used in requests made from `CollectionClient` instances
112124
fetched from the same API ([#126](https://github.com/stac-utils/pystac-client/pull/126))
113125
- The tests folder is no longer installed as a package.
@@ -122,9 +134,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
122134
[#118](https://github.com/stac-utils/pystac-client/pull/118)
123135

124136
### Changed
137+
125138
- Update min PySTAC version to 1.2
126139
- Default page size limit set to 100 rather than relying on the server default
127-
- Fetch single collection directly from endpoint in API rather than iterating through children (Issue #114)[https://github.com/stac-utils/pystac-client/issues/114]
140+
- Fetch single collection directly from endpoint in API rather than iterating through children [Issue #114](https://github.com/stac-utils/pystac-client/issues/114)
128141

129142
### Fixed
130143

@@ -134,6 +147,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
134147
## [v0.3.0] - 2021-09-28
135148

136149
### Added
150+
137151
- Jupyter Notebook tutorials
138152
- Basic CQL-JSON filtering [#100](https://github.com/stac-utils/pystac-client/pull/100)
139153

@@ -167,7 +181,7 @@ are in a single HTTP session, handle pagination and respects conformance
167181
### Changed
168182

169183
- Update to use PySTAC 1.1.0
170-
- IO changed to use PySTAC's new StacIO base class.
184+
- IO changed to use PySTAC's new StacIO base class.
171185
- `Search.item_collections()` renamed to `Search.get_item_collections()`
172186
- `Search.item()` renamed to `Search.get_items()`
173187
- Conformance is checked by each individual function that requires a particular conformance
@@ -218,7 +232,8 @@ are in a single HTTP session, handle pagination and respects conformance
218232

219233
Initial release.
220234

221-
[Unreleased]: <https://github.com/stac-utils/pystac-client/compare/v0.4.0...main>
235+
[Unreleased]: <https://github.com/stac-utils/pystac-client/compare/v0.5.0...main>
236+
[v0.5.0]: <https://github.com/stac-utils/pystac-client/compare/v0.4.0...v0.5.0>
222237
[v0.4.0]: <https://github.com/stac-utils/pystac-client/compare/v0.3.5...v0.4.0>
223238
[v0.3.5]: <https://github.com/stac-utils/pystac-client/compare/v0.3.4..v0.3.5>
224239
[v0.3.4]: <https://github.com/stac-utils/pystac-client/compare/v0.3.3..v0.3.4>

RELEASING.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
2. Audit the changelog section to ensure all changes are captured.
1010
3. Add a link reference for the new version after the Unreleased link reference at the bottom of the file.
1111
Follow the format from the previous version links.
12-
5. (optional) Build the package locally and inspect its contents: `pip install build && python -m build`
13-
6. Open a pull request for your `release/vX.Y.Z` branch against the appropriate branch (either `main` or a version branch, e.g. `v0.3`).
12+
5. If necessary, update the versions table in [the documentation](docs/index.rst)
13+
6. (optional) Build the package locally and inspect its contents: `pip install build && python -m build`
14+
7. Open a pull request for your `release/vX.Y.Z` branch against the appropriate branch (either `main` or a version branch, e.g. `v0.3`).
1415
Include a section in the pull request description with the CHANGELOG contents for this version.
15-
7. After pull request merge, create an annotated tag for your version, e.g. `git tag -a vX.Y.Z`.
16+
8. After pull request merge, create an annotated tag for your version, e.g. `git tag -a vX.Y.Z`.
1617
The contents of the annotated tag should be the contents of the changelog for this version.
1718
Make sure to remove any leading `#` characters, as they will be considered comments in the git tag body.
18-
8. Push the tag.
19+
9. Push the tag.
1920
This will trigger [the Github release workflow](.github/workflows/release.yml) and publish to PyPI.
20-
9. [Create a new release on Github](https://github.com/stac-utils/pystac-client/releases/new) pointing to the new tag.
21+
10. [Create a new release on Github](https://github.com/stac-utils/pystac-client/releases/new) pointing to the new tag.
2122
Include the CHANGELOG notes from this version.

docs/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ STAC Versions
1919
+---------------+-----------+-----------------------------+
2020
| pystac-client | STAC spec | STAC API Spec |
2121
+===============+===========+=============================+
22+
| 0.5.x | 1.0.x | 1.0.0-beta.1 - 1.0.0-rc.1 |
23+
+---------------+-----------+-----------------------------+
2224
| 0.4.x | 1.0.x | 1.0.0-beta.1 - 1.0.0-rc.1 |
2325
+---------------+-----------+-----------------------------+
2426
| 0.3.x | 1.0.x | 1.0.0-beta.1 - 1.0.0-beta.4 |

pystac_client/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.4.0"
1+
__version__ = "0.5.0"

0 commit comments

Comments
 (0)