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.
Version numbers
Section titled “Version numbers”- Releases are tagged
vMAJOR.MINOR[-qualifier.N]and published to Maven Central underio.mateu, every artifact namedmateu-*(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 ofio.mateuartifacts 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.Nof 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
wireVersion3.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 ofmateu_ui.uidl). See Enforcement.
What is public API
Section titled “What is public API”You can build on these; they follow the deprecation policy.
| Surface | Where it lives |
|---|---|
The authoring API — annotations (@UI, @Action, @Section…), interfaces (CrudStore, Listing and its capability interfaces, suppliers…), the fluent component records and data types | the 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 renderer | the 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 parameters | their 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/components | the Mateu.Uidl NuGet package and the mateu-ui PyPI package; same policy, pinned by their own tests (Enforcement) |
The wire DTOs: JSON, not Java binaries
Section titled “The wire DTOs: JSON, not Java binaries”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.
Module layering
Section titled “Module layering”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 onmateu-dtosonly 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 bySearchableSelection) and the long-task stream (LongTask,ProgressReporter). Everything else inmateu-uidlis wire-agnostic; a new import ofio.mateu.dtosoutside that list fails the build. It never depends onmateu-core.mateu-coredepends 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.
Imports: names shared by two packages
Section titled “Imports: names shared by two packages”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):
| Packages | Names |
|---|---|
annotations / data | Avatar, Badge, Breadcrumb, Breadcrumbs, BulletedList, Button, Details, FormLayout, Icon, KPI, Menu, Notice, RestAction, Rule, Status, Tab, Text, Tooltip, Validation |
annotations / fluent | Action, Trigger, UI |
annotations / interfaces | App, Filterable, Searchable |
fluent / interfaces | Listing (the fluent listing component / the listing contract) |
data / interfaces | Page (a page of rows / the routed-page marker) |
data / fluent | Step |
with java.util | List (@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.coreother 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 arepubliconly because Mateu’s own modules call them across packages (request plumbing such asHttpRequest.storeRunActionRqDto, the wire dispatch hooks ofListing/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.
Experimental API
Section titled “Experimental API”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:
@ExperimentalAPI 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:
| Surface | Where |
|---|---|
| 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 catalogues | field 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 tooling | live reload (dev mode, /mateu/dev/*), the Redwood embedded <mateu-ui> JET component |
| The Figma design-to-code pipeline | the 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 production | the 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.
Recent API: experimental in 3.0.0
Section titled “Recent API: experimental in 3.0.0”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:
| Backend | Marked 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.
Stable and experimental API, by package
Section titled “Stable and experimental API, by package”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.
| Module | Package | Public types | Stable | Experimental | Deprecated | Internal |
|---|---|---|---|---|---|---|
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators | 4 | 2 | 0 | 0 | 2 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.calendar | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.collectiondetail | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.crud | 14 | 4 | 0 | 0 | 10 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.crud.actionhandlers | 14 | 0 | 0 | 0 | 14 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.crud.routeresolvers | 9 | 0 | 0 | 0 | 9 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.dashboard | 3 | 1 | 0 | 0 | 2 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.datamanagement | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.editableview | 2 | 2 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.foldout | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.ganttpage | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.generaloverview | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.herosearch | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.importwizard | 8 | 1 | 0 | 0 | 7 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.itemoverview | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.masterdetail | 2 | 1 | 0 | 0 | 1 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.smartsearch | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.todolist | 1 | 1 | 0 | 0 | 0 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.welcome | 3 | 1 | 0 | 0 | 2 |
mateu-core (archetypes) | io.mateu.core.infra.declarative.orchestrators.wizard | 2 | 2 | 0 | 0 | 0 |
mateu-dtos | io.mateu.dtos | 257 | 257 | 0 | 0 | 0 |
mateu-uidl | io.mateu.uidl | 8 | 5 | 2 | 0 | 1 |
mateu-uidl | io.mateu.uidl.annotations | 172 | 162 | 10 | 0 | 0 |
mateu-uidl | io.mateu.uidl.data | 330 | 264 | 66 | 0 | 0 |
mateu-uidl | io.mateu.uidl.di | 2 | 2 | 0 | 0 | 0 |
mateu-uidl | io.mateu.uidl.fluent | 32 | 31 | 1 | 0 | 0 |
mateu-uidl | io.mateu.uidl.interfaces | 109 | 91 | 11 | 0 | 7 |
mateu-uidl | io.mateu.uidl.layout | 2 | 0 | 0 | 0 | 2 |
mateu-uidl | io.mateu.uidl.reflection | 3 | 0 | 0 | 0 | 3 |
mateu-uidl | io.mateu.uidl.remote | 10 | 0 | 10 | 0 | 0 |
mateu-uidl | io.mateu.uidl.security | 2 | 2 | 0 | 0 | 0 |
| Total | 998 | 838 | 100 | 0 | 60 |
Experimental types (the whole type and its members):
io.mateu.uidl:LiveHeaderValues,LiveNotificationsio.mateu.uidl.annotations:AI,AppShortcut,AppShortcuts,CacheableFragment,ContentSlot,DragRows,MobileApp,NoCrudNavigation,RowStatus,Tooltipio.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,WizardDisplayio.mateu.uidl.fluent:FormTemplateio.mateu.uidl.interfaces:ActionCatalogSupplier,DetailContentSupplier,DocumentRenderer,Draftable,FieldTypeCatalogSupplier,HeaderValuesSupplier,InboxStore,KeepAliveHandler,RecordSwitcherSupplier,Restorable,TranslationsSupplierio.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,viewsio.mateu.core.infra.declarative.orchestrators.crud.Crud:display,nextIdAfter,saveAndNextLabelio.mateu.core.infra.declarative.orchestrators.dashboard.Dashboard:reorderableio.mateu.core.infra.declarative.orchestrators.datamanagement.DataManagement:bottomPanel,endPanel,toggleBottomPanel,toggleEndPanelio.mateu.core.infra.declarative.orchestrators.foldout.Foldout:panelSummaryio.mateu.core.infra.declarative.orchestrators.generaloverview.GeneralOverview:display,info,infoWidth,label,recordLabelio.mateu.core.infra.declarative.orchestrators.smartsearch.SmartSearchPage:preSearchContentio.mateu.core.infra.declarative.orchestrators.welcome.Welcome:heroOverline,heroToneio.mateu.core.infra.declarative.orchestrators.wizard.Wizard:beforeStepNavigate,display,stepSkippableio.mateu.uidl.annotations.AI:followLabel,followingLabelio.mateu.uidl.annotations.App:accessKeys,idleSignOutUrl,idleTimeoutMinutes,idleWarningSeconds,inbox,liveUpdates,mobileQr,osNotificationsio.mateu.uidl.annotations.Menu:display,imageio.mateu.uidl.annotations.Section:addAction,editAction,viewMoreActionio.mateu.uidl.annotations.WelcomeBanner:overline,toneio.mateu.uidl.annotations.WizardCompletionAction:availableFromStepio.mateu.uidl.data.AppHeaderAction:routeio.mateu.uidl.data.AppNotification:actions,category,hasDetail,resolved,variantio.mateu.uidl.data.Calendar:dayActionId,days,view,viewsio.mateu.uidl.data.CalendarEvent:endDate,endTime,startTimeio.mateu.uidl.data.Direction:parseio.mateu.uidl.data.FieldLink:presentationio.mateu.uidl.data.FoldoutPanel:autoOpen,summaryio.mateu.uidl.data.GridColumn:tonesio.mateu.uidl.data.HeroSection:overline,toneio.mateu.uidl.data.Image:Image,altio.mateu.uidl.data.Kanban:card,cardColors,cardRoute,columnField,moveActionId,orderField,rowsSourceio.mateu.uidl.data.LongTask:background,backgroundable,cancellable,notifyWhenDone,onCancel,resultAction,retryableio.mateu.uidl.data.Map:attribution,markerActionId,markers,tileUrlio.mateu.uidl.data.Menu:presentationio.mateu.uidl.data.Message:STYLE_UNDO,actions,key,persistence,withAction,withKey,withPersistenceio.mateu.uidl.data.MetricCard:timeframeio.mateu.uidl.data.MicroFrontend:chrome,resolve,resolvedByServer,timeoutMsio.mateu.uidl.data.OrgChart:display,focusio.mateu.uidl.data.PlanningBlock:icon,summaryio.mateu.uidl.data.PlanningBoard:attributeColumns,openActionId,rangeSelectActionId,resizeActionIdio.mateu.uidl.data.PlanningResource:attributes,iconio.mateu.uidl.data.Popover:triggerio.mateu.uidl.data.ProgressReporter:stepio.mateu.uidl.data.ProgressSteps:resultTitleio.mateu.uidl.data.RecordSwitcher:actionId,optionsSource,routeio.mateu.uidl.data.ResponsiveGrid:asReorderable,reorderableio.mateu.uidl.data.RestDataSource:sampleio.mateu.uidl.data.RestSourceEntry:sampleio.mateu.uidl.data.RouteEntry:accessio.mateu.uidl.data.RouteLink:presentationio.mateu.uidl.data.RouteTable:paramsio.mateu.uidl.data.UICommand:announce,announceAssertive,print,updateHeaderValueio.mateu.uidl.fluent.AppShell:accessKeys,ai,contextSelectors,globalSearch,headerActions,headerValues,idleSignOutUrl,idleTimeoutMinutes,idleWarningSeconds,liveUpdates,mobileQr,notifications,shortcutsio.mateu.uidl.fluent.Form:badges,banners,confirmOnNavigationIfDirty,fabs,kpis,overline,peerNav,recordSwitcher,template,timestamp,titlePlaceholderio.mateu.uidl.fluent.Listing:dragType,preSearch,rowStatusFieldio.mateu.uidl.interfaces.Actionable:presentationio.mateu.uidl.interfaces.HttpRequest:getRemoteAddressio.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:wrapViewio.mateu.core.infra.declarative.orchestrators.calendar.CalendarPage:bindRequestio.mateu.core.infra.declarative.orchestrators.collectiondetail.CollectionDetail:bindRequestio.mateu.core.infra.declarative.orchestrators.crud.Crud:addButtonsToList,behaviourSource,getStyleForList,isListingRoute,list,metadataSource,restorable,restoreDeleted,stateSourceio.mateu.core.infra.declarative.orchestrators.generaloverview.GeneralOverview:bindRequestio.mateu.core.infra.declarative.orchestrators.todolist.TodoList:bindRequestio.mateu.core.infra.declarative.orchestrators.wizard.Wizard:currentStepFieldio.mateu.uidl.LiveHeaderValues:reset,subscribeio.mateu.uidl.LiveNotifications:subscribeio.mateu.uidl.data.LongTask:toDtoio.mateu.uidl.data.RestDataSource:forTheClientio.mateu.uidl.data.RestSourceCatalog:forTheClientio.mateu.uidl.di.MateuBeanProvider:setBeanProviderio.mateu.uidl.interfaces.HttpRequest:storeGetUIRqDto,storeRunActionRqDtoio.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.
Deprecation policy
Section titled “Deprecation policy”- An API is deprecated for at least one minor release before it is removed — e.g. deprecated in
3.1, removable in3.2at the earliest. Removal only in a minor or major, never in a patch. - A deprecation always names its replacement (
@Deprecated+@deprecated use … insteadin Javadoc, the[Obsolete]message in .NET, aDeprecationWarningin 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.
Enforcement
Section titled “Enforcement”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.
| Backend | What is checked | How | Accepting a deliberate change |
|---|---|---|---|
| Java | mateu-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 |
| .NET | Mateu.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 names | PublicSurfaceTests against backend/dotnet/test/Mateu.Tests/api/*.txt | rerun with MATEU_API_WRITE=true and commit the rewritten file |
| Python | mateu_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 enum | test_api_freeze.py / test_public_surface.py against backend/python/tests/api/public-exports.json / public-signatures.json | rerun 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.
Java: how the check works
Section titled “Java: how the check works”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 ownmateu.japicmp.enforcefollows it). A binary- or source-incompatible change to the non-@Experimental, non-@Internalsurface ofmateu-uidland 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_REMOVEDWithin 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_INTERFACEis 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.propertiesis 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. Until3.0.0is on Maven Central the baseline is the last pre-release; once it is,3.0.0becomes the baseline — the promise is measured from3.0.0. The Internal types are excluded from the check. -
Marking an existing stable API
@Experimentalor@Internalis 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(orshared/core).-Dmateu.api.enforce=falsemakes it report-only, to read the full japicmp report of a break (a failing run stops before writing it);-Dmateu.japicmp.skip=trueskips it, e.g. offline — the baseline jar comes from Maven Central. Neither is for a pull request: CI runs the default.
Wire compatibility
Section titled “Wire compatibility”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
wireVersionwith 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.
Schemas and YAML
Section titled “Schemas and YAML”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.
Supported versions
Section titled “Supported versions”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.