Skip to content

Commit 8d1a753

Browse files
authored
Add CHANGELOG.md
1 parent 1d7b8d4 commit 8d1a753

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
## 0.4.0
4+
5+
- Soft-deprecate `/metrics` endpoint: https://github.com/yuvipanda/nbresuse/pull/68
6+
- `nbresuse` now exposes a new endpoint: `/api/metrics/v1`: https://github.com/yuvipanda/nbresuse/pull/68
7+
8+
### Migrating to 0.4.0
9+
10+
To upgrade to the latest version:
11+
12+
```
13+
python -m pip install -U nbresuse
14+
```
15+
16+
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.
17+
18+
If you use JupyterLab 2.x and want the memory usage indicator in the status bar to continue showing metrics:
19+
20+
![image](https://user-images.githubusercontent.com/591645/99947412-3c8b0000-2d78-11eb-868a-6a2da419a957.png)
21+
22+
Two options:
23+
24+
- continue using `nbresuse==0.3.6` instead of `0.4.0`
25+
- enable the deprecated `/metrics` endpoint with:
26+
27+
```bash
28+
jupyter lab --ResourceUseDisplay.disable_legacy_endpoint=False
29+
```

0 commit comments

Comments
 (0)