Skip to content

DX | 10-03-2025 | Release #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
7dda499
Merge pull request #54 from contentstack/main
cs-raj Jan 17, 2025
82a0779
Merge pull request #55 from contentstack/staging
cs-raj Jan 17, 2025
568e4ef
Update node version to 22 (#56)
sunil-lakshman Feb 12, 2025
b07dc83
Add sanity check tests for API integration
harshithad0703 Feb 26, 2025
805ec0c
Update environment variables and refactor API client usage in tests
harshithad0703 Feb 26, 2025
14ee942
Bump version to 1.2.7 and update sanity report filename
harshithad0703 Feb 26, 2025
ce06f7f
Update upload stream path in concurrency queue test
harshithad0703 Feb 27, 2025
1244c26
Add Slack notification script and update environment variables
harshithad0703 Feb 27, 2025
5115e14
Refactor Contentstack client to use environment variables for base UR…
harshithad0703 Feb 27, 2025
09e0eef
Refactor Contentstack client tests to use relative API paths
harshithad0703 Feb 27, 2025
e9d51ac
Remove deprecated tests for apps hosting API
harshithad0703 Feb 27, 2025
e4c4e6b
Merge pull request #58 from contentstack/fix/dx-2201-add-sanity-test
harshithad0703 Feb 27, 2025
a35df72
Merge pull request #59 from contentstack/main
cs-raj Mar 5, 2025
c2a8447
Merge pull request #60 from contentstack/staging
cs-raj Mar 5, 2025
2770496
version bump
cs-raj Mar 5, 2025
dcd2efb
Merge pull request #61 from contentstack/fix/VersionBump
cs-raj Mar 5, 2025
d1b0bde
Merge pull request #62 from contentstack/development
cs-raj Mar 5, 2025
70ec6f0
Fix: Updated Axios Version
cs-raj Mar 10, 2025
f8c1426
Merge pull request #64 from contentstack/fix/DX-2302
cs-raj Mar 10, 2025
c67aa3d
Merge pull request #65 from contentstack/development
cs-raj Mar 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
EMAIL=
ADMIN_EMAIL=
USER_EMAIL=
PASSWORD=
ORG_UID=
AUTHTOKEN=
API_KEY=
DEFAULTHOST=developerhub-api.contentstack.com
HOST=developerhub-api.contentstack.com
HOST=developerhub-api.contentstack.com
SLACK_SIGNING_SECRET=
SLACK_BOT_TOKEN=
SLACK_CHANNEL_ID=
SLACK_CHANNEL=
GO_PIPELINE_NAME=
GO_PIPELINE_COUNTER=
GOCD_SERVER=
SLACK_WEBHOOK_URL=
USER1=
USER2=
USER3=
USER4=
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public
Expand All @@ -22,10 +22,10 @@ jobs:
publish-git:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@contentstack'
- run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jspm_packages/
mochawesome-report/
coverage/
test/utility/dataFiles/
test/sanity-check/utility/dataFiles/
report.json

# TypeScript v1 declaration files
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Changelog
## [v1.2.6](https://github.com/contentstack/contentstack-marketplace-sdk/tree/v1.2.6) (2024-03-03)
- Update sanity tests

## [v1.2.5](https://github.com/contentstack/contentstack-marketplace-sdk/tree/v1.2.5) (2025-01-17)
- Dependency update

## [v1.2.4](https://github.com/contentstack/contentstack-marketplace-sdk/tree/v1.2.4) (2024-10-22)
- Node version bump in github package publish workflow file

Expand Down
2 changes: 1 addition & 1 deletion lib/contentstackClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function contentstackClient ({ http }) {
*/

const region = http.defaults.region
let baseUrlPath = `https://api.contentstack.io:443/v3/user-session`
let baseUrlPath = `/user-session`

if (region && region !== Region.NA) {
baseUrlPath = `https://${region}-api.contentstack.com:443/v3/user-session`
Expand Down
Loading
Loading