diff --git a/CHANGELOG.md b/CHANGELOG.md index b23a2db..31851bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +## [0.3.3] - 2025-11-06 + +* fix single date query to only select one day (author @wschoors, https://github.com/developmentseed/titiler-stacapi/pull/34) + ## [0.3.2] - 2025-05-19 * Align ows:Title, Identifier and Abstract in WMTS GetCapabilities (author @jverrydt, https://github.com/developmentseed/titiler-stacapi/pull/31) diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..6613dfc --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,25 @@ +# Releasing + +This is a checklist for releasing a new version of **titiler-stacapi**. + +1. Create a release branch named `release/vX.Y.Z`, where `X.Y.Z` is the new version + +2. Make sure the [Changelog](CHANGES.md) is up to date with latest changes and release date set + +3. Run [`bump-my-version`](https://callowayproject.github.io/bump-my-version/) to update all titiler's module versions: + + ``` + bump-my-version bump minor --new-version 0.20.0 + ``` + +4. Push your release branch, create a PR, and get approval + +5. Once the PR is merged, create a new (annotated, signed) tag on the appropriate commit. Name the tag `X.Y.Z`, and include `vX.Y.Z` as its annotation message + + ``` + git tag vX.Y.Z + ``` + +6. Push your tag to Github, which will kick off the publishing workflow + +7. Create a [new release](https://github.com/developmentseed/titiler-stacapi/releases/new) targeting the new tag, and use the "Generate release notes" feature to populate the description. Publish the release and mark it as the latest diff --git a/pyproject.toml b/pyproject.toml index 47c2db1..cceed25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ dynamic = ["version"] [project.optional-dependencies] dev = [ "pre-commit", + "bump-my-version", ] test = [ "pytest", @@ -106,3 +107,18 @@ no_implicit_optional = true strict_optional = true namespace_packages = true explicit_package_bases = true + +[tool.bumpversion] +current_version = "0.3.3" +search = "{current_version}" +replace = "{new_version}" +regex = false +tag = false +commit = true +allow_dirty = false +tag_name = "{new_version}" + +[[tool.bumpversion.files]] +filename = "titiler/stacapi/__init__.py" +search = '__version__ = "{current_version}"' +replace = '__version__ = "{new_version}"' \ No newline at end of file diff --git a/titiler/stacapi/__init__.py b/titiler/stacapi/__init__.py index f1a1cba..8562c6c 100644 --- a/titiler/stacapi/__init__.py +++ b/titiler/stacapi/__init__.py @@ -1,3 +1,3 @@ """titiler.stacapi""" -__version__ = "0.3.2" +__version__ = "0.3.3"