Skip to content

Latest commit

 

History

History
378 lines (225 loc) · 28.4 KB

CHANGELOG.md

File metadata and controls

378 lines (225 loc) · 28.4 KB

Changelog

1.1.0

(Full Changelog)

Enhancements made

Bugs fixed

Contributors to this release

(GitHub contributors page for this release)

@iandesj | @krassowski | @welcome

1.0.2

(Full Changelog)

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@blink1073 | @pre-commit-ci

1.0.1

(Full Changelog)

Enhancements made

  • Adds custom config to show/hide host usage info #210 (@pinksi)

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@jtpio | @pinksi | @welcome | @yuvipanda

1.0.0

(Full Changelog)

Enhancements made

Bugs fixed

  • Handle currentWidget in KernelWidgetTracker #206 (@jtpio)
  • Stop all channels to allow ZMQContext to properly cleanup between calls #183 (@Zsailer)

Maintenance and upkeep improvements

Documentation improvements

Contributors to this release

(GitHub contributors page for this release)

@dependabot | @jtpio | @mahendrapaipuri | @pre-commit-ci | @SauravMaheshkar | @welcome | @Zsailer

0.7.2

(Full Changelog)

Bugs fixed

  • Clear state when switching away, add blank state indicator #178 (@krassowski)
  • async fixes in kernel usage handler #177 (@minrk)

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@Gsbreddy | @jtpio | @krassowski | @minrk | @pre-commit-ci | @welcome

0.7.1

(Full Changelog)

Enhancements made

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@dependabot | @jtpio

0.7.0

(Full Changelog)

Enhancements made

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@davidbrochart | @dependabot | @jtpio | @krassowski | @pre-commit-ci | @welcome

0.6.4

(Full Changelog)

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@blink1073 | @dependabot | @pre-commit-ci | @welcome

0.6.3

(Full Changelog)

Bugs fixed

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@casparvl | @dependabot | @jtpio | @pre-commit-ci | @welcome

0.6.2

(Full Changelog)

Enhancements made

  • Allow users to opt out of prometheus metrics #124 (@dleen)

Maintenance and upkeep improvements

Documentation improvements

  • Point the Binder link to the default branch #117 (@jtpio)

Contributors to this release

(GitHub contributors page for this release)

@dependabot | @dleen | @jtpio | @kevin-bates | @pre-commit-ci | @welcome

0.6.1

(Full Changelog)

Enhancements made

Bugs fixed

Maintenance and upkeep improvements

  • Adopt the Jupyter Releaser, update Jupyter Packaging #115 (@jtpio)

Other merged PRs

  • Bump tar from 6.1.5 to 6.1.11 in /packages/labextension #111 (@dependabot)
  • Bump url-parse from 1.5.1 to 1.5.3 in /packages/labextension #110 (@dependabot)
  • Bump path-parse from 1.0.6 to 1.0.7 in /packages/labextension #108 (@dependabot)
  • Bump tar from 6.1.0 to 6.1.5 in /packages/labextension #106 (@dependabot)
  • Bump normalize-url from 4.5.0 to 4.5.1 in /packages/labextension #103 (@dependabot)
  • Bump ws from 7.4.5 to 7.4.6 in /packages/labextension #102 (@dependabot)
  • Update to 3.0.16 packages #101 (@jtpio)
  • Update dependencies #100 (@jtpio)
  • Bump lodash from 4.17.20 to 4.17.21 in /packages/labextension #99 (@dependabot)
  • Bump hosted-git-info from 2.8.8 to 2.8.9 in /packages/labextension #98 (@dependabot)
  • Add changelog for 0.6.0 #96 (@jtpio)

Contributors to this release

(GitHub contributors page for this release)

@dependabot | @jhgoebbert | @jtpio | @stevenstetzler | @vidartf | @welcome

0.6.0

0.5.1

  • Skip building js assets if they already exist: #81

0.5.0

The repository has now moved to the jupyter-server organization on GitHub.

It was also renamed to jupyter-resource-usage.

To install the package with pip:

pip install jupyter-resource-usage

Other changes

  • Add a JupyterLab extension for the memory usage status bar item: #69
  • Drop the deprecated /metrics endpoint: #77

Migrating to 0.5.0

For classic notebook users, there shouldn't be any major change or action to take. The classic notebook extension is still distributed with the Python package as before.

For JupyterLab 2.x users you will still need to use the previous nbresuse package. See below for more information.

For JupyterLab 3.x, the status bar item is now packaged in its own extension and distributed with the jupyter-resource-usage package. This means that a single pip install jupyter-resource-usage is enough to install the server extension, the classic notebook extension and the JupyterLab extension all at once.

0.4.0

  • Soft-deprecate /metrics endpoint: #68
  • nbresuse now exposes a new endpoint: /api/metrics/v1: #68

Migrating to 0.4.0

To upgrade to the latest version:

python -m pip install -U nbresuse

If you use the classic notebook, there shouldn't be anything to do. The classic notebook extension already uses the new endpoint and is automatically installed.

If you use JupyterLab 2.x and want the memory usage indicator in the status bar to continue showing metrics:

image

Two options:

  • continue using nbresuse==0.3.6 instead of 0.4.0
  • enable the deprecated /metrics endpoint with:
jupyter lab --ResourceUseDisplay.disable_legacy_endpoint=False

0.3.6

  • Fix handling of cpu percent in the API endpoint #56
  • Added Binder #53 & RELEASE.md #54

0.3.5

  • Adding support for jupyterlab statusbar-extension #45 #36

Note: this release restores the /metrics endpoint returning a JSON response, that was removed in 0.3.4.

0.3.4

  • Autoformatting and documentation #33
  • Add section about CPU usage to the README #30
  • Make psutil optional dependency of NBResuse #25
  • Report the memory usage metrics as prometheus metrics #22

Note: this release removed the /metrics endpoint that was returning a JSON response. As a result, JupyterLab does not display the memory usage indicator in the status bar with nbresuse==0.3.4.

0.3.3

  • Made memory limit possibly dynamic via passing a callable in the config. #23
  • Track CPU usage #21

0.3.2

  • Require authentication for /metrics API Handler #18

0.3.1

  • Don't poll in background, since user does not see it #15
  • Poll instantly once page is foregrounded #15

This should reduce the number of /metrics requests massively, with minimal interruption to user experience.

0.3.0

  • Automatically install & enable extensions #9
  • Put nbextension / serverextension enables in different places
  • Put nbresuse js files in appropriate path

0.2.0

  • Change 'Mem' prefix in display to less cryptic 'Memory'
  • Fix primary screenshot to show memory limit too
  • Distribute static files via package_data #1
  • Add screenshot for memory usage warning
  • Configurable memory usage warnings
  • More configurability via traitlets
  • Consolidate code into single file
  • Document memory limit behavior
  • Add CONTRIBUTING.md doc
  • Updated README

0.1.0

  • Initial Commits for memory usage display