JupyterHub 6.0
By Serena Bonaretti and Min Ragan-Kelley

JupyterHub is a collection of tools that provides standardized, user-friendly computing environments for education and research. Today, we’re pleased to announce the release of JupyterHub 6.0. This is a substantial release with several new features. The breaking changes ought to be minimal, and should affect very few deployments. There is a small database schema upgrade, so make sure to backup your database prior to upgrading, as usual.
Some changes to highlight:
-
Stricter named server rules: Named servers now have stricter rules on their names, and a new less-restricted “display name” field. This might be the most significant change affecting you! See the documentation for more details.
-
Python 3.10 and database upgrade: JupyterHub 6.0 now requires Python 3.10 and includes a database schema upgrade. Make sure to back up your database before upgrading.
-
Updates to metrics: The old StatsD metrics have been removed, in favor of the Prometheus metrics that most people are already using. For Spawner (and spawn hook) authors, JupyterHub 6.0 also introduces SpawnException, which provides more granular information for classifying spawn failures in metrics, to help deployments separate errors from rejections.
-
Internal communication changes: JupyterHub now uses aiohttp for internal HTTP requests, which may require tuning for large deployments since internal HTTP requests. This update has facilitated using unix sockets for internal communication on single-node deployments.
-
Improved granularity in API access: JupyterHub provides new API endpoints for working with single servers, along with more flexible ways to define permissions, such as start:servers scope and extra_user_scopes.
See the documentation for more information.
Beyond these main changes, there have been lots of other improvements and bugfixes. You can find more details in the upgrading documentation and changelog.
Thank you to our contributors
The following people contributed discussions, new ideas, code and documentation contributions, and review: agoose77, anny0811, ateucher, betatim, bl-aire, clhedrick, consideRatio, dometto, dragz, erawn, ericvd-ucb, jezwilkinson, jnywong, jrdnbradford, kellyrowland, kreuzert, LUC4R4T0R, manics, mayli, milliams, minrk, mynkyu, nsychev, Paul2708, Rameshkumar31595, rgaiacs, shaneknapp, sixonenines, tbizouerne, Tech-Abhang, wilkinvr, willingc, yuvipanda


