Change Log for Go SDK
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 andDestroy
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 16, 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
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
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
Fixed
- Reconnection fixes
v4.0.0-rc.2
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
Fixed
- set state refactor fix
v4.0.0-beta.8
Modified
- Subscribe with state
v4.0.0-beta.7
Modified
- cipher improvements
v4.0.0-beta.6
Modified
- Fire, Fetch, HereNowRequest
v4.0.0-beta.5
Modified
- add subscribe builder
v4.0.0-beta.4
Modified
- add Telemetry Manager
v4.0.0-beta.3
Modified
- add Destroy() method
v4.0.0-beta.2
Fixed
- fix comma encoding
- fix signature