RubyChangelog for Ruby V4 SDK

 

These docs are for PubNub 4.0 for Ruby which is our latest and greatest! For the docs of the older versions of the SDK, please check PubNub 3.0 for Ruby.

If you have questions about the PubNub for Ruby SDK, please contact us at support@pubnub.com.


Added
  • Add simplified Objects API support with UUID and Channel metadata / membership management.

  • Add uuid and parameter to Grant API along with new Objects permissions: get, update and join.

Added
  • Add delete permission for channel to Grant.

Fixed
  • Don't suppress runtime errors.

Added
  • History can now respond with message meta information.

  • Added official support for Ruby 2.7.X

Fixed
  • History properly decrypts messages when using the "include_token" parameter.

Fixed
  • Fixed Message Counts channel timetokens by disabling alphabetic sorting of the channels list.

Fixed
  • Replace event name with full endpoint path in PAM signatures, for compatibility with PAM v2 signatures.

  • Change paths for PAM endpoints from v1 to v2.

  • Update PAM signature generator to correctly sort the query string parameters based on key instead of combined key and value.

Modified
  • Resolved issue with subscribe loop where the connection was reinitiated after receiving a 4xx error code from the server

Modified
  • Resolved issue with multiple timetokens in message counts endpoint

Added
  • Updated listener methods

Added
  • Added objects feature

Added
  • Added signal feature

Modified
  • Updated dependencies

Added
  • Added push API

Added
  • Added 'message_count' API endpoint

Modified
  • Switch from Celluloid to concurrent-ruby.

Modified
  • Fixed telemetry issues.

Modified
  • Secured telemetry call. Fixed crash when an app was exiting.

Added
  • Added telemetry

Added
  • Added #delete_messages method

Modified
  • Improved timeout error handling (thanks @f1sherman)

Fixed
  • Fixed HereNow envelope generation

Fixed
  • Fixed signature generation and channel name escaping

Fixed
  • Fixed signature generation

Modified
  • origin can now be set in initialized client

  • presence interval support

  • allows using multiple cipher keys

Fixed
  • Fixed sync subscribe not terminating actors

Modified
  • Added a bit more debug logging

  • Updated default origin

Fixed
  • Fixed missing channel group parameter in leave event

Fixed
  • Fixed PAM signature when some special characters are present

Modified
  • Added ttl parameter for publish

Modified
  • Changed init message log level to debug

Modified
  • Added alert on catchup failure (REQUEST_MESSAGE_COUNT_EXCEEDED)

Modified
  • Added super admin mode (Enabled when secret key is set on Pubnub::Client init)

Modified
  • Better single events timeout handling

  • DRYed envelope formatting a bit

Modified
  • Removed json dependency

  • Updated dependecies

Modified
  • Updated dry-validation.

  • Dropped support for ruby 2.0.

Modified
  • Added message decrypting in history.

Modified
  • channel and channels are the same argument.

  • channel_group and channel_groups are the same argument.

  • added with_presence flag for subscribe, default false.

Modified
  • Required CGI.

Added
  • Added

Modified
  • Updated dry-validation and EnvelopeSchema.

Added
  • Removed auth_key and uuid setters (#set_auth_key,

Modified
  • Added

Modified
  • Restored auth_key and uuid setters. Important notice: they will be removed

Added
  • Added :include_token parameter to history call.

Modified
  • Updated celluloid dependency.

Modified
  • Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change.