jupyter-ydoc 3.0.0a9__tar.gz → 3.0.0b0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/CHANGELOG.md +30 -2
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/PKG-INFO +1 -1
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/javascript/package.json +1 -1
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/_version.py +1 -1
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/ynotebook.py +11 -1
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/dependabot.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/workflows/auto_author_assign.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/workflows/check-release.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/workflows/enforce-label.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/workflows/license-header.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/workflows/prep-release.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/workflows/publish-release.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.github/workflows/test.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.gitignore +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.licenserc.yaml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.pre-commit-config.yaml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.yarn/releases/yarn-3.4.1.cjs +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/.yarnrc.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/LICENSE +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/README.md +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/Makefile +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/make.bat +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/_static/jupyter_logo.svg +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/_static/logo-icon.png +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/conf.py +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/custom.md +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/index.md +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/javascript_api.rst +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/overview.md +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/python_api.rst +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/docs/source/schema.md +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/__init__.py +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/py.typed +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/utils.py +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/ybasedoc.py +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/yblob.py +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/yfile.py +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/jupyter_ydoc/yunicode.py +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/lerna.json +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/package.json +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/pyproject.toml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/pytest.ini +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/readthedocs.yml +0 -0
- {jupyter_ydoc-3.0.0a9 → jupyter_ydoc-3.0.0b0}/yarn.lock +0 -0
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- <START NEW CHANGELOG ENTRY> -->
|
|
4
4
|
|
|
5
|
+
## 3.0.0b0
|
|
6
|
+
|
|
7
|
+
([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a10...5a205d912bb399684a2886d4d323b77669f63eb8))
|
|
8
|
+
|
|
9
|
+
### Enhancements made
|
|
10
|
+
|
|
11
|
+
- Add the awareness in the shared document interface [#282](https://github.com/jupyter-server/jupyter_ydoc/pull/282) ([@brichet](https://github.com/brichet))
|
|
12
|
+
|
|
13
|
+
### Contributors to this release
|
|
14
|
+
|
|
15
|
+
([GitHub contributors page for this release](https://github.com/jupyter-server/jupyter_ydoc/graphs/contributors?from=2024-10-17&to=2024-10-18&type=c))
|
|
16
|
+
|
|
17
|
+
[@brichet](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Abrichet+updated%3A2024-10-17..2024-10-18&type=Issues)
|
|
18
|
+
|
|
19
|
+
<!-- <END NEW CHANGELOG ENTRY> -->
|
|
20
|
+
|
|
21
|
+
## 3.0.0a10
|
|
22
|
+
|
|
23
|
+
([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a9...dc71f641f72826232772509a8c9cea474d7ccc9f))
|
|
24
|
+
|
|
25
|
+
### Maintenance and upkeep improvements
|
|
26
|
+
|
|
27
|
+
- Revert #266 [#280](https://github.com/jupyter-server/jupyter_ydoc/pull/280) ([@davidbrochart](https://github.com/davidbrochart))
|
|
28
|
+
|
|
29
|
+
### Contributors to this release
|
|
30
|
+
|
|
31
|
+
([GitHub contributors page for this release](https://github.com/jupyter-server/jupyter_ydoc/graphs/contributors?from=2024-10-10&to=2024-10-17&type=c))
|
|
32
|
+
|
|
33
|
+
[@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-10-10..2024-10-17&type=Issues)
|
|
34
|
+
|
|
5
35
|
## 3.0.0a9
|
|
6
36
|
|
|
7
37
|
([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a8...877e5b9bb449b6f4e2472337e41f27c3bf24ead1))
|
|
@@ -18,8 +48,6 @@
|
|
|
18
48
|
|
|
19
49
|
[@brichet](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Abrichet+updated%3A2024-09-26..2024-10-10&type=Issues) | [@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-09-26..2024-10-10&type=Issues) | [@lumberbot-app](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Alumberbot-app+updated%3A2024-09-26..2024-10-10&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-09-26..2024-10-10&type=Issues)
|
|
20
50
|
|
|
21
|
-
<!-- <END NEW CHANGELOG ENTRY> -->
|
|
22
|
-
|
|
23
51
|
## 3.0.0a8
|
|
24
52
|
|
|
25
53
|
([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a7...b20878676d4564641ac142804eaf27331ddb342c))
|
|
@@ -225,7 +225,17 @@ class YNotebook(YBaseDoc):
|
|
|
225
225
|
nb_without_cells = {key: value[key] for key in value.keys() if key != "cells"}
|
|
226
226
|
nb = copy.deepcopy(nb_without_cells)
|
|
227
227
|
cast_all(nb, int, float) # Yjs expects numbers to be floating numbers
|
|
228
|
-
cells = value["cells"]
|
|
228
|
+
cells = value["cells"] or [
|
|
229
|
+
{
|
|
230
|
+
"cell_type": "code",
|
|
231
|
+
"execution_count": None,
|
|
232
|
+
# auto-created empty code cell without outputs ought be trusted
|
|
233
|
+
"metadata": {"trusted": True},
|
|
234
|
+
"outputs": [],
|
|
235
|
+
"source": "",
|
|
236
|
+
"id": str(uuid4()),
|
|
237
|
+
}
|
|
238
|
+
]
|
|
229
239
|
|
|
230
240
|
with self._ydoc.transaction():
|
|
231
241
|
# clear document
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|