diff --git a/AUTHORS b/AUTHORS index eccdcca1a..4e41078c3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -5,4 +5,5 @@ Quan Zhou Jesus M. Gonzalez-Barahona Jose Javier Merchante Santiago DueƱas +ChenqiShan , LinHaiming diff --git a/NEWS b/NEWS index a2fba1e4b..ed5f7e47f 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,31 @@ # Releases +## grimoire-elk 0.103.0-rc.1 - (2022-07-21) + +**New features:** + + * 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]} ``` + * 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. + +**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). + + ## GrimoireELK 0.102.0 - (2022-06-24) **Bug fixes:** diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index f46e31b36..91e1756d5 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ -# File auto-generated by semverup on 2022-06-24 11:31:20.431813 -__version__ = "0.102.0" +# File auto-generated by semverup on 2022-07-21 12:00:33.231096 +__version__ = "0.103.0-rc.1" diff --git a/pyproject.toml b/pyproject.toml index c2ed02e51..231f730ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "grimoire-elk" -version = "0.102.0" +version = "0.103.0-rc.1" description = "GrimoireELK processes and stores software development data to ElasticSearch" readme = "README.md" authors = [ diff --git a/releases/0.103.0-rc.1.md b/releases/0.103.0-rc.1.md new file mode 100644 index 000000000..d753d47b5 --- /dev/null +++ b/releases/0.103.0-rc.1.md @@ -0,0 +1,25 @@ +## grimoire-elk 0.103.0-rc.1 - (2022-07-21) + +**New features:** + + * 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]} ``` + * 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. + +**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 daa2dd98a..000000000 --- a/releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml +++ /dev/null @@ -1,18 +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).