Skip to content

Commit 733f6ea

Browse files
Merge pull request #2 from contentstack/my-feature-branch
Cloned form public branch
2 parents 1cc4856 + 6dc1608 commit 733f6ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+25493
-3
lines changed

.github/workflows/check-branch.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'Check Branch'
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
check_branch:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Comment PR
11+
if: github.base_ref == 'master' && github.head_ref != 'next'
12+
uses: thollander/actions-comment-pull-request@v2
13+
with:
14+
message: |
15+
We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch.
16+
- name: Check branch
17+
if: github.base_ref == 'master' && github.head_ref != 'next'
18+
run: |
19+
echo "ERROR: We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch."
20+
exit 1

.github/workflows/jira.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
uses: atlassian/gajira-transition@v3
3131
with:
3232
issue: ${{ steps.create.outputs.issue }}
33-
transition: ${{ secrets.JIRA_TRANSITION }}
33+
transition: ${{ secrets.JIRA_TRANSITION }}

.github/workflows/npm-publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow will publish a package to GitHub Packages when a release is created
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+
name: Publish package to NPM repository
5+
on:
6+
release:
7+
types: [created]
8+
9+
jobs:
10+
publish-npm:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: '18.x'
17+
registry-url: 'https://registry.npmjs.org'
18+
- run: npm ci
19+
- run: npm publish
20+
env:
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
publish-git:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- uses: actions/setup-node@v3
27+
with:
28+
node-version: '18.x'
29+
registry-url: 'https://npm.pkg.github.com'
30+
scope: '@contentstack'
31+
- run: npm ci
32+
- run: npm publish
33+
env:
34+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/sca-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
env:
1313
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1414
with:
15-
args: --all-projects --fail-on=all
15+
args: --all-projects --fail-on=all

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.DS_Store
2+
**/node_modules/*
3+
.idea/*
4+
reports/*
5+
apidocs-templates/*
6+
test/smtpconfig.js/*
7+
test/config.js/*
8+
test/sync_config.js/*
9+
test/report.json/*
10+
tap-html.html
11+
*html-report
12+
coverage
13+
.env
14+
.dccache
15+
dist/*

.npmignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
docs-config.json
2+
.idea/
3+
.git/
4+
test.js
5+
test/
6+
reports/
7+
contentstack-templates/
8+
js-sdk-reference/
9+
examples/
10+
mocktest.json
11+
webpack
12+
typescript-html-report
13+
webpack
14+
jest.config.js
15+
coverage
16+
CODEOWNERS
17+
src
18+
.env
19+
*.tgz
20+
.talismanrc
21+
tap-html.html
22+
.github

.talismanrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
fileignoreconfig:
2+
- filename: package-lock.json
3+
checksum: 4ddadcdbbd39ead729f20a58ce15fbbf2c71b17edf300df82f51f4f73489e96c
4+
- filename: test/typescript/taxonomy.test.ts
5+
checksum: e4bdf633e147fd60d929d379f20c814eed5f68b11421d7b53ec8826e9142de37
6+
- filename: src/core/modules/taxonomy.js
7+
checksum: 84589be9805c1be5fd6c56021c41d18365126cf82059ad2cbef1d418c70d08e0
8+
- filename: src/core/lib/utils.js
9+
checksum: 8a37566d0372573b8fe4ec506a43f1074981c5218e9adbc551c87922c8914922
10+
- filename: src/core/modules/query.js
11+
checksum: c88b336f9a271397ffedcf8c5085941ceb0bd1cd7e25ed9ada3acd8ce4f8970c
12+
- filename: test/typescript/stack.test.ts
13+
checksum: bbb3c425f8e1a63d4793f69ee9eaba9559294ff53f163a28f70ae54b1792276a
14+
version: ""

CHANGELOG.md

Lines changed: 265 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,265 @@
1+
## Change log
2+
3+
### Version: 3.19.2
4+
#### Date: April-17-2024
5+
##### Dependency:
6+
- Hotfix moving slack/bolt to devDependency
7+
8+
### Version: 3.19.1
9+
#### Date: March-06-2024
10+
##### Dependency:
11+
- Update Utils SDK dependency version
12+
13+
### Version: 3.19.0
14+
#### Date: February-02-2024
15+
##### New Features:
16+
- live preview support both 1.0 and 2.0
17+
- fix for `ESM module cannot use module.exports` issue react-native and nativescript builds
18+
### Version: 3.18.1
19+
#### Date: January-30-2024
20+
##### New Features:
21+
- added fix for `ESM module cannot use module.exports` issue
22+
### Version: 3.18.0
23+
#### Date: January-15-2024
24+
##### New Features:
25+
- added taxonomy support
26+
- X-User-Agent updated
27+
- added region gcp_na
28+
### Version: 3.17.2
29+
#### Date: November-15-2023
30+
##### Bug fix:
31+
- Same management token in Live Preview in different stack object fixed
32+
- X-User-Agent updated
33+
##### New Features
34+
- Early Access added to stack config
35+
36+
### Version: 3.17.1
37+
#### Date: April-18-2023
38+
##### Bug fix:
39+
- Access token for header issue resolved
40+
41+
### Version: 3.17.0
42+
#### Date: March-30-2023
43+
##### Bug fix:
44+
- Cache set issue resolved
45+
- Type-definition for SyncResult updated
46+
47+
### Version: 3.16.1
48+
#### Date: February-28-2023
49+
- Package dependency updated
50+
### Version: 3.16.0
51+
#### Date: February-10-2023
52+
##### New Features:
53+
- Plugin Support Added
54+
55+
### Version: 3.15.3
56+
#### Date: July-26-2022
57+
##### New Features:
58+
- Live preview with reference in entry on SSR web app issue resolved
59+
60+
### Version: 3.15.2
61+
#### Date: May-03-2022
62+
##### New Features:
63+
- Live preview with reference entry issue resolved
64+
65+
### Version: 3.15.1
66+
#### Date: Apr-21-2022
67+
##### New Features:
68+
- Azure Na region and packages updates
69+
70+
### Version: 3.15.0
71+
#### Date: Oct-29-2021
72+
##### New Features:
73+
- Content branching feature support added
74+
75+
76+
### Version: 3.14.0
77+
#### Date: Oct-19-2021
78+
##### New Features:
79+
- Live preview feature support added
80+
81+
### Version: 3.13.2
82+
#### Date: May-26-2021
83+
##### Dependency:
84+
- Update Utils SDK dependency version
85+
86+
### Version: 3.13.1
87+
#### Date: Apr-16-2021
88+
##### Bug fix:
89+
- IE 11 request method issue resolved
90+
91+
### Version: 3.13.0
92+
#### Date: Apr-05-2021
93+
94+
##### Update API:
95+
- [Query]: Added support for method includeEmbeddedItems
96+
- [Entry]: Added support for method includeEmbeddedItems
97+
98+
### Version: 3.12.2
99+
#### Date: Feb-19-2021
100+
101+
##### API timeout:
102+
- updated timeout to min 30 sec
103+
##### Enhancement Typescript:
104+
- boolean value support added:
105+
- [Query] - where, equalTo, notEqualTo
106+
107+
### Version: 3.12.1
108+
#### Date: Jan-22-2021
109+
110+
##### Bug fix:
111+
- Fixed Unhandled promise rejection on HTML response body.
112+
### Version: 3.12.0
113+
#### Date: Dec-05-2020
114+
115+
##### New Features:
116+
- [Entry] - Publish fallback method added
117+
- [Query] - Publish fallback method added
118+
- [Asset] - Publish fallback method added
119+
- [Assets] - Publish fallback method added
120+
121+
### Version: 3.11.0
122+
#### Date: Sept-25-2020
123+
124+
##### Update API:
125+
- Retry limit for fetch request
126+
- Retry delay options for fetch request
127+
- Retry on error occur for fetch request
128+
- Typescript definition added
129+
130+
##### Enhancement Documentation
131+
- Documentation update for Only and Except
132+
133+
134+
### Version: 3.10.1
135+
#### Date: Jun-29-2020
136+
137+
##### Update API:
138+
- Include Content-Type in Entry
139+
140+
### Version: 3.10.0
141+
#### Date: Jun-19-2020
142+
143+
##### API timeout:
144+
- Removed default timeout for request
145+
146+
### Version: 3.9.0
147+
#### Date: Jun-17-2020
148+
149+
##### Update API:
150+
- Allowing support to add a timeout for request.
151+
- Fetch option added for request.
152+
153+
### Version: 3.8.1
154+
#### Date: Nov-19-2019
155+
156+
##### Update API:
157+
- [Entry] - Updated in entry module.
158+
159+
### Version: 3.8.0
160+
#### Date: Nov-15-2019
161+
162+
##### New Features:
163+
- [Stack]: Added support for method getContentType()
164+
##### Update API:
165+
- [ContentType]: updated method fetch()
166+
167+
### Version: 3.7.1
168+
#### Date: Sept-05-2019
169+
170+
##### New Features:
171+
- [Stack]: Region support added
172+
173+
### Version: 3.7.0
174+
#### Date: Jul-29-2019
175+
176+
##### New Features:
177+
- [Query]: Added support for method includeReferenceContentTypeUID
178+
- [Entry]: Added support for method includeReferenceContentTypeUID
179+
180+
181+
### Version: 3.6.0
182+
#### Date: Apr-12-2019
183+
184+
##### New Features:
185+
- [Stack]: Added support for method getContentTypes
186+
- [ContentType]: Added support for method fetch
187+
188+
189+
### Version: 3.5.2
190+
#### Date: Mar-20-2019
191+
192+
##### Hotfix:
193+
- Locale storage issue resolved
194+
195+
196+
### Version: 3.5.1
197+
#### Date: Feb-18-2019
198+
199+
##### Hotfix:
200+
- Cache policy issue resolved
201+
- JS reference doc update
202+
203+
204+
### Version: 3.5.0
205+
#### Date: Oct-26-2018
206+
207+
##### Sync API:
208+
- [Stack] Added Sync API support
209+
210+
### Version: 3.4.0
211+
#### Date: Jan-10-2018
212+
213+
##### Update API:
214+
- New addParam() method added.
215+
- Added support for NativeScript
216+
217+
218+
### Version: 3.3.0
219+
#### Date: Nov-06-2017
220+
221+
##### New API:
222+
- [Stack] Imagetransform API added
223+
- Added support for NativeScript
224+
225+
##### Deprecate API:
226+
- [Query]:
227+
- findOne
228+
- includeSchema
229+
230+
### Version: 3.2.0
231+
#### Date: Oct-14-2017
232+
233+
##### New API:
234+
- [Asset] Image delivery support
235+
- find
236+
- fetch
237+
238+
### Version: 3.1.1
239+
#### Date: Oct-13-2017
240+
241+
##### Hotfix:
242+
- Boolean value not working in "where" query
243+
- only() and includeReference() query not working in reactnative ios
244+
245+
### Version: 3.1.0
246+
#### Date: Apr-28-2017
247+
248+
##### Update API:
249+
- Code Revamp: ECMA6
250+
- React Native support added
251+
- Webpack upgraded
252+
253+
##### Bug fix:
254+
- Fixed unwanted authtoken appending in embedded assets url in RTE field
255+
256+
257+
258+
### Version: 3.0.1
259+
#### Date: Feb-10-2017
260+
261+
##### Update API:
262+
- Multiple stacks can be configured rather than a singleton Stack Object
263+
264+
##### Bug fix:
265+
- Issue with the support for import attribute on client side

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @contentstack/security-admin

0 commit comments

Comments
 (0)