Skip to content

Releases: arcanericky/pushover

v1.0.7

24 Mar 13:13
8235e29
Compare
Choose a tag to compare

Release 1.0.7

Internal Changes

  • Release using GitHub Actions (instead of Travis)
  • Linter integration
  • Changes to satisfy linter
  • Add Dependabot
  • Code format changes and enforcement
  • Upgrade Cobra dependency

v1.0.6

07 Feb 14:40
v1.0.6
Compare
Choose a tag to compare

Enable the callback option in the command-line interface to support the callback option in the API with the --callback flag. There are no checks against the format of the callback argument. It's simply passed to the API and then to Pushover. The callback is optional and only used by Pushover when the --priority option is set to 2.

v1.0.5

31 Jan 14:19
f68a2a2
Compare
Choose a tag to compare
  • Add support for callbacks when sending a high priority message (#10)
  • Build with Go 1.13.7

Callbacks are supported when using the API only. The command-line interface has not been updated to support them.

Contributors

v1.0.4

15 Jan 00:37
v1.0.4
1c4189b
Compare
Choose a tag to compare
  • Build using Go 1.13.6.
  • Add OS, architecture, and Go version to output when using the --version flag.
  • Improve errors by using types and implementing the error interface. Errors can now be checked using type assertions. See the tests for more usage examples.
if r, e = pushover.Message(pushover.MessageRequest{Token: os.Args[1], User: os.Args[2], Message: os.Args[3]}); e != nil {
  if _, ok := e.(*pushover.ErrInvalidRequest); ok {
    fmt.Println("request was invalid")
  }

  switch e.(type) {
  case *pushover.ErrInvalidRequest:
    fmt.Println("request was invalid")
  case *pushover.ErrInvalidResponse:
    fmt.Println("response was invalid")
  default:
    fmt.Println("other error")
  }
}

v1.0.3

11 Oct 00:36
v1.0.3
aeec824
Compare
Choose a tag to compare

Build with Go 1.13.1

1.0.2

01 Aug 13:18
1.0.2
73dfaf4
Compare
Choose a tag to compare

Enable Emergency Priority Messages

These messages are enabled by setting priority to 2, then specifying the retry and expire parameters. See the Pushover API documentation for priority for more details.

  • Add the Retry and Expire parameters to the Message API request, and the Receipt parameter to the Message API response.
  • Add the --retry and --expire options to the utility.

1.0.1

17 Jul 23:13
ecd2816
Compare
Choose a tag to compare
  • Handle response fields more gracefully
  • Add context support

1.0.0

17 Jul 00:21
Compare
Choose a tag to compare

Initial release of package and utility.