JavaChangelog for PubNub Java V4 SDK

Modified
  • JSON parser is switched to GSON, new artifact on nexus as pubnub-gson

  • GetState, setState return a JsonElement instead of a plain object.

Modified
  • Swapping out logger for slf4japi and removing final methods

Modified
  • remove final identifiers from the public facing API.

Modified
  • include publisher UUID on incoming message

  • allow to set custom TTL on a publish

Modified
  • Signatures are generated for all requests with secret key to ensure secure transmission of data

  • support for alerting of queue exceeded (PNRequestMessageCountExceededCategory)

  • signaling to okhttp to stop the queues on termination.

Modified
  • destory now correctly forces the producer thread to shut down; stop is now deprecated for disconnect

  • support for sending instance id for presence detection (disabled by default)

  • support for sending request id to burst cache (enabled by default)

  • proxy support via the native proxy configurator class.

Modified
  • on PAM error, populate the affectedChannel or affectedChannelGroup to signal which channels are failing

Modified
  • populate jso with the error.

Fixed
  • fixing parsing of origination payload within the psv2 enevelope

Modified
  • bumping build process for gradle 3 / merging documentation into the repo and test adjustments

Modified
  • adding channel / channelGroup fields when a message / presence event comes in.

Modified
  • adjustments for handling pn_other and decryption

  • retrofit version bumps.

Added
  • added unsubscribeAll, getSubscribedChannels, getSubscribedChannelGroups

  • SDK will establish secure connections by default

  • added support for exponential backoff reconnection policies

Modified
  • reduce overlap on error handling when returning exceptions.

Modified
  • send heartbeat presence value when subscribing

Modified
  • unified retrofit handling to lower amount of instances and sync'd the state methods.

Fixed
  • setting State for other UUID's is now supported.

Added
  • fire() method and no-replicaton options.

Fixed
  • fix to the version fetching.

Fixed
  • adjustment of the subscribe loop to alleviate duplicate dispatches.

Fixed
  • first GA.

Modified
  • reconnects and minor adjustments.

Fixed
  • fixing state not coming on the subscriber callback.

  • adjustments to URL encoding on publish, subscribe, set-state operations to avoid double encoding with retrofit.

Modified
  • reworking of message queue.

  • checkstyle, findbugs.

  • reworking error notifications.

Modified
  • initial beta1.

Check out PubNub's other Java-based SDKs, such as Java V4, Android V4