Sync 0.1.4: The module compiles in every build order
Sync 0.1.4 fixes a compile error some host apps could hit when building the module.
The error messages added in 0.1.3 name Finch’s error structs, and Elixir resolves those when it compiles the module. Finch comes in through PhoenixKit, and in some build orders it was not compiled yet, so building Sync failed. Those clauses are now included only when Finch is loaded.
No change in behaviour on a site whose build already worked.
Sync 0.1.4. Install or update: {:phoenix_kit_sync, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.