Skip to content

Release/1.5.3#381

Merged
KommunicateDeveloper merged 2 commits intomasterfrom
dev
Dec 16, 2025
Merged

Release/1.5.3#381
KommunicateDeveloper merged 2 commits intomasterfrom
dev

Conversation

@KommunicateDeveloper
Copy link
Contributor

@KommunicateDeveloper KommunicateDeveloper commented Dec 16, 2025

Summary

  • Fixed Build issue of SPM
  • Updated SDK version to 1.5.3

Summary by CodeRabbit

  • Bug Fixes
    • Fixed SPM build issue

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 16, 2025

Walkthrough

Version 1.5.3 patch release updates configuration files and changes an import statement to support UIKit types in KMFormConfiguration.

Changes

Cohort / File(s) Change Summary
Version Bump (1.5.2 → 1.5.3)
CHANGELOG.md, KommunicateChatUI-iOS-SDK.podspec
Added changelog entry for v1.5.3 dated 2025-12-16 documenting "Fixed SPM Build Issue"; updated podspec version string and source tag reference to match.
Module Import Update
Sources/Models/KMFormConfiguration.swift
Replaced import Foundation with import UIKit to enable support for UIKit types (UIColor, CGColor, CGSize, CGFloat).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

  • Version updates are straightforward mechanical changes
  • Import statement change is a simple module swap with no behavioral impact
  • Verify that UIKit import is appropriate for the target platform and doesn't introduce unexpected dependencies

Suggested reviewers

  • prateek-kommunicate

Poem

🐰 A version bump, so swift and clean,
SPM's troubles now are seen!
From Foundation to UIKit's light,
1.5.3 shines ever bright! 🚀

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Release/1.5.3' is related to the changeset but lacks clarity about the specific changes; it primarily indicates a version bump without highlighting the main fix (SPM build issue).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4da6dc6 and c5bcda2.

⛔ Files ignored due to path filters (1)
  • Demo/Podfile.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • KommunicateChatUI-iOS-SDK.podspec (1 hunks)
  • Sources/Models/KMFormConfiguration.swift (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: AbhijeetRanjan308
Repo: Kommunicate-io/KommunicateChatUI-iOS-SDK PR: 340
File: Sources/ViewModels/ALKConversationViewModel.swift:0-0
Timestamp: 2025-01-22T05:49:07.484Z
Learning: For the KommunicateChatUI-iOS-SDK project, avoid suggesting utility classes for single use cases as it may lead to unnecessary abstraction and maintenance overhead.
📚 Learning: 2025-01-22T05:49:07.484Z
Learnt from: AbhijeetRanjan308
Repo: Kommunicate-io/KommunicateChatUI-iOS-SDK PR: 340
File: Sources/ViewModels/ALKConversationViewModel.swift:0-0
Timestamp: 2025-01-22T05:49:07.484Z
Learning: For the KommunicateChatUI-iOS-SDK project, avoid suggesting utility classes for single use cases as it may lead to unnecessary abstraction and maintenance overhead.

Applied to files:

  • CHANGELOG.md
📚 Learning: 2024-11-11T03:16:32.950Z
Learnt from: AbhijeetRanjan308
Repo: Kommunicate-io/KommunicateChatUI-iOS-SDK PR: 328
File: Sources/Controllers/ALKFormDatePickerViewController.swift:83-87
Timestamp: 2024-11-11T03:16:32.950Z
Learning: In `ALKFormDatePickerViewController.swift`, when `UIColor.isKMDarkModeEnabled` is true (dark mode enabled), the `UIDatePicker` automatically switches to dark mode, so setting `datePicker.overrideUserInterfaceStyle = .light` is unnecessary.

Applied to files:

  • Sources/Models/KMFormConfiguration.swift
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Build and Lint
🔇 Additional comments (3)
CHANGELOG.md (1)

5-7: LGTM!

The changelog entry is well-formatted and accurately documents the SPM build issue fix for version 1.5.3.

Sources/Models/KMFormConfiguration.swift (1)

8-8: Correct fix for SPM build issue.

Changing the import from Foundation to UIKit is the appropriate fix since KMFormConfiguration uses UIKit-specific types (UIColor, CGColor, CGSize, CGFloat). UIKit automatically imports Foundation, so no functionality is lost.

KommunicateChatUI-iOS-SDK.podspec (1)

3-3: LGTM!

Version bump to 1.5.3 is consistent with the changelog entry and appropriate for this patch release addressing the SPM build issue.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

iOS Lint Test Result
Oops! Linter Check Failed. Please fix the issues.

@KommunicateDeveloper KommunicateDeveloper merged commit b12798c into master Dec 16, 2025
2 of 3 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