Skip to content

Version 5.3.1#566

Draft
belleklaviyo wants to merge 3 commits intorel/5.3.0from
rel/5.3.1
Draft

Version 5.3.1#566
belleklaviyo wants to merge 3 commits intorel/5.3.0from
rel/5.3.1

Conversation

@belleklaviyo
Copy link
Copy Markdown
Contributor

Patches the Cocoapods issue

Comment thread Sources/KlaviyoCore/Utils/Version.swift
Comment thread KlaviyoCore.podspec
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1119b29. Configure here.

Comment thread KlaviyoSwift.podspec
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
belleklaviyo and others added 2 commits April 29, 2026 16:51
…564)

* spike(extension): copy shared types into KlaviyoSwiftExtension, drop KlaviyoCore dep

Copy ActionType, KlaviyoCategoryManager (register-only), Logger+Ext, and
UNNotificationContent+Klaviyo directly into KlaviyoSwiftExtension so the
extension target no longer needs KlaviyoCore. The NSE sandbox prevents sharing
a framework across app and extension targets in some configurations.

Remove KlaviyoCore from Package.swift (production + test targets) and from
KlaviyoSwiftExtension.podspec.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* spike(core): restore pruning in KlaviyoCore, annotate intentional duplication

Restore KlaviyoCore/KlaviyoCategoryManager with prune-only functionality and
re-wire pruneCategory through KlaviyoSwiftEnvironment + Klaviyo.swift.
KlaviyoSwiftExtension retains its register-only copy; pruning is not duplicated.

Add sync notes to both KlaviyoCategoryManager copies and both ActionType copies
explaining the intentional duplication and the NSE sandbox reason for it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(tests): stub KlaviyoSwiftEnvironment in setup, update snapshots

setUpWithError was leaving klaviyoSwiftEnvironment at .production, causing
handle(notificationResponse:) tests to hit the real UNUserNotificationCenter
via the pruneCategory defer block. Stub it in setUp so tests are isolated.

Update EncodableTest snapshots to reflect current state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: note v5.3.0 KlaviyoSwiftExtension incompatibility with NSE targets

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…) (#569)

KlaviyoSwiftExtension no longer depends on KlaviyoCore after #564
dropped the dependency by copying shared types directly. Restore the
standalone lint command and update the dependency comment accordingly.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant