Skip to content

Stability & versioning

3.0.0 is Mateu’s first stable release, and from it on Mateu commits to the rules on this page. The 3.0 pre-releases (alphas, betas, release candidates) were previews: 3.0.0 keeps no compatibility with them — anything they deprecated is gone, and an app written against one is upgraded to 3.0.0 once, with the compiler as its guide.

  • Releases are tagged vMAJOR.MINOR[-qualifier.N] and published to Maven Central under io.mateu, every artifact named mateu-* (mateu-uidl, mateu-mvc, mateu-vaadin…), with the tag’s version (3.0.0, 3.0.1, 3.1.0…). Every module of one release shares that version — never mix versions of io.mateu artifacts in one app.
  • Major (3 → 4): may break the public API or the wire. Announced in advance, with a migration guide.
  • Minor (3.0 → 3.1): new features; no breaking change to the public API or the wire. May deprecate.
  • Patch (3.0.0 → 3.0.1): fixes only.
  • Pre-releases (-rc.N of a coming minor or major): previews of that release, outside the promise — they may change anything until the release itself. They are published to the package registries only: the IDE plugins, the desktop app, the phone app’s over-the-air channel and the examples stay on the last release.

The promise covers the public surface listed under What is public API:

  • Stable API changes only through deprecation. A replacement is added, the old element is marked deprecated (naming the replacement) and both work side by side for at least one minor (Deprecation policy). Nothing stable is renamed in place.
  • Experimental API can change in any minor — that is what the marker is for. The list below is the exact boundary.
  • The wire stays additive within wireVersion 3.x (see Wire compatibility), and YAML keys follow the same add-then-deprecate rule as Java names.
  • The promise is enforced by the build, not only stated: an incompatible change to the stable API fails CI in all three backends — Java (japicmp), .NET (the pinned public surface of Mateu.Uidl) and Python (the pinned exports and signatures of mateu_ui.uidl). See Enforcement.

You can build on these; they follow the deprecation policy.

