github Cap-go/capacitor-updater 8.51.25

2 hours ago

🆕 Changelog

Security

  • Hardened unsetChannel against unauthorized channel changes. unsetChannel now respects the allowSetDefaultChannel setting. Calls that would clear a channel are rejected when the channel guard is locked, preventing accidental or malicious removal of a configured channel.
  • Surfaced disabled_by_config rejection reason for blocked channel operations. Channel change rejections now include a clear disabled_by_config reason, making it easier to detect and handle configuration-driven restrictions.

Fixed

  • Restored iOS error code mapping for setChannel rejections. setChannel rejection errors on iOS now return the correct mapped error codes again, improving diagnostic clarity when channel assignments fail.
  • Fixed an example-app race condition between stats URL validation and latest-version probing. Stats URL verification is no longer tied to probeLatest, removing flakiness and ensuring runtime URLs are validated in the correct order.
  • Updated example-app channel guard expectations to match the new rejection behavior. Tests now assert that unsetChannel is rejected while the channel guard is locked, with disabled_by_config returned in the rejection data.

🔗 Full Changelog: 8.51.24...8.51.25

Don't miss a new capacitor-updater release

NewReleases is sending notifications on new releases.