Skip to content

build: upgrade Vaadin to 25.3.0-rc1 - #184

Merged
jcgueriaud1 merged 1 commit into
masterfrom
build/vaadin-bump
Sep 22, 2026
Merged

jcgueriaud1 merged 1 commit into
masterfrom
build/vaadin-bump

Conversation

@jcgueriaud1

@jcgueriaud1 jcgueriaud1 commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Bumps <vaadin.version> from 25.3.0-beta1 to 25.3.0-rc1, the newest published platform version (2026-09-21).

Why it needed #183 first

rc1 changes the order in which Flow serializes combined theme variants into the theme attribute — addThemeVariants(LUMO_PRIMARY, LUMO_SMALL) rendered as small primary on beta1 and renders as primary small on rc1. Against the old whole-string assertTheme, this bump failed one test:

ButtonViewIT.testHasThemeVariant:50 Locator expected to have attribute 'theme'
Expected: small primary
Received: primary small

#183 made assertTheme order-insensitive and is already on master, so this branch is green on top of it.

Default bundle

Per #119, a Vaadin bump also needs src/main/frontend/index.html to match the new version's default template, or the build stops using Vaadin's pre-built default bundle and every IT fails. Checked: the committed index.html is byte-identical to the template bundled in flow-server 25.3.0-rc2 (what rc1 resolves to), so no sync is needed, and the build log confirms "a development mode bundle build is not needed".

Testing

Full local mvn verify on rc1 with the #183 fix applied: 717 tests, 0 failures. Without the fix: 717 tests, 1 failure (the one quoted above).

🤖 Generated with Claude Code

25.3.0-rc1 is where the `theme` attribute starts serializing combined
variants as `primary small` rather than `small primary`, which the
preceding commit's unordered assertTheme handles.

src/main/frontend/index.html already matches the default template
bundled in flow-server 25.3.0-rc2, so no sync is needed and the build
keeps using Vaadin's pre-built default bundle ("a development mode
bundle build is not needed").

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jcgueriaud1
jcgueriaud1 merged commit ce39b4f into master Sep 22, 2026
1 check passed
@jcgueriaud1
jcgueriaud1 deleted the build/vaadin-bump branch September 22, 2026 11:31
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