Skip to content

v1.2.0 — configurable notification expiry

Choose a tag to compare

@yangwudong yangwudong released this 19 Nov 00:52
· 3 commits to main since this release

Adds the expireAfter option: auto-delete notifications after a set time via Bark's ttl parameter.

  • Formats: "5m", "30m", "1h", "24h", "2d", "90s", "1.5h"; a bare number means minutes
  • "permanent" / 0 / unset keeps notifications forever (previous behaviour)
  • Invalid values warn and fall back to permanent

Note: ttl only applies to pushes saved to Bark history (on by default).