Add version 17 to known What's New version codes#590
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (13)
WalkthroughThis PR expands what's new version support to version 17 and normalizes apostrophe escaping across all localization string resources, removing backslash escapes and using literal apostrophes instead. ChangesString Escaping Normalization and Version Support
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR registers version code 17 in
Confidence Score: 5/5Safe to merge — the change is additive and the loader handles missing JSON files gracefully, so no crash risk even in edge cases. Version 17 changelog JSON files exist for all supported locales before this PR lands, and the loader already filters nulls if a file is absent. The apostrophe cleanup is a valid no-op for Compose Multiplatform's resource system, which parses element text as standard XML where bare apostrophes require no escaping. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[WhatsNewLoaderImpl.loadAll] --> B[Iterate KnownWhatsNewVersionCodes.ALL\n17, 16, 15]
B --> C[loadOrNull per versionCode]
C --> D[candidatePaths\nfull locale / primary locale / default]
D --> E{Res.readBytes path}
E -- found --> F[Parse WhatsNewEntryDto to domain]
E -- throws --> G[warn + return null]
F --> H[mapNotNull collects entries]
G --> H
H --> I[sortedByDescending versionCode]
I --> J[Return List of WhatsNewEntry\nv17 now included]
Reviews (1): Last reviewed commit: "Unescape single quotes across localized ..." | Re-trigger Greptile |
Summary by CodeRabbit
Bug Fixes
Chores