jupyter-ydoc 3.0.0a3__tar.gz → 3.0.0a5__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.0a3 → jupyter_ydoc-3.0.0a5}/.pre-commit-config.yaml +1 -1
  2. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/CHANGELOG.md +38 -2
  3. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/PKG-INFO +1 -1
  4. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/javascript/package.json +1 -1
  5. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/_version.py +1 -1
  6. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/ybasedoc.py +20 -0
  7. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/dependabot.yml +0 -0
  8. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/workflows/auto_author_assign.yml +0 -0
  9. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/workflows/check-release.yml +0 -0
  10. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/workflows/enforce-label.yml +0 -0
  11. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/workflows/license-header.yml +0 -0
  12. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/workflows/prep-release.yml +0 -0
  13. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/workflows/publish-release.yml +0 -0
  14. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.github/workflows/test.yml +0 -0
  15. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.gitignore +0 -0
  16. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.licenserc.yaml +0 -0
  17. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.yarn/releases/yarn-3.4.1.cjs +0 -0
  18. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/.yarnrc.yml +0 -0
  19. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/LICENSE +0 -0
  20. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/README.md +0 -0
  21. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/Makefile +0 -0
  22. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/make.bat +0 -0
  23. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/_static/jupyter_logo.svg +0 -0
  24. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/_static/logo-icon.png +0 -0
  25. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/conf.py +0 -0
  26. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/custom.md +0 -0
  27. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/index.md +0 -0
  28. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/javascript_api.rst +0 -0
  29. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/overview.md +0 -0
  30. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/python_api.rst +0 -0
  31. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/docs/source/schema.md +0 -0
  32. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/__init__.py +0 -0
  33. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/py.typed +0 -0
  34. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/utils.py +0 -0
  35. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/yblob.py +0 -0
  36. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/yfile.py +0 -0
  37. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/ynotebook.py +0 -0
  38. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/jupyter_ydoc/yunicode.py +0 -0
  39. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/lerna.json +0 -0
  40. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/package.json +0 -0
  41. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/pyproject.toml +0 -0
  42. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/pytest.ini +0 -0
  43. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/readthedocs.yml +0 -0
  44. {jupyter_ydoc-3.0.0a3 → jupyter_ydoc-3.0.0a5}/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.5.5
20
+ rev: v0.6.1
21
21
  hooks:
22
22
  - id: ruff
23
23
  args: [--fix, --show-fixes]
@@ -2,6 +2,44 @@
2
2
 
3
3
  <!-- <START NEW CHANGELOG ENTRY> -->
4
4
 
5
+ ## 3.0.0a5
6
+
7
+ ([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a4...e97181c93ce91fdb56968b9e4ed8fc6006049cd5))
8
+
9
+ ### Enhancements made
10
+
11
+ - Add `streamOutputChange` attribute to cell change object [#264](https://github.com/jupyter-server/jupyter_ydoc/pull/264) ([@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-08-19&to=2024-08-23&type=c))
18
+
19
+ [@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-08-19..2024-08-23&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-08-19..2024-08-23&type=Issues)
20
+
21
+ <!-- <END NEW CHANGELOG ENTRY> -->
22
+
23
+ ## 3.0.0a4
24
+
25
+ ([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a3...14a8573f296086865849673d68ad4b1aaab2eb82))
26
+
27
+ ### Enhancements made
28
+
29
+ - Add `hash` property with setter and getter [#262](https://github.com/jupyter-server/jupyter_ydoc/pull/262) ([@krassowski](https://github.com/krassowski))
30
+
31
+ ### Bugs fixed
32
+
33
+ - Fix attachments change attribute assignment [#260](https://github.com/jupyter-server/jupyter_ydoc/pull/260) ([@krassowski](https://github.com/krassowski))
34
+
35
+ ### Maintenance and upkeep improvements
36
+
37
+ ### Contributors to this release
38
+
39
+ ([GitHub contributors page for this release](https://github.com/jupyter-server/jupyter_ydoc/graphs/contributors?from=2024-08-07&to=2024-08-19&type=c))
40
+
41
+ [@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-08-07..2024-08-19&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Akrassowski+updated%3A2024-08-07..2024-08-19&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-08-07..2024-08-19&type=Issues)
42
+
5
43
  ## 3.0.0a3
6
44
 
7
45
  ([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a2...8fbbd6985f686e7876b301ad5637052001caa128))
@@ -19,8 +57,6 @@
19
57
 
20
58
  [@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-07-12..2024-08-07&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Akrassowski+updated%3A2024-07-12..2024-08-07&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-07-12..2024-08-07&type=Issues)
21
59
 
22
- <!-- <END NEW CHANGELOG ENTRY> -->
23
-
24
60
  ## 3.0.0a2
25
61
 
26
62
  ([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0-a1...db935c175e8b3d37ec32284b5171c26458817528))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: jupyter-ydoc
3
- Version: 3.0.0a3
3
+ Version: 3.0.0a5
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.0-a3",
3
+ "version": "3.0.0-a5",
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.0a3'
4
+ __version__ = VERSION = '3.0.0a5'
@@ -114,6 +114,26 @@ class YBaseDoc(ABC):
114
114
  """
115
115
  self._ystate["dirty"] = value
116
116
 
117
+ @property
118
+ def hash(self) -> Optional[str]:
119
+ """
120
+ Returns the document hash as computed by contents manager.
121
+
122
+ :return: The document hash.
123
+ :rtype: Optional[str]
124
+ """
125
+ return self._ystate.get("hash")
126
+
127
+ @hash.setter
128
+ def hash(self, value: str) -> None:
129
+ """
130
+ Sets the document hash.
131
+
132
+ :param value: The document hash.
133
+ :type value: str
134
+ """
135
+ self._ystate["hash"] = value
136
+
117
137
  @property
118
138
  def path(self) -> Optional[str]:
119
139
  """
File without changes
File without changes
File without changes