Skip to content

Conversation

@harshithad0703
Copy link
Contributor

No description provided.

nadeem-cs and others added 30 commits September 4, 2025 16:39
- Changed dependencies in package.json to use local tarball files for @contentstack/core and @contentstack/utils.
- Updated versions of various dependencies in package-lock.json, including @slack/oauth, @slack/socket-mode, browserslist, caniuse-lite, electron-to-chromium, path-to-regexp, rollup, and terser.
- Modified contentstack.ts to enhance request handling by utilizing internal Axios request configuration.
- Updated StackConfig interface in types.ts to change the type of region from Region enum to string for better flexibility.
chore: update to version 4.10.1 and upgrade dependencies
- Updated @contentstack/core to version ^1.3.1 and @contentstack/utils to version ^1.5.0 in package.json.
- Added postinstall and postupdate scripts to download regions.json from the Contentstack artifacts.

refactor: Enhance stack configuration with dynamic host resolution

- Introduced getHostforRegion function to resolve host based on cloud region.
- Updated stack function to utilize the new host resolution logic.
- Removed legacy host resolution code from stack function.

test: Add comprehensive tests for getHostforRegion and stack methods

- Implemented unit tests for getHostforRegion function covering various regions and edge cases.
- Added integration tests for stack class to ensure correct baseURL setting based on region.
- Enhanced existing tests for stack and utils to validate new functionality.

chore: Enable JSON module resolution in TypeScript configuration

- Updated tsconfig.json to include resolveJsonModule for importing JSON files.
Merge pull request #245 from contentstack/staging
feat: implement download script for regions.json and update postinsta…
…Entries, Pagination, Query, and Stack classes

- Added tests for debug logging integration in Contentstack.
…es-coverage

Fix/dx 3674 improve testcases coverage
…oints-region

Revert "feat: implement download script for regions.json and update postinsta…"
…tentstackEndpoint

refactor:  region handling logic to utilize getContentstackEndpoint. …
nadeem-cs and others added 21 commits November 12, 2025 14:02
…tentstackEndpoint

chore: 🗑️ remove redundant code
Enh: add type casting helper for BaseQuery methods to return Query type
…ation

fix: reverts the endpoints helper method integration
fix: bump @contentstack/core version to ^1.3.4
@harshithad0703 harshithad0703 requested a review from a team as a code owner December 15, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants