Skip to content

DX | 28-04-2025 | Release #331

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
Apr 29, 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
fa83cb0
enh: Add environment variable checks for ContentstackClient
harshithad0703 Apr 7, 2025
ebd4e4f
refactor: Remove unused mock files and test cases
harshithad0703 Apr 7, 2025
25dfbbc
refactor: Remove 'test:api' script from package.json
harshithad0703 Apr 7, 2025
e6dba03
Merge pull request #319 from contentstack/master
harshithad0703 Apr 7, 2025
3ef4d6b
Merge pull request #320 from contentstack/staging
harshithad0703 Apr 7, 2025
941337c
Merge branch 'development' into fix/dx-2230-handle-env-variables
harshithad0703 Apr 7, 2025
a4a9c38
chore: Update branch restrictions in workflows to include 'staging' a…
harshithad0703 Apr 8, 2025
66b9b6d
chore: Bump version to 1.20.2 and update changelog for recent fixes
harshithad0703 Apr 8, 2025
e8a3c62
refactor: Update mock paths to use 'sanity-check' directory instead o…
harshithad0703 Apr 8, 2025
bd17746
chore: Update changelog date for version 1.20.2
harshithad0703 Apr 8, 2025
f2c7adc
Merge pull request #321 from contentstack/fix/dx-2230-handle-env-vari…
harshithad0703 Apr 8, 2025
03315b9
Merge pull request #326 from contentstack/master
harshithad0703 Apr 16, 2025
0af5062
Merge branch 'staging' into fix/staging-merge-cnonflicts
harshithad0703 Apr 16, 2025
0f1fc6a
Merge pull request #327 from contentstack/fix/staging-merge-cnonflicts
reeshika-h Apr 16, 2025
edee59b
chore: update version to 1.20.3 and add changelog entry for sanity te…
harshithad0703 Apr 16, 2025
936d028
test: update access token in refreshAccessToken test case to use plac…
harshithad0703 Apr 16, 2025
2629d21
chore: update changelog dates for v1.20.3 and v1.20.2
harshithad0703 Apr 16, 2025
b60fa60
Merge pull request #328 from contentstack/fix/version-bump
harshithad0703 Apr 16, 2025
cb04038
Merge pull request #330 from contentstack/development
cs-raj Apr 23, 2025
c9dd1e2
Merge pull request #332 from contentstack/master
cs-raj Apr 28, 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
4 changes: 2 additions & 2 deletions .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Comment PR
if: github.base_ref == 'master' && github.head_ref != 'next'
if: github.base_ref == 'master' && github.head_ref != 'staging'
uses: thollander/actions-comment-pull-request@v2
with:
message: |
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.
- name: Check branch
if: github.base_ref == 'master' && github.head_ref != 'next'
if: github.base_ref == 'master' && github.head_ref != 'staging'
run: |
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."
exit 1
3 changes: 2 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
branches:
- master
- main
- next
- staging
- development
jobs:
build-test:
name: Build & Test
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog

## [v1.20.3](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.3) (2025-04-21)
- Fix
- Handle the sanity tests when ENVs are not provided

## [v1.20.2](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.2) (2025-04-21)
## [v1.20.2](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.2) (2025-04-14)
- Fix
- Handle api_version chaining and ensure backward compatibility

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/management",
"version": "1.20.2",
"version": "1.20.3",
"description": "The Content Management API is used to manage the content of your Contentstack account",
"main": "./dist/node/contentstack-management.js",
"browser": "./dist/web/contentstack-management.js",
Expand Down Expand Up @@ -33,7 +33,6 @@
"test:sanity-test": "BABEL_ENV=test nyc --reporter=html mocha --require @babel/register ./test/sanity-check/sanity.js -t 30000 --reporter mochawesome --require babel-polyfill --reporter-options reportDir=mochawesome-report,reportFilename=mochawesome.json",
"test:sanity": "npm run test:sanity-test || true",
"test:sanity-report": "marge mochawesome-report/mochawesome.json -f sanity-report.html --inline && node sanity-report.mjs",
"test:api": "BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill",
"test:unit": "BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill",
"test:unit:report:json": "BABEL_ENV=test nyc --reporter=clover --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter json --reporter-options output=report.json --require babel-polyfill",
"test:typescript": "jest --testPathPattern=test/typescript --config ./jest.config.js --coverage",
Expand Down
38 changes: 0 additions & 38 deletions test/api/app-delete-test.js

This file was deleted.

52 changes: 0 additions & 52 deletions test/api/app-request-test.js

This file was deleted.

192 changes: 0 additions & 192 deletions test/api/app-test.js

This file was deleted.

Loading
Loading