Skip to content

v0.24.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 00:30
· 1 commit to master since this release

Changed

  • WhatsApp is now a plugin. If you use it, install the meta plugin after updating: pepe plugin install @jhonathas/meta. Until then WhatsApp messages are not answered. Your connections, their settings and Callback URLs stay as they are. The package (0.2.0) holds WhatsApp, Instagram and Messenger, translated into the languages Pepe speaks.

Added

  • Any channel can be set up from the terminal, plugins included. pepe gateway CHANNEL add|list|set-agent|remove builds its options from the fields the channel declares, and pepe plugin config NAME shows and changes a plugin's own settings.
  • New Meta plugin (0.1.0): Instagram and Facebook Messenger. An agent answers direct messages and, when turned on, comments, publicly or privately. It can hand a customer to a person, and stays quiet when a person answers from the Instagram or Page inbox.
  • The Chatwoot plugin (0.2.1) can act on the conversation it answers. The agent can hand it to a person (one notice to the customer, a private note, optional team or agent, the conversation opened and checked), resolve it, leave private notes, add labels and set the priority. Email with an empty body is read by its subject, automatic email is no longer answered, attachments reach the agent and files can be sent back, and Chatwoot shows it typing.
  • A plugin can keep what it found out by itself. Pepe.Plugins.put_config/2 saves a value next to a plugin's settings (the token a sign-in in the browser just returned, for instance), merged into what is already there. This is what lets a plugin offer a "connect your account" link instead of asking for a pasted token.
  • A plugin can be translated. An i18n block in a plugin's manifest translates its description, the labels and hints of its Configure form, and its own texts (Pepe.Plugins.text/3), shown in the language Pepe is set to. Anything not translated shows in English.
  • The Google (0.2.3) and Chatwoot (0.2.2) plugins are translated. Their forms and descriptions show in Brazilian Portuguese, Portuguese from Portugal and Spanish, following the language Pepe is set to.

Fixed

  • Two connections of one channel bound to the same agent no longer share conversations when their numbers coincide, and files are sent through the connection the conversation came from. In that setup open conversations start afresh once. Agents chosen for single channels are kept.
  • Saving a plugin's Configure form no longer erases values the plugin saved under keys the form does not show. Only the fields the form shows are rewritten.
  • The self-contained binaries for Linux x86 and macOS ARM build again. They were missing from the 0.22.0 and 0.23.0 releases after the build machines changed underneath them. The Docker images were not affected.

What's Changed

  • Build the Linux x86 and macOS ARM binaries again by @jhonathas in #41
  • Let the Chatwoot plugin act on the conversation it answers by @jhonathas in #42
  • Add a plugin with Instagram and Messenger channels by @jhonathas in #43
  • Let a plugin keep what it found out by itself by @jhonathas in #44
  • Let a plugin speak Pepe's language by @jhonathas in #46
  • Translate the Google and Chatwoot plugins by @jhonathas in #47
  • Set up any channel from the terminal, plugins included by @jhonathas in #45
  • Keep two connections on one agent from sharing conversations by @jhonathas in #48
  • Move WhatsApp into the meta plugin by @jhonathas in #49
  • Bump version to 0.24.0 by @jhonathas in #50

Full Changelog: v0.23.0...v0.24.0