PubNub LogoDocs
SupportContact SalesLoginTry Our APIs

›go

go

  • Getting Started
  • API Reference

    • Configuration
    • Publish & Subscribe
    • Presence
    • Access Manager
    • Channel Groups
    • Message Persistence
    • Mobile Push
    • Objects
    • Files
    • Message Actions
    • Miscellaneous
  • Status Events
  • Troubleshooting
  • Change Log
  • Feature Support
  • Platform Support

Changelog for PubNub Go SDK

v7.0.3

May 4, 2022

Fixed

  • Set default limit for object calls with context.
  • All channel groups management operations could double escape some characters which could cause signature problems.

v7.0.2

March 17, 2022

Fixed

  • Send region on subscribe calls.
  • Close idle connections to free up goroutines when closing PubNub.

v7.0.1

February 8, 2022

Fixed

  • Omit empty optional parameters for UUID or channel metadata.

v7.0.0

January 6, 2022

Modified

  • BREAKING CHANGES: UUID is not automatically generated by the SDK anymore. Please set it in the PNConfig before instantiating the PubNub object. If UUID is empty panic will occur.

v6.1.0

December 16, 2021

Added

  • Add revoke token feature.

v6.0.2

November 24, 2021

Fixed

  • Fix edge case in Fetch response when filesPayload message is nil.

v6.0.1

October 13, 2021

Fixed

  • Using correct major version number in imports.

v6.0.0

October 12, 2021

Added

  • Add grantToken functionality (PAMv3). Method grantToken has been added. It allows generation of signed token with permissions for channels and channel groups.
  • Acceptance tests plugged into CI pipeline.

v5.0.3

June 1, 2021

Fixed

  • Bump version.

v5.0.2

May 27, 2021

Fixed

  • Go mod file fix.

v5.0.0

May 27, 2021

Added

  • Update Go SDK Metadata.

Modified

  • BREAKING CHANGE - IV used for encryption is now random by default.
  • BREAKING CHANGE - The SDK now suppoorts Go Modules.

Fixed

  • Presence event occupancy field parsed incorrectly.

v4.10.0

November 2, 2020

Added

  • Objects v2 PAM changes.

Modified

  • Fetch with 100 messages.
  • Include timetoken in send file.

Fixed

  • Read Publish File Message retry count from config.

v4.9.1

October 1, 2020

Fixed

  • Fix for a deadlock on destroy.
  • Fetch response nil check.

v4.9.0

August 11, 2020

Added

  • History v3 with UUID and MessageType.

Modified

  • BREAKING CHANGE: PNPublishMessage struct changes, PublishFile enhancements.

v4.8.0

July 24, 2020

Added

  • Files: Allows users to upload and share files.

Modified

  • BREAKING CHANGE: EncryptString and DecryptString functions now accept a third param - bool, if true the IV is random and is sent along with the message. Default is false.

Fixed

  • BREAKING CHANGE: runes to string converion now returns string, this mostly affect the validation responses. This makes the SDK compatible with Go 1.15

v4.7.0

June 10, 2020

Added

  • BREAKING CHANGE: Object V2 (beta). This version does not support Objects v1 (beta)

v4.6.5

March 26, 2020

Modified

  • Objects Sorting
  • Go 1.14+ crypto unit tests fixes

v4.6.4

February 5, 2020

Fixed

  • Make publish/grant workers per instance

v4.6.3

January 28, 2020

Fixed

  • Fix data race

v4.6.2

January 24, 2020

Fixed

  • Make publish key optional on subscribe

v4.6.1

January 3, 2020

Modified

  • Objects Filtering

v4.6.0

December 17, 2019

Modified

  • APNS2
  • Push payload helper class

v4.5.2

November 27, 2019

Fixed

  • Heartbeat Manager and Listener Manager deadlock fixes
  • Fixed a panic due to a closed channel when Publish requests context is cancelled and Destroy is called

v4.5.1

October 16, 2019

Modified

  • UUID in Message Actions response

v4.5.0

October 8, 2019

Modified

  • WithMeta param is now IncludeMeta in History and Fetch
  • WithMessageActions param is now IncludeMessageActions in Fetch

v4.4.0

October 7, 2019

Modified

  • Message Actions
  • Grant Token validation for TTL
  • withMeta param in History and Fetch

v4.3.1

October 2, 2019

Fixed

  • Publish method now sets the ShouldStore flag if it is set to false

v4.3.0

September 23, 2019

Modified

  • PAM v3 and TMS for Objects
  • UUID improvements

v4.2.7

August 28, 2019

Modified

  • Objects API
  • Grant Optimizations

v4.2.6

August 8, 2019

Modified

  • Signals

v4.2.5

August 1, 2019

Modified

  • UUID param in Set and Get State

v4.2.4

June 20, 2019

Fixed

  • Destroy now cleans up all goroutines opened by the SDK

v4.2.3

June 13, 2019

Modified

  • UUID dependency update

Fixed

  • Fix deadlock on destroy

v4.2.2

May 27, 2019

Modified

  • Presence Timeout cannot be lower than 20

v4.2.1

March 21, 2019

Fixed

  • History timetoken float64 to int64 conversion loss fix

v4.2.0

March 13, 2019

Modified

  • Message Counts simplification (Breaking changes from the previous version).

v4.1.7

March 5, 2019

Modified

  • Implement history Message Counts

Fixed

  • All request were secure (https), even when the Secure flag was false

v4.1.6

January 15, 2019

Modified

  • Fixes for 32bit and armv7 systems
  • QueryParam and State in Presence Heartbeat

v4.1.5

December 18, 2018

Added

  • Heartbeats per channel

Modified

  • Presence Heartbeat call delays itself when a Subscribe call precedes it

