[major] Emit an `invalid` event