diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index f150227..5d02148 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,6 +1,7 @@ # Changelog * [unreleased](unreleased.md) +* [1.0.0](changes_1.0.0.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) @@ -13,6 +14,7 @@ hidden: --- unreleased +changes_1.0.0 changes_0.5.0 changes_0.4.0 changes_0.3.0 diff --git a/doc/changes/changes_1.0.0.md b/doc/changes/changes_1.0.0.md new file mode 100644 index 0000000..6b468d3 --- /dev/null +++ b/doc/changes/changes_1.0.0.md @@ -0,0 +1,20 @@ +# 1.0.0 - 2025-03-11 + +## Internal + +* Relocked Dependencies +* Update toolbox workflows +* Added security.md + +## Added + +* Added support for finegrained error output control + +## Refactoring + + - #52: Enabled Type Checking for the Project + - #63: Removed legacy module + +## Bugs + + - #61: Fixed parsing of parameter in AST diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index bee704d..79e701b 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1,20 +1 @@ # Unreleased - -## Internal - -* Relocked Dependencies -* Update toolbox workflows -* Added security.md - -## Added - -* Added support for finegrained error output control - -## Refactoring - - - #52: Enabled Type Checking for the Project - - #63: Removed legacy module - -## Bugs - - - #61: Fixed parsing of parameter in AST \ No newline at end of file diff --git a/error-codes.json b/error-codes.json index dff1655..ff8e5e3 100644 --- a/error-codes.json +++ b/error-codes.json @@ -1 +1 @@ -{"$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 +{"$schema": "https://schemas.exasol.com/error_code_report-1.0.0.json", "projectName": "exasol-error-reporting", "projectVersion": "1.0.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": "_internal_errors.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": "_internal_errors.py"}, {"identifier": "E-ERP-3", "message": "Invalid error code definition: {{error_element}} only can contain constant values, but is of type: {{defined_type}}. In file {{file}} line {{line}}", "messagePlaceholders": [{"error_element": "The element within the error definition which caused the error.", "defined_type": "The actual Python type of the error definition.", "file": "The file in which the error occurred.", "line": "The line where the error occurred."}], "description": "An unexpected error occurred during the creation of the error catalog, when parsing the project for EXA error codes.", "mitigations": ["Check the definition of ExaError. Possible errors: \n1. Usage of none-constant expression in error code, message\n2. Mitigations are not a list, but another container\n3. Invalid definition of parameters."], "sourceFile": "_internal_errors.py"}, {"identifier": "E-ERP-4", "message": "Internal error during creation of the error catalog. Details to append on Bug ticket: {{traceback}}", "messagePlaceholders": [{"traceback": "Traceback which was collected when creating this error."}], "description": "This error signals a programming error in the exasol.error library.", "mitigations": ["Open a bug ticket at \nhttps://github.com/exasol/error-reporting-python/issues/new?template=bug.md"], "sourceFile": "_internal_errors.py"}]} \ No newline at end of file diff --git a/exasol/error/version.py b/exasol/error/version.py index 3073a91..5ee60e1 100644 --- a/exasol/error/version.py +++ b/exasol/error/version.py @@ -4,8 +4,8 @@ # * or "poetry run version-check --fix" # 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 = 5 +MAJOR = 1 +MINOR = 0 PATCH = 0 VERSION = f"{MAJOR}.{MINOR}.{PATCH}" __version__ = VERSION diff --git a/exasol_error_reporting_python/py.typed b/exasol_error_reporting_python/py.typed deleted file mode 100644 index e69de29..0000000 diff --git a/pyproject.toml b/pyproject.toml index dc263a4..dc00211 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "exasol-error-reporting" packages = [ {include = "exasol"} ] -version = "0.5.0" +version = "1.0.0" description = "Exasol Python Error Reporting" license = "MIT"