Skip to content

Latest commit

 

History

History
846 lines (438 loc) · 57 KB

CHANGELOG.md

File metadata and controls

846 lines (438 loc) · 57 KB

Changelog for renku-notebooks

Note that from this version onward the changelog has moved exclusively to https://github.com/SwissDataScienceCenter/renku-notebooks/releases

1.22.1 (2024-05-03)

Bug Fixes

  • use the case sensitive name of the project when cloning repositories (#1857)

1.22.0 (2024-03-25)

Features

1.21.0 (2024-01-16)

Bug Fixes

Features

  • allow patching of resource classes in hibernated sessions (#1728) (5219719)
  • rclone csi support for cloud storage in sessions (#1707) (97e3a50)

1.20.3 (2023-12-15)

Bug Fixes

1.20.2 (2023-11-07)

Bug Fixes

1.20.1 (2023-11-06)

Bug Fixes

  • properly patch tolerations and affinities (#1695) (a45cee3)

1.20.0 (2023-10-23)

Bug Fixes

Features

1.19.1 (2023-10-02)

Bug Fixes

1.19.0 (2023-09-15)

Features

  • app: use persistent volumes to hibernate and resume sessions (#1518) (8101029)
  • session: upgrade Amalthea version to 0.9.1

1.18.1 (2023-09-11)

Bug Fixes

1.18.0 (2023-08-11)

Bug Fixes

Features

  • add session warnings to jupyter server API responses (#1482) (b463980)

1.17.0 (2023-08-03)

Features

  • session: upgrade Amalthea version to 0.8.0

1.16.0 (2023-07-05)

Features

1.15.2 (2023-03-20)

Bug Fixes

1.15.1 (2023-03-03)

Bug Fixes

1.15.0 (2023-02-27)

Bug Fixes

  • app: propagate environment variables for R (#1339) (05f022b)
  • app: show if ssh enabled in /version (#1407) (4fcdcac)
  • sidecar: anon users clone repo at correct SHA (#1406) (63d734b)

Features

  • app: experimental azure blob storage support (#1374) (4cbcb14)
  • session: fail when injecting env vars that exist in session (#1396) (85e10ec)
  • session: ssh access to sessions with jump host (#1389) (556bfeb)
  • session: upgrade Amalthea version to 0.6.1

1.14.0 (2022-12-13)

Bug Fixes

Features

1.13.0 (2022-11-29)

Bug Fixes

  • accept zero as max_lines parameter for logs (#1336) (d18aba9)

Features

  • app: add jupyter server caching and multiple namespace support (#1323) (0fffbdd)

1.12.0 (2022-10-17)

Features

1.11.1 (2022-10-11)

Bug Fixes

1.11.0 (2022-09-20)

Bug Fixes

  • app: usernames starting with numbers/symbols (#1213) (7e3b234)
  • chart: template PVC sessions flag properly (#1273) (8c30639)
  • sidecar: escape characters in user full name (#1279) (65d6fb5)
  • sidecar: use fetch before running git status (#1240) (e4402b4)

Features

  • app: add auth and expose rpc server sidecar (#762) (85e15b7)
  • app: add session url env var (#1231) (25c2130)
  • sidecar: git pull and discard unsaved changes (#1223) (0157a2f)
  • sidecar: run renku cli commands in rpc server (#1219) (4e515f7)
  • sidecar: symlink cloudstorage into project (#1230) (4ac2845)

1.10.0 (2022-08-16)

Bug Fixes

  • app: catch upper/lowercase out of space error (#1198) (3bb0804)

Features

1.9.1 (2022-07-22)

Bug Fixes

  • app: listing autosaves and debug statements (#1168) (4e19998)
  • app: show latest unschedulable message (#1161) (aa81c9c)
  • app: update git-https-proxy/Dockerfile to reduce vulnerabilities (#1153) (4a48ec2)
  • app: minor bug fixes in amalthea and update to amalthea version 0.5.1

1.9.0 (2022-07-05)

Features

  • add support for passing env variables to notebooks (#1131) (9a37728)
  • update Amalthea to 0.5.0

1.8.3 (2022-06-24)

Bug Fixes

  • app: handle endpoints for s3 not on AWS (#1124) (4922458)
  • app: list autosaves only for the current user (#1118) (d67d8ad)

1.8.2 (2022-06-21)

Bug Fixes

  • app: cloudstorage in server_options schema (#1113) (38904f9)
  • app: parse unschedulable resources message (#1114) (7457538)

1.8.1 (2022-06-15)

Bug Fixes

  • app: no main pod in status when getting logs (#1104) (561d447)
  • app: properly deserialize server options (#1108) (1b7ae18)

1.8.0 (2022-06-13)

Bug Fixes

Features

  • add git error codes to notebooks response (#1055) (dd59afe), closes #1064
  • app: show session resource usage (#968) (84e8035)
  • app: surface message and status when pod is unschedulable (#1088) (a6cf716)
  • app: update Amalthea to version 0.4.0

1.7.0 (2022-05-16)

Bug Fixes

  • app: eliminate unnecessary gitlab calls (#1035) (3ff58d5)
  • app: keep git-proxy alive on session shutdown (#951) (7589230)

Features

  • app: switch git proxy to golang (#993) (3f0f965)
  • app: update Amalthea to version 0.3.0

Breaking changes

The value securityContext.enabled in the notebook service values.yaml used to be used in much older versions and has since been deprecated. However, it may still be present in your values.yaml file. If this is the case it will cause problems when deploying because with this release the securityContext field is directly added as the security context for every container in the notebook service. You can correct this by simply removing this field from your values file along with its parent securityContext field, this will make the notebook service use the default security context which functions properly.

1.6.2 (2022-04-08)

Bug Fixes

  • chart: revert the removal of bash autosave script (#1011) (2f6f353)

1.6.1 (2022-04-06)

Bug Fixes

1.6.0 (2022-04-05)

Features

  • app: add endpoint to verify docker image availability (#990) (e1a9f73)
  • app: add sentry to git clone and autosaves (#963) (7d73cad)
  • app: use python for git clone and autosaves (#956) (e5a86eb)

1.5.1 (2022-03-18)

Bug Fixes

  • app: enable s3 flag in server options (#969) (18787aa)

1.5.0 (2022-03-15)

Features

  • app: better messages on session launch fail (#923) (a8636e3), closes #923
  • app: return logs from all containers (#887) (3defae5)
  • app: version endpoint (#938) (4c2b26d)

BREAKING CHANGES

  • The status of the session is reported in a different more compact form in the API. This affects the /servers or /servers/<server_name> endpoints.
  • The logs from all containers in the session (including init containers) are returned, not just the logs from the jupyter-server container. This affects the /notebooks/logs/<server_name> endpoint.
  • The logs from /notebooks/logs/<server_name> are returned as a dictionary of strings where the key is the container name and the string is the log.

1.4.1 (2022-02-18)

Bug Fixes

  • app: remove S3 flag from server options (#940) (a2768d6)

1.4.0 (2022-02-15)

Features

  • chart: add anti-affinity to stateful set (#915) (67b3b80)

Bug Fixes

  • app: modify terminology for mounting S3 buckets (#922) (9f93dcf)
  • chart: allow mounting of S3 buckets to be enabled without installing Datashim (#922) (9f93dcf)

Breaking changes

The impact of the following breaking changes is minor because they only affect deployments that mount S3 buckets in user sessions. However as this is an experimental feature that was released very recently (and is turned off by default) it is very unlikely that any users are affected by this. Only users who have enabled S3 bucket mounting in sessions in 1.3.0 and are using this will be affected by this change.

  • the API endpoints that start user sessions or list them use cloudstorage in their request/response schemas rather than s3mounts
  • the values for the Helm chart related to mounting S3 buckets have also changed to use cloudstorage instead of s3mounts, and the setupt for mounting S3 buckets can be found under cloudstorage.s3

1.3.0 (2022-02-08)

Bug Fixes

  • app: case insensitive project and namespace (#858) (56c2db4)
  • app: do not accept an empty anonymous user id (#845) (0fa71df)
  • app: return proper values for image and repository (#834) (39a6d96)

Features

  • app: enable age-based session culling (#848) (b92722d)
  • chart: modify for custom CA certificates (#788) (1a7f15c)
  • app: mount s3 buckets in sessions (#729) (808e767)
  • Upgrade Amalthea to 0.2.3

1.2.1 (2021-12-01)

Bug Fixes

  • app: apply CPU limits to user sessions (#826) (29d44a2)
  • app: do not delete autosaves before restoring (#814) (32f6c5e)
  • app: use 3 scenarios for session cpu limits (#828) (ff7899d)
  • app: use pyjwt to decode token (#818) (4987db1)
  • app: user not authenticated and anonymous sessions not allowed (#829) (edb9c03)

1.2.0 (2021-11-15)

Bug Fixes

  • app: check out the correct branch instead of always master(#802) (5a9ffbe)
  • chart: use current fallback renku image (#803) (30df71b)

Features

  • chart: add session tolerations, affinity, nodeSelector (#806) (49a2d54)
  • app: new Amalthea version - 0.2.1

1.1.1 (2021-11-08)

Bug Fixes

  • add ingress annotation to each session so iframes work (#794) (f854d34)

1.1.0 (2021-11-02)

Bug Fixes

  • app: displaying gpu resources in API responses (#786) (6784504)
  • app: use the right storage class name parameter in Jupyter server manifest (#769) (0481561)
  • app: when a gitlab project does not exist log a warning instead of error (#763) (ce7af2a)

Features

  • app: option to not limit size of user session emptyDir (#785) (3a0eae8)

1.0.0 (2021-09-16)

Features

  • app use Amalthea to run sessions through a K8s operator (#668) (f808ac0)

Breaking changes

  • The use of Amalthea and removal of Jupyterhub will require some changes. Namely:
    • All references to Jupyterhub in the values.yaml have been removed and are not required anymore.
    • Amalthea is installed from a separate helm chart which is now a dependency of the renku-notebooks helm chart.
    • Several new sections have been added to the values.yaml file which are required by Amalthea. These include amalthea, oidc, sessionIngress, culling and tests.
  • Some older images with Rstudio will open Rstudio in a directory one level above the repository. This can be fixed by upgrading to a newer version of the base image in the Dockerfile in the relevant renku project.
  • This version is not backward compatible with the user sessions from older versions. Therefore before deploying the admin should notify users to save their work and shut down all active sessions. During the deployment the admin should clean up all remaining user sessions and then deploy this version.

0.8.18 (2021-08-11)

Bug Fixes

  • app: bugs with mistyped variable and missing branches in autosaves (#723) (cebb39d)
  • app: listing sessions when a project has been deleted (#718) (2c65ede)

0.8.17 (2021-07-29)

Bug Fixes

  • app: fix failing on pvcs created with old 0.8.4 renku verison pvc naming (fb7e318)

0.8.16 (2021-07-28)

Bug Fixes

  • app: upper case letters in pvc name (f6cfb8b)

0.8.15 (2021-07-23)

Bug Fixes

0.8.14 (2021-07-09)

Features

  • app: add autosave delete endpoint (e2f1538)

Bug Fixes

  • app: git-https-proxy/Dockerfile to reduce vulnerabilities (#664) (092703d)
  • app: properly assign default server option values (#649) (eda1685)

0.8.13 (2021-05-14)

Bug Fixes

  • clusterrole is not required for user session PVCs (#641) (752ca3f)
  • remove disk request values (#657) (33d6251)

Features

0.8.12 (2021-04-16)

Bug Fixes

  • app: missing annotations handling in marshmallow (23e54b0)

Features

0.8.11 (2021-04-15)

Bug Fixes

  • app: increase huboauth caching from 1min to 5min (#603) (1e459cc)
  • app: unset lfs auth mode in init container (c2017ca)

Features

0.8.10 (2021-03-08)

Bug Fixes

  • app: image pull secret for pod restart (#556) (afe92f9)
  • app: support for long project title (#553) (44d9578)

Improvements

  • build: switch to debian-based image (ad5adff)
  • build: update dependencies, including a vulnerability patch (#547) (a5becee)

0.8.9 (2021-02-11)

Bug Fixes

  • app: add label for hub network policy selector (#547) (a90ff26)
  • app: allow unknown annotations in schema (#546) (5d3bcb9)
  • app: allow to launch notebooks using defaultUrl (#542) (534b04c)

0.8.8 (2021-02-05)

Bug Fixes

0.8.7 (2021-02-01)

Bug Fixes

  • app: checking secrets with no annotations and labels (#509) (bfbb148)
  • app: correct order of lfs pull and repo config for git proxy (#486) (243af69)
  • app: duplicate https proxy containers (#523) (21157dc)
  • app: extraEnv requires only string values now (#511) (2a1bb10)
  • app: pod resources schema (#513) (83c844a)
  • app: properly recognize pod status when terminating (#497) (f59c88f)
  • app: remove unneccessary log error calls (#512) (d762870)
  • app: retry when creating notebook fails with 500 (#518) (8d7799c)
  • app: fix bug in git-https-proxy (3fc7e18)

0.8.6 (2020-12-10)

Features

  • app: move gitlab oauth token to separate proxy container (0488115)
  • app: specify image in server request (95d4f92)

0.8.5 (2020-11-18)

Bug Fixes

  • fix cull secrets failures with pods forked repos (559bb91)

0.8.4 (2020-10-29)

Features

  • automatically remove user registry secrets (#435) (334f16b)

0.8.3 (2020-10-15)

Features

0.8.2(2020-10-05)

Bug Fixes

  • app: escape username in registry secret name (e960e36)
  • build: remove build args from chartpress file (d2feebe)
  • charts: correct proxy-public port in ingress (18f98a2)
  • charts: enable storing gitlab auth state per default (3caeb1e)

Features

0.8.1 (2020-08-28)

Bug Fixes

  • update lfs version in git-clone to handle stored credentials (c7f017d)

0.8.0 (2020-08-11)

Features

  • use user credentials for pulling images for private projects, no more GitLab sudo token needed! (a172b39), closes #105

  • remove user oauth token from repository URL (5f2ba49), closes #313

  • add support for kubernetes versions > 1.15 (a994845)

Breaking changes

  • kubernetes versions < 1.14 are not supported anymore

0.7.4 (2020-05-27)

This release contains only dependency updates.

0.7.3 (2020-04-29)

Bug Fixes

  • use lowercase image repository names (3427698), closes #287

0.7.2 (2020-04-24)

Features

  • enable notebooks for logged-out and upriviledged users, closes #171 and #275.

0.7.1 (2020-03-26)

Bug Fixes

  • use registry API to find image (7c4b396), closes #273

Features

  • add repository url to annoations (#266) (67b955b)
  • add requested resources info to servers endpoint (#261) (9e233cf), closes #223
  • constrain the container gids (84066c1)

0.7.0 (2020-03-05)

Bug Fixes

Features

0.6.2 (2019-11-15)

Bug Fixes

  • reference environment starting commit on autosave branches (#219) (eb79344)

0.6.1 (2019-11-06)

Bug Fixes

  • Fix library dependency issues. See #218

0.6.0 (2019-10-25)

Bug Fixes

  • check permissions before adding environment variables (#212) (086a500), closes #210

Features

0.5.1 (2019-08-22)

Bug Fixes

  • do not shorten/modify annotation values (6159fef), closes #202

0.5.0 (2019-08-15)

Features

  • implement new notebook API (b50ca1c)

0.4.0 (2019-07-09)

Bug Fixes

  • uncaught exception when creating notebooks (7fdd566)
  • update registry secret template (320dcd7)
  • use local and remote shortened commit-sha to recover from autosaves (#190) (e1001b5)

Features

  • add JUPYTERHUB_USER as env var to git-clone image (790f92c)
  • pre-stop script also autosaves unpushed commits (1730d8a)
  • recover autosave only when branch and commit-sha match (3cbbcc9)
  • spawn new server for different branch (9d1a78b), closes #90

v0.3.3

(released 2019-05-27)

Bug Fixes

  • add project id to annotations bef303c, closes #129
  • correct indentation of periodSeconds 07be562, closes #157
  • do not create sentry configmap if no value 41e4993, closes #161
  • do not fail on empty annotations (#133) 373809b, closes #133 #132
  • enforce memory limits for user pods 91f503e, closes #147
  • fix syntax error 1f2088f
  • handle empty authorization token 1d725b7, closes #139
  • remove imageBuildTimeout f26ad81, closes #70
  • return 401 on unauthorized non-browser requests 453e955, closes #115

Features

  • add ConfigMap for pre-stop autosave script (#156) cf6258a, closes #156 #137
  • add /servers for user server listing 8d7c177, closes #125
  • added pre-stop post-start hooks (#130) 8b6d7f4, closes #130
  • enable sentry e36ef73, closes #110
  • implement notebook server logs endpoint 66f5793, closes #124
  • include GitLab project variables 50bd6cd

v0.3.0

(released 2018-11-26)

Chart values need to be migrated from [v0.2.0]{.title-ref} -- this essentially amounts to copying the [jupyterhub]{.title-ref} section from renku to the [notebooks]{.title-ref} section.

In addition:

  • It is no longer needed to specify [jupyterhub_api_token]{.title-ref}, [jupyterhub_base_url]{.title-ref} or [jupyterhub_api_url]{.title-ref} as they are derived from the corresponding jupyterhub values.
  • [gitlab.url]{.title-ref}, [gitlab.registry.host]{.title-ref} and [gitlab.registry.secret]{.title-ref} must be specified (the [secret]{.title-ref} is needed only for pulling private images).
  • A new values section for [server_options]{.title-ref} can be configured -- see the example in [minikube-values.yaml]{.title-ref}.

Server options

This is a configuration that is read by the UI client, rendered as a form for the user and sent back to the notebooks service as request data. The example in [values.yaml]{.title-ref} or [minikube-values.yaml]{.title-ref} sets some reasonable defaults for [cpu_request]{.title-ref}, [mem_request]{.title-ref}, [gpu_request]{.title-ref}, the [defaultUrl]{.title-ref} and [lfs_auto_fetch]{.title-ref}.

If R or other specialized notebooks are used, [defaultUrl]{.title-ref} allows the user to select the default landing path, e.g. [/rstudio]{.title-ref}. [lfs_auto_fetch]{.title-ref} is off by default, meaning that LFS data is not automatically retrieved.

v0.2.0

(released 2018-09-25)

Initial release as a part of the larger Renku release. Includes Helm Chart for deployment and supports simple connection to JupyterHub for launching notebook servers linked to GitLab repositories.