From bae3b509273859735aecf653139d5e776adb47f3 Mon Sep 17 00:00:00 2001 From: Robin Wimmers Date: Fri, 22 Dec 2023 14:36:33 +0100 Subject: [PATCH] chore(release): version 0.10.1 --- CHANGELOG.md | 193 ++++++++++++++++++++++++++++++++++++++++++ cliff.toml | 64 ++++++++++++++ pyproject.toml | 2 +- src/pygef/_version.py | 2 +- 4 files changed, 259 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 cliff.toml diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..9bfbdcfb --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,193 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.10.1] - 2023-12-22 + +### Features + +- *(xml)* Dont resolve entities when parsing xml + +### Bug Fixes + +- Resolve pkg_resources deprecation warning +- Resolve polars deprecation warning + +### Miscellaneous Tasks + +- Use coveralls github-action + +### Build + +- Create binary wheel and a source tarball + +## [0.10.0] - 2023-10-19 + +### Miscellaneous Tasks + +- [**breaking**] Update xpath and add exception (#358) + +### Bug Fixes + +- [**breaking**] Make sure that penetrationLength is positive (#357) + +## [0.9.0] - 2023-10-09 + +### Miscellaneous Tasks + +- Release 0.9.0 + +### Bug Fixes + +- Resolve #354 update xpath + +## [0.8.4] - 2023-10-02 + +### Miscellaneous Tasks + +- Release 0.8.4 + +### Features + +- Add class zero to QualityClass (#355) + +## [0.8.3] - 2023-09-15 + +### Miscellaneous Tasks + +- Release 0.8.3 +- Add datetime from gef to shim +- Update typing offset_to_depth and depth_to_offset (#339) + +## [0.8.2] - 2023-06-08 + +### Miscellaneous Tasks + +- Release 0.8.2 (#332) +- *(ci)* Add python version matrix in test job (#331) + +### Bug Fixes + +- Overwrite dtypes to Float64 (#330) + +## [0.8.1] - 2023-06-02 + +### Bug Fixes + +- *(ci)* Use trusted publishing for PyPi +- Use separator in polars.read_csv (#310) +- Sort dataframe (#307) +- Update plotting (#309) +- *(deps)* Add upper-bounds to dependency specifications (#304) + +### Features + +- *(plot)* Set the locator of the major ticker (#311) + +## [0.8.0] - 2023-03-15 + +### Miscellaneous Tasks + +- Release 0.8.0 + +### Features + +- Update soil distribution (#300) +- Add groundwater level property to cpt (#296) + +### Bug Fixes + +- *(parsing)* Provide parsing engine (#298) +- *(naming)* Standardize casing (#297) + +### Documentation + +- Add attributes to docstring (#295) + +## [0.8.0-alpha.5] - 2023-03-07 + +### Bug Fixes + +- *(ci)* Trigger release on every tag (#293) +- *(ci)* Release to pypi trigger + +### Features + +- Support for NEN5104, update GEF properties (#294) + +### Miscellaneous Tasks + +- *(dependencies)* Update dependencies +- *(pytest)* Use pytest for all test, omit tests in cov report +- *(pytest)* Use pytest for all test, omit tests in cov report + +### Chore + +- Add linting, rm old GEF functions, update docs + +## [0.8.0-alpha.4] - 2023-03-02 + +### Miscellaneous Tasks + +- Add linting, rm old GEF functions, update docs (#290) + +### Bug Fixes + +- *(CI)* Install pytest +- *(CI)* Install pygef +- *(doc)* Sphinx documentation references + +### Chore + +- Add linting, rm old GEF functions, update docs + +## [0.8.0-alpha.3] - 2023-02-27 + +### Refactor + +- Move to a src-based file structure + +## [0.8.0-alpha.2] - 2023-02-27 + +### Bug Fixes + +- *(build)* Setuptools was missing packages + +## [0.8.0-alpha] - 2023-02-24 + +### Bug Fixes + +- *(ci)* License fix & description in pyproject.toml +- *(ci)* Upload to pypi step +- *(ci)* Release to pypi + +### Miscellaneous Tasks + +- Release 0.8.0-alpha as 0.8.0a0 on pypi +- Don't automatically release from master (#244) +- Set strict mypy rules (#213) + +### Refactor + +- Move gef-file-to-map to it's own repo +- Parsing the xml generic (#246) +- Init broxml test and strict mypy (#245) +- Lot's of refactoring (#235) + +### Testing + +- Move tests to dedicated folder (#243) + +## [0.7.4] - 2022-08-01 + +### Fix + +- Find columns_number by counting columns instead of taking maximum value of column numbers + +## [0.4.1] - 2021-06-01 + +### DeprecationWarning + +- The 'warn' method is deprecated, use 'warning' instead + + diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 00000000..0bcf22c8 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,64 @@ +# Default CEMS cliff changelog generation configuration +# +# Remove this file to generate a new one with the defaults when releasing +# +# To manually run this just install git-cliff and run it in the root of the repo + +[changelog] + +# Changelog header +header = """ +# Changelog\n +All notable changes to this project will be documented in this file.\n +""" +# Template for the changelog body +# https://keats.github.io/tera/docs/#introduction +body = """ +{% if version %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [unreleased] +{% endif %}\ +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | upper_first }} + {% for commit in commits %} + - {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\ + {% endfor %} +{% endfor %}\n +""" +# Remove the leading and trailing whitespace from the template +trim = true + +# Changelog footer +footer = """ + +""" + +[git] + +# Parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# Filter out the commits that are not conventional +filter_unconventional = true +# Process each line of a commit as an individual commit +split_commits = false +# Regex for parsing and grouping commits +commit_parsers = [ + { message = "^feat", group = "Features" }, + { message = "^fix", group = "Bug Fixes" }, + { message = "^doc", group = "Documentation" }, + { message = "^perf", group = "Performance" }, + { message = "^refactor", group = "Refactor" }, + { message = "^style", group = "Styling" }, + { message = "^test", group = "Testing" }, + { message = "^chore\\(release\\)", skip = true }, + { message = "^chore: (release|bump) version", skip = true }, + { message = "^chore\\(deps\\)", skip = true }, + { message = "^chore\\(pr\\)", skip = true }, + { message = "^chore\\(pull\\)", skip = true }, + { message = "^chore|ci", group = "Miscellaneous Tasks" }, + { body = ".*security", group = "Security" }, + { message = "^revert", group = "Revert" }, +] +# Glob pattern for matching git tags +tag_pattern = "[0-9]*" diff --git a/pyproject.toml b/pyproject.toml index 584f304d..936a308a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pygef" -version = "0.10.0" +version = "0.10.1" description = "Parse soil measurument data." dependencies = [ "polars[pyarrow]>0.16.14,<0.20", diff --git a/src/pygef/_version.py b/src/pygef/_version.py index 61fb31ca..1f4c4d43 100644 --- a/src/pygef/_version.py +++ b/src/pygef/_version.py @@ -1 +1 @@ -__version__ = "0.10.0" +__version__ = "0.10.1"