A new workspaces.information service was added.
Whenever workspace-support needs to be checked, WorkspaceInformation::isEntitySupported() should be used, or WorkspaceInformation::isEntityTypeSupported() if an entity object is not available.
Entity types for which CRUD operations should be allowed (but not tracked) in a workspace need to use the Drupal\workspaces\Entity\Handler\IgnoredWorkspaceHandler entity handler. See the Workspace entity for example.
Deprecations
The following methods have been deprecated:
WorkspaceManager::isEntityTypeSupported()WorkspaceManager::getSupportedEntityTypes()WorkspaceManager::shouldAlterOperations()
replaced by WorkspaceInformation::isEntityTypeSupported()
replaced by WorkspaceInformation::getSupportedEntityTypes()
with no replacement, the logic of that method is now an internal implementation detail of \Drupal\workspaces\EntityOperations