Alternative to record's stateManager in Ember data 0.14


I tried to upgrade an application from Ember data 0.13 to 0.14.

I have some


statements in my code.

It seems though that the stateManager property is gone. I found the currentState property.

How can I manually change / manipulate a record’s state in Ember data 0.14?

How to manipulate record state manually?

Okay, found the answer reading Ember data 0.14’s source code:


does the trick.