jupyter-ydoc 3.0.1__tar.gz → 3.0.2__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.
Files changed (44) hide show
  1. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.pre-commit-config.yaml +1 -1
  2. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/CHANGELOG.md +18 -2
  3. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/PKG-INFO +1 -1
  4. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/javascript/package.json +1 -1
  5. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/_version.py +1 -1
  6. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/ynotebook.py +6 -1
  7. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/dependabot.yml +0 -0
  8. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/workflows/auto_author_assign.yml +0 -0
  9. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/workflows/check-release.yml +0 -0
  10. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/workflows/enforce-label.yml +0 -0
  11. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/workflows/license-header.yml +0 -0
  12. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/workflows/prep-release.yml +0 -0
  13. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/workflows/publish-release.yml +0 -0
  14. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.github/workflows/test.yml +0 -0
  15. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.gitignore +0 -0
  16. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.licenserc.yaml +0 -0
  17. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.yarn/releases/yarn-3.4.1.cjs +0 -0
  18. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/.yarnrc.yml +0 -0
  19. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/LICENSE +0 -0
  20. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/README.md +0 -0
  21. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/Makefile +0 -0
  22. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/make.bat +0 -0
  23. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/_static/jupyter_logo.svg +0 -0
  24. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/_static/logo-icon.png +0 -0
  25. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/conf.py +0 -0
  26. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/custom.md +0 -0
  27. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/index.md +0 -0
  28. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/javascript_api.rst +0 -0
  29. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/overview.md +0 -0
  30. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/python_api.rst +0 -0
  31. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/docs/source/schema.md +0 -0
  32. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/__init__.py +0 -0
  33. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/py.typed +0 -0
  34. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/utils.py +0 -0
  35. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/ybasedoc.py +0 -0
  36. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/yblob.py +0 -0
  37. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/yfile.py +0 -0
  38. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/jupyter_ydoc/yunicode.py +0 -0
  39. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/lerna.json +0 -0
  40. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/package.json +0 -0
  41. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/pyproject.toml +0 -0
  42. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/pytest.ini +0 -0
  43. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/readthedocs.yml +0 -0
  44. {jupyter_ydoc-3.0.1 → jupyter_ydoc-3.0.2}/yarn.lock +0 -0
@@ -17,7 +17,7 @@ repos:
17
17
  exclude: ^\.yarn
18
18
 
19
19
  - repo: https://github.com/astral-sh/ruff-pre-commit
20
- rev: v0.7.3
20
+ rev: v0.8.0
21
21
  hooks:
22
22
  - id: ruff
23
23
  args: [--fix, --show-fixes]
@@ -2,6 +2,24 @@
2
2
 
3
3
  <!-- <START NEW CHANGELOG ENTRY> -->
4
4
 
5
+ ## 3.0.2
6
+
7
+ ([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.1...db70566443ffc92e9bf62e2064e9b928ca2e96d7))
8
+
9
+ ### Bugs fixed
10
+
11
+ - Fix stream output [#294](https://github.com/jupyter-server/jupyter_ydoc/pull/294) ([@davidbrochart](https://github.com/davidbrochart))
12
+
13
+ ### Maintenance and upkeep improvements
14
+
15
+ ### Contributors to this release
16
+
17
+ ([GitHub contributors page for this release](https://github.com/jupyter-server/jupyter_ydoc/graphs/contributors?from=2024-11-18&to=2024-12-02&type=c))
18
+
19
+ [@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-11-18..2024-12-02&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-11-18..2024-12-02&type=Issues)
20
+
21
+ <!-- <END NEW CHANGELOG ENTRY> -->
22
+
5
23
  ## 3.0.1
6
24
 
7
25
  ([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0...2ed6216e488db36c2757390c96195db9909e7908))
@@ -16,8 +34,6 @@
16
34
 
17
35
  [@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-10-29..2024-11-18&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-10-29..2024-11-18&type=Issues)
18
36
 
19
- <!-- <END NEW CHANGELOG ENTRY> -->
20
-
21
37
  ## 3.0.0
22
38
 
23
39
  ([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@2.0.1...8cf3b0f53bf763edf254e91fed65aaa7062e3250))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: jupyter-ydoc
3
- Version: 3.0.1
3
+ Version: 3.0.2
4
4
  Summary: Document structures for collaborative editing using Ypy
5
5
  Project-URL: Homepage, https://jupyter.org
6
6
  Project-URL: Source, https://github.com/jupyter-server/jupyter_ydoc
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter/ydoc",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "type": "module",
5
5
  "description": "Jupyter document structures for collaborative editing using YJS",
6
6
  "homepage": "https://github.com/jupyter-server/jupyter_ydoc",
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '3.0.1'
4
+ __version__ = VERSION = '3.0.2'
@@ -166,7 +166,12 @@ class YNotebook(YBaseDoc):
166
166
  outputs = cell.get("outputs", [])
167
167
  for idx, output in enumerate(outputs):
168
168
  if output.get("output_type") == "stream":
169
- output["text"] = Array(output.get("text", []))
169
+ text = output.get("text", "")
170
+ if isinstance(text, str):
171
+ ytext = Text(text)
172
+ else:
173
+ ytext = Text("".join(text))
174
+ output["text"] = ytext
170
175
  outputs[idx] = Map(output)
171
176
  cell["outputs"] = Array(outputs)
172
177
  cell["execution_state"] = "idle"
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