As Drupal continues to evolve, version 11.3.0 brings a significant shift in how developers interact with node revisions. The NodeStorage class, once a go-to for revision-related operations, has seen most of its methods deprecated. This change is part of a broader effort to streamline the API and encourage the use of entity queries.
Let’s break down what’s changed, why it matters, and how to adapt your code.
🔧 What’s Deprecated?
The following methods in Drupal\node\NodeStorage are now deprecated: