From 7fbdcd7ee65e90075bd0d01a108dd92c84e81a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Luk=C5=A1i=C4=8D?= <31988337+zigaLuksic@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:38:12 +0100 Subject: [PATCH] Prepare for release (#488) * update precommit * update version * update changelog --- .pre-commit-config.yaml | 2 +- CHANGELOG.MD | 8 ++++++++ sentinelhub/_version.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 567b1655..515843b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: language_version: python3 - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.1.1" + rev: "v0.1.3" hooks: - id: ruff diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 1da35a8c..a9c8d18d 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,3 +1,10 @@ +## [Version 3.9.3] - 2023-11-03 + +- `SHConfig` now correctly initializes a default profile in the file even if the first initialization call is done with a custom profile. +- Save and load methods of `SHConfig` adjusted to work with the environmental variable `SH_PROFILE` +- CLI command `sentinelhub.config --show` works with the environmental variable `SH_PROFILE` + + ## [Version 3.9.2] - 2023-10-24 - Adjusted how user credentials are passed to the OAuth service. @@ -5,6 +12,7 @@ - Batch statistical API now supports IAM role style credentials. - Various minor improvements + ## [Version 3.9.1] - 2023-05-04 - The parameter `sh_auth_base_url` has been replaced with `sh_token_url` to allow authentication on endpoints with suffixes other than `oauth/token`. For the new parameter the address must be provided in full, e.g. `https://services.sentinel-hub.com/oauth/token` instead of `https://services.sentinel-hub.com`. The change only affects users who manually adjusted this field. diff --git a/sentinelhub/_version.py b/sentinelhub/_version.py index 1967ddbf..ef2d670b 100644 --- a/sentinelhub/_version.py +++ b/sentinelhub/_version.py @@ -1,3 +1,3 @@ """Version of the sentinelhub package.""" -__version__ = "3.9.2" +__version__ = "3.9.3"