Skip to content

Upgrading socket_io_client 1 to 2

Unknown1.0.2 → 2.0.3+1New7Fixed6

UnknownUpgrade verdict

DepDelta hasn't looked for the notes of 1 of 11 releases yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • removed: method Socket.emitWithBinary(String event, [data]): void
  • removed: variable EVENTS: const List
  • changed: field Socket.flags: Map? → field Socket.flags: Map
  • changed: method Socket.onconnect(): void → method Socket.onconnect(id, pid): void
  • added: field Socket.auth: dynamic
  • added: field Socket.lastOffset: String?
  • added: field Socket.pid: String?
  • added: get Socket.active: bool
  • added: method OptionBuilder.setAuth(Map auth): OptionBuilder
  • added: method OptionBuilder.setAuthFn(void Function(void Function(Map auth) callback) authFn): OptionBuilder
  • added: method Socket.onerror(err): void
  • added: method Socket.sendConnectPacket(Map? data): void
  • added: variable events: const List