Skip to content

feat!: update the default renderer to thrasos#9976

Merged
maribethb merged 1 commit into
RaspberryPiFoundation:v13from
maribethb:thrasos
Jun 11, 2026
Merged

feat!: update the default renderer to thrasos#9976
maribethb merged 1 commit into
RaspberryPiFoundation:v13from
maribethb:thrasos

Conversation

@maribethb

Copy link
Copy Markdown
Contributor

The basics

The details

Proposed Changes

  • Updates the default renderer to thrasos from geras
  • Forces a test that relied on geras logic to explicitly specify its renderer
  • Updates the documentation to note the new default

Reason for Changes

geras is the old style, thrasos has been our recommended renderer for a while now. each block has 1/3 fewer dom elements associated with it, so it should be more performant as well.

Test Coverage

updated

Documentation

updated

BREAKING CHANGES

This change only affects you if you intended to use the geras renderer but did not specify it explicitly in the options. We recommend that you use the thrasos renderer in this case. See the screenshots for comparisons; the changes are subtle enough that you do not necessarily have to update any of your visual resources. Because there are fewer dom elements, you may see increased performance on large workspaces.

If you wish to continue using the geras renderer, you need only specify the option when you inject Blockly.

Screenshot 2026-06-11 at 3 13 46 PM

above: thrasos (new default)

Screenshot 2026-06-11 at 3 13 33 PM

above: geras (old default)

@maribethb maribethb requested a review from mikeharv June 11, 2026 19:21
@maribethb maribethb requested a review from a team as a code owner June 11, 2026 19:21
@github-actions github-actions Bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: feature Adds a feature labels Jun 11, 2026
@maribethb maribethb enabled auto-merge (squash) June 11, 2026 19:25

@mikeharv mikeharv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@maribethb maribethb merged commit c4f28c6 into RaspberryPiFoundation:v13 Jun 11, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants