How to retrieve previousState in OH2

In OH1 there were the Persistence functions previousState which would retrieve, well, the previous state of an item.
This function doesn’t seem to be available in OH2.
Was this just forgotten to implement?

Manfred