From bc23b6a65e7defc4e368ef621bdf509cf2329ade Mon Sep 17 00:00:00 2001 From: Mark Monteiro Date: Wed, 14 Sep 2022 11:57:10 -0400 Subject: [PATCH] Improve release notes for 3.4.1 Add clear migration instructions for custom script paths --- CHANGELOG.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3485bd..0cdd65a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ ## 3.4.1 2022-09-13 - ### Added - - Introduce environment variables for SCRIPT_LOCATION_POST and SCRIPT_LOCATION_PRE for better seperation +### Added +- Introduce environment variables for SCRIPT_LOCATION_POST and SCRIPT_LOCATION_PRE for better seperation + +### Deprecated - ### Changed - - Introduce deprecation warning for /assets/custom-scripts and /assets/custom-scripts/pre +- Introduce deprecation warning for the custom script paths `/assets/custom-scripts` and `/assets/custom-scripts/pre`. These +paths will continue to work for now but support may be removed in the next major version release. To support the new +default paths your scripts should be moved as follows: + + |Script Type|Old Path (Deprecated)|New Environment Variable|Environment Value Default| + |-----------|--------|-------------------------|----------------| + |Pre|`/assets/custom-scripts/pre`|SCRIPT_LOCATION_PRE|`/assets/scripts/pre`| + |Post|`/assets/custom-scripts`|SCRIPT_LOCATION_POST|`/assets/scripts/post`| ## 3.4.0 2022-09-12