Skip to content

Commit 7b6e08d

Browse files
author
Netraj Patel
committed
Merge branch 'development' into feat/dx-85-gcp-support
2 parents a8877eb + ded6a46 commit 7b6e08d

33 files changed

Lines changed: 747 additions & 211 deletions

.github/workflows/jira.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Create JIRA ISSUE
2+
on:
3+
pull_request:
4+
types: [opened]
5+
jobs:
6+
security-jira:
7+
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}}
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Login into JIRA
12+
uses: atlassian/gajira-login@master
13+
env:
14+
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
15+
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
16+
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
17+
- name: Create a JIRA Issue
18+
id: create
19+
uses: atlassian/gajira-create@master
20+
with:
21+
project: ${{ secrets.JIRA_PROJECT }}
22+
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
23+
summary: |
24+
${{ github.event.pull_request.title }}
25+
description: |
26+
PR: ${{ github.event.pull_request.html_url }}
27+
28+
fields: "${{ secrets.JIRA_FIELDS }}"
29+
- name: Transition issue
30+
uses: atlassian/gajira-transition@v3
31+
with:
32+
issue: ${{ steps.create.outputs.issue }}
33+
transition: ${{ secrets.JIRA_TRANSITION }}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Contentstack iOS Delivery SDK Release
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
release:
10+
name: Release Contentstack iOS Delivery SDK Release
11+
runs-on: macos-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
17+
- name: Select Xcode
18+
run: sudo xcode-select -switch /Applications/Xcode.app && /usr/bin/xcodebuild -version
19+
20+
- name: Install dependencies
21+
run: |
22+
pod install --repo-update
23+
24+
- name: Build
25+
run: |
26+
# Add commands to build and test your package
27+
xcodebuild -workspace Contentstack.xcworkspace -scheme 'Contentstack' -destination 'platform=iOS Simulator,name=iPhone 13 Pro'
28+
29+
- name: CocoaPods trunk push
30+
run: pod trunk push --allow-warnings
31+
env:
32+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

.github/workflows/sast-scan.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: SAST Scan
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
jobs:
6+
security-sast:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Semgrep Scan
11+
run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v "${PWD}:/src" returntocorp/semgrep semgrep scan --config auto

.github/workflows/sca-scan.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.talismanrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
threshold: medium
1+
fileignoreconfig:
2+
- filename: Contentstack.xcodeproj/project.pbxproj
3+
checksum: 331c4ff2e540e9495ff2a0d030ddd7f7c2eda077cb0b1a58c67fc2312b53658e
4+
version: ""

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### Version: 3.12.3
2+
#### Date: May-16-2023
3+
4+
##### Enhancement:
5+
- Added support for GCP_NA region
6+
7+
### Version: 3.12.2
8+
#### Date: Mar-22-2024
9+
10+
##### Bug Fix:
11+
- fixed issue while importing headers
12+
13+
### Version: 3.12.1
14+
#### Date: Feb-01-2024
15+
16+
##### Enhancement:
17+
- Retry URL request on 408, 429 errors
18+
119
### Version: 3.12.0
220
#### Date: May-26-2023
321

Contentstack.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
Pod::Spec.new do |s|
22
s.name = 'Contentstack'
3-
s.version = '3.12.3'
3+
s.version = '3.13.0'
44
s.summary = 'Contentstack is a headless CMS with an API-first approach that puts content at the centre.'
55

66
s.description = <<-DESC
7-
Contentstack is a headless CMS with an API-first approach that puts content at the centre. It is designed to simplify the process of publication by separating code from content.
7+
Contentstack is a headless CMS with an API-first approach that puts content at the centre. It is designed to simplify the process of publication by separating code from content.
88
In a world where content is consumed via countless channels and form factors across mobile, web and IoT. Contentstack reimagines content management by decoupling code from content. Business users manage content – no training or development required. Developers can create cross-platform apps and take advantage of a headless CMS that delivers content through APIs. With an architecture that’s extensible – but without the bloat of legacy CMS – Contentstack cuts down on infrastructure, maintenance, cost and complexity.
99
DESC
1010

