Skip to content

Comments

resolves #1864 whatsapp_connector: deprecate legacy connector and clean up successor#1871

Merged
vsct-jburet merged 2 commits intotheopenconversationkit:masterfrom
Fabilin:1864-whatsapp-migration
Mar 31, 2025
Merged

resolves #1864 whatsapp_connector: deprecate legacy connector and clean up successor#1871
vsct-jburet merged 2 commits intotheopenconversationkit:masterfrom
Fabilin:1864-whatsapp-migration

Conversation

@Fabilin
Copy link
Member

@Fabilin Fabilin commented Mar 20, 2025

This PR formally deprecates the whatsapp-connector module, and promotes the whatsapp-cloud-connector module as an alternative. It also does a cleanup pass on the latter, to make it more maintainable going forward.

The following changes have been made:

  1. updated the README of both modules, as well as the relevant documentation pages
  2. properly encapsulated WhatsApp API calls in the cloud connector
  3. added missing endForWhatsAppCloud utility method
  4. Split whatsAppCloudImage into one variant for images downloaded from a URL and another for images loaded in memory as a byte array
  5. finished renaming Component to WhatsappTemplateComponent
  6. moved the message preparation logic to the message classes
  7. deprecated all message building methods in the legacy whatsapp-cloud connector

@vsct-jburet vsct-jburet self-requested a review March 31, 2025 07:34
@vsct-jburet vsct-jburet added this to the 25.3.0 milestone Mar 31, 2025
@vsct-jburet vsct-jburet merged commit ef7db56 into theopenconversationkit:master Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants