Skip to content

v1.2.0

Compare
Choose a tag to compare
@QuintinWillison QuintinWillison released this 09 Jul 14:14
· 779 commits to main since this release
1405d1f

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:

v1.2.0-apipreview.3 (2020-11-17)

Full Changelog

Implemented enhancements:

  • RTL9: Channel presence #264

Closed issues:

  • Missing lib=go-<version> querystring param in connections #209

Merged pull requests:

v1.2.0-apipreview.2 (2020-11-09)

Full Changelog

Merged pull requests:

  • RTL6c: Publish while not connected #208 (tcard)
  • Update README for 1.2 preview, with associated fixes #206 (tcard)
  • add rtn14 - Connection opening failures: #172 (gernest)

v1.2.0-apipreview.1 (2020-10-21)

Full Changelog

Merged pull requests:

  • Implement options as package-level functions #205 (tcard)
  • v1.2-compliant message and presence publish and subscribe #202 (tcard)

v1.2.0-apipreview.0 (2020-10-16)

Full Changelog

Fixed bugs:

  • Rest.request call timing out doesn't result in the errorMessage being set in the httpPaginatedResponse? #192
  • Channel attach fails in the DISCONNECTED state #189
  • TestFixConnLeak_ISSUE89 is flaky #132

Closed issues:

  • Reauthentication with Presence #164

Merged pull requests:

  • Remove things from public API that aren't in the spec #201 (tcard)
  • Explicitly annotate enum vars so that godoc places them with the type #200 (tcard)
  • Introduce ErrorCode type for predefined error codes #199 (tcard)
  • Merge main into 1.2 #196 (tcard)
  • Always include serial values in encoded protocol messages #195 (lmars)
  • Handle non-PaginatedResult but otherwise valid HTTP error responses #194 (tcard)
  • Add HTTPRequestTimeout option with 10s default #193 (tcard)
  • Ad-hoc fix for enqueuing attach attempt when DISCONNECTED. #191 (tcard)
  • RTL2: EventEmitter for channel events; remove old State #190 (tcard)
  • RTN15e: Check that Connection.Key changes on reconnections. #188 (tcard)
  • RTN15d: Add a test for message delivery on connection recovery. #187 (tcard)
  • RTL13: Handle DETACHED while not DETACHING. #185 (tcard)
  • Fix test for Heartbeat #183 (gernest)
  • Fix race condition in RTN15i test #182 (tcard)
  • RTN15g: Don't attempt resume after server has discarded state #181 (tcard)
  • RTN15i: Add test for already existing functionality. #180 (tcard)
  • RTN15h*: Handle incoming DISCONNECTED while CONNECTED #179 (tcard)
  • Temporarily skip test for RTN23. #178 (tcard)
  • Fix data race in RTN23 test. #177 (tcard)
  • Have a single Travis build as originally intended. #176 (tcard)
  • proto: Decode ms durations as a time.Duration wrapper. #174 (tcard)
  • Fix instances of old nil *ChannelOptions becoming nil option func. #173 (tcard)
  • remove unused fields from Connection #171 (gernest)
  • Add RTN23- heartbeats #169 (gernest)
  • Rename master to main #167 (QuintinWillison)
  • Add rtn16 #165 (gernest)
  • v1.2 ChannelOptions #146 (tcard)
  • v1.2 ClientOptions #145 (tcard)
  • v1.2 event emitter for connection (RTN4) #144 (tcard)