diff --git a/.gitattributes b/.gitattributes index 15d62d6..242d1dc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ poetry.lock linguist-generated=true setup.py linguist-generated=true +error-codes.json linguist-generated=true diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 42277f8..6b2aaa5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -13,7 +13,6 @@ jobs: cd-job: name: Continuous Delivery - needs: [ ci-job ] uses: ./.github/workflows/build-and-publish.yml secrets: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 7226d73..f150227 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,6 +1,7 @@ # Changelog * [unreleased](unreleased.md) +* [0.5.0](changes_0.5.0.md) * [0.4.0](changes_0.4.0.md) * [0.3.0](changes_0.3.0.md) * [0.2.0](changes_0.2.0.md) @@ -12,6 +13,7 @@ hidden: --- unreleased +changes_0.5.0 changes_0.4.0 changes_0.3.0 changes_0.2.0 diff --git a/doc/changes/changes_0.5.0.md b/doc/changes/changes_0.5.0.md new file mode 100644 index 0000000..b64a864 --- /dev/null +++ b/doc/changes/changes_0.5.0.md @@ -0,0 +1,22 @@ +# 0.5.0 - 2024-10-25 + +## Fixes + +* [#27](https://github.com/exasol/error-reporting-python/issues/27) Make sure creating an error does not raise an exception. + +## Feature + +* #25: Add support for named parameters. + +## Refactorings + +* #33: Updated to Python 3.10 + +## Documentation + +* Reworked project documentation + +## Internal + +* Relocked Dependencies +* Added github issue templates diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index e790349..79e701b 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1,24 +1 @@ # Unreleased - - -## Fixes - -* [#27](https://github.com/exasol/error-reporting-python/issues/27) Make sure creating an error does not raise an exception. - -## Feature - -* #25: Add support for named parameters. - -## Refactorings - -* #33: Updated to Python 3.10 - -## Documentation - -* Reworked project documentation - -## Internal - -* Relocked Dependencies -* Added github issue templates - diff --git a/error-codes.json b/error-codes.json index f91f30d..dff1655 100644 --- a/error-codes.json +++ b/error-codes.json @@ -1,36 +1 @@ -{ - "$schema": "https://schemas.exasol.com/error_code_report-1.0.0.json", - "projectName": "exasol-error-reporting", - "projectVersion": "0.4.0", - "errorCodes": [ - { - "identifier": "E-ERP-1", - "message": "Invalid error code {{code}}.", - "messagePlaceholders": [ - { - "placeholder": "code", - "description": "Error code which was causing the error." - } - ], - "mitigations": [ - "Ensure you follow the standard error code format." - ], - "sourceFile": "_error.py" - }, - { - "identifier": "E-ERP-2", - "message": "Unknown error/exception occurred.", - "messagePlaceholders": [ - { - "placeholder": "traceback", - "description": "Exception traceback which lead to the generation of this error." - } - ], - "description": "An unexpected error occurred during the creation of the error", - "mitigations": [ - "A good starting point would be to investigate the cause of the attached exception.\n\nTrackback:\n {{traceback}}" - ], - "sourceFile": "_error.py" - } - ] -} \ No newline at end of file +{"$schema": "https://schemas.exasol.com/error_code_report-1.0.0.json", "projectName": "exasol-error-reporting", "projectVersion": "0.5.0", "errorCodes": [{"identifier": "E-ERP-1", "message": "Invalid error code {{code}}.", "messagePlaceholders": [{"placeholder": "code", "description": "Error code which was causing the error."}], "mitigations": ["Ensure you follow the standard error code format."], "sourceFile": "_error.py"}, {"identifier": "E-ERP-2", "message": "Unknown error/exception occurred.", "messagePlaceholders": [{"placeholder": "traceback", "description": "Exception traceback which lead to the generation of this error."}], "description": "An unexpected error occurred during the creation of the error", "mitigations": ["A good starting point would be to investigate the cause of the attached exception.\n\nTrackback:\n {{traceback}}"], "sourceFile": "_error.py"}]} \ No newline at end of file diff --git a/exasol/error/version.py b/exasol/error/version.py index 191e772..ca9160c 100644 --- a/exasol/error/version.py +++ b/exasol/error/version.py @@ -5,6 +5,6 @@ # Do not edit this file manually! # If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`. MAJOR = 0 -MINOR = 4 +MINOR = 5 PATCH = 0 VERSION = f"{MAJOR}.{MINOR}.{PATCH}" diff --git a/pyproject.toml b/pyproject.toml index 7a30bf9..737b765 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ packages = [ {include = "exasol"}, {include = "exasol_error_reporting_python"} ] -version = "0.4.0" +version = "0.5.0" description = "Exasol Python Error Reporting" license = "MIT"