Skip to content

Commit 9c2efd4

Browse files
Version 4.26.1 (#164)
* Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Feature/unread messages (#142) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Sync changes (#144) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Sync (#145) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Feature/update message counts (#146) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Drop timetoken param from message counts feature * Prepare for version 4.22.0 (#148) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Update gradle version * Bump version * Update javadoc * Update .pubnub.yml * Fix reconnection issues by allowing it solely for network issues (#150) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Update gradle version * Bump version * Update javadoc * Fix reconnection logic by allowing retries only for connection issues * Bump version * Update Travis to use xenial Update Travis to use xenial * Update .travis.yml (#151) * Fix issues (#152) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Update gradle version * Bump version * Update javadoc * Version 4.23.0 (#149) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Feature/unread messages (#142) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Sync changes (#144) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Sync (#145) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Feature/update message counts (#146) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Drop timetoken param from message counts feature * Prepare for version 4.22.0 (#148) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Update gradle version * Bump version * Update javadoc * Update .pubnub.yml * Fix reconnection issues by allowing it solely for network issues (#150) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Update gradle version * Bump version * Update javadoc * Fix reconnection logic by allowing retries only for connection issues * Bump version * Update Travis to use xenial Update Travis to use xenial * Update .travis.yml (#151) * Disable presence heartbeats by default * Enforce a minimum presence timeout value * Add tests for disabled heartbeats feature * Bump version * Expose gson library * Update javadoc * Fix codacy complaints * Multiple fixes (#155) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Fix codacy complaints * Update gradle version * Bump version * Update javadoc * 4.24.0 (#153) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Remove obsolete plugin to make Travis tests successful * Release 4.20.0 (#126) * Update latest release date * Bump version to 4.20.0 * Update for the new release (#128) * Update latest release date * Fix version code * Add ability for optional query map (#132) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Allow adding optional query params to every request * Feature/update setup doc (#131) * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Feature/release 4.21.0 (#134) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Bump version to 4.21.0 * Edit yaml file * Library and test update (#138) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Update developer setup documentation, improve code checkstyle rules when compiling * Update library versions * Formated code in test, testing wiremock library for creating paths with "/" * Update retrofit version, add RunAllTests class for running tests synchronously * Update wiremock rules and testing methods, fix test errors * Update library versions and checkstyle rule * Update code and checkstyle rule * Fix test using atomic integer instead of boolean * Improve gradle semantics for adding dependencies, add developer document building instructions * Format developer document * Update retrofit version * Update subscription manager test timeout to 4 seconds * Bump version * Syncing with master (#140) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Feature/unread messages (#142) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Add Unread Message Count feature * Add validity check * Add message count tests * Add another validity check * Add new tests for message count * Refactor iterator * Update pubnub.yml * Bump version * Update javadoc * Sync changes (#144) * Update latest release date * Update for the new release (#128) * Update latest release date * Fix version code * Libraries update, test update (#139) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Qsoftdevelopment fixversion1.19.0 (#122) * Fix an issue where end of channel history was interpreted as an error (#121) * Ensure ListenerManager listeners are synchronized Prevents ConcurrentModificationException * Upgrade Gson library to 2.8.2 * Bump version to 4.15.0 * Bump version to 4.15.0 * Add new checkstyle.xml file * Update tests for 4.15.0 * Downgrade checkstyle for Java 7 * Add Javadoc for 4.15.0 * Fix a bug where TelemetryManager prevented PubNub from destroying * Fix Codacy complaints (#95) * Delete test (#97) * Bugfix for yaml (#98) * Fix yaml * Update javadoc * fix up maximum conenctions * docs changes * bump version * changelog w/ dates * Add heartbeat feature with no subscription * 4.17.0 * docs for presence operation * Add heartbeat feature with no subscription (#103) * Add heartbeat feature with no subscription * Fix Travis complaints * Remove wildcard imports * Update OkHttp dependency (#105) * Fix codacy complaints (#106) * Fix more tests for Codacy (#107) * Fix codacy complaints * Fix codacy complaints 2 * Update OkHttp version (#110) * 4.18.0 * Update pubnub-yml (#113) * Update latest release date (#118) * Fix an issue where end of channel history was interpreted as an error (#120) * Update latest release date * Fix an issue where end of channel history was interpreted as an error * Update .pubnub.yml * Fix a bug where the global-here-now response was interpreted incorrectly (#124) * Update latest release date * Fix a bug where the global-here-now response was incorrectly interpreted * Update .travis.yml Re…
1 parent 83da315 commit 9c2efd4

13 files changed

Lines changed: 136 additions & 86 deletions

File tree

‎.pubnub.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: java
2-
version: 4.26.0
2+
version: 4.26.1
33
schema: 1
44
scm: github.com/pubnub/java
55
files:
6-
- build/libs/pubnub-gson-4.26.0-all.jar
6+
- build/libs/pubnub-gson-4.26.1-all.jar
77
changelog:
8+
- version: v4.26.1
9+
date: 2019-08-13
10+
changes:
11+
- type: feature
12+
text: Introduce serialization class for Signals API
813
- version: v4.26.0
914
date: 2019-08-09
1015
changes:

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212
group = 'com.pubnub'
1313

14-
version = '4.26.0'
14+
version = '4.26.1'
1515

1616
description = """"""
1717

‎src/main/java/com/pubnub/api/PubNub.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class PubNub {
6464
private static final int TIMESTAMP_DIVIDER = 1000;
6565
private static final int MAX_SEQUENCE = 65535;
6666

67-
private static final String SDK_VERSION = "4.26.0";
67+
private static final String SDK_VERSION = "4.26.1";
6868

6969
public PubNub(PNConfiguration initialConfig) {
7070
this.configuration = initialConfig;

‎src/main/java/com/pubnub/api/callbacks/SubscribeCallback.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.pubnub.api.models.consumer.PNStatus;
55
import com.pubnub.api.models.consumer.pubsub.PNMessageResult;
66
import com.pubnub.api.models.consumer.pubsub.PNPresenceEventResult;
7+
import com.pubnub.api.models.consumer.pubsub.PNSignalResult;
78

89
public abstract class SubscribeCallback {
910
public abstract void status(PubNub pubnub, PNStatus status);
@@ -12,5 +13,5 @@ public abstract class SubscribeCallback {
1213

1314
public abstract void presence(PubNub pubnub, PNPresenceEventResult presence);
1415

15-
public abstract void signal(PubNub pubnub, PNMessageResult signal);
16+
public abstract void signal(PubNub pubnub, PNSignalResult signal);
1617
}

‎src/main/java/com/pubnub/api/endpoints/FetchMessages.java‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.pubnub.api.managers.RetrofitManager;
1212
import com.pubnub.api.managers.TelemetryManager;
1313
import com.pubnub.api.models.consumer.history.PNFetchMessagesResult;
14+
import com.pubnub.api.models.consumer.pubsub.MessageResult;
1415
import com.pubnub.api.models.consumer.pubsub.PNMessageResult;
1516
import com.pubnub.api.models.server.FetchMessagesEnvelope;
1617
import com.pubnub.api.models.server.HistoryForChannelsItem;
@@ -96,12 +97,12 @@ protected PNFetchMessagesResult createResponse(Response<FetchMessagesEnvelope> i
9697
List<PNMessageResult> messages = new ArrayList<>();
9798

9899
for (HistoryForChannelsItem item : entry.getValue()) {
99-
PNMessageResult.PNMessageResultBuilder pnMessageResultBuilder = PNMessageResult.builder();
100-
pnMessageResultBuilder.channel(entry.getKey());
100+
MessageResult.MessageResultBuilder messageResultBuilder = PNMessageResult.builder();
101+
messageResultBuilder.channel(entry.getKey());
101102
JsonElement message = processMessage(item.getMessage());
102-
pnMessageResultBuilder.message(message);
103-
pnMessageResultBuilder.timetoken(item.getTimetoken());
104-
messages.add(pnMessageResultBuilder.build());
103+
messageResultBuilder.message(message);
104+
messageResultBuilder.timetoken(item.getTimetoken());
105+
messages.add(new PNMessageResult(messageResultBuilder.build()));
105106
}
106107

107108
listMap.put(entry.getKey(), messages);

‎src/main/java/com/pubnub/api/managers/ListenerManager.java‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import com.pubnub.api.models.consumer.PNStatus;
66
import com.pubnub.api.models.consumer.pubsub.PNMessageResult;
77
import com.pubnub.api.models.consumer.pubsub.PNPresenceEventResult;
8+
import com.pubnub.api.models.consumer.pubsub.PNSignalResult;
89

910
import java.util.ArrayList;
1011
import java.util.List;
@@ -50,13 +51,9 @@ public void announce(PNStatus status) {
5051
}
5152
}
5253

53-
public void announce(PNMessageResult message, Integer type) {
54+
public void announce(PNMessageResult message) {
5455
for (SubscribeCallback subscribeCallback : getListeners()) {
55-
if (type == null) {
56-
subscribeCallback.message(this.pubnub, message);
57-
} else if (type == 1) {
58-
subscribeCallback.signal(this.pubnub, message);
59-
}
56+
subscribeCallback.message(this.pubnub, message);
6057
}
6158
}
6259

@@ -66,4 +63,10 @@ public void announce(PNPresenceEventResult presence) {
6663
}
6764
}
6865

66+
public void announce(PNSignalResult signal) {
67+
for (SubscribeCallback subscribeCallback : getListeners()) {
68+
subscribeCallback.signal(this.pubnub, signal);
69+
}
70+
}
71+
6972
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
package com.pubnub.api.models.consumer.pubsub;
2+
3+
import com.google.gson.JsonElement;
4+
import lombok.AllArgsConstructor;
5+
import lombok.Builder;
6+
import lombok.Getter;
7+
import lombok.ToString;
8+
9+
@Builder
10+
@AllArgsConstructor
11+
@Getter
12+
@ToString
13+
public class MessageResult {
14+
15+
private JsonElement message;
16+
17+
@Deprecated
18+
private String subscribedChannel;
19+
@Deprecated
20+
private String actualChannel;
21+
22+
private String channel;
23+
private String subscription;
24+
25+
private Long timetoken;
26+
private JsonElement userMetadata;
27+
28+
private String publisher;
29+
30+
public MessageResult(MessageResult messageResult) {
31+
this.message = messageResult.message;
32+
this.subscribedChannel = messageResult.subscribedChannel;
33+
this.actualChannel = messageResult.actualChannel;
34+
this.channel = messageResult.channel;
35+
this.subscription = messageResult.subscription;
36+
this.timetoken = messageResult.timetoken;
37+
this.userMetadata = messageResult.userMetadata;
38+
this.publisher = messageResult.publisher;
39+
}
40+
}
41+
Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
package com.pubnub.api.models.consumer.pubsub;
22

3-
import com.google.gson.JsonElement;
4-
import lombok.Builder;
5-
import lombok.Getter;
6-
import lombok.ToString;
3+
public class PNMessageResult extends MessageResult {
74

8-
@Getter
9-
@Builder
10-
@ToString
11-
public class PNMessageResult {
12-
13-
private JsonElement message;
14-
15-
@Deprecated
16-
private String subscribedChannel;
17-
@Deprecated
18-
private String actualChannel;
19-
20-
private String channel;
21-
private String subscription;
22-
23-
private Long timetoken;
24-
private JsonElement userMetadata;
25-
26-
private String publisher;
5+
public PNMessageResult(MessageResult messageResult) {
6+
super(messageResult);
7+
}
278
}
289

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.pubnub.api.models.consumer.pubsub;
2+
3+
public class PNSignalResult extends MessageResult {
4+
5+
public PNSignalResult(MessageResult messageResult) {
6+
super(messageResult);
7+
}
8+
}

‎src/main/java/com/pubnub/api/workers/SubscribeMessageWorker.java‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
import com.pubnub.api.managers.MapperManager;
1414
import com.pubnub.api.models.consumer.PNErrorData;
1515
import com.pubnub.api.models.consumer.PNStatus;
16+
import com.pubnub.api.models.consumer.pubsub.MessageResult;
1617
import com.pubnub.api.models.consumer.pubsub.PNMessageResult;
1718
import com.pubnub.api.models.consumer.pubsub.PNPresenceEventResult;
19+
import com.pubnub.api.models.consumer.pubsub.PNSignalResult;
1820
import com.pubnub.api.models.server.PresenceEnvelope;
1921
import com.pubnub.api.models.server.PublishMetaData;
2022
import com.pubnub.api.models.server.SubscribeMessage;
@@ -180,7 +182,7 @@ private void processIncomingPayload(SubscribeMessage message) {
180182
log.debug("unable to parse payload on #processIncomingMessages");
181183
}
182184

183-
PNMessageResult pnMessageResult = PNMessageResult.builder()
185+
MessageResult messageResult = MessageResult.builder()
184186
.message(extractedMessage)
185187
// deprecated
186188
.actualChannel((subscriptionMatch != null) ? channel : null)
@@ -193,7 +195,13 @@ private void processIncomingPayload(SubscribeMessage message) {
193195
.userMetadata(message.getUserMetadata())
194196
.build();
195197

196-
listenerManager.announce(pnMessageResult, message.getType());
198+
if (message.getType() == null) {
199+
listenerManager.announce(new PNMessageResult(messageResult));
200+
} else if (message.getType() == 0) {
201+
listenerManager.announce(new PNMessageResult(messageResult));
202+
} else if (message.getType() == 1) {
203+
listenerManager.announce(new PNSignalResult(messageResult));
204+
}
197205
}
198206
}
199207

0 commit comments

Comments
 (0)