SurfaceWhere it lives
The authoring API — annotations (@UI, @Action, @Section…), interfaces (CrudStore, Listing and its capability interfaces, suppliers…), the fluent component records and data typesthe io.mateu:mateu-uidl artifact (io.mateu.uidl.*)
The archetypes and orchestrators you extend — AutoCrud, FilteredAutoCrud, Crud, Wizard, Dashboard, Foldout, HeroSearch, CollectionDetail, …their public/protected members in io.mateu:mateu-core (io.mateu.core.infra.declarative.orchestrators.*)
The wire — the JSON exchanged between backend and rendererthe wire specification, versioned by wireVersion, its fields pinned by the generated wire-schema.json; compatibility rules below. The Java DTO classes of io.mateu:mateu-dtos that model it are not under the Java binary-compatibility promise — see The wire DTOs
The authoring schemas — uidl-schema.json, routes-schema.json, sources-schema.json, specs-schema.json (YAML specs/ui/**)backend/shared/uidl/*.json, generated from the records
The HTTP contract — POST {baseUrl}/mateu/v3/…the wire specification
Build integration — annotation processor coordinates and options, mateu-bundle-maven-plugin goals and parameterstheir Maven coordinates
Adapter configuration — the mateu.* properties the guides document (mateu.cors.allowed-origins, mateu.ui.modules…) and @EnableMateuUiModules (Spring MVC / WebFlux)the adapter artifacts (mateu-mvc, mateu-webflux, …); everything else in them is internal
The .NET and Python authoring APIs — Mateu.Uidl attributes/types, mateu_ui.uidl (and mateu_ui.uidl.components) decorators/markers/componentsthe Mateu.Uidl NuGet package and the mateu-ui PyPI package; same policy, pinned by their own tests (Enforcement)

mateu-dtos is public — you can read it, and a renderer or a non-Java producer can build on the JSON it describes — but its contract is the JSON wire, not the Java classes. The wire is versioned by wireVersion and stays additive within a major (Wire compatibility); the Java records that model it are not covered by the binary-compatibility promise:

  • a new optional wire field adds a component to its DTO record, which replaces the record’s canonical constructor — harmless for the JSON, binary-incompatible for Java code that called that constructor;
  • so build DTOs through their builders (AppDto.builder()…), or better, don’t build them at all: hand Mateu the authoring API (mateu-uidl) and let it map.

The compatibility check still compares mateu-dtos against the last release and publishes the report, but it never fails the build for it, even with enforcement on. Deprecations in mateu-dtos (an enum constant that is no longer sent, an unreachable DTO) still follow the deprecation policy.

The three public modules depend on each other in one direction only, and a test (LayeringTest in mateu-uidl) keeps it that way:

  • mateu-dtos — the wire — depends on nothing Mateu. A renderer or a non-Java producer can read it without the authoring API.
  • mateu-uidl — the authoring API — depends on mateu-dtos only through a closed set of wire-boundary types: the escape hatches that hand Mateu a ready-made wire object (DtoSupplier, MapsToDto, CardRow), the request as received (HttpRequest.runActionRq() / getUiRq(), used by SearchableSelection) and the long-task stream (LongTask, ProgressReporter). Everything else in mateu-uidl is wire-agnostic; a new import of io.mateu.dtos outside that list fails the build. It never depends on mateu-core.
  • mateu-core depends on both, and maps the one onto the other.

An app module that only declares UIs needs mateu-uidl (which brings mateu-dtos along for those boundary types); it never needs mateu-core at compile time.

Several concepts exist both as an annotation and as a fluent record — @Badge on a field and new Badge(…) in a component tree — so the same simple name lives in two packages. With two star imports the bare name is ambiguous and does not compile. Java’s rule settles it: a single-type import always wins over a star import. Star-import the package you use most and import the other type explicitly:

import io.mateu.uidl.annotations.*; // @Section, @Toolbar, @Badge…
import io.mateu.uidl.data.*;
import io.mateu.uidl.data.Badge; // the record wins for the bare name `Badge`…
class Example {
@io.mateu.uidl.annotations.Badge boolean active; // …and the annotation is written qualified
Badge chip; // the record
}

The shared names (pinned by NameCollisionsTest in mateu-uidl, so a new one is a reviewed decision):

PackagesNames
annotations / dataAvatar, Badge, Breadcrumb, Breadcrumbs, BulletedList, Button, Details, FormLayout, Icon, KPI, Menu, Notice, RestAction, Rule, Status, Tab, Text, Tooltip, Validation
annotations / fluentAction, Trigger, UI
annotations / interfacesApp, Filterable, Searchable
fluent / interfacesListing (the fluent listing component / the listing contract)
data / interfacesPage (a page of rows / the routed-page marker)
data / fluentStep
with java.utilList (@List), Map, Calendar — with import java.util.* also star-imported, import java.util.List/Map explicitly

Not public — may change in any release, without deprecation:

  • anything under io.mateu.core other than the archetypes above (mappers, use cases, resolvers, infra.* internals), the adapters’ internals (mateu-mvc, mateu-webflux, …) and the generated controllers and resolvers;
  • the renderers’ JavaScript/TypeScript internals (libs/mateu, apps/*) — the contract with a renderer is the wire, not the code;
  • anything marked @Deprecated(forRemoval = true) or @Experimental (see below), or “experimental” or “internal” in its Javadoc or in these docs;
  • anything marked @io.mateu.uidl.annotations.Internal — types and members that are public only because Mateu’s own modules call them across packages (request plumbing such as HttpRequest.storeRunActionRqDto, the wire dispatch hooks of Listing/Crud, the import wizard’s built-in steps…). The compatibility check skips them like experimental API; they are listed below. Do not call or override them;
  • log messages and the text of framework-generated error messages.

Some public surfaces are still being shaped. They are marked with @io.mateu.uidl.annotations.Experimental (on a type — which covers all its members — or on a single member), and the rule for them is:

@Experimental API may change or be removed in a minor release, without the one-minor deprecation period below. Everything else in the public API follows the deprecation policy.

The API compatibility check (see Enforcement) skips anything carrying the annotation. When an experimental API is promoted, the annotation is removed in a minor release and the CHANGELOG says so; from then on it is stable.

Experimental today:

SurfaceWhere
The AI assistant chat panel and its MCP wiring@AI, the Chat component (io.mateu.uidl); the MCP endpoint (POST /mateu/mcp, off by default) and the tool projection it serves; the agent-cli modules (not published)
The new YAML authoring cataloguesfield types (types.yaml: FieldTypeEntry, FieldTypeCatalog, FieldTypeCatalogSupplier, GridColumn.tones), translations (Translations, TranslationsSupplier), environments (Environment), YAML access keys (Access), the project descriptor (ProjectSettings, ProjectRenderer) and sample data on REST sources (RestDataSource.sample, RestSourceEntry.sample) — the YAML shapes and the Java types behind them
Development toolinglive reload (dev mode, /mateu/dev/*), the Redwood embedded <mateu-ui> JET component
The Figma design-to-code pipelinethe contract packaged at META-INF/mateu/contract.json in the uidl jar, the Figma plugin and the modux importer/codegen
The pattern-gap and PMS-parity features — not yet proven in productionthe archetype display options (Toggle, CrudDisplay, WizardDisplay, GeneralOverviewDisplay), wizard drafts and navigation hooks (Draftable, stepSkippable, beforeStepNavigate, @WizardCompletionAction(availableFromStep)), the record switcher (RecordSwitcher, RecordSwitcherSupplier), docked panels (DockedPanel), the @Section affordances (editAction/addAction/viewMoreAction), hero tones, screen-reader announcements (UICommand.announce), pre-search content, the action panel, the matrix grid, map markers, drag rows to a drop zone, access keys, card menus, calendar views, hover popovers and cell tooltips, row tones, reorderable dashboards and the shared action catalogue (actions.yaml, ActionCatalog)

The exact list, type by type, is generated from the code.

Beyond the API, three tools are in preview in 3.0 — the Figma → YAML pipeline, the visual editor and the VS Code extension — and the .NET and Python servers are supported with documented gaps; How mature each part is says what that means.

The API that joined Mateu in the last weeks before 3.0.0 is experimental in 3.0.0: it is young and keeps the freedom to change in a 3.x minor. Most of it was marked when it landed (the page templates, the micro frontends resolved in the server and @ContentSlot, the kanban drag and order, the org chart in focus, the hero overline…); the GA review marked the rest:

BackendMarked experimental at 3.0.0
Java (@Experimental)@NoCrudNavigation, DetailContentSupplier, @AI(followLabel, followingLabel), Direction.parse, Image.alt (+ Image(src, alt)), ProgressSteps.resultTitle, MicroFrontend.resolvedByServer, RouteTable.Match.params(incoming, query), HttpRequest.getRemoteAddress, GeneralOverview.recordLabel / label. @Internal (plumbing): RestDataSource.forTheClient, RestSourceCatalog.forTheClient, the archetypes’ bindRequest, MultiView.wrapView(…6 args)
.NET (Experimental (3.0-beta.N) in the doc comment — the port’s convention)Image.Alt, IDetailContentSupplier, ProgressSteps.ResultTitle, HeroSection.Overline, Welcome.HeroOverline, ArchetypeComposers.ComposeWelcome(…, heroOverline), WelcomeBannerAttribute.Overline, ICalendarPage.GoToDate / CalendarPage.GoToDate, MicroFrontend.ServerSideType / ActionId, Kanban.MoveActionId / RowsSource / ColumnField / Card / CardColors / CardRoute / OrderField, FoldoutPanel.AutoOpen, AIAttribute.FollowLabel / FollowingLabel (the micro-frontend types and OrgChart display/focus were already marked)
Python (no marker: the port has no experimental convention, so this list is the record)mateu_ui.uidl: ContentSlot, CorrelationIdProvider, DetailContentSupplier, FragmentCachePolicy, FragmentCachePolicySupplier, FragmentCacheStore, MicroFrontendResolutionEvent, MicroFrontendResolutionListener, RemoteCatalogSupplier, RemoteDescriptor, RemoteIdentityStrategy, RemoteRegistry, ResolutionOutcome, cacheable_fragment; mateu_ui.uidl.components: ContentSlot, OrgChartDisplay, Resolve

Lombok-generated members of an experimental record component (its builder setter, a withX of @With, PageView.toBuilder()) cannot carry the annotation; they follow the component they set.

Everything public in these packages is stable unless it is listed as experimental or internal here or is deprecated. The table and the lists are generated from the @Experimental / @Deprecated / @Internal markers in the sources (by ApiStabilityListTest in mateu-uidl, which fails the build when this page is stale), so they are exactly what the compatibility check enforces. The .NET (Mateu.Uidl) and Python (mateu_ui.uidl) ports follow the same boundary for the same concepts.

ModulePackagePublic typesStableExperimentalDeprecatedInternal
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators42002
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.calendar11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.collectiondetail11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.crud1440010
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.crud.actionhandlers1400014
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.crud.routeresolvers90009
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.dashboard31002
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.datamanagement11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.editableview22000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.foldout11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.ganttpage11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.generaloverview11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.herosearch11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.importwizard81007
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.itemoverview11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.masterdetail21001
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.smartsearch11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.todolist11000
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.welcome31002
mateu-core (archetypes)io.mateu.core.infra.declarative.orchestrators.wizard22000
mateu-dtosio.mateu.dtos257257000
mateu-uidlio.mateu.uidl85201
mateu-uidlio.mateu.uidl.annotations1721621000
mateu-uidlio.mateu.uidl.data3302646600
mateu-uidlio.mateu.uidl.di22000
mateu-uidlio.mateu.uidl.fluent3231100
mateu-uidlio.mateu.uidl.interfaces109911107
mateu-uidlio.mateu.uidl.layout20002
mateu-uidlio.mateu.uidl.reflection30003
mateu-uidlio.mateu.uidl.remote1001000
mateu-uidlio.mateu.uidl.security22000
Total998838100060

Experimental types (the whole type and its members):

  • io.mateu.uidl: LiveHeaderValues, LiveNotifications
  • io.mateu.uidl.annotations: AI, AppShortcut, AppShortcuts, CacheableFragment, ContentSlot, DragRows, MobileApp, NoCrudNavigation, RowStatus, Tooltip
  • io.mateu.uidl.data: Access, ActionCatalog, ActionPanel, ActionPanelCategory, ActionPanelItem, AdvancedCreateEditPage, Announcement, AppAiChat, AppContextSelector, AppGlobalSearchSource, AppNotificationsSource, AppShortcutEntry, CalendarDay, CalendarView, Chat, CollectionDetailPage, ContentSlot, CrudDisplay, DashboardLandingPage, DataManagementPage, DockedPanel, Document, DocumentDisposition, DropZone, EmbeddedChrome, Environment, FieldTypeCatalog, FieldTypeEntry, FoldoutPage, GeneralOverviewDisplay, GeneralOverviewPage, GuidedProcessPage, GuidedProcessStep, HeaderValue, HeroSearchPage, HeroTone, ItemOverviewPage, MapMarker, MatrixCell, MatrixColumn, MatrixGrid, MatrixRow, MatrixSection, MenuDisplay, MenuPresentation, MergeField, MergeRecord, MessageAction, MessagePersistence, MultimediaContentPage, NotFound, OrgChartDisplay, PageFab, PageSetup, PopoverTrigger, ProjectRenderer, ProjectSettings, RecordMerge, RecordSwitcher, Resolve, SwitcherType, TemplateImage, Toggle, Translations, WelcomePage, WizardDisplay
  • io.mateu.uidl.fluent: FormTemplate
  • io.mateu.uidl.interfaces: ActionCatalogSupplier, DetailContentSupplier, DocumentRenderer, Draftable, FieldTypeCatalogSupplier, HeaderValuesSupplier, InboxStore, KeepAliveHandler, RecordSwitcherSupplier, Restorable, TranslationsSupplier
  • io.mateu.uidl.remote: CorrelationIdProvider, FragmentCachePolicy, FragmentCachePolicySupplier, FragmentCacheStore, MicroFrontendResolutionEvent, MicroFrontendResolutionListener, RemoteCatalogSupplier, RemoteDescriptor, RemoteIdentityStrategy, RemoteRegistry

Experimental members of otherwise stable types:

  • io.mateu.core.infra.declarative.orchestrators.calendar.CalendarPage: actionOnDay, days, daysClickable, goCalendarToDate, openCalendarDay, switchCalendarView, views
  • io.mateu.core.infra.declarative.orchestrators.crud.Crud: display, nextIdAfter, saveAndNextLabel
  • io.mateu.core.infra.declarative.orchestrators.dashboard.Dashboard: reorderable
  • io.mateu.core.infra.declarative.orchestrators.datamanagement.DataManagement: bottomPanel, endPanel, toggleBottomPanel, toggleEndPanel
  • io.mateu.core.infra.declarative.orchestrators.foldout.Foldout: panelSummary
  • io.mateu.core.infra.declarative.orchestrators.generaloverview.GeneralOverview: display, info, infoWidth, label, recordLabel
  • io.mateu.core.infra.declarative.orchestrators.smartsearch.SmartSearchPage: preSearchContent
  • io.mateu.core.infra.declarative.orchestrators.welcome.Welcome: heroOverline, heroTone
  • io.mateu.core.infra.declarative.orchestrators.wizard.Wizard: beforeStepNavigate, display, stepSkippable
  • io.mateu.uidl.annotations.AI: followLabel, followingLabel
  • io.mateu.uidl.annotations.App: accessKeys, idleSignOutUrl, idleTimeoutMinutes, idleWarningSeconds, inbox, liveUpdates, mobileQr, osNotifications
  • io.mateu.uidl.annotations.Menu: display, image
  • io.mateu.uidl.annotations.Section: addAction, editAction, viewMoreAction
  • io.mateu.uidl.annotations.WelcomeBanner: overline, tone
  • io.mateu.uidl.annotations.WizardCompletionAction: availableFromStep
  • io.mateu.uidl.data.AppHeaderAction: route
  • io.mateu.uidl.data.AppNotification: actions, category, hasDetail, resolved, variant
  • io.mateu.uidl.data.Calendar: dayActionId, days, view, views
  • io.mateu.uidl.data.CalendarEvent: endDate, endTime, startTime
  • io.mateu.uidl.data.Direction: parse
  • io.mateu.uidl.data.FieldLink: presentation
  • io.mateu.uidl.data.FoldoutPanel: autoOpen, summary
  • io.mateu.uidl.data.GridColumn: tones
  • io.mateu.uidl.data.HeroSection: overline, tone
  • io.mateu.uidl.data.Image: Image, alt
  • io.mateu.uidl.data.Kanban: card, cardColors, cardRoute, columnField, moveActionId, orderField, rowsSource
  • io.mateu.uidl.data.LongTask: background, backgroundable, cancellable, notifyWhenDone, onCancel, resultAction, retryable
  • io.mateu.uidl.data.Map: attribution, markerActionId, markers, tileUrl
  • io.mateu.uidl.data.Menu: presentation
  • io.mateu.uidl.data.Message: STYLE_UNDO, actions, key, persistence, withAction, withKey, withPersistence
  • io.mateu.uidl.data.MetricCard: timeframe
  • io.mateu.uidl.data.MicroFrontend: chrome, resolve, resolvedByServer, timeoutMs
  • io.mateu.uidl.data.OrgChart: display, focus
  • io.mateu.uidl.data.PlanningBlock: icon, summary
  • io.mateu.uidl.data.PlanningBoard: attributeColumns, openActionId, rangeSelectActionId, resizeActionId
  • io.mateu.uidl.data.PlanningResource: attributes, icon
  • io.mateu.uidl.data.Popover: trigger
  • io.mateu.uidl.data.ProgressReporter: step
  • io.mateu.uidl.data.ProgressSteps: resultTitle
  • io.mateu.uidl.data.RecordSwitcher: actionId, optionsSource, route
  • io.mateu.uidl.data.ResponsiveGrid: asReorderable, reorderable
  • io.mateu.uidl.data.RestDataSource: sample
  • io.mateu.uidl.data.RestSourceEntry: sample
  • io.mateu.uidl.data.RouteEntry: access
  • io.mateu.uidl.data.RouteLink: presentation
  • io.mateu.uidl.data.RouteTable: params
  • io.mateu.uidl.data.UICommand: announce, announceAssertive, print, updateHeaderValue
  • io.mateu.uidl.fluent.AppShell: accessKeys, ai, contextSelectors, globalSearch, headerActions, headerValues, idleSignOutUrl, idleTimeoutMinutes, idleWarningSeconds, liveUpdates, mobileQr, notifications, shortcuts
  • io.mateu.uidl.fluent.Form: badges, banners, confirmOnNavigationIfDirty, fabs, kpis, overline, peerNav, recordSwitcher, template, timestamp, titlePlaceholder
  • io.mateu.uidl.fluent.Listing: dragType, preSearch, rowStatusField
  • io.mateu.uidl.interfaces.Actionable: presentation
  • io.mateu.uidl.interfaces.HttpRequest: getRemoteAddress
  • io.mateu.uidl.interfaces.NotificationsSupplier: dismissNotifications, notificationDetail, onNotificationAction

Internal members of otherwise stable types (@Internal: framework plumbing, outside the promise — do not call or override them):

  • io.mateu.core.infra.declarative.orchestrators.MultiView: wrapView
  • io.mateu.core.infra.declarative.orchestrators.calendar.CalendarPage: bindRequest
  • io.mateu.core.infra.declarative.orchestrators.collectiondetail.CollectionDetail: bindRequest
  • io.mateu.core.infra.declarative.orchestrators.crud.Crud: addButtonsToList, behaviourSource, getStyleForList, isListingRoute, list, metadataSource, restorable, restoreDeleted, stateSource
  • io.mateu.core.infra.declarative.orchestrators.generaloverview.GeneralOverview: bindRequest
  • io.mateu.core.infra.declarative.orchestrators.todolist.TodoList: bindRequest
  • io.mateu.core.infra.declarative.orchestrators.wizard.Wizard: currentStepField
  • io.mateu.uidl.LiveHeaderValues: reset, subscribe
  • io.mateu.uidl.LiveNotifications: subscribe
  • io.mateu.uidl.data.LongTask: toDto
  • io.mateu.uidl.data.RestDataSource: forTheClient
  • io.mateu.uidl.data.RestSourceCatalog: forTheClient
  • io.mateu.uidl.di.MateuBeanProvider: setBeanProvider
  • io.mateu.uidl.interfaces.HttpRequest: storeGetUIRqDto, storeRunActionRqDto
  • io.mateu.uidl.interfaces.Listing: getCrudId, handleActionOnRow

The Internal column counts types that are public only because Java has no module-private: the reflection helpers in io.mateu.uidl.reflection, the layout heuristics in io.mateu.uidl.layout, IconConverter (Jackson plumbing of IconKey) and RoutedClassProvider (implemented by the code the annotation processors generate), and the machinery behind the archetypes in core — the CRUD actionhandlers / routeresolvers packages, the *Composer and Inferred* bridges, CapabilityCrud, CrudAdapterHelper, FilterCriteriaBuilder, ListingSummarySpec and SearchableValues. They are not part of the promise, the compatibility check skips them, and they may change in any release. The extension points you implement — InstanceFactory, RouteResolver / RouteValue / CompiledRouteValue, BeanProvider — are stable.

  • An API is deprecated for at least one minor release before it is removed — e.g. deprecated in 3.1, removable in 3.2 at the earliest. Removal only in a minor or major, never in a patch.
  • A deprecation always names its replacement (@Deprecated + @deprecated use … instead in Javadoc, the [Obsolete] message in .NET, a DeprecationWarning in Python) and is listed in the CHANGELOG.
  • Where a rename can be bridged, the old name keeps working as an alias for the deprecation period.
  • A default that changes behaviour is treated like a removal: announced one minor ahead, with a switch to keep the old behaviour for at least that minor. Security fixes are the exception: an insecure default can change in a patch, and the release notes say how to opt back in.

3.0.0 ships with no deprecated API.

The 3.x public API is frozen from 3.0.0 on, and the build enforces it in every backend. An incompatible change to a stable element fails the pull request’s checks (the backend-tests and python jobs) and tells you how to make it compatible instead: add + deprecate — add the replacement next to the old element, keep the old one working and mark it deprecated naming the replacement, and remove it no earlier than the release the deprecation policy allows.

BackendWhat is checkedHowAccepting a deliberate change
Javamateu-uidl and the archetype packages of mateu-core (io.mateu.core.infra.declarative.orchestrators.*), binary and source compatibility; mateu-dtos report-only (why)japicmp in mvn verify (so also install) against <mateu.japicmp.baseline> in backend/pom.xml — a release Maven Central serves, moved forward after each release by the release workflow’s “Point the examples at …” pull request (scripts/bump-example-version.sh)a reviewed entry in backend/api-compat/japicmp-exclusions.properties
.NETMateu.Uidl: every exported type name and every public/protected member signature (constructors with their defaults, methods, properties incl. init, fields, events, enum members); Mateu.Core / Mateu.AspNetCore: exported type namesPublicSurfaceTests against backend/dotnet/test/Mateu.Tests/api/*.txtrerun with MATEU_API_WRITE=true and commit the rewritten file
Pythonmateu_ui.uidl, mateu_ui.uidl.components, mateu_ui.core, mateu_ui.fastapi: the exported names; mateu_ui.uidl and .components: the parameters (name, kind, has-a-default) of every decorator, function and constructor, the public methods of every class and the members of every enumtest_api_freeze.py / test_public_surface.py against backend/python/tests/api/public-exports.json / public-signatures.jsonrerun with MATEU_API_WRITE=true and commit the rewritten file

In .NET and Python an addition also fails until it is re-pinned — it is compatible, but the review should see every change to the surface. A removed or changed member is reported separately as a break of the promise.

mvn verify compares the mateu-uidl jar and the archetype packages of core — and, report-only, the mateu-dtos jar — against <mateu.japicmp.baseline> (in backend/pom.xml; scripts/bump-example-version.sh moves it to each release once it is on Maven Central) and writes a report to target/japicmp/api-compatibility.{md,html,diff} of each module; CI publishes it in the job summary.

  • It is enforcing by default (<mateu.api.enforce>true</mateu.api.enforce>; the plugin’s own mateu.japicmp.enforce follows it). A binary- or source-incompatible change to the non-@Experimental, non-@Internal surface of mateu-uidl and the archetypes fails the build with the list of breaks and the add + deprecate recipe (backend/api-compat/api-guard-enforce-true.groovy, japicmp’s post-analysis script):

    Incompatible change to the FROZEN 3.x public API (compared with <mateu.japicmp.baseline> in backend/pom.xml):
    - io.mateu.core.infra.declarative.orchestrators.dashboard.Dashboard#columns(): METHOD_REMOVED
    Within 3.x a stable element is never removed, renamed or re-typed in place. Do ADD + DEPRECATE instead:
    1. add the replacement next to the old element …
  • Typical compatible spellings: a new overload instead of a changed parameter list; a new default method on an interface instead of an abstract one (METHOD_ADDED_TO_INTERFACE is a break for implementers); a new record component through a new constructor, keeping the old canonical one delegating to it; a new type instead of a renamed one, the old one deprecated.

  • backend/api-compat/japicmp-exclusions.properties is the reviewed allowlist: adding an entry is how an intentional break (the end of a deprecation period, a major release) gets through; the comment block above the list names the release or PR that accepted each group, and the list is reset to its sentinel whenever the baseline moves. Until 3.0.0 is on Maven Central the baseline is the last pre-release; once it is, 3.0.0 becomes the baseline — the promise is measured from 3.0.0. The Internal types are excluded from the check.

  • Marking an existing stable API @Experimental or @Internal is itself reported as a removal — japicmp drops the annotated element on the new side only — so an API cannot leave the promise silently: such a mark needs an allowlist entry until the baseline moves past it.

  • Locally: mvn verify -pl shared/uidl (or shared/core). -Dmateu.api.enforce=false makes it report-only, to read the full japicmp report of a break (a failing run stops before writing it); -Dmateu.japicmp.skip=true skips it, e.g. offline — the baseline jar comes from Maven Central. Neither is for a pull request: CI runs the default.

The wire is versioned separately from the artifacts: every response carries wireVersion (currently 3.0). The normative rules are in the wire specification; in short:

  • Additive within a wire major. A minor Mateu release may add optional fields, new component types and new commands. It never removes a field, changes its type or changes its meaning.
  • Consumers must be tolerant: ignore unknown fields, render unknown component types as a placeholder and keep going. Every first-party renderer does; a custom renderer must too.
  • Consumers check the major. The web (Vaadin) and Redwood renderers, React Native and the IntelliJ plugin compare the response’s wireVersion with the major they were built for: the same major is fine whatever the minor; another major shows the user a clear message (“This app’s server speaks Mateu wire 4.x; this renderer supports 3.x”) once, instead of a broken screen. The wire major only changes with a Mateu major.
  • Producers must be conservative: a backend never requires a field a renderer of the same wire major might not send.
  • A backend and a renderer of the same wire major interoperate. In practice: keep the backend and the renderer artifact on the same Mateu release (they ship together), and the .NET and Python backends speak the same wire as the Java one of the same release.
  • The conformance corpus is the executable definition of “wire-equivalent”: a change that makes it fail is a breaking change.

These rules cover Mateu’s own changes. What happens when your screens change under an open tab, when the renderer is upgraded, or when several teams release on their own schedules is in Versions across teams and deployments.

The authoring schemas are generated from the records and checked by a test, so they always match the code of their release. Within a major, a key may be added; a key is only removed or renamed through the deprecation policy. A YAML file valid against one release’s schema stays valid in the next minor.

Which releases get bug and security fixes, and which Java, .NET, Python, framework and IDE versions a release supports, is the Support policy. How to report a vulnerability is in SECURITY.md.