From 55b8e6380c25a74c20fc192c59b0196f1cdfe540 Mon Sep 17 00:00:00 2001 From: Bui Thanh Son <82097639+kuroshiro1902@users.noreply.github.com> Date: Thu, 27 Nov 2025 19:59:47 +0700 Subject: [PATCH 1/2] fix: add UTF-8 encoding for async migrations file reading (#279) Add UTF-8 encoding when opening migration files. --- open_notebook/database/async_migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open_notebook/database/async_migrate.py b/open_notebook/database/async_migrate.py index de24b07..f305758 100644 --- a/open_notebook/database/async_migrate.py +++ b/open_notebook/database/async_migrate.py @@ -22,7 +22,7 @@ class AsyncMigration: @classmethod def from_file(cls, file_path: str) -> "AsyncMigration": """Create migration from SQL file.""" - with open(file_path, "r") as file: + with open(file_path, "r", encoding="utf-8") as file: raw_content = file.read() # Clean up SQL content lines = [] From 2084b04f4da3188f7f6ad574b2a836da166bc10c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Nov 2025 11:36:56 -0300 Subject: [PATCH 2/2] chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 in /frontend (#263) Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.1.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- frontend/package-lock.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 3bc1c93..01303b0 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -6084,10 +6084,11 @@ "dev": true }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" },