Skip to content

v0.2.7

Latest

Choose a tag to compare

@vineethraik vineethraik released this 06 Sep 17:04
· 4 commits to main since this release

Local-first server discovery + explicit server mode.

  • Auto-discovery now probes the local LAN server (pulsync.local via mDNS) before the hosted cloud (pulsync.in). Self-hosting is the common case; the extra local probe only adds a small delay for a cloud-only device on its first boot (it latches its server after that).
  • New setServerMode(Pulsync.LOCAL | Pulsync.CLOUD | Pulsync.AUTO) — hard override to a tier (no discovery/fallback).
  • setServer("host:port") still has the highest precedence for pinning an exact server.
  • Precedence: setServer > setServerMode > captive-portal/NVS server > AUTO discovery.