Skip to content

Commit

Permalink
PubNub SDK 4.8.10 Release (#400)
Browse files Browse the repository at this point in the history
* fix: fix listeners list inherit race of conditions (#395)

Fix issue because of which listener from which listenres has been inherited able to
clean it before new listener will get that list (because new one make call on async
private queue).

* Removing version under the supported platform (#397)

* fix(subscriber): fix subscribe request timeout missing 'reconnect' event (#398)

When maximum subscribe request idle timeout reached, request fail with
timeout error. PubNub SDK report unexpected disconnection and retry
request. Because of issue (fixed) 'reconnect' event will be sent only at double
time of configured subscribe request idle time (CE-3744)

fix(configuration): fix heartbeat value on configuration copy

Event when value not has been set, it was reset to minimum value (20) on
configuration object copy. This has been fixed by direct assign to ivar.

fix(documentation): fix outdated configuration object inline help documentation

Fix default origin and minimum heartbeat value information in PNConfiguration
header.
  • Loading branch information
parfeon authored Jun 29, 2019
1 parent 6cb8bd7 commit 6359735
Show file tree
Hide file tree
Showing 45 changed files with 1,595 additions and 1,279 deletions.
19 changes: 16 additions & 3 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
name: objective-c
scm: github.com/pubnub/objective-c
version: "4.8.9"
version: "4.8.10"
schema: 1
changelog:
-
changes:
-
text: "Fix subscribe request timeout missing 'reconnect' event."
type: bug
-
text: "Fix empty heartbeat value set to minimum on configuration copy."
type: bug
-
text: "Update outdated configuration object inline help documentation"
type: improvement
date: Jun 27, 19
version: v4.8.10
-
changes:
-
Expand Down Expand Up @@ -859,14 +872,14 @@ features:
- UNSUBSCRIBE-ALL
supported-platforms:
-
version: PubNub Objective-C 4.8.8
version: PubNub Objective-C SDK
platforms:
- iOS 9.0 or higher.
- watchOS 4.0 or higher.
- tvOS 10.0 or higher.
- macOS 10.11 or higher.
-
version: PubNub Swift 4.8.8
version: PubNub Swift SDK
platforms:
- iOS 9.0 or higher.
- watchOS 4.0 or higher.
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
27-07-2019 - f566218 - 4.8.10
. fix subscribe request timeout missing 'reconnect' event.
. fix empty heartbeat value set to minimum on configuration copy.
. update outdated configuration object inline help documentation.

17-07-2019 - 8c3d797 - 4.8.9
. fix system version parsing when OS language set to Japanese.
. add ability to specify FCM token for APNS API.
Expand Down
6 changes: 3 additions & 3 deletions Framework/PubNub/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>PubNub</string>
<key>CFBundleGetInfoString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleIdentifier</key>
<string>com.pubnub.pubnub-objc</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>NSHumanReadableCopyright</key>
<string>© 2010 - 2019 PubNub, Inc.</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 3 additions & 3 deletions Framework/PubNub/PubNub-Fabric-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>PubNub</string>
<key>CFBundleGetInfoString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleIdentifier</key>
<string>com.pubnub.pubnub-objc</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>NSHumanReadableCopyright</key>
<string>© 2010 - 2019 PubNub, Inc.</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 3 additions & 3 deletions Framework/PubNub/PubNub-iOS-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>PubNub</string>
<key>CFBundleGetInfoString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleIdentifier</key>
<string>com.pubnub.pubnub-objc</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>NSHumanReadableCopyright</key>
<string>© 2010 - 2019 PubNub, Inc.</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 3 additions & 3 deletions Framework/PubNub/PubNub-tvOS-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>PubNub</string>
<key>CFBundleGetInfoString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleIdentifier</key>
<string>com.pubnub.pubnub-objc</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>NSHumanReadableCopyright</key>
<string>© 2010 - 2019 PubNub, Inc.</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 3 additions & 3 deletions Framework/PubNub/PubNub-watchOS-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>PubNub</string>
<key>CFBundleGetInfoString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleIdentifier</key>
<string>com.pubnub.pubnub-objc</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>4.8.9</string>
<string>4.8.10</string>
<key>NSHumanReadableCopyright</key>
<string>© 2010 - 2019 PubNub, Inc.</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion PubNub.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Pod::Spec.new do |spec|
spec.name = 'PubNub'
spec.version = '4.8.9'
spec.version = '4.8.10'
spec.summary = 'The PubNub Real-Time Network. Build real-time apps quickly and scale them globally.'
spec.homepage = 'https://github.com/pubnub/objective-c'

Expand Down
14 changes: 1 addition & 13 deletions PubNub/Core/PubNub+Core.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
*
* @author Serhii Mamontov
* @since 4.0
* @copyright © 2010-2018 PubNub, Inc.
* @copyright © 2010-2019 PubNub, Inc.
*/
@interface PubNub : NSObject

Expand All @@ -45,17 +45,13 @@ NS_ASSUME_NONNULL_BEGIN
* @brief Retrieve current client's configuration.
*
* @return Copy of currently used configuration.
*
* @since 4.0
*/
- (PNConfiguration *)currentConfiguration;

/**
* @brief Retrieve UUID which has been used during client initialization.
*
* @return User-provided or generated unique user identifier.
*
* @since 4.0
*/
- (NSString *)uuid;

Expand Down Expand Up @@ -84,8 +80,6 @@ NS_ASSUME_NONNULL_BEGIN
* @param configuration User-provided information about how client should operate and handle events.
*
* @return Configured and ready to use \b PubNub client.
*
* @since 4.0
*/
+ (instancetype)clientWithConfiguration:(PNConfiguration *)configuration
NS_SWIFT_NAME(clientWithConfiguration(_:));
Expand Down Expand Up @@ -117,8 +111,6 @@ NS_ASSUME_NONNULL_BEGIN
* \b Default: main
*
* @return Configured and ready to use \b PubNub client.
*
* @since 4.0
*/
+ (instancetype)clientWithConfiguration:(PNConfiguration *)configuration
callbackQueue:(nullable dispatch_queue_t)callbackQueue
Expand Down Expand Up @@ -153,8 +145,6 @@ NS_ASSUME_NONNULL_BEGIN
* @param configuration User-provided information about how client should operate and handle events.
* @param block Copy completion block which will pass new \b PubNub client instance with updated
* configuration.
*
* @since 4.0
*/
- (void)copyWithConfiguration:(PNConfiguration *)configuration
completion:(void(^)(PubNub *client))block
Expand Down Expand Up @@ -195,8 +185,6 @@ NS_ASSUME_NONNULL_BEGIN
* \b Default: main
* @param block Copy completion block which will pass new \b PubNub client instance with updated
* configuration.
*
* @since 4.0
*/
- (void)copyWithConfiguration:(PNConfiguration *)configuration
callbackQueue:(nullable dispatch_queue_t)callbackQueue
Expand Down
Loading

0 comments on commit 6359735

Please sign in to comment.