Skip to content

Releases: ably/ably-go

v1.2.7

09 Jun 14:44
32ed667
Compare
Choose a tag to compare

1.2.7 (2022-06-09)

Full Changelog

Implemented enhancements:

  • Add support to get channel lifecycle status #509

Fixed bugs:

  • Missing pointer safety when creating a new Realtime Client #537
  • realtime: missing test for sync resume (disconnection while sync is in progress) #34

Closed issues:

  • Remove dependency on test.sh bash script to run the tests #530
  • Unstable test TestStats_Direction_RSC6b2 #520
  • Remove flaky unit tests TestAfterOK and TestAfterCanceled in package ablyutil #514
  • Tests for packages ablyutil and ablytest are running more than once in the CI pipeline #504
  • Flaky POST /apps: "Unable to modify existing channel namespace" #354
  • Document ably/generate.go #351
  • Document the project structure in our contributing guide #350
  • Lint code, probably using gofmt #346
  • Conform ReadMe and create Contributing Document #340

Merged pull requests:

v1.2.6

11 May 11:14
a5daf03
Compare
Choose a tag to compare

Change Log

1.2.6 (2022-5-10)

Full Changelog

Fixed bugs:

  • AblyREST.Request() does not work #486
  • Callback not invoked, despite message being received from server #434
  • Undescriptive errors; possible broken fallback functionality #125
  • HTTPPaginatedResult and PaginatedResult are missing some methods #120
  • ID and Client ID is blank on realtime incoming messages. #58
  • Do not persist authorise attributes force & timestamp #54

Closed issues:

  • go Update urls in readme #491
  • Research a new API Design that allows Ably to be mocked in unit tests. #488
  • Once test observability is in place try to turn all tests back on. #479
  • Support Go 1.18 #474
  • Test improvements - Standardise test assertions #456
  • Investigate re-enabling flaky tests. #438
  • Skipped Test: TestPresenceGet_RSP3_RSP3a1 #415
  • Skipped Test: TestPresenceHistory_RSP4_RSP4b3 #414
  • Skipped Test: TestHistory_Direction_RSL2b2 #413
  • Skipped Test: TestRealtimePresence_EnsureChannelIsAttached #412
  • Skipped Test: TestRealtimePresence_Sync250 #411
  • Skipped Test: TestRealtimeConn_BreakConnLoopOnInactiveState #410
  • Skipped Test: TestRealtimeConn_RTN19b #407
  • Skipped Test: TestRealtimeConn_RTN23 #405
  • Skipped Test: TestRealtimeConn_RTN15d_MessageRecovery #404
  • Skipped Test: TestRealtimeConn_RTN12_Connection_Close RTN12d #403
  • Skipped Test: TestRealtime_DontCrashOnCloseWhenEchoOff #400
  • Skipped Test: TestRealtimeChannel_RTL4_Attach RTL4j2 #398
  • Skipped Test: TestAuth_RSA7c #393
  • Document ably/export_test.go #352
  • Rename ClientOption type to something better describing its purpose #348
  • Clean up ably/doc_test.go Example_paginatedResults() #345
  • Update golang.org/x/net dependency (January 2019 > June 2021) #341
  • Flaky test in 1.2 branch: TestRealtimePresence_Sync250 #338
  • Flaky test in 1.2 branch: TestRealtimeConn_RTN19b #333
  • ably-go: add logging to rest & realtime clients #38

Merged pull requests:

v.1.2.5

14 Mar 12:52
c3497d3
Compare
Choose a tag to compare

1.2.5 (2022-03-09)

Full Changelog

Fixed bugs:

  • Failure to get channel with slash #463
  • Hang when joining presence #462
  • Frequently, a client can not get their own presence from a channel after making one call to channel.Presence.Enter. #436

Closed issues:

  • Test improvements - Move integration tests to their own package. #458
  • SPIKE : Find a way to run a single integration test with a CLI command #449
  • Test improvements - Separate unit tests and integration tests. #447
  • Release ably-go #440

Merged pull requests:

v1.2.4

10 Feb 14:51
fc6f8fb
Compare
Choose a tag to compare

1.2.4 (2022-02-10)

Full Changelog

Fixed bugs:

  • Subscribe(), Attach() are either counterintuitive or broken #155

