Releases: maarifa-org/dt-maarifa
Releases · maarifa-org/dt-maarifa
Release list
Release v1.2.2
Full Changelog: v1.2.1...v1.2.2
Release v1.2.1
What's Changed
- Bump wp-coding-standards/wpcs from 3.1.0 to 3.4.1 by @dependabot[bot] in #7
- Bump squizlabs/php_codesniffer from 3.13.5 to 3.13.6 by @dependabot[bot] in #8
New Contributors
- @dependabot[bot] made their first contribution in #7
Full Changelog: v1.2.0...v1.2.1
Release v1.2.0
Summary
- Cleaning up duplicated comments by @adventureit in #6
New
- Duplicate interaction cleanup tool. A new "Clean Duplicates" tab has been added to the plugin's admin page. It lets an admin (
manage_dtcapability) scan for and remove duplicatemaarifa-type comments (interactions) on contacts, filtered by contact/post ID, a date range, or across the whole site.- Includes a dry-run mode (on by default) that previews what would be deleted before committing to it.
- Backed by a new authenticated REST endpoint:
POST /wp-json/dt-maarifa/v1/cleanup-duplicates, acceptingpost_id,start_date/end_date,all, anddry_runparameters (mutually exclusive filters — exactly one ofpost_id, a date range, orallmust be provided).
Fixed
- Root cause of duplicate interactions fixed. The
add_interactionsendpoint now checks for an existing comment with the same post, content, type, and date before inserting, so Resource Sync (RS) → DT interaction syncing no longer creates duplicate comments on retries/resends. - The bulk-comment insert loop no longer aborts entirely on the first
WP_Error; each interaction in a batch is now processed independently, with errors collected and logged rather than short-circuiting the remaining items. - Skipped empty/missing
commentvalues in incoming interaction payloads instead of inserting blank comments.
Chores
- PHPCS lint fixes across
rest-api.phpandadmin-menu-and-tabs.php.
Full Changelog: v1.1.4...v1.2.0
Release v1.1.4
Full Changelog: v1.1.3...v1.1.4
Release v1.1.3
Full Changelog: v1.1.2...v1.1.3
Release v1.1.2
Full Changelog: v1.1.1...v1.1.2
Release v1.1.1
Full Changelog: v1.1.0...v1.1.1
Release v1.1.0
What's Changed
- [DT-M3] Track digital responder in DT from RS by @adventureit in #5
Full Changelog: v1.0.1...v1.1.0
Release v1.0.1
Full Changelog: v1.0.0...v1.0.1
Release v1.0.0
What's Changed
- [DT-M3] Create dt-maarifa API to receive contact and interaction data by @adventureit in #2
- DT-Maarifa (0 Milestones bug and deleting milestones when "false"). by @adventureit in #3
- Updating rest-api.php - interactions and location (country to street) by @adventureit in #4
New Contributors
- @adventureit made their first contribution in #2
Full Changelog: v0.9.9...v1.0.0