Skip to content

Releases: EvolutionAPI/evolution-api

v2.2.0

18 Oct 21:45
Compare
Choose a tag to compare

2.2.0 (2024-10-29)

Features

  • Fake Call function
  • Send List with Baileys
  • Send Buttons with Baileys
  • Added unreadMessages to chats
  • Pusher event integration
  • Add support for splitMessages and timePerChar in Integrations
  • Audio Converter via API
  • Send PTV messages with Baileys

Fixed

  • Fixed prefilledVariables in startTypebot
  • Fix duplicate file upload
  • Mark as read from me and groups
  • Fetch chats query
  • Ads messages in chatwoot
  • Add indexes to improve performance in Evolution
  • Add logical or permanent message deletion based on env config
  • Add support for fetching multiple instances by key
  • Update instance.controller.ts to filter by instanceName
  • Receive template button reply message

2.1.2 (2024-10-06 10:09)

Features

  • Sync lost messages on chatwoot
  • Set the maximum number of listeners that can be registered for events
  • Now is possible send medias with form-data

Fixed

  • Fetch status message
  • Adjusts in migrations
  • Update pushName in chatwoot
  • Validate message before sending chatwoot
  • Adds the message status to the return of the "prepareMessage" function
  • Fixed openai setting when send a message with chatwoot
  • Fix buildkey function in hSet and hDelete
  • Fix mexico number
  • Update baileys version
  • Update in Baileys version that fixes timeout when updating profile picture
  • Adjusts for fix timeout error on send status message
  • Chatwoot verbose logs
  • Adjusts on prisma connections
  • License terms updated
  • Fixed send message to group without no cache (local or redis)
  • Fixed startTypebot with startSession = true
  • Fixed issue of always creating a new label when saving chatwoot
  • Fixed getBase64FromMediaMessage with convertToMp4
  • Fixed bug when send message when don't have mentionsEveryOne on payload
  • Does not search message without chatwoot Message Id for reply
  • Fixed bot fallback not working on integrations

2.1.1 (2024-09-22 10:31)

Features

  • Define a global proxy to be used if the instance does not have one
  • Save is on whatsapp on the database
  • Add headers to the instance's webhook registration
  • Debounce message break is now "\n" instead of white space
  • Single view messages are now supported in chatwoot
  • Chatbots can now send any type of media

