Change record status: 
Project: 
Introduced in branch: 
1.0.x
Introduced in version: 
1.0.0-beta11
Description: 

Before 1.0.0, a beta renames or removes an API outright, with no deprecation layer. This record lists every such change of 1.0.0-beta11, the last beta. From 1.0.0-rc1 on, the API is frozen: a change keeps the old path working behind a deprecation.
Update from 1.0.0-beta10: the update hooks and post updates of older betas are removed. Then run the database updates: they create the missing instance of every entity view override holding a layout.

Views sources no longer check for a builder, page sources lose their requirement

The display_builder context requirement is removed

ViewDisplay::getRuntimeContexts() no longer adds the display_builder requirement, and ViewsBuilderSourceTrait::inBuilder() is removed. The Views sources of display_builder_views build their options form wherever they are configured, the Views UI included, where those options are not stored.
A source using the trait that called inBuilder() drops the check.

Page sources rely on their context alone

The Main page content, Page title and Theme page sources drop context_requirements: ['page']. Their required page context, which PageLayout::getRuntimeContexts() provides, keeps them in page layouts. PageLayout::getRuntimeContexts() no longer adds the page requirement.

Builder slots lose their dropzone element

No db-dropzone around slot content in the Builder

The Builder renders a component's slot content straight into the element the template prints it in. The db-dropzone element around each slot is gone there, so a layout no longer gets an extra box between a component and its slot content. The holder element carries the slot attributes instead: data-slot-id, data-node-id, data-hx-post. A holder that is the node itself, or prints several slots, is marked data-db-node-slots or data-db-multi and keeps HTML comment markers, read with Drupal.displayBuilder.slotPayloads().
CSS or JavaScript targeting .db-dropzone inside the Builder iframe targets [data-slot-id] instead. The root dropzone and the dropzones of the Scaffold and the Navigator do not change.

The beta update helpers are removed

ProfileIslandsUpdater loses its beta migration methods

ProfileIslandsUpdater::splitControlsIsland() and ProfileIslandsUpdater::removeValueOnlyKeys() are removed, with the beta update hooks and post updates that called them. A module calling them keeps its own copy.

Island event methods answer NULL for no update

An empty array now empties the island

The on*() methods of IslandEventSubscriberInterface return ?array. NULL leaves the island untouched, and IslandPluginBase returns it for every event. An empty array no longer means "no update": the island is emptied, through an out-of-band swap of nothing.
An island returning [] from an event method to skip it returns NULL instead, and declares ?array. An override that keeps : array still compiles, but cannot return parent::onX(), which is now NULL.

EntityViewOverride::getDisplayInfos() is removed

Query the entity view displays instead

The static EntityViewOverride::getDisplayInfos() of display_builder_entity_view is removed. A module calling it queries the entity_view_display storage for displays having the third_party_settings.display_builder.override_field setting, and reads getTargetEntityTypeId(), getTargetBundle() and getMode() from them.

DisplayBuildableInterface::isTranslationSynchronized() is removed

No caller, nothing to replace it

isTranslationSynchronized() is removed from DisplayBuildableInterface and DisplayBuildablePluginBase. Nothing called it: the tree structure of an instance is always shared between its translations. A buildable implementing it drops the method.
getTranslationLanguages() types its flag, bool $include_default = TRUE. An implementation with an untyped flag still compiles.

The public API documents its array shapes

Two signatures follow their interface

The node shape is SourceNode on InstanceInterface, a PHPStan type alias.
IslandPluginManager::getIslandsByTypes() takes array $filter_by_island = [], as its interface: pass an empty array, not NULL. PatternPreset::getSources() names its flag $fillNodeId, as its interface.

Attaching or moving to an unknown slot throws

The parent source must declare the slot

InstanceInterface::attachToSlot() and moveToSlot() throw InvalidNodeException when the parent's source does not declare the slot in getSlotDefinitions(), or has no slots. They used to save the node, which never rendered.
A caller building slot IDs by hand checks them against the parent's slot definitions first. Slot IDs taken from the Builder are always declared.

The public API is declared

What @api and @internal mean here

Drupal core's backwards compatibility policy applies. docs/public-api.md lists what it leaves open. @api marks the base classes and traits a contrib island or buildable extends, and the values it uses: their protected members are supported. @internal marks the rest, SourceTree included.
Four internal services are now final: SlotSourceProxy, SummaryCollector, BlockLibrarySources and the BuilderDataConverter of display_builder_page_layout. A module extending one of them decorates the service instead.

publish() takes an optional action, overrides work on the latest revision

A publishing action on publish()

PublishableInterface::publish() and DisplayBuildableInterface::publish() take ?string $action_id = NULL: the action the user chose, such as a workflow transition ID, when a display can be published more than one way. A buildable plugin implementing publish() adds the argument to its signature. A plugin without actions throws \InvalidArgumentException on a non-NULL one, as ConfigBuildablePluginBase and EntityViewOverride do.

Before

public function publish(): void;

After

public function publish(?string $action_id = NULL): void;

Entity view overrides and pending drafts

The override builder loads the content's latest revision, as the content edit form does, and publishing saves into it. With a pending draft, the builder starts from the draft's override, and publishing keeps the draft instead of saving a new live revision from the published content.

IslandInterface::isAvailable() takes the instance

IslandInterface::isAvailable() takes ?InstanceInterface $instance = NULL: the instance being built, so an island can answer on what the instance is fixed to, such as its buildable, never on its sources or selection. An island overriding isAvailable() adds the argument to its signature, or PHP stops with a fatal error. The new signature also runs on 1.0.0-beta10.

Before

public function isAvailable(): bool;

After

public function isAvailable(?InstanceInterface $instance = NULL): bool;
Impacts: 
Module developers
Themers