You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ExtensionApp - configurable JupyterApp-subclass for server extensions
27
+
- Most useful for Jupyter frontends, like Notebook, JupyterLab, nteract, voila etc.
28
+
- Launch with entrypoints
29
+
- Configure from file or CLI
30
+
- Add custom templates, static assets, handlers, etc.
31
+
- Static assets are served behind a `/static/<extension_name>` endpoint.
32
+
- Run server extensions in "standalone mode" ([#70](https://github.com/jupyter/jupyter_server/pull/70) and [#76](https://github.com/jupyter/jupyter_server/pull/76))
33
+
- ExtensionHandler - tornado handlers for extensions.
34
+
- Finds static assets at `/static/<extension_name>`
35
+
36
+
### Changed
37
+
-`jupyter serverextension <command>` entrypoint has been changed to `jupyter server extension <command>`.
38
+
-`toggle_jupyter_server` and `validate_jupyter_server` function no longer take a Logger object as an argument.
39
+
- Changed testing framework from nosetests to pytest ([#152](https://github.com/jupyter/jupyter_server/pull/152))
40
+
- Depend on pytest-tornasync extension for handling tornado/asyncio eventloop
41
+
- Depend on pytest-console-scripts for testing CLI entrypoints
42
+
- Added Github actions as a testing framework along side Travis and Azure ([#146](https://github.com/jupyter/jupyter_server/pull/146))
43
+
44
+
### Removed
45
+
- Removed the option to update `root_dir` trait in FileContentsManager and MappingKernelManager in ServerApp ([#135](https://github.com/jupyter/jupyter_server/pull/135))
46
+
47
+
### Fixed
48
+
- Synced Jupyter Server with Notebook PRs in batches (ended on 2019-09-27)
To install the latest release locally, make sure you have
25
25
[pip installed](https://pip.readthedocs.io/en/stable/installing/) and run:
26
26
27
27
$ pip install jupyter_server
28
28
29
+
### Versioning and Branches
30
+
31
+
If Jupyter Server is a dependency of your project/application, it is important that you pin it to a version that works for your application. Currently, Jupyter Server only has minor and patch versions. Different minor versions likely include API-changes while patch versions do not change API.
32
+
33
+
When a new minor version in released on PyPI, a branch for that version will be created in this repository, and the version of the master branch will be bumped to the next minor version number. That way, the master branch always reflects the latest un-released version.
34
+
35
+
To see the changes between releases, checkout the [CHANGELOG](https://github.com/jupyter/jupyter_server/blob/master/CHANGELOG.md).
The ``ExtensionApp`` uses the following methods and properties to connect your frontend to the Jupyter server. Overwrite these pieces to add your custom settings, handlers and templates:
67
67
@@ -81,13 +81,13 @@ Properties
81
81
Writing frontend handlers
82
82
-------------------------
83
83
84
-
To write handlers for an ``ExtensionApp``, use the ``ExtensionHandler`` class. This class routes Tornado's ``static_url`` attribute to the ``/static/<extension_name>/`` namespace where your frontend's static files will be served.
84
+
To write handlers for an ``ExtensionApp``, use the ``ExtensionHandlerMixin`` class. This class routes Tornado's ``static_url`` attribute to the ``/static/<extension_name>/`` namespace where your frontend's static files will be served.
85
85
86
86
.. code-block:: python
87
87
88
-
from jupyter_server.extension importExtensionHandler
88
+
from jupyter_server.extension.handlerimportExtensionHandlerMixin
0 commit comments