Skip to content

Commit 796c373

Browse files
committed
Describe the changes in the changelog.
1 parent c9e2ce9 commit 796c373

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/changelog.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.5.0
44

55
- replaced JSON serialization with cloudpickle. This allows extracting a much wider range of objects from the notebook subprocess.
6+
- Reference semantics have changed.
7+
- Old behavior of `tb.get(name)` and `tb[name]`:
8+
- a reference would be returned for non-JSON-serializable objects.
9+
- a value would be returned for JSON-serializable objects.
10+
- Old behavior of `tb.ref(name)` was identical to `tb.get(name)`.
11+
- However, now almost all objects are serializable. Therefore, when a
12+
reference is desired, we require explicitly requesting a reference. The
13+
new behavior of `tb.get(name)` and `tb[name]` is to always return the
14+
deserialized object and to never return a reference. The new behavior of
15+
`tb.ref(name)` is to always return a reference.
616

717
## 0.4.2
818

0 commit comments

Comments
 (0)