diff --git a/CHANGELOG.md b/CHANGELOG.md index e1e06fc..8931e52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## v0.19.0 (2021-12-07) + +This release has a number of small improvements and bug fixes. + +After upgrading to this release, we recommend that you delete and recreate your infrastructure with the following commands: + +1. `aws cloudformation delete-stack --stack-name sagemaker-run-notebook` +2. `run-notebook create-infrastructure` + +This will pick up the new managed policies (see under [Bug Fixes])(#bug-fixes) below) which can not be updated with the `--update` option. + +### Bug fixes + +* Fixed an install failure on versions >= 3.10. (Fixes [issue #35](https://github.com/aws-samples/sagemaker-run-notebook/issues/35)) +* Use managed policies so that we can include the policies in other roles (See [Change policies to managed policies](https://github.com/aws-samples/sagemaker-run-notebook/pull/14) by @dmoser04). +* Use a single permission statement on the Lambda function for all EventBridge rules. This prevents us overflowing the number of separate permissions when we have many scheduled notebook runs. This also means that we're not creating permissions at schedule time. (Fixes [issue #9](https://github.com/aws-samples/sagemaker-run-notebook/issues/9)) +* Correctly handle scheduled runs with no supplied parameters. (Fixes [issue #25](https://github.com/aws-samples/sagemaker-run-notebook/issues/25)) +* Update various JS dependencies for security fixes. + ## v0.18.0 (2020-11-06) This is a documentation only release: diff --git a/QuickStart.md b/QuickStart.md index 4eea5a0..9e0609a 100644 --- a/QuickStart.md +++ b/QuickStart.md @@ -58,7 +58,7 @@ To follow this recipe, you'll need to have AWS credentials set up that give you You can install the library directly from the GitHub release using pip: ```sh -$ pip install https://github.com/aws-samples/sagemaker-run-notebook/releases/download/v0.18.0/sagemaker_run_notebook-0.18.0.tar.gz +$ pip install https://github.com/aws-samples/sagemaker-run-notebook/releases/download/v0.19.0/sagemaker_run_notebook-0.19.0.tar.gz ``` This installs the sagemaker-run-notebook library and CLI tool. It also installs the JupyterLab plug-in but does not activate it. See below in [Activating the JupyterLab Extension](#activating-the-jupyterlab-extension) for more information. diff --git a/build-dist-files.sh b/build-dist-files.sh index 73edc67..6de6498 100755 --- a/build-dist-files.sh +++ b/build-dist-files.sh @@ -10,7 +10,7 @@ # # They all live in the subdirectory "manual_dist/" -VERSION=0.18.0 +VERSION=0.19.0 make artifacts docs diff --git a/docs/source/conf.py b/docs/source/conf.py index 0d36d32..d22958a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -24,7 +24,7 @@ author = "Amazon Web Services" # The full version, including alpha/beta/rc tags -release = "v0.18.0" +release = "v0.19.0" # -- General configuration --------------------------------------------------- diff --git a/labextension/package.json b/labextension/package.json index dca22a3..dc082ed 100644 --- a/labextension/package.json +++ b/labextension/package.json @@ -1,6 +1,6 @@ { "name": "sagemaker_run_notebook", - "version": "0.18.0", + "version": "0.19.0", "description": "Execute notebooks on a schedule in SageMaker", "keywords": [ "jupyter", diff --git a/sagemaker_run_notebook/server_extension/_version.py b/sagemaker_run_notebook/server_extension/_version.py index 7d069dc..3a2c3fb 100644 --- a/sagemaker_run_notebook/server_extension/_version.py +++ b/sagemaker_run_notebook/server_extension/_version.py @@ -11,7 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -version_info = (0, 18, 0) +version_info = (0, 19, 0) flag = "" __version__ = ".".join(map(str, version_info)) + flag diff --git a/scripts/lifecycle-config/start.sh b/scripts/lifecycle-config/start.sh index e9a9af0..77777b4 100755 --- a/scripts/lifecycle-config/start.sh +++ b/scripts/lifecycle-config/start.sh @@ -26,7 +26,7 @@ set -e sudo -u ec2-user -i <<'EOF' # PARAMETERS -VERSION=0.18.0 +VERSION=0.19.0 EXTENSION_NAME=sagemaker_run_notebook diff --git a/scripts/studio/install-run-notebook.sh b/scripts/studio/install-run-notebook.sh index 1343c26..7437057 100644 --- a/scripts/studio/install-run-notebook.sh +++ b/scripts/studio/install-run-notebook.sh @@ -1,4 +1,4 @@ -version=0.18.0 +version=0.19.0 pip install https://github.com/aws-samples/sagemaker-run-notebook/releases/download/v${version}/sagemaker_run_notebook-${version}.tar.gz jlpm config set cache-folder /tmp/yarncache jupyter lab build --debug --minimize=False