From d5a8924de0a5dae0efad98d70c2813d325b94bc1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 07:12:33 +0000 Subject: [PATCH] Version Packages --- .changeset/fix-import-older-versions.md | 6 ----- .changeset/turtle-speed-hops.md | 28 ----------------------- packages/hyperbook/CHANGELOG.md | 30 +++++++++++++++++++++++++ packages/hyperbook/package.json | 2 +- packages/markdown/CHANGELOG.md | 30 +++++++++++++++++++++++++ packages/markdown/package.json | 2 +- platforms/vscode/CHANGELOG.md | 7 ++++++ platforms/vscode/package.json | 2 +- 8 files changed, 70 insertions(+), 37 deletions(-) delete mode 100644 .changeset/fix-import-older-versions.md delete mode 100644 .changeset/turtle-speed-hops.md diff --git a/.changeset/fix-import-older-versions.md b/.changeset/fix-import-older-versions.md deleted file mode 100644 index 5d2c64637..000000000 --- a/.changeset/fix-import-older-versions.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@hyperbook/markdown": patch -hyperbook: patch ---- - -Fix importing JSON exports from older Dexie database versions. The manual import now passes `acceptVersionDiff` and `acceptMissingTables` (matching the cloud import path) and re-applies v6/v7 data migrations to imported rows. diff --git a/.changeset/turtle-speed-hops.md b/.changeset/turtle-speed-hops.md deleted file mode 100644 index 04a7324c5..000000000 --- a/.changeset/turtle-speed-hops.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -"@hyperbook/markdown": patch -hyperbook: patch ---- - -**pyide turtle**: `speed()` now animates like CPython's `turtle` module. - -Previously `speed()` set the inter-command delay to `300 / speed`, so the turtle jumped a whole -command at a time and only the pause between commands changed; `speed(10.2)` and `speed(10.4)` were -indistinguishable from `speed(10)`, and `speed(11)` snapped to instant. Moves and turns are now -split into sub-steps (hops) using CPython's formulas — `1 + int(distance / (3 * 1.1**speed * speed))` -for moves and `1 + int(abs(angle) / (3 * speed))` for turns — so the line visibly crawls along its -path and higher speeds draw in fewer, larger chunks. `delay()` / `tracer()` once again control the -per-hop screen delay independently (default 10 ms, matching CPython), instead of being overwritten -by `speed()`. - -As in CPython, the hops are transient: they animate the cursor and stretch a throwaway line from the -start of the move, and only the move's endpoint becomes permanent geometry. Subdivision is also -skipped entirely when `speed(0)` is set or `tracer()` is anything other than 1, matching CPython's -`if self._speed and screen._tracing == 1` guard. - -`setheading()` (and `home()`, which uses it) now folds the turn into `[-180, 180)` before rotating, -so it always takes the short way round — `left(270)` followed by `setheading(0)` turns 90° counter- -clockwise, not 270° clockwise. `left()` / `right()` still sweep the raw angle they were given, so -`left(360)` animates a full revolution. - -Because the default delay drops from 80 ms to CPython's 10 ms, existing books will draw noticeably -faster at the default `speed(3)` for short moves, while long moves keep a comparable overall pace. diff --git a/packages/hyperbook/CHANGELOG.md b/packages/hyperbook/CHANGELOG.md index bccacfcd6..2a610e255 100644 --- a/packages/hyperbook/CHANGELOG.md +++ b/packages/hyperbook/CHANGELOG.md @@ -1,5 +1,35 @@ # hyperbook +## 0.107.7 + +### Patch Changes + +- [`eae4590`](https://github.com/openpatch/hyperbook/commit/eae45909fcc9889d40f66c3e5e86f58c47ea206c) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Fix importing JSON exports from older Dexie database versions. The manual import now passes `acceptVersionDiff` and `acceptMissingTables` (matching the cloud import path) and re-applies v6/v7 data migrations to imported rows. + +- [#1181](https://github.com/openpatch/hyperbook/pull/1181) [`d35a75f`](https://github.com/openpatch/hyperbook/commit/d35a75f7db10ff218443f81d42614d97e35a73bb) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - **pyide turtle**: `speed()` now animates like CPython's `turtle` module. + + Previously `speed()` set the inter-command delay to `300 / speed`, so the turtle jumped a whole + command at a time and only the pause between commands changed; `speed(10.2)` and `speed(10.4)` were + indistinguishable from `speed(10)`, and `speed(11)` snapped to instant. Moves and turns are now + split into sub-steps (hops) using CPython's formulas — `1 + int(distance / (3 * 1.1**speed * speed))` + for moves and `1 + int(abs(angle) / (3 * speed))` for turns — so the line visibly crawls along its + path and higher speeds draw in fewer, larger chunks. `delay()` / `tracer()` once again control the + per-hop screen delay independently (default 10 ms, matching CPython), instead of being overwritten + by `speed()`. + + As in CPython, the hops are transient: they animate the cursor and stretch a throwaway line from the + start of the move, and only the move's endpoint becomes permanent geometry. Subdivision is also + skipped entirely when `speed(0)` is set or `tracer()` is anything other than 1, matching CPython's + `if self._speed and screen._tracing == 1` guard. + + `setheading()` (and `home()`, which uses it) now folds the turn into `[-180, 180)` before rotating, + so it always takes the short way round — `left(270)` followed by `setheading(0)` turns 90° counter- + clockwise, not 270° clockwise. `left()` / `right()` still sweep the raw angle they were given, so + `left(360)` animates a full revolution. + + Because the default delay drops from 80 ms to CPython's 10 ms, existing books will draw noticeably + faster at the default `speed(3)` for short moves, while long moves keep a comparable overall pace. + ## 0.107.6 ### Patch Changes diff --git a/packages/hyperbook/package.json b/packages/hyperbook/package.json index da0bf489f..ccde07bf2 100644 --- a/packages/hyperbook/package.json +++ b/packages/hyperbook/package.json @@ -1,6 +1,6 @@ { "name": "hyperbook", - "version": "0.107.6", + "version": "0.107.7", "author": "Mike Barkmin", "homepage": "https://github.com/openpatch/hyperbook#readme", "license": "MIT", diff --git a/packages/markdown/CHANGELOG.md b/packages/markdown/CHANGELOG.md index 1a5a49d25..4bbde2787 100644 --- a/packages/markdown/CHANGELOG.md +++ b/packages/markdown/CHANGELOG.md @@ -1,5 +1,35 @@ # @hyperbook/markdown +## 0.79.4 + +### Patch Changes + +- [`eae4590`](https://github.com/openpatch/hyperbook/commit/eae45909fcc9889d40f66c3e5e86f58c47ea206c) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Fix importing JSON exports from older Dexie database versions. The manual import now passes `acceptVersionDiff` and `acceptMissingTables` (matching the cloud import path) and re-applies v6/v7 data migrations to imported rows. + +- [#1181](https://github.com/openpatch/hyperbook/pull/1181) [`d35a75f`](https://github.com/openpatch/hyperbook/commit/d35a75f7db10ff218443f81d42614d97e35a73bb) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - **pyide turtle**: `speed()` now animates like CPython's `turtle` module. + + Previously `speed()` set the inter-command delay to `300 / speed`, so the turtle jumped a whole + command at a time and only the pause between commands changed; `speed(10.2)` and `speed(10.4)` were + indistinguishable from `speed(10)`, and `speed(11)` snapped to instant. Moves and turns are now + split into sub-steps (hops) using CPython's formulas — `1 + int(distance / (3 * 1.1**speed * speed))` + for moves and `1 + int(abs(angle) / (3 * speed))` for turns — so the line visibly crawls along its + path and higher speeds draw in fewer, larger chunks. `delay()` / `tracer()` once again control the + per-hop screen delay independently (default 10 ms, matching CPython), instead of being overwritten + by `speed()`. + + As in CPython, the hops are transient: they animate the cursor and stretch a throwaway line from the + start of the move, and only the move's endpoint becomes permanent geometry. Subdivision is also + skipped entirely when `speed(0)` is set or `tracer()` is anything other than 1, matching CPython's + `if self._speed and screen._tracing == 1` guard. + + `setheading()` (and `home()`, which uses it) now folds the turn into `[-180, 180)` before rotating, + so it always takes the short way round — `left(270)` followed by `setheading(0)` turns 90° counter- + clockwise, not 270° clockwise. `left()` / `right()` still sweep the raw angle they were given, so + `left(360)` animates a full revolution. + + Because the default delay drops from 80 ms to CPython's 10 ms, existing books will draw noticeably + faster at the default `speed(3)` for short moves, while long moves keep a comparable overall pace. + ## 0.79.3 ### Patch Changes diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 0e565eee1..417e893d2 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@hyperbook/markdown", - "version": "0.79.3", + "version": "0.79.4", "author": "Mike Barkmin", "homepage": "https://github.com/openpatch/hyperbook#readme", "license": "MIT", diff --git a/platforms/vscode/CHANGELOG.md b/platforms/vscode/CHANGELOG.md index 003db5100..2cdd6a38f 100644 --- a/platforms/vscode/CHANGELOG.md +++ b/platforms/vscode/CHANGELOG.md @@ -1,5 +1,12 @@ # @hyperbook/vscode-extension +## 0.55.4 + +### Patch Changes + +- Updated dependencies [[`eae4590`](https://github.com/openpatch/hyperbook/commit/eae45909fcc9889d40f66c3e5e86f58c47ea206c), [`d35a75f`](https://github.com/openpatch/hyperbook/commit/d35a75f7db10ff218443f81d42614d97e35a73bb)]: + - @hyperbook/markdown@0.79.4 + ## 0.55.3 ### Patch Changes diff --git a/platforms/vscode/package.json b/platforms/vscode/package.json index 430884a0e..752f418d2 100644 --- a/platforms/vscode/package.json +++ b/platforms/vscode/package.json @@ -11,7 +11,7 @@ }, "homepage": "https://hyperbook.openpatch.org", "main": "./out/extension.js", - "version": "0.55.3", + "version": "0.55.4", "engines": { "vscode": "^1.125.0" },