Version Packages - #1182
Merged
Merged
Version Packages#1182
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
hyperbook@0.107.7
Patch Changes
eae4590Thanks @mikebarkmin! - Fix importing JSON exports from older Dexie database versions. The manual import now passesacceptVersionDiffandacceptMissingTables(matching the cloud import path) and re-applies v6/v7 data migrations to imported rows.#1181
d35a75fThanks @mikebarkmin! - pyide turtle:speed()now animates like CPython'sturtlemodule.Previously
speed()set the inter-command delay to300 / speed, so the turtle jumped a wholecommand at a time and only the pause between commands changed;
speed(10.2)andspeed(10.4)wereindistinguishable from
speed(10), andspeed(11)snapped to instant. Moves and turns are nowsplit 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 itspath and higher speeds draw in fewer, larger chunks.
delay()/tracer()once again control theper-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 ortracer()is anything other than 1, matching CPython'sif self._speed and screen._tracing == 1guard.setheading()(andhome(), which uses it) now folds the turn into[-180, 180)before rotating,so it always takes the short way round —
left(270)followed bysetheading(0)turns 90° counter-clockwise, not 270° clockwise.
left()/right()still sweep the raw angle they were given, soleft(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.@hyperbook/markdown@0.79.4
Patch Changes
eae4590Thanks @mikebarkmin! - Fix importing JSON exports from older Dexie database versions. The manual import now passesacceptVersionDiffandacceptMissingTables(matching the cloud import path) and re-applies v6/v7 data migrations to imported rows.#1181
d35a75fThanks @mikebarkmin! - pyide turtle:speed()now animates like CPython'sturtlemodule.Previously
speed()set the inter-command delay to300 / speed, so the turtle jumped a wholecommand at a time and only the pause between commands changed;
speed(10.2)andspeed(10.4)wereindistinguishable from
speed(10), andspeed(11)snapped to instant. Moves and turns are nowsplit 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 itspath and higher speeds draw in fewer, larger chunks.
delay()/tracer()once again control theper-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 ortracer()is anything other than 1, matching CPython'sif self._speed and screen._tracing == 1guard.setheading()(andhome(), which uses it) now folds the turn into[-180, 180)before rotating,so it always takes the short way round —
left(270)followed bysetheading(0)turns 90° counter-clockwise, not 270° clockwise.
left()/right()still sweep the raw angle they were given, soleft(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.hyperbook-studio@0.55.4
Patch Changes
eae4590,d35a75f]: