Skip to content

Upgrading vm_service 14 to 15

Breaking14.3.1 → 15.4.0Breaking1Deprecated2New12Changed5Fixed3

BreakingUpgrade verdict

1 breaking change.

  • A field that used to always hold one specific kind of function reference can now hold a different kind too, so code that assumed the old type may need updating.
  • Two parts of the API are marked as deprecated and may be removed in a future release.
  • The streamCpuSamplesWithUserTag RPC is deprecated and should be avoided.
3 items need code or config changes

Dart SDK requirement changed in 15.0.1: ^3.3.0 → ^3.5.0.

Breaking1
Changes the type of CodeRef.function from FuncRef to dynamic to allow NativeFunction functions.
CodeRef.functionFuncRefNativeFunction
Deprecated2
Deprecates the Message type and the messages field of the Stack type.
MessageStack.messages
Deprecates the streamCpuSamplesWithUserTag RPC.
streamCpuSamplesWithUserTag