Closed issues:

  • Running tests locally, one test always fails. #445
  • Add ConnectionKey to message #442
  • Follow the lead of the Go team and support the last two major versions of Go #431
  • Remove go.mod from examples #428
  • Refine the documented release procedure #427
  • Assess suitability of go 1.13 in our go.mod #344

Merged pull requests:

  • Deprecate RESTChannel.PublishMultipleWithOptions #450 (lmars)
  • Fix unit test that always failed when run locally. #446 (Rosalita)
  • Add connection key to messages. #443 (Rosalita)
  • Disable flaky tests. #439 (Rosalita)
  • Add ConnectionKey to message #437 (ken8203)
  • Documentation improvements for RealtimePresence. #435 (Rosalita)
  • examples: Remove go.mod and go.sum #430 (lmars)
  • Update Go version to 1.16 in go.mod, drop < 1.16 from versions tested, update README.md fixes #431 #426 (Rosalita)

v1.2.3

27 Oct 17:36
a36a6aa
Compare
Choose a tag to compare

Sorry for the noise but we made a mistake when we released version 1.2.2 of this library. 🤦

The v1.2.2 tag was pushed against the wrong commit, meaning that the library was announcing itself as at version 1.2.1 to the Ably service.
This release (assuming we get the tag push right this time 😜) will correctly identify itself as version 1.2.3.

v1.2.2

22 Oct 18:24
65ff843
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Implement RSC7d (Ably-Agent header) #302

Closed issues:

  • Ablytest #358
  • RTN6: CONNECTED when connection is established #232
  • RSA1, RSA2, RSA11: Basic auth #216

Merged pull requests:

v1.2.1

09 Aug 22:23
83dadff
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Need a migration guide for users going from 1.1.5 to 1.2.0 #361
  • Changelog and release tag #48

Merged pull requests:

  • Update generated files #371 (lmars)
  • Don't set message encoding for valid utf-8 string data #370 (lmars)
  • Export the ablytest package #366 (tcard)
  • Migration guide 1.1.5 to 1.2.0 #364 (QuintinWillison)
  • Update README.md #362 (AndyNicks)
  • RTC8a: client-requested reauthorization while CONNECTED (to main branch) #357 (tcard)
  • RTC8a: client-requested reauthorization while CONNECTED #336 (tcard)

v1.2.0

09 Jul 14:14
1405d1f
Compare
Choose a tag to compare

Version 1.2.0 is out of pre-release!

Full Changelog since v1.1.5

Full Changelog since v1.2.0-apipreview.6

Implemented enhancements:

  • Add enough logs to troubleshoot problems #160

Closed issues:

  • Create code snippets for homepage (go) #324
  • Unexport package proto, ablycrypto, ablytest #291
  • API compliance - Go 1.2 #271
  • RTN7: ACK and NACK #215

Merged pull requests:

v1.2.0-apipreview.6 (2021-06-17)

Full Changelog

Fixed bugs:

  • IV shouldn't be reused between messages #330

Closed issues:

  • RTN21: Overriding connectionDetails #227

Merged pull requests:

v1.2.0-apipreview.5 (2021-06-04)

Full Changelog

Implemented enhancements:

  • Common design for PaginatedResult-related methods #278
  • Add Connection Error Handling - 0.8 feature #51

Fixed bugs:

  • API completeness #50
  • Passing tests appear to have failed in Travis #47
  • Go JSON / Binary / String support #9

Closed issues:

  • Fix RTN14c test to include full connection establishment #315
  • Flaky test in 1.2 branch: TestStatsPagination_RSC6a_RSCb3 #313
  • Flaky test in 1.2 branch: TestPresenceHistory_Direction_RSP4b2 #310
  • Flaky test in 1.2 branch: TestRealtimeChannel_Detach #309
  • Fix channel iteration methods #307
  • RTN12: Connection.close #262
  • RTL2f: ChannelEvent RESUMED flag #243
  • RTL17: Only dispatch messages when ATTACHED #240
  • RTL14: ERROR message for channel #238
  • RTL12: Random incoming ATTACHED message #237
  • RTN3: Connection.autoConnect #229
  • RTN2: WebSocket query params #226
  • RTN10: Connection.serial #224
  • RTN24: Handle random CONNECTED message #223
  • RTL5: Channel.detach #212
  • RTL4: Channel.attach #211
  • Bring back reverted README examples #207

