Skip to content

Bump version v2.8.5#161

Merged
RishadAlam merged 6 commits into
mainfrom
fix/plugin-review-team-issues
May 13, 2026
Merged

Bump version v2.8.5#161
RishadAlam merged 6 commits into
mainfrom
fix/plugin-review-team-issues

Conversation

@RishadAlam

Copy link
Copy Markdown
Member

Description

This PR prepares v2.8.5 with integration bug fixes across Keap and Copper CRM, plus changelog updates in plugin docs and admin changelog UI. It also improves Tagify mapping behavior to prevent dropdown selection edge cases during field mapping.

Motivation & Context

Users were seeing incorrect or missing contact mapping fields, plus unstable custom value handling in Copper CRM mapping inputs. This update fixes mapping reliability and aligns release metadata/changelog for the new stable tag.

Related Links: (if applicable)

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📚 Documentation update
  • ⚡ Improvement
  • 🔄 Code refactor

Key Changes

Integrations

  • Fixed Keap contact fields by correcting middle_name label and adding missing family_name mapping key.
  • Fixed Copper CRM payload mapping to safely resolve trigger values from input data.
  • Fixed Copper CRM custom field handlers to support both direct values and event-based updates without undefined target errors.

Frontend

  • Improved Tagify input dropdown behavior by capping dropdown items to available mapped fields.
  • Updated in-plugin changelog page (ChangelogToggle) for 13th May 2026 release notes.

Release & Docs

  • Updated plugin version references to 2.8.5 in config/bootstrap constants.
  • Updated readme.txt stable tag and added 2.8.5 changelog entry.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Tests added/updated
  • Documentation updated if needed
  • README updated if needed

Changelog

  • Fix: Keap contact mapping now includes last-name field support with corrected middle-name labeling.
  • Fix: Copper CRM mapping now handles custom values and trigger field resolution more reliably.
  • Improvement: Field-mapping tag suggestions now limit dropdown items to valid available fields.
  • Improvement: Plugin and admin changelog now reflect v2.8.5 release details.

Copilot AI review requested due to automatic review settings May 13, 2026 07:39
@RishadAlam RishadAlam changed the title fix(integrations): patch Keap and Copper CRM field mapping Bump version v2.8.5 May 13, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request bumps the version to 2.8.5 and addresses several bugs across Copper CRM, Keap, and TagifyInput integrations. Key changes include improved field mapping logic, corrected contact fields for Keap, and updated changelog information. Review feedback suggests removing a leftover debug error_log in the Copper CRM helper and an unused lodash import in the TagifyInput component.

Comment thread backend/Actions/CopperCRM/RecordApiHelper.php Outdated
Comment thread frontend/src/components/Utilities/TagifyInput.jsx
@github-actions

github-actions Bot commented May 13, 2026

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Prepares the v2.8.5 release by fixing Keap and Copper CRM field-mapping issues, tightening Tagify field suggestion behavior, and updating release metadata/changelogs across the plugin.

Changes:

  • Fix Keap contact field mapping (correct middle-name label; add last-name mapping key).
  • Fix Copper CRM mapping to resolve trigger/custom values more safely.
  • Update Tagify dropdown limiting and bump version/changelog references to 2.8.5.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
readme.txt Updates stable tag + adds 2.8.5 changelog entry.
frontend/src/pages/ChangelogToggle.jsx Updates in-admin “What’s New” modal content for the 13th May 2026 release.
frontend/src/components/Utilities/TagifyInput.jsx Adjusts Tagify dropdown configuration to cap suggestion items.
frontend/src/components/AllIntegrations/Keap/Keap.jsx Corrects Keap contact field definitions (middle/last name mapping).
frontend/src/components/AllIntegrations/CopperCRM/IntegrationHelpers.jsx Updates Copper CRM custom-value handlers to accept non-event values.
backend/Actions/CopperCRM/RecordApiHelper.php Fixes Copper CRM request-data generation from field map; adds debug logging (needs removal).
bitwpfi.php Bumps plugin header/constant version to 2.8.5.
backend/Config.php Bumps backend Config::VERSION to 2.8.5.
Comments suppressed due to low confidence (1)

frontend/src/components/AllIntegrations/CopperCRM/IntegrationHelpers.jsx:42

  • Same issue as handleCustomValue: event?.target?.value || event || '' will treat empty string as falsy and can assign the entire event object into the field map. Use ?? (or explicit typeof ... !== 'undefined') so clearing the field results in an empty string, not an object.
  newConf.field_map[index][fieldValue] = event?.target?.value || event || ''
  setConf({ ...newConf })

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

/* eslint-disable jsx-a11y/label-has-associated-control */
import Tagify from '@yaireo/tagify'
import '@yaireo/tagify/dist/tagify.css'
import { max } from 'lodash'
Comment on lines +35 to 36
newConf.field_map[index].customValue = event?.target?.value || event || ''
setConf({ ...newConf })
public function execute($fieldValues, $fieldMap, $actionName)
{
$finalData = $this->generateReqDataFromFieldMap($fieldValues, $fieldMap);
error_log('final data' . print_r($finalData, true));
Comment thread readme.txt
Comment on lines +474 to +476
- **Bug Fixes**
- Keap: Added missing `last_name` contact field and corrected `middle_name` label.
- Copper CRM: Fixed field mapping for custom values and mapped trigger fields.
Comment on lines 58 to 61
{
label: 'MailerLite',
desc: 'Fixed blank page issue.',
isPro: false
},
{
label: 'FluentCRM',
desc: 'Fixed logo handling and added missing assets.',
label: 'Keap',
desc: 'Added missing `last_name` contact field and corrected `middle_name` label.',
isPro: false
@RishadAlam RishadAlam merged commit ea690d2 into main May 13, 2026
1 check 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.

3 participants