Skip to content

Commit f1ed45b

Browse files
Merge pull request #381 from contentstack/staging
DX | 30-06-2025 | Release
2 parents c25ccde + 5477853 commit f1ed45b

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## [v1.21.7](https://github.com/contentstack/contentstack-management-javascript/tree/v1.21.7) (2025-06-30)
3+
- Fix
4+
- Fixed Request-URI Too Large error
25

36
## [v1.21.6](https://github.com/contentstack/contentstack-management-javascript/tree/v1.21.6) (2025-06-11)
47
- Fix

lib/entity.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,6 @@ export const update = (http, type, params = {}) => {
157157
delete json.updated_at
158158
delete json.updated_by
159159

160-
// If param has data for this entity type, merge it with the json object
161-
if (param && param[type]) {
162-
Object.assign(json, param[type])
163-
}
164-
165160
if (type) {
166161
updateData[type] = json
167162
if (type === 'entry') updateData[type] = cleanAssets(updateData[type])

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/management",
3-
"version": "1.21.6",
3+
"version": "1.21.7",
44
"description": "The Content Management API is used to manage the content of your Contentstack account",
55
"main": "./dist/node/contentstack-management.js",
66
"browser": "./dist/web/contentstack-management.js",

test/sanity-check/api/locale-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ describe('Locale api Test', () => {
9898
makeLocale('hi-in')
9999
.fetch()
100100
.then((locale) => {
101-
// locale.fallback_locale = 'en-at'
102-
return locale.update({ locale: { fallback_locale: 'en-at' } })
101+
locale.fallback_locale = 'en-at'
102+
return locale.update()
103103
})
104104
.then((locale) => {
105105
expect(locale.code).to.be.equal('hi-in')

0 commit comments

Comments
 (0)