Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jupyter-ydoc for 
openSUSE:Factory checked in at 2026-06-27 18:06:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-ydoc (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter-ydoc.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter-ydoc"

Sat Jun 27 18:06:56 2026 rev:17 rq:1361893 version:3.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyter-ydoc/python-jupyter-ydoc.changes  
2026-03-27 06:48:11.002700402 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter-ydoc.new.11887/python-jupyter-ydoc.changes
       2026-06-27 18:09:22.614630426 +0200
@@ -1,0 +2,11 @@
+Fri Jun 26 06:40:19 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Update to 3.5.0:
+  # Maintenance and upkeep improvements
+  * Bump pycrdt v0.13.0 #412 (@davidbrochart)
+- refresh node modules (bsc#1268933, CVE-2026-48779)
+- replace patch update-brace-expansion.patch with
+  update-js-deps.patch, to override js dependencies in node_modules
+  resolution
+
+-------------------------------------------------------------------

Old:
----
  jupyter_ydoc-3.4.0-gh.tar.gz
  jupyter_ydoc-3.4.0.tar.gz
  update-brace-expansion.patch

New:
----
  jupyter_ydoc-3.5.0-gh.tar.gz
  jupyter_ydoc-3.5.0.tar.gz
  update-js-deps.patch

----------(Old B)----------
  Old:- refresh node modules (bsc#1268933, CVE-2026-48779)
- replace patch update-brace-expansion.patch with
  update-js-deps.patch, to override js dependencies in node_modules
----------(Old E)----------

----------(New B)----------
  New:- replace patch update-brace-expansion.patch with
  update-js-deps.patch, to override js dependencies in node_modules
  resolution
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter-ydoc.spec ++++++
--- /var/tmp/diff_new_pack.MWwZYo/_old  2026-06-27 18:09:23.214650745 +0200
+++ /var/tmp/diff_new_pack.MWwZYo/_new  2026-06-27 18:09:23.218650880 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-jupyter-ydoc
-Version:        3.4.0
+Version:        3.5.0
 Release:        0
 Summary:        Document structures for collaborative editing using Ypy
 License:        BSD-3-Clause
@@ -28,9 +28,13 @@
 Source1:        
https://github.com/jupyter-server/jupyter_ydoc/archive/refs/tags/v%{version}.tar.gz#/jupyter_ydoc-%{version}-gh.tar.gz
 Source2:        node_modules.tar.xz
 # Execute this on every package update. See comments in the script.
+# Make sure to apply/review patches to package.json before calling the
+# create_node_modules.sh
 Source3:        create_node_modules.sh
-# PATCH-FIX-UPSTREAM update-brace-expansion.patch bsc#1257850
-Patch0:         update-brace-expansion.patch
+# PATCH-FIX-OPENSUSE update-js-deps.patch
+# - Update brace-expansion bsc#1257850
+# - Update ws bsc#1268933
+Patch0:         update-js-deps.patch
 BuildRequires:  %{python_module base >= 3.10}
 BuildRequires:  %{python_module hatch_nodejs_version}
 BuildRequires:  %{python_module hatchling >= 1.10}

++++++ jupyter_ydoc-3.4.0-gh.tar.gz -> jupyter_ydoc-3.5.0-gh.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_ydoc-3.4.0/.github/workflows/check-release.yml 
new/jupyter_ydoc-3.5.0/.github/workflows/check-release.yml
--- old/jupyter_ydoc-3.4.0/.github/workflows/check-release.yml  2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/.github/workflows/check-release.yml  2026-06-03 
16:13:25.000000000 +0200
@@ -37,7 +37,7 @@
           token: ${{ secrets.GITHUB_TOKEN }}
       - name: Upload Distributions
         if: ${{ matrix.group == 'check_release' }}
-        uses: actions/upload-artifact@v6
+        uses: actions/upload-artifact@v7
         with:
           name: jupyter-releaser-dist-${{ github.run_number }}
           path: .jupyter_releaser_checkout/dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_ydoc-3.4.0/.github/workflows/publish-release.yml 
new/jupyter_ydoc-3.5.0/.github/workflows/publish-release.yml
--- old/jupyter_ydoc-3.4.0/.github/workflows/publish-release.yml        
2026-02-06 15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/.github/workflows/publish-release.yml        
2026-06-03 16:13:25.000000000 +0200
@@ -21,7 +21,7 @@
     steps:
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
 
-      - uses: actions/create-github-app-token@v2
+      - uses: actions/create-github-app-token@v3
         id: app-token
         with:
           app-id: ${{ vars.APP_ID }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/.github/workflows/test.yml 
new/jupyter_ydoc-3.5.0/.github/workflows/test.yml
--- old/jupyter_ydoc-3.4.0/.github/workflows/test.yml   2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/.github/workflows/test.yml   2026-06-03 
16:13:25.000000000 +0200
@@ -43,7 +43,7 @@
       - name: Checkout repository
         uses: actions/checkout@v6
       - name: Install mamba
-        uses: mamba-org/setup-micromamba@v2
+        uses: mamba-org/setup-micromamba@v3
         with:
           environment-name: jupyter_ydoc
       - name: Install dependencies
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/.pre-commit-config.yaml 
new/jupyter_ydoc-3.5.0/.pre-commit-config.yaml
--- old/jupyter_ydoc-3.4.0/.pre-commit-config.yaml      2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/.pre-commit-config.yaml      2026-06-03 
16:13:25.000000000 +0200
@@ -17,7 +17,7 @@
         exclude: ^\.yarn
 
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.14.14
+    rev: v0.15.11
     hooks:
       - id: ruff
         args: [--fix, --show-fixes]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/CHANGELOG.md 
new/jupyter_ydoc-3.5.0/CHANGELOG.md
--- old/jupyter_ydoc-3.4.0/CHANGELOG.md 2026-02-06 15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/CHANGELOG.md 2026-06-03 16:13:25.000000000 +0200
@@ -2,6 +2,55 @@
 
 <!-- <START NEW CHANGELOG ENTRY> -->
 
+## 3.5.0
+
+([Full 
Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/[email protected]))
+
+### Maintenance and upkeep improvements
+
+- Bump pycrdt v0.13.0 
[#412](https://github.com/jupyter-server/jupyter_ydoc/pull/412) 
([@davidbrochart](https://github.com/davidbrochart))
+
+### Contributors to this release
+
+The following people contributed discussions, new ideas, code and 
documentation contributions, and review.
+See [our definition of 
contributors](https://github-activity.readthedocs.io/en/latest/use/#how-does-this-tool-define-contributions-in-the-reports).
+
+([GitHub contributors page for this 
release](https://github.com/jupyter-server/jupyter_ydoc/graphs/contributors?from=2026-04-14&to=2026-06-03&type=c))
+
+@davidbrochart 
([activity](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2026-04-14..2026-06-03&type=Issues))
 | @krassowski 
([activity](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Akrassowski+updated%3A2026-04-14..2026-06-03&type=Issues))
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
+## 3.4.1
+
+([Full 
Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/[email protected]))
+
+### Enhancements made
+
+- Make undo/redo return true if changes are done 
[#404](https://github.com/jupyter-server/jupyter_ydoc/pull/404) 
([@davidbrochart](https://github.com/davidbrochart), 
[@krassowski](https://github.com/krassowski))
+
+### Bugs fixed
+
+- Add a fast path for intial set when opening large textual file 
[#403](https://github.com/jupyter-server/jupyter_ydoc/pull/403) 
([@krassowski](https://github.com/krassowski), 
[@davidbrochart](https://github.com/davidbrochart))
+
+### Maintenance and upkeep improvements
+
+- Bump actions/upload-artifact from 6 to 7 
[#390](https://github.com/jupyter-server/jupyter_ydoc/pull/390) 
([@davidbrochart](https://github.com/davidbrochart))
+
+### Other merged PRs
+
+- Bump mamba-org/setup-micromamba from 2 to 3 
[#398](https://github.com/jupyter-server/jupyter_ydoc/pull/398) 
([@davidbrochart](https://github.com/davidbrochart))
+- Bump actions/create-github-app-token from 2 to 3 
[#394](https://github.com/jupyter-server/jupyter_ydoc/pull/394) 
([@davidbrochart](https://github.com/davidbrochart))
+
+### Contributors to this release
+
+The following people contributed discussions, new ideas, code and 
documentation contributions, and review.
+See [our definition of 
contributors](https://github-activity.readthedocs.io/en/latest/use/#how-does-this-tool-define-contributions-in-the-reports).
+
+([GitHub contributors page for this 
release](https://github.com/jupyter-server/jupyter_ydoc/graphs/contributors?from=2026-02-06&to=2026-04-14&type=c))
+
+@davidbrochart 
([activity](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2026-02-06..2026-04-14&type=Issues))
 | @krassowski 
([activity](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Akrassowski+updated%3A2026-02-06..2026-04-14&type=Issues))
+
 ## 3.4.0
 
 ([Full 
Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/[email protected]))
@@ -19,8 +68,6 @@
 
 @davidbrochart 
([activity](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2026-02-05..2026-02-06&type=Issues))
 | @krassowski 
([activity](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Akrassowski+updated%3A2026-02-05..2026-02-06&type=Issues))
 
-<!-- <END NEW CHANGELOG ENTRY> -->
-
 ## 3.3.6
 
 ([Full 
Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/[email protected]))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/javascript/package.json 
new/jupyter_ydoc-3.5.0/javascript/package.json
--- old/jupyter_ydoc-3.4.0/javascript/package.json      2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/javascript/package.json      2026-06-03 
16:13:25.000000000 +0200
@@ -1,6 +1,6 @@
 {
     "name": "@jupyter/ydoc",
-    "version": "3.4.0",
+    "version": "3.5.0",
     "type": "module",
     "description": "Jupyter document structures for collaborative editing 
using YJS",
     "homepage": "https://github.com/jupyter-server/jupyter_ydoc";,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/javascript/src/api.ts 
new/jupyter_ydoc-3.5.0/javascript/src/api.ts
--- old/jupyter_ydoc-3.4.0/javascript/src/api.ts        2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/javascript/src/api.ts        2026-06-03 
16:13:25.000000000 +0200
@@ -49,13 +49,17 @@
 export interface ISharedBase extends IObservableDisposable {
   /**
    * Undo an operation.
+   *
+   * @returns Whether a change was made.
    */
-  undo(): void;
+  undo(): boolean;
 
   /**
    * Redo an operation.
+   *
+   * @returns Whether a change was made.
    */
-  redo(): void;
+  redo(): boolean;
 
   /**
    * Whether the object can redo changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/javascript/src/ycell.ts 
new/jupyter_ydoc-3.5.0/javascript/src/ycell.ts
--- old/jupyter_ydoc-3.4.0/javascript/src/ycell.ts      2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/javascript/src/ycell.ts      2026-06-03 
16:13:25.000000000 +0200
@@ -322,15 +322,15 @@
   /**
    * Undo an operation.
    */
-  undo(): void {
-    this.undoManager?.undo();
+  undo(): boolean {
+    return !!this.undoManager?.undo();
   }
 
   /**
    * Redo an operation.
    */
-  redo(): void {
-    this.undoManager?.redo();
+  redo(): boolean {
+    return !!this.undoManager?.redo();
   }
 
   /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/javascript/src/ydocument.ts 
new/jupyter_ydoc-3.5.0/javascript/src/ydocument.ts
--- old/jupyter_ydoc-3.4.0/javascript/src/ydocument.ts  2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/javascript/src/ydocument.ts  2026-06-03 
16:13:25.000000000 +0200
@@ -180,15 +180,15 @@
   /**
    * Undo an operation.
    */
-  undo(): void {
-    this.undoManager.undo();
+  undo(): boolean {
+    return !!this.undoManager.undo();
   }
 
   /**
    * Redo an operation.
    */
-  redo(): void {
-    this.undoManager.redo();
+  redo(): boolean {
+    return !!this.undoManager.redo();
   }
 
   /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/jupyter_ydoc/yunicode.py 
new/jupyter_ydoc-3.5.0/jupyter_ydoc/yunicode.py
--- old/jupyter_ydoc-3.4.0/jupyter_ydoc/yunicode.py     2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/jupyter_ydoc/yunicode.py     2026-06-03 
16:13:25.000000000 +0200
@@ -74,6 +74,12 @@
             # to avoid side-effects such as cursor jumping to the top
             return
 
+        # Fast path for first load: avoid expensive byte diffing when the
+        # document has no content yet (e.g. opening very large text files).
+        if not old_value and value:
+            self._ysource += value
+            return
+
         before_bytes = old_value.encode("utf-8")
         after_bytes = value.encode("utf-8")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/pyproject.toml 
new/jupyter_ydoc-3.5.0/pyproject.toml
--- old/jupyter_ydoc-3.4.0/pyproject.toml       2026-02-06 15:13:17.000000000 
+0100
+++ new/jupyter_ydoc-3.5.0/pyproject.toml       2026-06-03 16:13:25.000000000 
+0200
@@ -13,7 +13,7 @@
 keywords = ["jupyter", "pycrdt", "yjs"]
 dependencies = [
     "anyio >=4.12.1,<5.0.0",
-    "pycrdt >=0.10.1,<0.13.0",
+    "pycrdt >=0.13.0,<0.14.0",
 ]
 
 [[project.authors]]
@@ -29,9 +29,10 @@
 test = [
     "pre-commit",
     "pytest",
+    "pytest-timeout",
     "httpx-ws >=0.5.2",
     "hypercorn >=0.16.0",
-    "pycrdt-websocket >=0.16.0,<0.17.0",
+    "pycrdt-websocket >=0.16.1,<0.17.0",
     "coverage",
     "mypy",
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_ydoc-3.4.0/tests/test_yunicode.py 
new/jupyter_ydoc-3.5.0/tests/test_yunicode.py
--- old/jupyter_ydoc-3.4.0/tests/test_yunicode.py       2026-02-06 
15:13:17.000000000 +0100
+++ new/jupyter_ydoc-3.5.0/tests/test_yunicode.py       2026-06-03 
16:13:25.000000000 +0200
@@ -191,6 +191,17 @@
     ]
 
 
[email protected](15)
+def test_set_fast_path_for_large_initial_content():
+    text = YUnicode()
+
+    # Simulate opening a large (1GB) text file from an empty document.
+    large_content = "a" * (1024 * 1024 * 1024)
+    text.set(large_content)
+
+    assert text.get() == large_content
+
+
 @pytest.mark.parametrize(
     "initial, updated, granular",
     [

++++++ jupyter_ydoc-3.4.0-gh.tar.gz -> jupyter_ydoc-3.5.0.tar.gz ++++++
++++ 6981 lines of diff (skipped)

++++++ node_modules.tar.xz ++++++
/work/SRC/openSUSE:Factory/python-jupyter-ydoc/node_modules.tar.xz 
/work/SRC/openSUSE:Factory/.python-jupyter-ydoc.new.11887/node_modules.tar.xz 
differ: char 15, line 1

++++++ update-js-deps.patch ++++++
Index: jupyter_ydoc-3.5.0/package.json
===================================================================
--- jupyter_ydoc-3.5.0.orig/package.json
+++ jupyter_ydoc-3.5.0/package.json
@@ -11,5 +11,9 @@
     "build": "cd javascript && yarn run build",
     "test": "cd javascript && yarn run build:test && yarn run test"
   },
-  "packageManager": "[email protected]"
+  "packageManager": "[email protected]",
+  "resolutions": {
+    "ws": ">=8.21.0",
+    "brace-expansion": ">=5.0.6"
+  }
 }

Reply via email to