Skip to content

Releases: SherClockHolmes/webpush-go

Update crypto, token expiration, ECDH fix

03 Oct 22:28
d56adf9
Compare
Choose a tag to compare

Updated the crypto module to v0.9.0
ECDH output on P-256 curve must be always 32 bytes .
Added the ability to specify Vapid JWT token expiration

SendNotificationWithContext

01 Feb 17:44
9f057bc
Compare
Choose a tag to compare

Added a SendNotificationWithContext function that accepts a context for supporting telemetry solutions.

JWT Upgrade

12 Oct 05:09
9f15307
Compare
Choose a tag to compare

Replaced the JWT library with golang-jwt/jwt.

Fixes #42

Return error when exceeding maximum payload size

28 May 04:56
af9d240
Compare
Choose a tag to compare

Check base64 encoding

28 May 22:09
358c5ab
Compare
Choose a tag to compare

Encodes and decodes VAPID base64 keys to ensure they are in the correct format.

Fixes #26
Fixes #29

Optional Record Size

11 Apr 04:22
7ed4780
Compare
Choose a tag to compare

Added RecordSize to the Options struct. Limits the record size of the encrypted payload.

HTTP Client Interface

20 Feb 05:55
c438199
Compare
Choose a tag to compare

Re-exporting the HTTP Client Interface to maintain compatibility with v0.0.1.

aes128gcm encoding

18 Feb 02:01
2a62cae
Compare
Choose a tag to compare

List of changes described in: #17

aesgcm encoding

18 Feb 01:38
Compare
Choose a tag to compare
v0.0.1

Fix import path in example. (#15)