Releases: SherClockHolmes/webpush-go
Releases · SherClockHolmes/webpush-go
v1.4.0 Dependency Updates, Fix Content-Length, Concat Strings Directly
What's Changed
- Concatenate strings directly instead of using fmt by @Richtermeister in #46
- Bump golang.org/x/crypto from 0.9.0 to 0.17.0 by @dependabot in #64
- Bump golang.org/x/crypto from 0.17.0 to 0.31.0 by @dependabot in #69
- Allow VAPID sub to be an HTTPS URL by @emersion in #57
- upgrade(golang-jwt): upgrade to v5.2.1 to fix CVE-2024-51744 security issue by @m-amr in #68
- Fixes issue #41, remove content length header by @SherClockHolmes in #70
New Contributors
- @dependabot made their first contribution in #64
- @emersion made their first contribution in #57
- @m-amr made their first contribution in #68
Full Changelog: v1.3.0...v1.4.0
Update crypto, token expiration, ECDH fix
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
Added a SendNotificationWithContext
function that accepts a context for supporting telemetry solutions.
JWT Upgrade
Replaced the JWT library with golang-jwt/jwt
.
Fixes #42
Return error when exceeding maximum payload size
Check base64 encoding
Optional Record Size
Added RecordSize
to the Options
struct. Limits the record size of the encrypted payload.
HTTP Client Interface
Re-exporting the HTTP Client Interface to maintain compatibility with v0.0.1.
aes128gcm encoding
List of changes described in: #17
aesgcm encoding
v0.0.1 Fix import path in example. (#15)