Skip to content

Upgrade pxt-core to v12.2.34 (stable12.2)#19

Merged
jeperkins4 merged 584 commits into
custom/masterfrom
upgrade-to-v12.2.34
May 28, 2026
Merged

Upgrade pxt-core to v12.2.34 (stable12.2)#19
jeperkins4 merged 584 commits into
custom/masterfrom
upgrade-to-v12.2.34

Conversation

@jeperkins4

Copy link
Copy Markdown

What

Brings the littleBits pxt fork up to date with upstream MakeCode stable12.2 (pxt-core v12.2.34) by merging the v12.2.34 tag into the LB custom/master customization line.

Why

The FUSE editor (p2-studio public/MakeCodeLBOS) is built from this fork. It was effectively on a pre-v12 base (the vendored build reported pxt 5.28.6), and an in-progress local-only upgrade-to-v12.1.14 branch was never landed. This lands the upgrade on the fork and moves it off the stale 12.1.14 to the current stable12.2 channel.

Notes

  • Merge was clean: the only conflict was the package.json version string (resolved to 12.2.34). All LB in-core customizations (sidebar redesign, custom colors, toolbox filtering, debugger/matrix patches) auto-merged without conflict.
  • Dependency bumps come in from upstream: blockly 12.2.0 → 12.3.1, gulp 4 → 5, postcss 6 → 8, cssnano, marked, terser, etc.
  • Build requires Node ≥18 (engines); built and verified under Node 20. The repo .nvmrc (Node 10) is stale and should be updated separately.
  • Paired with the pxt-lb theme re-port for Blockly v12 (.blocklyToolboxDiv.blocklyToolbox, new .blocklyTreeRowContentContainer) and the p2-studio re-vendor.

Verification

Built the target with pxt staticpkg --route MakeCodeLBOS; output target.json reports "pxt": "12.2.34". Verified live in the FUSE /coding editor: toolbox + custom theme render correctly.

🤖 Generated with Claude Code

thsparks and others added 30 commits July 14, 2025 14:29
We're using a patch to handle the custom minecraft background, but a (somewhat) recent Blockly update has changed how the pattern is referenced, so we now need to set the --blocklyGridPattern var. (Previously, it would just reference the id directly.)
…10768)

This PR also:
- adds an editor controller message to show the theme
picker
- fixes the iframe message for togglehighcontrast
- returns the keyboard controls state in the info iframe msg

At the moment, togglehighcontrast only takes effect once the
editor is reloaded.

Co-authored-by: Thomas Sparks <69657545+thsparks@users.noreply.github.com>
…10772)

Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
…screen minisim (microsoft#10773)

Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
* Tab navigation improvement for the docs sidebar

* Add missing keys and tweak spacing.

---------

Co-authored-by: Matt Hillsdon <matt.hillsdon@microbit.org>
Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
This change provides a way for the user to trigger a reload of the project when it occurs.

Previously, if the shareId didn't change, the project wouldn't reload, even if you clicked enter in the input field. With this change, we force the reload even if shareId remains the same. This was a little weird to do, since we rely on the shareId state update to trigger the normal iframe reload, but by adding a simple counter to increment in addition to the URL, we can force that code to run even if shareId is the same.
* initial import

* some initial formatting

* first chuck of images

* second chunk of images

* third chunk of images

* update blog main and SUMMARY

---------

Co-authored-by: Jacqueline Russell <jacqueline.russell@microsoft.com>
* implement more of python's std lib

* fixes and tests
* add dropdown options to block search fields

* other types of drop downs
This adds some debounce logic before we display the error list in the monaco editor, which is reset by any additional incoming errors or by any user typing.

I don't think we want this for blocks, since those errors are more immediately relevant (no mid-word typing scenarios), hence keeping the changes confined to monaco.
* Don't show the AI error help button in electron

* Only show forceEnableAiErrorHelp experiment when online
* Fix inverted toolbox in high contrast

* Fix border for advanced toolbox categories

* Remove unnecessary styling for hint button

* Fix some layout for the grid picker (update old css class name) and fix the tooltip z-index so it's above the grid picker.
* Fix search icon. Search has its meta color hard coded to black (which makes sense for non-hc themes), but we need to ignore it here.

* Fix button icons in editor dropdown so they don't clicker when clicked, and also ensure the down arrow has the correct color. (Styling was shared between the dropdown item icons and the main down arrow, now it's separate.) Also, move to hc overrides file.

* More contrast for user-provided content header in high contrast mode

* Fix search icon for inverted, non-inverted, and hc toolbox scenarios

---------

Co-authored-by: Abhijith Chatra <abchatra@microsoft.com>
* add arm builds below existing builds

* add a 'recommended' to help guide towards right download

* enable windows button, waiting on test build
This PR maintains the existing behaviour of rendering the untrimmed README.md content into the sidebar.
Added accessibility resources for MakeCode micro:bit.
…10812)

* Init context menu before init accessible blocks

* Add initContextMenu into initializeAndInjext

* Remove trailing whitespace in comment

---------

Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
* refactor asset collections

* JSON asset type

* more json stuff

* drag and drop

* fixes
riknoll and others added 28 commits February 12, 2026 19:39
)

* put imported tiles into a custom tilemap gallery (microsoft#11112)

* allow users to delete project descriptions (microsoft#11113)

* fix font for animation icon in animation field editor (microsoft#11114)

* copilot generated: add media queries for print view (microsoft#11110)

* fix tile gallery not showing up when editing tile (microsoft#11115)

* prevent debugger toolbox from scrolling horizontally (microsoft#11120)

* Fix blockly dropdown scroll and media not being copied properly (microsoft#11119)

* add scroll to blockly dropdown content

* fix piping of blockly media files

* keep the error list collapsed if collapsed by user (microsoft#11121)

* add monkey patch workaround for blockly focus issue when deleting block (microsoft#11122)

* bring back the old mixer play instructions (microsoft#11123)

* fix missing gallery, don't import gallery tiles into my tiles, fix null listener (microsoft#11125)

---------

Co-authored-by: Sarah Rietkerk <49178322+srietkerk@users.noreply.github.com>
* Fix report abuse in electron app (microsoft#11178)

* fix share homescreen content in electron

* remove recommended for mac offline since it's not accurately detecting

* do not recommend at all for now

Comment out Windows ARM download logic and set recommendedButton to null.
pxt-core 12.2.34 requires Node >=18; the old README minimum (v8) was stale.
Verified: full gulp build runs clean under Node 24.16.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jeperkins4 jeperkins4 merged commit 689eaf5 into custom/master May 28, 2026
16 checks passed
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.