v4.1.4

October 18, 2018

Added

  • QueryParams in all API calls
  • d in grant
  • maxIdleConnsPerHost setting in config

Modified

  • Max concurrent workers for Publish and Grant requests

v4.1.3

September 4, 2018

Fixed

  • Multiple auth keys in grant fix
  • Presence timetoken float64 fix

v4.1.2

August 1, 2018

Modified

  • Optimizations
  • coverage improvements

Fixed

  • presence timetoken fix

v4.1.1

June 21, 2018

Modified

  • MessageQueueOverflowCount and PNRequestMessageCountExceededCategory
  • subscribeMessageWorker optimization
  • integration tests optimizations

v4.1.0

June 18, 2018

Modified

  • Some breaking changes from the previous v4's
  • config field UseHttp2 is now UseHTTP2
  • config field Uuid is now UUID
  • Get State/ WhereNow Uuid is now UUID
  • In Fire/Publish Ttl() is now TTL()
  • In Grant Ttl() is now TTL()
  • PNPAMEntityData Ttl is now TTL
  • PNAccessManagerKeyData Ttl is now TTL
  • TlsEnabled is now TLSEnabled in StatusResponse and ResponseInfo
  • Uuid is now UUID in StatusResponse and ResponseInfo

v4.0.0-rc.5

June 8, 2018

Modified

  • close old subworker goroutine before starting new one

Fixed

  • optimizations and deadlock fixes in subscribe loop
  • old channels got subscribed in new sub after reconnection
  • data race fixes
  • stop tickers, state manager locks

v4.0.0-rc.4

May 3, 2018

Fixed

  • stop heartbeat requests after unsubscribe all
  • multiple subscribe fixes
  • data race fixes in context
  • fix for subscribe listener on disconnect
  • heartbeat fixes
  • presence heartbeat fixes
  • subscribe to presence only channel
  • unsubscribe from presence only channel

v4.0.0-rc.3

May 31, 2018

Fixed

  • Reconnection fixes

v4.0.0-rc.2

May 24, 2018

Modified

  • cleanup
  • integration tests fixes for the changes done on auth

Fixed

  • auth fix
  • Signature does not match fix when both secret key and auth is set

v4.0.0-rc.1

May 21, 2018

Fixed

  • set state refactor fix

v4.0.0-beta.8

May 18, 2018

Modified

  • Subscribe with state

v4.0.0-beta.7

April 12, 2018

Modified

  • cipher improvements

v4.0.0-beta.6

April 5, 2018

Modified

  • Fire, Fetch, HereNowRequest

v4.0.0-beta.5

January 10, 2018

Modified

  • add subscribe builder

v4.0.0-beta.4

January 3, 2018

Modified

  • add Telemetry Manager

v4.0.0-beta.3

December 20, 2017

Modified

  • add Destroy() method

v4.0.0-beta.2

November 7, 2017

Modified

  • add reconnection manager
  • rename list, remove, add, delete channel of channel groups

Fixed

  • fix comma encoding
  • fix signature

v4.0.0-beta

October 4, 2017

Modified

  • initial beta
← TroubleshootingFeature Support →
  • v7.0.3
    • Fixed
  • v7.0.2
    • Fixed
  • v7.0.1
    • Fixed
  • v7.0.0
    • Modified
  • v6.1.0
    • Added
  • v6.0.2
    • Fixed
  • v6.0.1
    • Fixed
  • v6.0.0
    • Added
  • v5.0.3
    • Fixed
  • v5.0.2
    • Fixed
  • v5.0.0
    • Added
    • Modified
    • Fixed
  • v4.10.0
    • Added
    • Modified
    • Fixed
  • v4.9.1
    • Fixed
  • v4.9.0
    • Added
    • Modified
  • v4.8.0
    • Added
    • Modified
    • Fixed
  • v4.7.0
    • Added
  • v4.6.5
    • Modified
  • v4.6.4
    • Fixed
  • v4.6.3
    • Fixed
  • v4.6.2
    • Fixed
  • v4.6.1
    • Modified
  • v4.6.0
    • Modified
  • v4.5.2
    • Fixed
  • v4.5.1
    • Modified
  • v4.5.0
    • Modified
  • v4.4.0
    • Modified
  • v4.3.1
    • Fixed
  • v4.3.0
    • Modified
  • v4.2.7
    • Modified
  • v4.2.6
    • Modified
  • v4.2.5
    • Modified
  • v4.2.4
    • Fixed
  • v4.2.3
    • Modified
    • Fixed
  • v4.2.2
    • Modified
  • v4.2.1
    • Fixed
  • v4.2.0
    • Modified
  • v4.1.7
    • Modified
    • Fixed
  • v4.1.6
    • Modified
  • v4.1.5
    • Added
    • Modified
  • v4.1.4
    • Added
    • Modified
  • v4.1.3
    • Fixed
  • v4.1.2
    • Modified
    • Fixed
  • v4.1.1
    • Modified
  • v4.1.0
    • Modified
  • v4.0.0-rc.5
    • Modified
    • Fixed
  • v4.0.0-rc.4
    • Fixed
  • v4.0.0-rc.3
    • Fixed
  • v4.0.0-rc.2
    • Modified
    • Fixed
  • v4.0.0-rc.1
    • Fixed
  • v4.0.0-beta.8
    • Modified
  • v4.0.0-beta.7
    • Modified
  • v4.0.0-beta.6
    • Modified
  • v4.0.0-beta.5
    • Modified
  • v4.0.0-beta.4
    • Modified
  • v4.0.0-beta.3
    • Modified
  • v4.0.0-beta.2
    • Modified
    • Fixed
  • v4.0.0-beta
    • Modified
© PubNub Inc. - Privacy Policy