Skip to content

Commit b94704f

Browse files
Prep 2.4.2 release (#501)
* update changelog * bump versions * formatting * gitlab -> github * add if * roll our own pre-commit action * formatting
1 parent 3d362d2 commit b94704f

File tree

9 files changed

+21
-16
lines changed

9 files changed

+21
-16
lines changed

.github/workflows/cicd.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ jobs:
4444
python-version: ${{ matrix.python-version }}
4545

4646
- name: Lint code
47-
uses: pre-commit/action@v2.0.0
47+
if: ${{ matrix.python-version == 3.8 }}
48+
run: |
49+
python -m pip install pre-commit
50+
pre-commit run --all-files
4851
4952
- name: Install pipenv
5053
run: |

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
args: ['--safe']
1313
language_version: python3.8
1414
-
15-
repo: https://gitlab.com/pycqa/flake8
15+
repo: https://github.com/pycqa/flake8
1616
rev: 3.9.0
1717
hooks:
1818
- id: flake8

CHANGES.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,32 @@
44

55
### Added
66

7-
* Add support in pgstac backend for /queryables and /collections/{collection_id}/queryables endpoints with functions exposed in pgstac 0.6.8
8-
* Add `bbox` and `datetime` query parameters to `/collections/{collection_id}/items`. [476](https://github.com/stac-utils/stac-fastapi/issues/476) [380](https://github.com/stac-utils/stac-fastapi/issues/380)
9-
* Update pgstac requirement to 0.6.10
10-
117
### Changed
128

139
### Removed
1410

1511
### Fixed
1612

17-
* Fix pgstac backend for /queryables endpoint to return 404 for non-existent collections [#482](https://github.com/stac-utils/stac-fastapi/pull/482)
18-
* /collection/{collection_id}/items endpoints now return geojson media type [#488](https://github.com/stac-utils/stac-fastapi/pull/488)
19-
2013
## [2.4.2]
2114

2215
### Added
2316

17+
* Add support in pgstac backend for /queryables and /collections/{collection_id}/queryables endpoints with functions exposed in pgstac 0.6.8 ([#474](https://github.com/stac-utils/stac-fastapi/pull/474))
18+
* Add `bbox` and `datetime` query parameters to `/collections/{collection_id}/items`. ([#476](https://github.com/stac-utils/stac-fastapi/issues/476), [#380](https://github.com/stac-utils/stac-fastapi/issues/380))
19+
* Update pgstac requirement to 0.6.10
20+
* Add `servers` and `description` to OpenAPI ([#459](https://github.com/stac-utils/stac-fastapi/pull/459))
21+
2422
### Changed
2523

2624
### Removed
2725

26+
* Removed `stac_fastapi.api.routes.create_sync_endpoint` function to reduce code duplication ([#471](https://github.com/stac-utils/stac-fastapi/pull/471))
27+
2828
### Fixed
2929

30-
* Quote password in pgsql strings to accomodate special characters. [455](https://github.com/stac-utils/stac-fastapi/issues/455)
30+
* Quote password in pgsql strings to accomodate special characters. ([#455](https://github.com/stac-utils/stac-fastapi/issues/455))
31+
* Fix pgstac backend for /queryables endpoint to return 404 for non-existent collections ([#482](https://github.com/stac-utils/stac-fastapi/pull/482))
32+
* `/collection/{collection_id}/items` endpoints now return geojson media type ([#488](https://github.com/stac-utils/stac-fastapi/pull/488))
3133

3234
## [2.4.1]
3335

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.4.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.4.1"
2+
__version__ = "2.4.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.4.1"
2+
__version__ = "2.4.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.4.1"
2+
__version__ = "2.4.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.4.1"
2+
__version__ = "2.4.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.4.1"
2+
__version__ = "2.4.2"

0 commit comments

Comments
 (0)