Skip to content

chore(deps): bump doenetml-iframe and v06-to-v07 to 0.7.27 - #3043

Merged
dqnykamp merged 1 commit into
Doenet:mainfrom
dqnykamp:bump-doenetml-0.7.27
Sep 20, 2026
Merged

dqnykamp merged 1 commit into
Doenet:mainfrom
dqnykamp:bump-doenetml-0.7.27

Conversation

@dqnykamp

Copy link
Copy Markdown
Member

Bumps @doenet/doenetml-iframe and @doenet/v06-to-v07 from ^0.7.24 to ^0.7.27 in apps/app, and @doenet/doenetml-iframe in apps/web.

Why

The motivating change is @doenet/v06-to-v07. Unlike the engine, it is not CDN-loaded — it is dynamically imported and bundled into the app (apps/app/src/paths/editor/DoenetMLVersionComponents.tsx:155), so the improved v06→v07 conversion script in 0.7.27 only arrives by bumping the package.

@doenet/doenetml-iframe goes along with it to keep the wrapper in lockstep with the 0.7.27 engine.

Note on which engine actually runs

doenetml-iframe does not contain the engine. It builds a CDN URL from the doenetmlVersion prop:

standaloneUrl = `https://cdn.jsdelivr.net/npm/@doenet/standalone@${selectedDoenetmlVersion}/doenet-standalone.js`

fed from doenetmlVersions.fullVersion (AssignmentViewer.tsx:600, ActivityViewer.tsx:362). So the production DB row is the real lever for the engine version and is not part of this PR. The seed already maps 0.7 → fullVersion: "latest", so dev picks up 0.7.27 with no change.

@doenet/assignment-viewer is unaffected

It does not need a republish to render with 0.7.27:

  • @doenet/doenetml-iframe is a peerDependency (^0.7.24), not a dependency — the pinned 0.7.24 in its manifest is only a devDependency for its own build/test.
  • Its dist/index.js imports exactly two externals, react and @doenet/doenetml-iframe. Nothing is bundled, so there is no second copy.

npm hoists the single copy resolved from apps/app, so assignment-viewer now renders through 0.7.27. ^0.7.24 accepts 0.7.27, so there are no peer warnings.

Verification

  • npm run build:ts — clean
  • npm run build:assets — app and web both build
  • npm run lint:check — clean across all workspaces

Worth a manual smoke test of a real assignment, since assignment-viewer was built against the 0.7.24 wrapper's prop/postMessage surface.

🤖 Generated with Claude Code

Picks up the improved v06-to-v07 conversion script, which is bundled
into the app rather than loaded from the CDN.

@doenet/assignment-viewer takes doenetml-iframe as a peer dependency
and imports it as an external, so it renders with 0.7.27 too without
needing a republish.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dqnykamp
dqnykamp merged commit eb99c51 into Doenet:main Sep 20, 2026
16 checks passed
@dqnykamp
dqnykamp deleted the bump-doenetml-0.7.27 branch September 20, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant