diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df7006cb..950a9d3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,9 +21,22 @@ jobs: with: environments: release + - name: Ensure tag matches version + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }} + run: | + version="$(pixi exec -s go-yq -- yq .project.version pyproject.toml)" + tag="${{ github.ref_name }}" + if [ "$version" != "$tag" ]; then + echo "Tag $tag does not match version $version" + exit 1 + fi + - name: Build run: pixi run -e release hatch build + - name: Check build + run: pixi run -e release twine check dist/* + - name: List files run: ls -l dist/ diff --git a/docs/source/changelog.md b/docs/source/changelog.md index 543d94ba..05df9d51 100644 --- a/docs/source/changelog.md +++ b/docs/source/changelog.md @@ -1,7 +1,11 @@ # Changelog -## unreleased +## 0.2.0 (2024-08-31) +- add polars backend +- add Date and Duration type +- string / datetime operations now have their separate namespace (.str / .dt) +- add partition_by=, arrange= and filter= arguments for window / aggregation functions (filter does not work on SQL yet) - migrate project to pixi ## 0.1.5 (2024-04-20) diff --git a/pyproject.toml b/pyproject.toml index 0c495b42..8e7e4ac5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pydiverse-transform" -version = "0.1.5" +version = "0.2.0" description = "Pipe based dataframe manipulation library that can also transform data on SQL databases" authors = [ {name = "QuantCo, Inc."},