1111
s.homepage = 'https://www.contentstack.com/'
1212
s.license = { :type => 'Commercial',:text => 'See https://www.contentstack.com/'}
1313
s.author = { 'Contentstack' => 'support@contentstack.io' }
1414

15-
s.source = { :git => 'https://github.com/contentstack/contentstack-ios.git', :tag => 'v3.12.3' }
15+
s.source = { :git => 'https://github.com/contentstack/contentstack-ios.git', :tag => 'v3.13.0' }
1616
s.social_media_url = 'https://twitter.com/Contentstack'
1717

1818
s.ios.deployment_target = '11.0'

Contentstack.xcodeproj/project.pbxproj

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
23A53F501E277BBE001DBE35 /* NSObject+Extensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 23A53F331E276BA5001DBE35 /* NSObject+Extensions.m */; };
9696
23A53F5A1E277CD3001DBE35 /* Contentstack.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 230B38C01C16E98B00444A14 /* Contentstack.framework */; };
9797
23B6F12A1B5662EE00A9E983 /* ISO8601DateFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 23B6F1281B5662EE00A9E983 /* ISO8601DateFormatter.m */; };
98+
4714B7D42C5EAFCC004E941E /* Taxonomy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4714B7D32C5EAFCC004E941E /* Taxonomy.m */; };
99+
479EC6642C5FCBDC00C5630B /* Taxonomy.h in Headers */ = {isa = PBXBuildFile; fileRef = 4714B7D52C5EAFF5004E941E /* Taxonomy.h */; settings = {ATTRIBUTES = (Public, ); }; };
98100
565E11BB1BD76654005AD47F /* MMDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 565E11AA1BD76654005AD47F /* MMDocument.m */; };
99101
565E11BC1BD76654005AD47F /* MMElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 565E11AD1BD76654005AD47F /* MMElement.m */; };
100102
565E11BD1BD76654005AD47F /* MMGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = 565E11AF1BD76654005AD47F /* MMGenerator.m */; };
@@ -103,6 +105,8 @@
103105
565E11C01BD76654005AD47F /* MMParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 565E11B61BD76654005AD47F /* MMParser.m */; };
104106
565E11C11BD76654005AD47F /* MMScanner.m in Sources */ = {isa = PBXBuildFile; fileRef = 565E11B81BD76654005AD47F /* MMScanner.m */; };
105107
565E11C21BD76654005AD47F /* MMSpanParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 565E11BA1BD76654005AD47F /* MMSpanParser.m */; };
108+
64F5220E2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 64F5220D2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy */; };
109+
64F5220F2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 64F5220D2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy */; };
106110
AC8EFB00BB10FD9E9347B36E /* libPods-ContentstackTest.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1BF5BF157E2FBD4654225A01 /* libPods-ContentstackTest.a */; };
107111
F08A4E439D49C3F08DD8B39C /* libPods-Contentstack.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D36158266EF475AC2496807A /* libPods-Contentstack.a */; };
108112
/* End PBXBuildFile section */
@@ -205,6 +209,8 @@
205209
23B6F1281B5662EE00A9E983 /* ISO8601DateFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ISO8601DateFormatter.m; sourceTree = "<group>"; };
206210
23C545FB1C1976FE007BBD27 /* ios-build-framework-script.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "ios-build-framework-script.sh"; sourceTree = "<group>"; };
207211
3CF581B9F7526EDA48ED5C6F /* Pods-ContentstackTest.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ContentstackTest.debug.xcconfig"; path = "Target Support Files/Pods-ContentstackTest/Pods-ContentstackTest.debug.xcconfig"; sourceTree = "<group>"; };
212+
4714B7D32C5EAFCC004E941E /* Taxonomy.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Taxonomy.m; sourceTree = "<group>"; };
213+
4714B7D52C5EAFF5004E941E /* Taxonomy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Taxonomy.h; sourceTree = "<group>"; };
208214
565E11A91BD76654005AD47F /* MMDocument.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMDocument.h; sourceTree = "<group>"; };
209215
565E11AA1BD76654005AD47F /* MMDocument.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMDocument.m; sourceTree = "<group>"; };
210216
565E11AB1BD76654005AD47F /* MMDocument_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMDocument_Private.h; sourceTree = "<group>"; };
@@ -223,6 +229,7 @@
223229
565E11B81BD76654005AD47F /* MMScanner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMScanner.m; sourceTree = "<group>"; };
224230
565E11B91BD76654005AD47F /* MMSpanParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMSpanParser.h; sourceTree = "<group>"; };
225231
565E11BA1BD76654005AD47F /* MMSpanParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMSpanParser.m; sourceTree = "<group>"; };
232+
64F5220D2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
226233
852617AD67506289EC376E26 /* Pods-ContentstackTest.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ContentstackTest.release.xcconfig"; path = "Target Support Files/Pods-ContentstackTest/Pods-ContentstackTest.release.xcconfig"; sourceTree = "<group>"; };
227234
8A0C6846766D60DA3F50E989 /* Pods-Contentstack.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Contentstack.release.xcconfig"; path = "Target Support Files/Pods-Contentstack/Pods-Contentstack.release.xcconfig"; sourceTree = "<group>"; };
228235
9980728A1E1BDC5000524FD3 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
@@ -312,6 +319,8 @@
312319
0FD6BAEE29CD6E73001A0930 /* CSURLSessionDelegate.h */,
313320
0F9C0FAF221ADAC90091205A /* ThirdPartyNamespaceHeader */,
314321
230B38C41C16E98B00444A14 /* Info.plist */,
322+
4714B7D32C5EAFCC004E941E /* Taxonomy.m */,
323+
4714B7D52C5EAFF5004E941E /* Taxonomy.h */,
315324
);
316325
path = Contentstack;
317326
sourceTree = "<group>";
@@ -341,6 +350,7 @@
341350
23A0F84C1B3801D1003334E9 = {
342351
isa = PBXGroup;
343352
children = (
353+
64F5220D2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy */,
344354
0F0A70AD225DEDDF00E0284F /* Contentstack.podspec */,
345355
9980728A1E1BDC5000524FD3 /* README.md */,
346356
0F6C89AC225CCE9F004C342A /* CHANGELOG.md */,
@@ -488,6 +498,7 @@
488498
isa = PBXHeadersBuildPhase;
489499
buildActionMask = 2147483647;
490500
files = (
501+
479EC6642C5FCBDC00C5630B /* Taxonomy.h in Headers */,
491502
0F9C0FC8221ADAC90091205A /* NamespacedDependencies.h in Headers */,
492503
23A53F3C1E276C83001DBE35 /* CSIOAPIURLs.h in Headers */,
493504
23A53F3E1E276C83001DBE35 /* CSIOCoreHTTPNetworking.h in Headers */,
@@ -629,13 +640,15 @@
629640
isa = PBXResourcesBuildPhase;
630641
buildActionMask = 2147483647;
631642
files = (
643+
64F5220E2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy in Resources */,
632644
);
633645
runOnlyForDeploymentPostprocessing = 0;
634646
};
635647
23A53F531E277CD3001DBE35 /* Resources */ = {
636648
isa = PBXResourcesBuildPhase;
637649
buildActionMask = 2147483647;
638650
files = (
651+
64F5220F2BF5C76E00AE6E0F /* PrivacyInfo.xcprivacy in Resources */,
639652
0F41A91625C7CC9C007EF2DA /* config.json in Resources */,
640653
);
641654
runOnlyForDeploymentPostprocessing = 0;
@@ -763,6 +776,7 @@
763776
230B38EA1C16EB4400444A14 /* MMScanner.m in Sources */,
764777
230B38E81C16EB4400444A14 /* MMMarkdown.m in Sources */,
765778
230B38E91C16EB4400444A14 /* MMParser.m in Sources */,
779+
4714B7D42C5EAFCC004E941E /* Taxonomy.m in Sources */,
766780
230B38E51C16EB4400444A14 /* MMElement.m in Sources */,
767781
230B39021C16EB8F00444A14 /* ISO8601DateFormatter.m in Sources */,
768782
230B38E61C16EB4400444A14 /* MMGenerator.m in Sources */,
@@ -833,7 +847,7 @@
833847
ENABLE_TESTABILITY = YES;
834848
FRAMEWORK_SEARCH_PATHS = (
835849
"$(inherited)",
836-
"$(PROJECT_DIR)/ThirdPartyExtension",
850+
"$(PROJECT_DIR)/ThirdPartyExtension/**",
837851
);
838852
GCC_PREFIX_HEADER = ./Contentstack/ThirdPartyNamespaceHeader/NamespacedDependencies.h;
839853
INFOPLIST_FILE = Contentstack/Info.plist;
@@ -862,7 +876,7 @@
862876
DYLIB_INSTALL_NAME_BASE = "@rpath";
863877
FRAMEWORK_SEARCH_PATHS = (
864878
"$(inherited)",
865-
"$(PROJECT_DIR)/ThirdPartyExtension",
879+
"$(PROJECT_DIR)/ThirdPartyExtension/**",
866880
);
867881
GCC_PREFIX_HEADER = ./Contentstack/ThirdPartyNamespaceHeader/NamespacedDependencies.h;
868882
INFOPLIST_FILE = Contentstack/Info.plist;
@@ -911,7 +925,7 @@
911925
23A0F86A1B3801D1003334E9 /* Debug */ = {
912926
isa = XCBuildConfiguration;
913927
buildSettings = {
914-
ALWAYS_SEARCH_USER_PATHS = NO;
928+
ALWAYS_SEARCH_USER_PATHS = YES;
915929
BITCODE_GENERATION_MODE = marker;
916930
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
917931
CLANG_CXX_LIBRARY = "libc++";
@@ -966,7 +980,7 @@
966980
23A0F86B1B3801D1003334E9 /* Release */ = {
967981
isa = XCBuildConfiguration;
968982
buildSettings = {
969-
ALWAYS_SEARCH_USER_PATHS = NO;
983+
ALWAYS_SEARCH_USER_PATHS = YES;
970984
BITCODE_GENERATION_MODE = bitcode;
971985
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
972986
CLANG_CXX_LIBRARY = "libc++";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Contentstack.xcodeproj/xcshareddata/xcschemes/Contentstack.xcscheme

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "230B38BF1C16E98B00444A14"
34+
BuildableName = "Contentstack.framework"
35+
BlueprintName = "Contentstack"
36+
ReferencedContainer = "container:Contentstack.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO">
@@ -39,20 +48,9 @@
3948
</BuildableReference>
4049
</TestableReference>
4150
</Testables>
42-
<MacroExpansion>
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "230B38BF1C16E98B00444A14"
46-
BuildableName = "Contentstack.framework"
47-
BlueprintName = "Contentstack"
48-
ReferencedContainer = "container:Contentstack.xcodeproj">
49-
</BuildableReference>
50-
</MacroExpansion>
51-
<AdditionalOptions>
52-
</AdditionalOptions>
5351
</TestAction>
5452
<LaunchAction
55-
buildConfiguration = "Release"
53+
buildConfiguration = "Debug"
5654
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5755
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
5856
launchStyle = "0"
@@ -70,11 +68,9 @@
7068
ReferencedContainer = "container:Contentstack.xcodeproj">
7169
</BuildableReference>
7270
</MacroExpansion>
73-
<AdditionalOptions>
74-
</AdditionalOptions>
7571
</LaunchAction>
7672
<ProfileAction
77-
buildConfiguration = "Release"
73+
buildConfiguration = "Debug"
7874
shouldUseLaunchSchemeArgsEnv = "YES"
7975
savedToolIdentifier = ""
8076
useCustomWorkingDirectory = "NO"
@@ -93,7 +89,7 @@
9389
buildConfiguration = "Debug">
9490
</AnalyzeAction>
9591
<ArchiveAction
96-
buildConfiguration = "Release"
92+
buildConfiguration = "Debug"
9793
revealArchiveInOrganizer = "YES">
9894
</ArchiveAction>
9995
</Scheme>

0 commit comments

Comments
 (0)