From 37d3d65c72804c4aa014404383e7f07d7b4bf84b Mon Sep 17 00:00:00 2001 From: Vadim Voitenko Date: Sat, 6 Apr 2024 11:36:59 +0300 Subject: [PATCH 1/2] Updated release notes for v0.1.9 --- docs/mkdocs.yml | 1 + docs/release_notes/greenmask_0_1_9.md | 35 +++++++++++++++++++++++++++ mkdocs.yml | 1 + 3 files changed, 37 insertions(+) create mode 100644 docs/release_notes/greenmask_0_1_9.md diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index af98c52a..8645ddb3 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -117,6 +117,7 @@ nav: - Core custom functions: built_in_transformers/advanced_transformers/custom_functions/core_functions.md - Faker function: built_in_transformers/advanced_transformers/custom_functions/faker_function.md - Release notes: + - Greenmask 0.1.9: release_notes/greenmask_0_1_9.md - Greenmask 0.1.8: release_notes/greenmask_0_1_8.md - Greenmask 0.1.7: release_notes/greenmask_0_1_7.md - Greenmask 0.1.6: release_notes/greenmask_0_1_6.md diff --git a/docs/release_notes/greenmask_0_1_9.md b/docs/release_notes/greenmask_0_1_9.md new file mode 100644 index 00000000..80bbca53 --- /dev/null +++ b/docs/release_notes/greenmask_0_1_9.md @@ -0,0 +1,35 @@ +# Greenmask 0.1.9 + +This release introduces improvements and bug fixes + +## Improvements + +* [Implemented tables scoring according](https://github.com/GreenmaskIO/greenmask/discussions/50) to the type and + transformation costs. This correctly spread the tables dumping between the requested workers and reduces the + execution time. Now greenmask introspects the table size, adds the transformation scoring using the + formula `score = tableSizeInBytes + (tableSizeInBytes * 0.03 * tableTransformationsCount)` and uses strategy + "Largest First". +* Introduced `no_verify_ssl` parameter for S3 storage +* Adjusted Dockerfile + * Changed entrypoint to `greenmask` binary + * The `greenmask` container now runs under `greenmask` user and groups +* Refactored storage config structure. Now it contains `type` that uses for the cstorage type determination +* Most of the attributes may be overridden with environment variables where the letters are capitalized and the dots + replaced to the underscores. For instance the setting `storage.type` might be represented with the environment + variable `STORAGE_TYPE` +* Parameter `--config` is not required anymore. This simplifies the greenmask utility user experience +* Directory storage set as default +* Set default temporary directory as `/tmp` +* Added environment variable section to the configuration docs + +## Fixes + +* Fixed `S3_REGION` environment variable usage. Tested cases where the S3 storage is set up using `S3` variables that + uses by `github.com/aws/aws-sdk-go` +* Updated project dependencies to the latest version + + +## Assets + +To download the Greenmask binary compatible with your system, see +the [release's assets list](https://github.com/GreenmaskIO/greenmask/releases/tag/v0.1.9). diff --git a/mkdocs.yml b/mkdocs.yml index b0c72ec8..afe44225 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -117,6 +117,7 @@ nav: - Core custom functions: built_in_transformers/advanced_transformers/custom_functions/core_functions.md - Faker function: built_in_transformers/advanced_transformers/custom_functions/faker_function.md - Release notes: + - Greenmask 0.1.9: release_notes/greenmask_0_1_9.md - Greenmask 0.1.8: release_notes/greenmask_0_1_8.md - Greenmask 0.1.7: release_notes/greenmask_0_1_7.md - Greenmask 0.1.6: release_notes/greenmask_0_1_6.md From 3f6cdb1145be3e4d3c2785a075b9ba61b45da18c Mon Sep 17 00:00:00 2001 From: Vadim Voitenko Date: Sat, 6 Apr 2024 11:46:54 +0300 Subject: [PATCH 2/2] Adjusted release note for v0.1.9 --- docs/overrides/main.html | 2 +- docs/release_notes/greenmask_0_1_9.md | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/overrides/main.html b/docs/overrides/main.html index f6f41273..d4f42749 100644 --- a/docs/overrides/main.html +++ b/docs/overrides/main.html @@ -1,5 +1,5 @@ {% extends "base.html" %} {% block announce %} - Version 0.1.8 is released + Version 0.1.9 is released {% endblock %} diff --git a/docs/release_notes/greenmask_0_1_9.md b/docs/release_notes/greenmask_0_1_9.md index 80bbca53..f833f465 100644 --- a/docs/release_notes/greenmask_0_1_9.md +++ b/docs/release_notes/greenmask_0_1_9.md @@ -4,31 +4,30 @@ This release introduces improvements and bug fixes ## Improvements -* [Implemented tables scoring according](https://github.com/GreenmaskIO/greenmask/discussions/50) to the type and - transformation costs. This correctly spread the tables dumping between the requested workers and reduces the - execution time. Now greenmask introspects the table size, adds the transformation scoring using the - formula `score = tableSizeInBytes + (tableSizeInBytes * 0.03 * tableTransformationsCount)` and uses strategy - "Largest First". +* Implemented tables scoring according to the type and transformation costs. This correctly spread the tables dumping + between the requested workers pool and reduces the execution time. Now greenmask introspects the table size, adds + the transformation scoring using the formula + `score = tableSizeInBytes + (tableSizeInBytes * 0.03 * tableTransformationsCount)`, and uses the strategy "Largest + First". The problem is described [here](https://github.com/GreenmaskIO/greenmask/discussions/50) * Introduced `no_verify_ssl` parameter for S3 storage * Adjusted Dockerfile - * Changed entrypoint to `greenmask` binary - * The `greenmask` container now runs under `greenmask` user and groups -* Refactored storage config structure. Now it contains `type` that uses for the cstorage type determination -* Most of the attributes may be overridden with environment variables where the letters are capitalized and the dots - replaced to the underscores. For instance the setting `storage.type` might be represented with the environment + * Changed entrypoint to `greenmask` binary + * The `greenmask` container now runs under `greenmask` user and groups +* Refactored storage config structure. Now it contains the `type` that is used for the storage type determination +* Most of the attributes may be overridden with environment variables where the letters are capitalized and the dots + are replaced with underscores. For instance, the setting `storage.type` might be represented with the environment variable `STORAGE_TYPE` * Parameter `--config` is not required anymore. This simplifies the greenmask utility user experience -* Directory storage set as default -* Set default temporary directory as `/tmp` +* Directory storage set as the default +* Set the default temporary directory as `/tmp` * Added environment variable section to the configuration docs ## Fixes -* Fixed `S3_REGION` environment variable usage. Tested cases where the S3 storage is set up using `S3` variables that +* Fixed `S3_REGION` environment variable usage. Tested cases where the S3 storage is set up using `S3` variables that uses by `github.com/aws/aws-sdk-go` * Updated project dependencies to the latest version - ## Assets To download the Greenmask binary compatible with your system, see