Last Updated: July 2022
Refer to this article for information about each new release of Tethys Platform.
Tethys Platform formally updated to use Python 3.10
Should also support Python 3.7+
Django 2.2, the version Tethys 3 depended on, lost LTS status in April 11, 2022
Tethys was upgraded to be able to use Django 3.2, the new LTS version until April of 2024
Upgraded to use Bootstrap version 5 (Tethys 3 used version 3).
Tethys Portal overhauled and re-themed using new capabilities of Bootstrap 5.
Added three new decorators:
Use these decorators for mapping controllers, consumers, and handlers to URLs.
UrlMaps in app.py are no longer needed and the
url_mapsmethod is deprecated.
See: Routing API
WebSocket URLs now begin with
/apps/to be consistent with the other URLs that are generated by Tethys Platform (e.g.:
Tethys Map Layout¶
The first Tethys Layout, a new way to quickly and easily a fully functioning views to Tethys Apps.
A fully-featured, customizable map view with layer tree, address search, attribute popups, click-n-plot capability, and more.
MapLayoutclass and override the
compose_layersmethod to add layers.
Enable / disable functionality by setting class properties.
Comprehensive Tethys Manage Command¶
tethys managecommand now provides full range of
Use it to run any
manage.pycommand, including commands provided by Django apps (e.g.
django manage shell).
tethys manage pathto get the path to the
manage.pythat Tethys is using.
See: manage command
Replaced vendored static dependencies with CDN-hosted equivalants
Removed all vendored packages--almost 2000 files!
Upgraded all static dependencies to the latest versions
Added alternative to install static dependencies using NPM to allow self-hosting of dependencies instead of CDNs
STATICFILES_USE_NPM setting at Tethys Portal Configuration
Custom Job Actions¶
The Jobs Table now allows custom actions to be defined and added.
The order of the actions displayed in the actions dropdown menu can now be customized.
See: Jobs Table
Scheduler App Settings¶
HTCondor and Dask Schedulers can now be assigned to apps using App Settings like other services.
Tethys Dask Scheduler updated to be compatible to the latest version of Dask.
The Developer pages, including the Gizmo Showcase, were removed from Tethys Portal.
A new Gizmo Showcase App was developed to provide improved demonstrations and code examples of Tethys Gizmos.
A new Layout Showcase App was developed to provide live demonstrations and code examples of the new Map Layout and future Layouts.
See: Showcase Apps
The registration page can now be overridden with a custom controller using the
REGISTER_CONTROLLER setting at Tethys Portal Configuration
Changed logging scope for Tethys apps from
tethysappto allow for using
__name__to get/name loggers.
Updated GeoServer and THREDDS containers used by tethys docker command to address log4j vulnerabilities.