diff --git a/NEWS b/NEWS index 51935219e..7711604c6 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,34 @@ # Releases +## grimoire-elk 0.103.0 - (2022-09-26) + +**New features:** + + * git-branches study skip uncloned repo\ + The git-branches study skips the repository when it is not cloned and + continues with the next one. + * Configurable study aliases\ + Before this fix, the name of the study aliases was hard coded. From + now on, these values can be configured by passing them as parameters. + * Entry points to support enriching plugin mechanism\ + This plugin mechanism allows ELK to use third-party enriching + backends. Developers only need to include the next snippet in their + package configuration and ELK will import them as any other core + backend. ``` entry_points={"grimoire_elk": "mybackend = + package.subpackage:get_connectors"}, ``` **NOTE**: In the previous + example, `get_connectors` is a function that returns the backend + classes needed to enrich a datasource. Take the next snipped as an + example: ``` def get_connectors(): return {"backend": [MyBackend, + MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ``` + +**Bug fixes:** + + * [raw/slack] Handle fields in "data.file"\ + Avoid the 'Failed to insert data to ES' error when a document contains + at least one immense term in 'data.file' (whose UTF8 encoding is + longer than the max length 32766). + + ## grimoire-elk 0.103.0-rc.10 - (2022-09-26) **New features:** diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index 4ec6973ca..453dbd19b 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ -# File auto-generated by semverup on 2022-09-26 12:12:01.415489 -__version__ = "0.103.0-rc.10" +# File auto-generated by semverup on 2022-09-26 14:19:32.956969 +__version__ = "0.103.0" diff --git a/pyproject.toml b/pyproject.toml index 52f4ef607..7fc06b57d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "grimoire-elk" -version = "0.103.0-rc.10" +version = "0.103.0" description = "GrimoireELK processes and stores software development data to ElasticSearch" readme = "README.md" authors = [ diff --git a/releases/0.103.0.md b/releases/0.103.0.md new file mode 100644 index 000000000..7a399ad85 --- /dev/null +++ b/releases/0.103.0.md @@ -0,0 +1,28 @@ +## grimoire-elk 0.103.0 - (2022-09-26) + +**New features:** + + * git-branches study skip uncloned repo\ + The git-branches study skips the repository when it is not cloned and + continues with the next one. + * Configurable study aliases\ + Before this fix, the name of the study aliases was hard coded. From + now on, these values can be configured by passing them as parameters. + * Entry points to support enriching plugin mechanism\ + This plugin mechanism allows ELK to use third-party enriching + backends. Developers only need to include the next snippet in their + package configuration and ELK will import them as any other core + backend. ``` entry_points={"grimoire_elk": "mybackend = + package.subpackage:get_connectors"}, ``` **NOTE**: In the previous + example, `get_connectors` is a function that returns the backend + classes needed to enrich a datasource. Take the next snipped as an + example: ``` def get_connectors(): return {"backend": [MyBackend, + MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ``` + +**Bug fixes:** + + * [raw/slack] Handle fields in "data.file"\ + Avoid the 'Failed to insert data to ES' error when a document contains + at least one immense term in 'data.file' (whose UTF8 encoding is + longer than the max length 32766). + diff --git a/releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml b/releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml deleted file mode 100644 index 6abaaaf6d..000000000 --- a/releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml +++ /dev/null @@ -1,20 +0,0 @@ -title: Entry points to support enriching plugin mechanism -category: added -author: - - ChenqiShan - - LinHaiming -issue: -notes: > - This plugin mechanism allows ELK to use third-party enriching backends. - Developers only need to include the next snippet in their package configuration - and ELK will import them as any other core backend. - ``` - entry_points={"grimoire_elk": "mybackend = package.subpackage:get_connectors"}, - ``` - **NOTE**: In the previous example, `get_connectors` is a function that returns - the backend classes needed to enrich a datasource. Take the next snipped - as an example: - ``` - def get_connectors(): - return {"backend": [MyBackend, MyBackendOcean, MyBackendEnrich, MyBackendCommand]} - ``` diff --git a/releases/unreleased/[enriched]-the-names-of-the-study-aliases-are-now-configurable.yml b/releases/unreleased/[enriched]-the-names-of-the-study-aliases-are-now-configurable.yml deleted file mode 100644 index a0ea689b2..000000000 --- a/releases/unreleased/[enriched]-the-names-of-the-study-aliases-are-now-configurable.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: 'Configurable study aliases' -category: added -author: Quan Zhou -issue: null -notes: > - Before this fix, the name of the study aliases was hard coded. - From now on, these values can be configured by passing them as - parameters. diff --git a/releases/unreleased/[slack]-handle-fields-in-data.file.yml b/releases/unreleased/[slack]-handle-fields-in-data.file.yml deleted file mode 100644 index 0716fbcef..000000000 --- a/releases/unreleased/[slack]-handle-fields-in-data.file.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: '[raw/slack] Handle fields in "data.file"' -category: fixed -author: Quan Zhou -issue: null -notes: > - Avoid the 'Failed to insert data to ES' error when a - document contains at least one immense term in 'data.file' - (whose UTF8 encoding is longer than the max length 32766). diff --git a/releases/unreleased/git-branches-study-skip-uncloned-repo.yml b/releases/unreleased/git-branches-study-skip-uncloned-repo.yml deleted file mode 100644 index f9a152c70..000000000 --- a/releases/unreleased/git-branches-study-skip-uncloned-repo.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: git-branches study skip uncloned repo -category: added -author: Quan Zhou -issue: null -notes: > - The git-branches study skips the repository when it is not - cloned and continues with the next one.