Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Latest commit

 

History

History
84 lines (60 loc) · 3.39 KB

CHANGELOG.md

File metadata and controls

84 lines (60 loc) · 3.39 KB

4.0.3 / 2020-07-28

  • Added library name and version in HTTP Header (PR #62)
  • Changed: allow larger (10KB -> 20KB) requests as we sometimes do on dedicated clusters (PR #66)

4.0.2 / 2020-07-28

  • Added go.mod for managing the library as a Go module
  • Changed github.com/stretchr/testify/assert with a stable gopkg.in/stretchr/testify.v1/assert

4.0.1 / 2020-04-01

  • Added EncryptionMasterKeyBase64 parameter
  • Deprecated EncryptionMasterKey parameter

4.0.0 / 2019-05-31

  • This release modifies the entire repo to respect the go linter. This is a significant API breaking change and will likely require you to correct references to the names that were changed in your code. All future releases will respect the linter. A summary of the changes:
  • Rename AppId > AppID
  • Rename UserId > UserID
  • Rename SocketId > SocketID
  • Rename Id > ID
  • Rename HttpClient > HTTPClient
  • Improved comments and tabbing

3.0.0 / 2019-05-31

  • This release removes the *BufferedEvents return from calls to trigger is it never did anything. Our documentation elsewhere conflicted with this, and it made the library more complex than it needed to be, so we removed it.

2.0.0 / 2019-05-31

  • This release removes support for Push Notifications. Check out https://pusher.com/beams for our new, improved Push Notification offering!

1.3.0 / 2018-08-13

  • This release adds support for end to end encrypted channels, a new feature for Channels. Read more in our docs.

1.2.0 / 2016-05-24

  • Add support for batch events

1.1.0 / 2016-02-22

  • Introduce a Cluster option for the Pusher initializer.

1.0.0 / 2015-05-14

  • Users can pass in a http.Client instance to the Pusher initializer. They can configure this instance directly to have specific options e.g. timeouts.
  • Therefore, the Timeout field on pusher.Client is deprecated.
  • HttpClient() function is no longer public. HTTP Client configuration is now done on the HttpClient property of pusher.Client. Read here for more details.
  • If no HttpClient is specified, the library creates one with a default timeout of 5 seconds.
  • The library is now GAE compatible. Read here for more details.

0.2.2 / 2015-05-12

  • Socket_ids are now validated upon Trigger*Exclusive and channel authentication.

0.2.1 / 2015-04-30

  • Webhook validation uses hmac.Equals to guard against timing attacks.

0.2.0 / 2015-03-30

  • A HTTP client is shared between requests to allow configuration. If none is set by the user, the library supplies a default. Allows for pipelining or to change the transport.

0.1.0 / 2015-03-26

  • Instantiation of client from credentials, URL or environment variables.
  • User can trigger Pusher events on single channels, multiple channels, and exclude recipients
  • Authentication of private and presence channels
  • Pusher webhook validation
  • Querying application state
  • Cluster configuration, HTTPS support, timeout configuration.