I agree that a note in an upgrade doc would've been ideal. I googled "codemirror compoundChange" and the first few links weren't useful, so I just went ahead and tried operation() after looking through the related CM code a bit. Good thing the change was easy!