Skip to content

v2.0.0

Latest

Choose a tag to compare

@ttypic ttypic released this 28 Oct 17:10
7522f5d

This is a major release. The ably gem is replaced by ably-pubsub-server. See the migration guide for details on upgrading from 1.x.

Breaking changes:

  • Clients are created with Ably::PubSub::Server.create_http_client and Ably::PubSub::Server.create_realtime_client (#458)
  • Move client namespaces under Ably::PubSub: Ably::Rest becomes Ably::PubSub::Http and Ably::Realtime becomes Ably::PubSub::Realtime (#458)
  • Replace the environment, rest_host, realtime_host and fallback_hosts_use_default options with the endpoint client option; traffic moves to main.realtime.ably.net (#458)
  • Raise when releasing a realtime channel that isn't detached (RTS4c-e) (#458, #460)
  • Upgrade to Ably protocol version 5 (#450)
  • publish now returns an Ably::Models::PublishResult with message serials (RSL1n) (#450)
  • Rewrite the Stats model to match spec v2.1+ (TS12) (#450)

Implemented enhancements:

  • Add update_message, delete_message and append_message for HTTP and Realtime channels (RSL15/RTL32) (#450)

Fixed bugs:

  • Fix REST presence query params to use the correct camelCase format (clientId, connectionId) (#458)