Skip to content

0.7.3

Choose a tag to compare

@acerbetti acerbetti released this 23 Jun 20:59
· 15 commits to main since this release

Fixed

  • PatternSpaceClient now emits .connectionFailed for clean server-side closes (WebSocket close frame, nil error), not only for transport errors. Previously a clean close was silent — the event stream yielded nothing, leaving UI consumers (e.g. the iOS Remote tab) stuck showing "Connected" while the client was silently retrying. With this fix any unintentional disconnect, clean or error, surfaces as .connectionFailed so consumers can transition to a failure state immediately. Auto-reconnect still fires; if the server comes back the next connectionReady notification returns the consumer to connected.
  • PatternSpaceClientError now conforms to LocalizedError, providing a readable errorDescription ("The server closed the connection") instead of the default Swift error description.

Changed

  • PatternSpaceProtocolMetadata.sdkVersion is now 0.7.3; PatternSpace JSON protocol remains 1.3.