Fixed

  • Validate if cache exists before accessing it
  • Missing autoCreate chatwoot in instance create
  • Fixed bugs in the frontend, on the event screens
  • Fixed use chatwoot with evolution channel
  • Fix chatwoot reply quote with Cloud API
  • Use exchange name from .env on RabbitMQ
  • Fixed chatwoot screen
  • It is now possible to send images via the Evolution Channel
  • Removed "version" from docker-compose as it is obsolete (https://dev.to/ajeetraina/do-we-still-use-version-in-compose-3inp)
  • Fixed typebot ignoreJids being used only from default settings
  • Fixed Chatwoot inbox creation on save
  • Changed axios timeout for manager requests for 30s
  • Update in Baileys version that fixes timeout when updating profile picture
  • Fixed issue when sending links in markdown by chatbots like Dify
  • Fixed issue with chatbots not respecting settings

2.1.0 (2024-08-26 15:33)

Features

  • Improved layout manager
  • Translation in manager: English, Portuguese, Spanish and French
  • Evolution Bot Integration
  • Option to disable chatwoot bot contact with CHATWOOT_BOT_CONTACT
  • Added flowise integration
  • Added evolution channel on instance create
  • Change in license to Apache-2.0
  • Mark All in events

Fixed

  • Refactor integrations structure for modular system
  • Fixed dify agent integration
  • Update Baileys Version
  • Fixed proxy config in manager
  • Fixed send messages in groups
  • S3 saving media sent from me
  • Fixed duplication bot when use startTypebot

Break Changes

  • Payloads for events changed (create Instance and set events). Check postman to understand

2.0.10 (2024-08-16 16:23)

Features

  • OpenAI send images when markdown
  • Dify send images when markdown
  • Sentry implemented

Fixed

  • Fix on get profilePicture
  • Added S3_REGION on minio settings

2.0.9 (2024-08-15 12:31)

Features

  • Added ignoreJids in chatwoot settings
  • Dify now identifies images
  • Openai now identifies images

Fixed

  • Path mapping & deps fix & bundler changed to tsup
  • Improve database scripts to retrieve the provider from env file
  • Update contacts database with unique index
  • Save chat name
  • Correction of media as attachments in chatwoot when using a Meta API Instance and not Baileys
  • Update Baileys version 6.7.6
  • Deprecate buttons and list in new Baileys version
  • Changed labels to be unique on the same instance
  • Remove instance from redis even if using database
  • Unified integration session system so they don't overlap
  • Temporary fix for pictureUrl bug in groups
  • Fix on migrations

2.0.9-rc (2024-08-09 18:00)

Features

  • Added general session button in typebot, dify and openai in manager
  • Added compatibility with mysql through prisma

Fixed

  • Import contacts with image in chatwoot
  • Fix conversationId when is dify agent
  • Fixed loading of selects in the manager
  • Add restart button to sessions screen
  • Adjustments to docker files
  • StopBotFromMe working with chatwoot

2.0.8-rc (2024-08-08 20:23)

Features

  • Variables passed to the input in dify
  • OwnerJid passed to typebot
  • Function for openai assistant added

Fixed

  • Adjusts in telemetry

2.0.7-rc (2024-08-03 14:04)

Fixed

  • BusinessId added on create instances in manager
  • Adjusts in restart instance
  • Resolve issue with connecting to instance
  • Session is now individual per instance and remoteJid
  • Credentials verify on manager login
  • Added description column on typebot, dify and openai
  • Fixed dify agent integration

2.0.6-rc (2024-08-02 19:23)

Features

  • Get models for OpenAI

Fixed

  • fetchInstances with clientName parameter
  • fixed update typebot, openai and dify

2.0.5-rc (2024-08-01 18:01)

Features

  • Speech to Text with Openai

Fixed

  • ClientName on infos
  • Instance screen scroll bar in manager

2.0.4-rc (2024-07-30 14:13)

Features

  • New manager v2.0
  • Dify integration

Fixed

  • Update Baileys Version
  • Adjusts for new manager
  • Corrected openai trigger validation
  • Corrected typebot trigger validation

2.0.3-beta (2024-07-29 09:03)

Features

  • Webhook url by submitted template to send status updates
  • Sending template approval status webhook

Fixed

  • Equations and adjustments for the new manager
  • Adjust TriggerType for OpenAI and Typebot integrations
  • Fixed Typebot start call with active session

2.0.2-beta (2024-07-18 21:33)

Feature

  • Open AI implemented

Fixed

  • Fixed the function of saving or not saving data in the database
  • Resolve not find name
  • Removed DEL_TEMP_INSTANCES as it is not being used
  • Fixed global exchange name
  • Add apiKey and serverUrl to prefilledVariables in typebot service
  • Correction in start typebot, if it doesn't exist, create it

2.0.1-beta (2024-07-17 17:01)

Fixed

  • Resolved issue with Chatwoot not receiving messages sent by Typebot

2.0.0-beta (2024-07-14 17:00)

Feature

  • Added prisma orm, connection to postgres and mysql
  • Added chatwoot integration activation
  • Added typebot integration activation
  • Now you can register several typebots with triggers
  • Media sent to typebot now goes as a template string, example: imageMessage|MESSAGE_ID
  • Organization configuration and logo in chatwoot bot contact
  • Added debounce time for typebot messages
  • Tagging in chatwoot contact by instance
  • Add support for managing WhatsApp templates via official API
  • Fixes and implementation of regex and fallback in typebot
  • Ignore jids configuration added to typebot (will be used for both groups and contacts)
  • Minio and S3 integration
  • When S3 integration enabled, the media sent to typebot now goes as a template string, example: imageMessage|MEDIA_URL

Fixed

  • Removed excessive verbose logs
  • Optimization in instance registration
  • Now in typebot we wait until the terminal block to accept the user's message, if it arrives before the block is sent, it is ignored
  • Correction of audio sending, now we can speed it up and have the audio wireframe
  • Reply with media message on Chatwoot
  • improvements in sending status and groups
  • Correction in response returns from buttons, lists and templates
  • EvolutionAPI/Baileys implemented

Break changes

  • jwt authentication removed
  • Connection to mongodb removed
  • Standardized all request bodies to use camelCase
  • Change in webhook information from owner to instanceId
  • Changed the .env file configuration, removed the yml version and added .env to the repository root
  • Removed the mobile type connection with Baileys
  • Simplified payloads and endpoints
  • Improved Typebot
    • Now you can register several typebots
    • Start configuration by trigger or for all
    • Session search by typebot or remoteJid
    • KeepOpen configuration (keeps the session even when the bot ends, to run once per contact)
    • StopBotFromMe configuration, allows me to stop the bot if I send a chat message.
  • Changed the way the goal webhook is configured

v1.8.2

03 Jul 19:10
Compare
Choose a tag to compare

Fixed

  • Corretion in globall rabbitmq queue name
  • Improvement in the use of mongodb database for credentials
  • Fixed base64 in webhook for documentWithCaption
  • Fixed Generate pairing code

Full Changelog: 1.8.1...1.8.2

v1.8.1

12 Jun 22:50
Compare
Choose a tag to compare

Feature

  • New method of saving sessions to a file using worker, made in partnership with codechat

Fixed

  • Correction of variables breaking lines in typebot

What's Changed

  • Adiciona templates para Relatório de Bug e Solicitação de Recursos by @jrCleber in #622
  • fix: added validation when sending gif image by @cark7 in #629

New Contributors

Full Changelog: 1.8.0...1.8.1

v1.8.0

27 May 19:42
Compare
Choose a tag to compare

Feature

  • Now in the manager, when logging in with the client's apikey, the listing only shows the instance corresponding to the provided apikey (only with MongoDB)
  • New global mode for rabbitmq events
  • Build in docker for linux/amd64, linux/arm64 platforms

Fixed

  • Correction in message formatting when generated by AI as markdown in typebot
  • Security fix in fetch instance with client key when not connected to mongodb

What's Changed

  • fix: Correction to Postgres connection string in environment files by @edisoncm-ti in #618
  • fix(chatwoot): add merge_brazil_contacts flag to ChannelStartupService and add logs by @deivisonrpg in #615
  • chore: build docker image to platforms: linux/amd64,linux/arm64 by @milesibastos in #609

Full Changelog: 1.7.5...1.8.0

v1.7.5

21 May 11:54
Compare
Choose a tag to compare

Fixed

  • Add merge_brazil_contacts function to solve nine digit in brazilian numbers
  • Optimize ChatwootService method for updating contact
  • Fix swagger auth
  • Update aws sdk v3
  • Fix getOpenConversationByContact and init queries error
  • Method to mark chat as unread
  • Added environment variable to manually select the WhatsApp web version for the baileys lib (optional)

What's Changed

  • feat: method to mark chat as unread by @neanderdev in #577
  • fix(chatwoot): getOpenConversationByContact and init queries error by @deivisonrpg in #582
  • chore(aws sqs): update aws sdk v3 by @deivisonrpg in #583
  • Fix/swagger auth by @Al1st1c in #584
  • chore: build docker image to platforms: linux/amd64, linux/arm64 by @milesibastos in #571
  • refactor(chatwoot): optimize ChatwootService method for updating contact inform… by @deivisonrpg in #586
  • feature(chatwoot): add merge_brazil_contacts function to solve nine digit in brazilian numbers by @deivisonrpg in #587
  • Corrigindo variável inexistente do arquivo env.config.ts e substituindo pela correta CLEAN_STORE_CLEANING_INTERVAL by @Ckk3 in #590

New Contributors

Full Changelog: 1.7.4...1.7.5

v1.7.4

28 Apr 12:57
Compare
Choose a tag to compare

Fixed

  • Adjusts in proxy on fetchAgent
  • Recovering messages lost with redis cache
  • Log when init redis cache service
  • Recovering messages lost with redis cache
  • Chatwoot inbox name
  • Update Baileys version

What's Changed

  • Adicionado message.status ao webhook MESSAGES_SET by @PauloAK in #543
  • fix(chatwoot): fix bug when chatwoot params reopen_conversation and conversation_pending are enabled by @jaison-x in #555
  • feat(chatwoot): send private message on error message sent from chatwoot by @jaison-x in #558
  • Chatwoot inbox name by @judsonjuniorr in #566

New Contributors

Full Changelog: 1.7.3...1.7.4

v1.7.3

18 Apr 15:13
Compare
Choose a tag to compare

Fixed

  • Revert fix audio encoding
  • Recovering messages lost with redis cache
  • Adjusts in redis for save instances
  • Adjusts in proxy
  • Revert pull request #523
  • Added instance name on logs
  • Added support for Spanish
  • Fix error: invalid operator. The allowed operators for identifier are equal_to,not_equal_to in chatwoot

What's Changed

  • fix(chatwoot): error: invalid operator. The allowed operators for identifier are [equal_to,not_equal_to] by @jaison-x in #538
  • fix: this.localProxy.proxy can be undefined by @jaison-x in #539
  • ✨ feat: add support for Spanish by @nestordavalos in #542

New Contributors

Full Changelog: 1.7.2...1.7.3

v1.7.2

12 Apr 20:33
Compare
Choose a tag to compare

Feature

  • Mobile connection via sms (test)

Fixed

  • Adjusts in redis
  • Send global event in websocket
  • Adjusts in proxy
  • Fix audio encoding
  • Fix conversation read on chatwoot version 3.7
  • Fix when receiving/sending messages from whatsapp desktop with ephemeral messages enabled
  • Changed returned sessions on typebot status change
  • Reorganization of files and folders

What's Changed

  • changed returned sessions on typebot status change by @gabrielgranado in #523
  • fix(chatwoot): fix when receiving/sending messages from whatsapp desktop with ephemeral messages enabled by @jaison-x in #527
  • fix(chatwoot): fix conversation read on chatwoot version 3.7 by @jaison-x in #528

New Contributors

Full Changelog: 1.7.1...1.7.2

v1.7.1

03 Apr 13:46
Compare
Choose a tag to compare

Fixed

  • Correction when sending files with captions on Whatsapp Business
  • Correction in receiving messages with response on WhatsApp Business
  • Correction when sending a reaction to a message on WhatsApp Business
  • Correction of receiving reactions on WhatsApp business
  • Removed mandatory description of rows from sendList
  • Feature to collect message type in typebot

What's Changed

  • Removido obrigatoriedade de descrição dos rows do sendList by @Azzybot in #505
  • Recurso para coletar tipo de mensagem by @Azzybot in #506
  • Reconhecer tipos de mensagens by @Azzybot in #507

New Contributors

  • @Azzybot made their first contribution in #505

Full Changelog: 1.7.0...1.7.1

v1.7.0

27 Mar 19:36
Compare
Choose a tag to compare

Feature

  • Added update message endpoint
  • Add translate capabilities to QRMessages in CW
  • Join in Group by Invite Code
  • Read messages from whatsapp in chatwoot
  • Add support to use use redis in cacheservice
  • Add support for labels
  • Command to clearcache from chatwoot inbox
  • Whatsapp Cloud API Oficial

Fixed

  • Proxy configuration improvements
  • Correction in sending lists
  • Adjust in webhook_base64
  • Correction in typebot text formatting
  • Correction in chatwoot text formatting and render list message
  • Only use a axios request to get file mimetype if necessary
  • When possible use the original file extension
  • When receiving a file from whatsapp, use the original filename in chatwoot if possible
  • Remove message ids cache in chatwoot to use chatwoot's api itself
  • Adjusts the quoted message, now has contextInfo in the message Raw
  • Collecting responses with text or numbers in Typebot
  • Added sendList endpoint to swagger documentation
  • Implemented a function to synchronize message deletions on WhatsApp, automatically reflecting in Chatwoot.
  • Improvement on numbers validation
  • Fix polls in message sending
  • Sending status message
  • Message 'connection successfully' spamming
  • Invalidate the conversation cache if reopen_conversation is false and the conversation was resolved
  • Fix looping when deleting a message in chatwoot
  • When receiving a file from whatsapp, use the original filename in chatwoot if possible
  • Correction in the sendList Function
  • Implement contact upsert in messaging-history.set
  • Improve proxy error handling
  • Refactor fetching participants for group in WhatsApp service
  • Fixed problem where the typebot final keyword did not work
  • Typebot's wait now pauses the flow and composing is defined by the delay_message parameter in set typebot
  • Composing over 20s now loops until finished

What's Changed

  • fix: Correção na Função sendList by @w3nder in #322
  • refactor(chatwoot): remove message ids cache in chatwoot to use chatwoot's api itself by @jaison-x in #331
  • fix(chatwoot): when receiving a file from whatsapp, use the original filename in chatwoot if possible by @jaison-x in #332
  • fix(chatwoot): when possible use the original file extension by @jaison-x in #334
  • perf(chatwoot): only use a axios request to get file mimetype if necessary by @jaison-x in #336
  • fix(chatwoot): fix looping when deleting a message in chatwoot by @jaison-x in #338
  • perf(chatwoot): create cache for the most used/expensive functions in chatwoot by @jaison-x in #342
  • fix(chatwoot): invalidate the conversation cache if reopen_conversation is false and the conversation was resolved by @jaison-x in #351
  • Fix: Corrects the generation of the hash variable name by @AlanMartines in #355
  • feat(cacheservice): add support to use use redis in cacheservice by @jaison-x in #360
  • feat(chatwoot): read messages from whatsapp in chatwoot by @jaison-x in #363
  • fix: message 'connection successfully' spamming by @jaison-x in #369
  • fix: Sending status message by @leandrosroc in #370
  • Add number parameter to OnWhatsAppDto constructor by @judsonjuniorr in #371
  • Typebot: Remove quebra de linha no index final do array | Obtem a resposta de um sendList (Lista) by @edisoncm-ti in #372
  • Join in Group by Invite Code by @leandrosroc in #373
  • Proxy improvements by @judsonjuniorr in #374
  • Fix polls in message sending by @judsonjuniorr in #375
  • Improvement on numbers validation by @judsonjuniorr in #377
  • Implemented a function to synchronize message deletions on WhatsApp, automatically reflecting in Chatwoot. by @moraisamilton in #378
  • Added sendList endpoint to swagger documentation by @judsonjuniorr in #379
  • Add translate capabilities to QRMessages in CW by @drauber in #380
  • fix: collecting responses with text or numbers in Typebot by @edisoncm-ti in #381
  • Fix with nine number brazil by @yvescleuder in #382
  • hotfix: bug on chatwoot sdk by @jaison-x in #392
  • feat: If contact stored with name, name added in return by @leandrosroc in #390
  • Fix/chatwoot validate 9 digit by @deivisonrpg in #393
  • Feat Chatwoot - Reject Message If is not a valid wpp number by @deivisonrpg in #394
  • Fix(chatwoot): Include identifier to contact filter by @deivisonrpg in #397
  • feat(chatwoot): import history messages to chatwoot on whatsapp connection by @jaison-x in #395
  • Improvement on whatsapp number validation by @judsonjuniorr in #402
  • Temp instance deletion by @judsonjuniorr in #404
  • Extracted profile picture request from contacts.upsert function by @judsonjuniorr in #406
  • fix(chatwoot): fix qrcode filename by @jaison-x in #408
  • feat(chatwoot): command to clearcache from chatwoot inbox by @jaison-x in #410
  • Feat/labels by @judsonjuniorr in #409
  • Changed label update to chat instead of contacts by @judsonjuniorr in #411
  • Implement contact upsert in messaging-history.set by @judsonjuniorr in #419
  • Improve proxy error handling by @judsonjuniorr in #420
  • Refactor fetching participants for group in WhatsApp service by @judsonjuniorr in #421
  • Add blockUser functionality by @w3nder in #433
  • feat(chatwoot): add some translations on chatwoot messages by @jaison-x in #434
  • fix: incorrect images in project by @gabrielporfiro in #457
  • Change the way numbers are validated on whatsapp by @judsonjuniorr in #460
  • Refactor/temp delete option by @judsonjuniorr in #461
  • RabbitMQ improvements by @judsonjuniorr in #451
  • Update variables .env.example docker by @bergpinheiro in #462
  • feat(chatwoot): read last message on WhatsApp when a message is sent from Chatwoot by @jaison-x in #473
  • feat(chatwoot): show edited messages from WhatsApp in Chatwoot by @jaison-x in #474
  • fix: add option to select specific fields on find message repository by @jaison-x in #475
  • fix(chatwoot): fix config name by @jaison-x in #477
  • fix: add missing example env variables by @jaison-x in #478

New Contributors

Full Changelog: 1.6.1...1.7.0