st3fan / dovecot-xaps-daemon

MIT License
164 stars 37 forks source link

Binary protocol deprecation in November #52

Open scintill opened 4 years ago

scintill commented 4 years ago

@ dreness pointed out the binary protocol will be deprecated (https://developer.apple.com/news/?id=11042019a). It looks like the Go library we're using sends the binary protocol, so we will need to update to HTTP/2 like https://github.com/matthewpowell/pushnotify did.

freswa commented 4 years ago

I just migrated everything to the HTTP/2 API. Feel free to test it here: https://github.com/freswa/dovecot-xaps-daemon

LarsBel commented 4 years ago

I just migrated everything to the HTTP/2 API. Feel free to test it here: https://github.com/freswa/dovecot-xaps-daemon

can confirm its working..

scintill commented 4 years ago

Works for me. Thanks! I made a PR on your fork to remove some outdated stuff from the systemd file, though I haven't tested it directly since I generate my own systemd file from NixOS.

Zjemm commented 4 years ago

@freswa do you have a compiled version that i can test with?

freswa commented 4 years ago

@Zjemm Drop me a message and I'll see what I can do :) I plan to provide binaries for every release in the future.

orlovnv commented 4 years ago

very nice work, have you managed to make compiled version?

freswa commented 4 years ago

Haven't had time to create a CI pipeline for now, but the code does compile without problems.