Upgrade to DoenetML 0.7.21 and drop the parking standaloneUrl workaround - #47
Merged
Merged
Conversation
Release 0.7.21 ships the dark-mode and memory/coordination work from the recent PRs, and gates windowed-mounting "parking" on version >= 0.7.21 (PARK_MIN_VERSION in the iframe wrapper). - Bump @doenet/doenetml-iframe to 0.7.21 (peer + dev) and refresh the lock. - Update the sample activity (dev/testActivity.json) documents to 0.7.21. - Windowed cypress specs pinned their docs at 0.7.4 and passed a host-specified standaloneUrl purely so the wrapper would treat the viewers as parking-capable. With docs at 0.7.21 parking is gated on by version, so drop the standaloneUrl/cssUrl props and the now-dead WINDOWED_STANDALONE_* helpers; the bundle/CSS auto-resolve from version. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
Release 0.7.21 ships the dark-mode and memory/coordination work from the recent PRs (#42–#45), and gates windowed-mounting parking on version ≥ 0.7.21 (
PARK_MIN_VERSIONin the iframe wrapper). This upgrades the dependency and updates every DoenetML version reference to0.7.21.Changes
@doenet/doenetml-iframeto0.7.21(peer^0.7.21+ dev0.7.21) and refreshpackage-lock.json.versionindev/testActivity.jsonto0.7.21.0.7.4and passed a host-specifiedstandaloneUrlpurely so the wrapper would treat the viewers as parking-capable. With docs at0.7.21, parking is gated on by version, so:standaloneUrl/cssUrlprops from both mounts (bundle/CSS auto-resolve from the doc version),WINDOWED_STANDALONE_URL/WINDOWED_STANDALONE_CSS_URLhelpers and their comment.@doenet/assignment-viewerto0.1.0-alpha-16.The
darkModeandviewerUrlsspecs still pass the genericSTANDALONE_URLfor their own rendering assertions (not parking) and are left unchanged.Notes
src/test/collectDoenetmlVersions.test.tsintentionally use mixed versions (0.7.4,0.6.5,0.7) to exercise mixed-version detection, so they are deliberately left as-is.@doenet/doenetml-iframe@0.7.21and@doenet/standalone@0.7.21are published;npm run build,tsc --noEmit, and the vitest suite all pass.🤖 Generated with Claude Code