Merged pull requests:

  • Unexport CipherParams.IV, useful only for tests #334 (tcard)
  • Unexport package proto, ablycrypto, ablytest #332 (tcard)
  • Fix/conflict integration 1.2 #329 (sacOO7)
  • [FIX CONFLICTS] Merge env. fallbacks to 1.2 #328 (sacOO7)
  • Replace all ts \*testing.T instances with t #326 (tcard)
  • Simplify and uniformize logging #321 (tcard)
  • Websocket query params #320 (sacOO7)
  • Use persisted namespace for history tests #319 (tcard)
  • Avoid current stats period interference with fixtures in tests #318 (tcard)
  • Rewrite RTN14c to test full connection establishment #317 (tcard)
  • Allow setting connection and request timeouts separately #312 (Jmgr)
  • Remove flaky TestRealtimeChannel_Detach #311 (tcard)
  • Fix channel iteration #308 (sacOO7)
  • Connection Autoconnect #306 (sacOO7)
  • Connection serial #305 (sacOO7)
  • Override connectionDetails #304 (sacOO7)
  • Rename PublishBatch -> PublishMultiple #303 (tcard)
  • Migrate Presence.get and REST.request to new paginated results #301 (tcard)
  • Remove Ping public Interface #300 (sacOO7)
  • Channel Attach #299 (sacOO7)
  • Channel Detach #298 (sacOO7)
  • Connection Close #297 (sacOO7)
  • Conform license and copyright #296 (QuintinWillison)
  • RTN24, Handle Random Connected Message #295 (sacOO7)
  • Channel message dispatch only when it's attached #294 (sacOO7)
  • Adapt History to follow new paginated result design #292 (tcard)
  • FailedChannelState on error message #289 (sacOO7)
  • Channel resume #288 (sacOO7)
  • Ensure generated code is up-to-date in CI #287 (tcard)
  • Added H2 with Resources #285 (ramiro-nd)
  • Amend workflow branch name #284 (owenpearson)
  • Ably 1.2 examples #283 (sacOO7)
  • Adapt Stats to follow new paginated result design #281 (tcard)
  • Add scripts/test.sh for running tests #279 (lmars)
  • TestFixConnLeak_ISSUE89: Change the way it detects closed conns #277 (tcard)
  • Generate env fallbacks #268 (sacOO7)

v1.2.0-apipreview.4 (2021-02-11)

Full Changelog

Implemented enhancements:

  • Add missing context.Context arguments #275
  • Defaults: Generate environment fallbacks #198
  • Implement support for connection recovery and resume #52

Closed issues:

  • 'Account disabled' error gets sent as DISCONNECTED #269
  • ttl seems to be set to null in a created token request? #266
  • v1.2 API design #197

Merged pull requests:

  • Bump the version constants #280 (lmars)
  • Propagate contexts everywhere #276 (tcard)
  • Merge main into 1.2 #274 (tcard)
  • Replace Travis with GitHub workflow #273 ([QuintinWillison](h...
Read more

v1.1.5

27 May 20:33
3448441
Compare
Choose a tag to compare

Full Changelog

Merged pull requests:

  • Add logs to help in troubleshooting RestClient http api calls #162 (gernest)
  • Remove unused fields definition on RealtimeClient #161 (gernest)
  • add implementation for RTN15b-c spec #159 (gernest)

v1.1.4

27 Apr 10:10
Compare
Choose a tag to compare

Full Changelog

Fixed bugs:

  • Lib failing to retrying on 5xx if it can't parse the body #154
  • Flaky TestAuth_ClientID test #80
  • Likely leaking goroutines in multiple places #68

Closed issues:

  • Implementing reauthentication before or after token expires #153

Merged pull requests:

  • Properly set Error.StatusCode #157 (gernest)
  • Use ClientOptions.TLSPort for tls connections #156 (gernest)
  • RTN15a: Reconnect after networking error. #152 (tcard)
  • Fix goroutine leaks #151 (tcard)
  • Remove fmt.Println leftovers. #150 (tcard)
  • Don't read from connection on inactive state. #149 (tcard)
  • RTN23a: Receive from WebSocket with a timeout. #148 (tcard)