Skip to content

Fix ContentstackLogger crash and enhance async/await cache handling - #154

Merged
reeshika-h merged 2 commits into
developmentfrom
fix/DX-10148-nslog-format-string-crash
Aug 16, 2026
Merged

Fix ContentstackLogger crash and enhance async/await cache handling#154
reeshika-h merged 2 commits into
developmentfrom
fix/DX-10148-nslog-format-string-crash

Conversation

@reeshika-h

Copy link
Copy Markdown
Contributor

No description provided.

…cache policies

- Updated CHANGELOG for version 2.5.1 with bug fixes related to ContentstackLogger and cache policies.
- Added a new test plan for iOS to ensure proper testing configurations.
- Removed outdated iOS test scheme files and replaced them with a new test plan.
- Enhanced async/await APIs to handle cache policies correctly, specifically converting `CachePolicy.cacheThenNetwork` to `CachePolicy.cacheElseNetwork`.
- Improved logging in ContentstackLogger to prevent crashes when using percent-encoded URLs as format strings.
- Added regression tests to ensure proper logging behavior and prevent crashes related to format specifiers.
- Updated documentation in README and CSDefinitions to clarify cache policy behaviors and logging practices.
@snyk-io

snyk-io Bot commented Aug 13, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@reeshika-h
reeshika-h marked this pull request as ready for review August 16, 2026 14:03
@reeshika-h
reeshika-h requested a review from a team as a code owner August 16, 2026 14:03
@reeshika-h
reeshika-h merged commit 905dbed into development Aug 16, 2026
5 checks passed
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.

2 participants