Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.11 - V3 patch #268

Closed
wants to merge 7 commits into from
Closed

3.0.11 - V3 patch #268

wants to merge 7 commits into from

Conversation

jordanleslie
Copy link
Contributor

@jordanleslie jordanleslie commented Sep 26, 2023

Description

Patch for klaviyo-magento version 3.0.11.
See #263

Manual Testing Steps

  1. Tested with a Magento 2.3.7 environment

Pre-Submission Checklist:

  • You've updated the CHANGELOG following the steps here
  • Internal Only - If this is a release, please confirm the following:
    • The links in the changelog have been updated to point towards the new versions
    • The version has been incremented in the following places: module.xml and composer.json

NOTE: Please use the Changelogger cli tool to manage versioned file upgrades.

@jordanleslie jordanleslie changed the base branch from master to 3.0.11-branch September 26, 2023 16:00
@jordanleslie jordanleslie marked this pull request as ready for review September 26, 2023 16:05
Preserving error handling of business logic from the legacy getKlaviyoLists. General exceptions are handled in handleApiResponse method
unsubscribe request body was missing data key, the type keys for both sub/unsub were plural but should be singular, and the retry logic needed to be tweaked. Successful responses can be an empty string so checking for a falsy response value  won't work here. We need to explicitly check if response if false in the case that the curl command fails.
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Helper/Data.php Show resolved Hide resolved
Helper/Data.php Outdated Show resolved Hide resolved
Helper/Data.php Outdated Show resolved Hide resolved
Helper/Data.php Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
jordanleslie and others added 3 commits October 2, 2023 11:09
Update changelogger

Co-authored-by: Sidd Warkhedkar <[email protected]>
This change was pulled in from the 4.1.0 update but observer logic wasn't introduced until 4.0.0
This is level 10 security risk according to Magento and will not pass its tests
[Unreleased]: https://github.com/klaviyo/magento2-klaviyo/compare/3.0.11...HEAD
<!-- END RELEASE NOTES -->
<!-- BEGIN LINKS -->
[Unreleased]: https://github.com/klaviyo/magento2-klaviyo/compare/3.1.0...HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[Unreleased]: https://github.com/klaviyo/magento2-klaviyo/compare/3.1.0...HEAD
[Unreleased]: https://github.com/klaviyo/magento2-klaviyo/compare/3.0.11+v3api...HEAD

Copy link
Contributor

@siddwarkhedkar siddwarkhedkar left a comment

Choose a reason for hiding this comment

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

Please don't merge this PR, we will tag this branch as a release 😄

@jordanleslie jordanleslie marked this pull request as draft October 10, 2023 16:41
@smoucka smoucka removed their request for review October 24, 2023 13:39
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