From 36ad9743e5c1ba9bab2e9593ec2f42a00e84ec16 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 11:42:34 +0000 Subject: [PATCH 1/7] Bump uvicorn from 0.32.1 to 0.34.0 Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.32.1 to 0.34.0. - [Release notes](https://github.com/encode/uvicorn/releases) - [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md) - [Commits](https://github.com/encode/uvicorn/compare/0.32.1...0.34.0) --- updated-dependencies: - dependency-name: uvicorn dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 15174a5..3f7e05f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,4 +10,4 @@ pytest==8.3.4 requests==2.32.3 shapely==2.0.6 tqdm==4.67.1 -uvicorn==0.32.1 +uvicorn==0.34.0 From 76a51bc1364ebfaa5dd86a70271247fba64c4787 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:03:42 +0000 Subject: [PATCH 2/7] Bump boto3 from 1.35.76 to 1.35.82 Bumps [boto3](https://github.com/boto/boto3) from 1.35.76 to 1.35.82. - [Release notes](https://github.com/boto/boto3/releases) - [Commits](https://github.com/boto/boto3/compare/1.35.76...1.35.82) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-run-codebuild.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-run-codebuild.txt b/requirements-run-codebuild.txt index 89bcc1c..ecc0ccd 100644 --- a/requirements-run-codebuild.txt +++ b/requirements-run-codebuild.txt @@ -1 +1 @@ -boto3==1.35.76 \ No newline at end of file +boto3==1.35.82 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 2295728..16c1543 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -r requirements-apps-api.txt -r requirements-run-codebuild.txt ./lib/asf-stac-util/ -boto3==1.35.76 +boto3==1.35.82 cfn-lint==1.22.0 ruff pypgstac[psycopg]==0.8.6 From 48d1d2c64c59b5c7438d22e6b30e590f58c6d37f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 18:20:38 +0000 Subject: [PATCH 3/7] Bump cfn-lint from 1.22.0 to 1.22.2 Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.22.0 to 1.22.2. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.22.0...v1.22.2) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 16c1543..0bbe083 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ -r requirements-run-codebuild.txt ./lib/asf-stac-util/ boto3==1.35.82 -cfn-lint==1.22.0 +cfn-lint==1.22.2 ruff pypgstac[psycopg]==0.8.6 pystac==1.10.1 From 7d0319c3242940353942f19c109837e3e808f330 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 3 Jan 2025 11:19:07 -0900 Subject: [PATCH 4/7] downgrade stac-fastapi from v3 to v2 --- CHANGELOG.md | 4 ++++ requirements-apps-api.txt | 2 +- requirements.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5661d3d..4d5ad57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.7] +### Fixed +- Downgrade `stac-fastapi.pgstac` dependency from `3.0.1` to `2.5.0` and `pypgstac[psycopg]` dependency from `0.8.6` to `0.7.10`. The [Context extension](https://github.com/stac-api-extensions/context) was deprecated in [stac-fastapi v2.5.0](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md#250---2024-04-12) and was removed in [stac-fastapi v3.0.0](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md#300---2024-07-29). Our previous release (v0.3.6) upgraded `stac-fastapi.pgstac` from `2.5.0` to `3.0.1` without removing the Context extension, which causes https://stac.asf.alaska.edu to return `Internal Server Error`. + ## [0.3.6] ### Changed - The [`static-analysis`](.github/workflows/static-analysis.yml) Github Actions workflow now uses `ruff` rather than `flake8` for linting. diff --git a/requirements-apps-api.txt b/requirements-apps-api.txt index 79b0db2..23f95cb 100644 --- a/requirements-apps-api.txt +++ b/requirements-apps-api.txt @@ -1,2 +1,2 @@ mangum==0.19.0 -stac-fastapi.pgstac==3.0.1 +stac-fastapi.pgstac==2.5.0 diff --git a/requirements.txt b/requirements.txt index 241dc22..a7d4b72 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ boto3==1.35.82 cfn-lint==1.22.2 ruff -pypgstac[psycopg]==0.8.6 +pypgstac[psycopg]==0.7.10 pystac==1.10.1 pytest==8.3.4 requests==2.32.3 From e210529ca8a58565a35b2bc046ec4724f94b0e66 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 3 Jan 2025 11:46:04 -0900 Subject: [PATCH 5/7] Revert "downgrade stac-fastapi from v3 to v2" --- CHANGELOG.md | 4 ---- requirements-apps-api.txt | 2 +- requirements.txt | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d5ad57..5661d3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.3.7] -### Fixed -- Downgrade `stac-fastapi.pgstac` dependency from `3.0.1` to `2.5.0` and `pypgstac[psycopg]` dependency from `0.8.6` to `0.7.10`. The [Context extension](https://github.com/stac-api-extensions/context) was deprecated in [stac-fastapi v2.5.0](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md#250---2024-04-12) and was removed in [stac-fastapi v3.0.0](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md#300---2024-07-29). Our previous release (v0.3.6) upgraded `stac-fastapi.pgstac` from `2.5.0` to `3.0.1` without removing the Context extension, which causes https://stac.asf.alaska.edu to return `Internal Server Error`. - ## [0.3.6] ### Changed - The [`static-analysis`](.github/workflows/static-analysis.yml) Github Actions workflow now uses `ruff` rather than `flake8` for linting. diff --git a/requirements-apps-api.txt b/requirements-apps-api.txt index 23f95cb..79b0db2 100644 --- a/requirements-apps-api.txt +++ b/requirements-apps-api.txt @@ -1,2 +1,2 @@ mangum==0.19.0 -stac-fastapi.pgstac==2.5.0 +stac-fastapi.pgstac==3.0.1 diff --git a/requirements.txt b/requirements.txt index a7d4b72..241dc22 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ boto3==1.35.82 cfn-lint==1.22.2 ruff -pypgstac[psycopg]==0.7.10 +pypgstac[psycopg]==0.8.6 pystac==1.10.1 pytest==8.3.4 requests==2.32.3 From 051894317aebf15deb6f57fa358eda04cebc0775 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 3 Jan 2025 11:47:29 -0900 Subject: [PATCH 6/7] remove context extension --- apps/api/src/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/api/src/api.py b/apps/api/src/api.py index 3628901..d520beb 100644 --- a/apps/api/src/api.py +++ b/apps/api/src/api.py @@ -7,7 +7,6 @@ 'sort', 'fields', 'pagination', - 'context', ] ) From 63f507a050f360c956bff7c9b13d1cc8f3657f27 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 3 Jan 2025 12:22:01 -0900 Subject: [PATCH 7/7] add changelog entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5661d3d..e85e616 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.7] +### Fixed +- Remove the [Context extension](https://github.com/stac-api-extensions/context), which is no longer supported as of [stac-fastapi v3.0.0](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md#300---2024-07-29). Our previous release (v0.3.6) upgraded the `stac-fastapi.pgstac` dependency from `2.5.0` to `3.0.1` without removing the Context extension, which caused https://stac.asf.alaska.edu to return `Internal Server Error`. + ## [0.3.6] ### Changed - The [`static-analysis`](.github/workflows/static-analysis.yml) Github Actions workflow now uses `ruff` rather than `flake8` for linting.