Skip to content

Commit f05433e

Browse files
authored
Fix mutated request usage (#86)
fix(request): fix request mutators apply Fix issue because of which request with applied mutators not used. refactor(codeowners): update list of codeowners Update list of codeowners and files for which they responsible. build: integrate with release notifications Add support for release process notifications.
1 parent bcb41ad commit f05433e

File tree

8 files changed

+16
-10
lines changed

8 files changed

+16
-10
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
* @parfeon @CraigLn
2-
README.md @crimsonred @techwritermat
3-
.pubnub.yml @crimsonred @techwritermat
2+
.github/* @parfeon @CraigLn
3+
README.md @techwritermat @kazydek

.github/workflows/commands-handler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ jobs:
2424
with:
2525
token: ${{ secrets.GH_TOKEN }}
2626
listener: client-engineering-bot
27+
jira-api-key: ${{ secrets.JIRA_API_KEY }}

.github/workflows/releasae.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ jobs:
5353
uses: ./.github/.release/actions/actions/services/github-release
5454
with:
5555
token: ${{ secrets.GH_TOKEN }}
56+
jira-api-key: ${{ secrets.JIRA_API_KEY }}
5657
last-service: true
57-

.pubnub.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
name: swift
33
scm: github.com/pubnub/swift
4-
version: "4.1.0"
4+
version: "4.1.1"
55
schema: 1
66
changelog:
7+
- date: 2021-11-05
8+
version: 4.1.1
9+
changes:
10+
- type: bug
11+
text: "Fix issue because of which request with applied mutators not used."
712
- date: 2021-09-16
813
version: 4.1.0
914
changes:
@@ -419,7 +424,7 @@ sdks:
419424
- distribution-type: source
420425
distribution-repository: GitHub release
421426
package-name: PubNub
422-
location: https://github.com/pubnub/swift/archive/refs/tags/4.1.0.zip
427+
location: https://github.com/pubnub/swift/archive/refs/tags/4.1.1.zip
423428
supported-platforms:
424429
supported-operating-systems:
425430
macOS:

PubNub.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2514,7 +2514,7 @@
25142514
"$(inherited)",
25152515
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
25162516
);
2517-
MARKETING_VERSION = 4.1.0;
2517+
MARKETING_VERSION = 4.1.1;
25182518
OTHER_CFLAGS = "$(inherited)";
25192519
OTHER_LDFLAGS = "$(inherited)";
25202520
OTHER_SWIFT_FLAGS = "$(inherited)";
@@ -2547,7 +2547,7 @@
25472547
"$(inherited)",
25482548
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
25492549
);
2550-
MARKETING_VERSION = 4.1.0;
2550+
MARKETING_VERSION = 4.1.1;
25512551
OTHER_CFLAGS = "$(inherited)";
25522552
OTHER_LDFLAGS = "$(inherited)";
25532553
OTHER_SWIFT_FLAGS = "$(inherited)";

PubNubSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PubNubSwift'
3-
s.version = '4.1.0'
3+
s.version = '4.1.1'
44
s.homepage = 'https://github.com/pubnub/swift'
55
s.documentation_url = 'https://www.pubnub.com/docs/swift-native/pubnub-swift-sdk'
66
s.authors = { 'PubNub, Inc.' => '[email protected]' }

Sources/PubNub/Helpers/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public struct Constant {
6262
}()
6363

6464
static let pubnubSwiftSDKVersion: String = {
65-
"4.1.0"
65+
"4.1.1"
6666
}()
6767

6868
static let appBundleId: String = {

Sources/PubNub/Networking/HTTPSession.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ final class HTTPSession {
177177
switch result {
178178
case let .success(mutatedRequest):
179179
request.didMutate(urlRequest, to: mutatedRequest)
180-
self?.didCreateURLRequest(urlRequest, for: request)
180+
self?.didCreateURLRequest(mutatedRequest, for: request)
181181
case let .failure(error):
182182
request.didFailToMutate(urlRequest, with: error)
183183
}

0 commit comments

Comments
 (0)