Skip to content

Releases: EvolutionAPI/evolution-api

v2.3.0

17 Jun 20:03
Compare
Choose a tag to compare

Feature

  • Add support to get Catalogs and Collections with new routes: '{{baseUrl}}/chat/fetchCatalogs' and '{{baseUrl}}/chat/fetchCollections'
  • Add NATS integration support to the event system
  • Add message location support meta
  • Add S3_SKIP_POLICY env variable to disable setBucketPolicy for incompatible providers
  • Add EvoAI integration with models, services, and routes
  • Add N8n integration with models, services, and routes

Fixed

  • Shell injection vulnerability
  • Update Baileys Version v6.7.18
  • Audio send duplicate from chatwoot
  • Chatwoot csat creating new conversation in another language
  • Refactor SQS controller to correct bug in sqs events by instance
  • Adjustin cloud api send audio and video
  • Preserve animation in GIF and WebP stickers
  • Preventing use conversation from other inbox for the same user
  • Ensure full WhatsApp compatibility for audio conversion (libopus, 48kHz, mono)
  • Enhance message fetching and processing logic
  • Added lid on whatsapp numbers router
  • Now if the CONFIG_SESSION_PHONE_VERSION variable is not filled in it automatically searches for the most updated version

What's Changed

  • Refactor edit and delete message functionality in BaileyStartupService by @GrimBit1 in #1195
  • Feat: Adicionei suporte para obter o Catálogos de Produtos e as Coleções de Produtos para a versão 2.2.3 by @wayre in #1201
  • Adicionado suporte para obter Catálogos e Coleções no WhatsApp Business by @wayre in #1214
  • feat: notconvertsticket for animated stickers by @joaosouz4dev in #1211
  • Fix instance creation on v2.2.3 by @rafwell in #1215
  • feat: add message location support whatsapp meta by @tmsdesarrollo3 in #1217
  • Fix audio send duplicate from chatwoot. by @mbap-dev in #1221
  • fix: chatwoot csat creating new conversation in another language by @tmsdesarrollo3 in #1226
  • 🐛 Fix: Add migration for missing wavoipToken column in MySQL build env (#1234) by @julianoaj in #1235
  • Refactor Editing Message events and update message handler by @GrimBit1 in #1237
  • fix: change mediaId optional chaining and list response message text obtain by @ygorsantana in #1240
  • hotfix(migration): add missing wavoipToken column in MySQL schema by @AndersonSilvaCavalcante in #1244
  • ✨ Feat: Remover a reação de uma mensagem. by @julianoaj in #1259
  • fix: Refactor SQS controller to correct bug in sqs events by instance by @fernandoralha in #1251
  • Fix: Expiration being useless on awaitUser false by @ygorsantana in #1264
  • fix: adjusting cloud api send audio and video by @pedroepif in #1287
  • Corrige validação de URL para permitir localhost e endereços IP by @jrCleber in #1290
  • Add eventos referente a instancia que estavam faltando by @rafwell in #1304
  • Corrigindo um bug no endpoint de findChats e permitindo paginação nos endpoints de findChats e findContacts by @pedro-php in #1334
  • Adicionando um novo webhook no endpoint de updateMessage by @pedro-php in #1343
  • Fix/animated stickers by @marceloapd in #1322
  • Adicionando um timestamp ao filename para possibilitar enviar o mesmo arquivo mais de uma vez na mesma conversa. by @alvestassio in #1344
  • Hotfix - shell injection vulnerability by @jeffersonfelixdev in #1354
  • feat(s3): add S3_SKIP_POLICY env variable to disable setBucketPolicy by @Deyvi-dev in #1362
  • Correção para quando enviar uma localização. by @ricocorreia1 in #1351
  • Corrigindo um bug ao atualizar o push name no evento MESSAGES_UPSERT e MESSAGES_UPDATE by @pedro-php in #1366
  • fix(api): modifica fetchChats para trazer mensagens de contatos não salvos by @leandrosroc in #1384
  • fix(audio): ensure full WhatsApp compatibility for audio conversion by @edisonmartinsmkt in #1425
  • Tornando Webhook mais seguro com JWT token by @victoreduardo in #1318
  • Corrigir utilização do linkPreview no WhatsApp Business API by @onerrogus in #1414
  • fix: Erro na criação de conversation quando já existe uma conversation de outro inbox para o mesmo usuário by @victoreduardo in #1415
  • fix mysql wavoip token by @paulocoutinhox in #1433
  • fix(chatwoot): avoid "undefined" caption on group audio messages by @edisonmartinsmkt in #1434
  • Defininando TTL no userDivicesCache igual usado no Baileys by @theeusmartins in #1332
  • fix: when you set jpegThumbnail, image not appear on app mobile by @Faelst in #1406
  • Update package.json by @icaro-andrade in #1422
  • fix(chatwoot): only fallback audio caption when audioMessage exists by @edisonmartinsmkt in #1435
  • Findchat group name treatment by @luiis716 in #1420
  • fix: remove postinstall script from package.json to fix GitHub Action by @gomessguii in #1450
  • Add N8n integration with models, services, and routes by @gomessguii in #1448
  • feat(whatsapp): enhance message fetching and processing logic by @gomessguii in #1449
  • feat(evoai): add EvoAI integration with models, services, and routes by @gomessguii in #1451
  • feat: updated manager to the last version with suport to n8n and EvoA… by @gomessguii in #1452
  • feat(evoai): add Evoai and EvoaiSetting tables with foreign key const… by @gomessguii in #1453
  • feat(channel): enhance pushName logic for messages by @gomessguii in #1457
  • Fixes issue #879 by @thiagoomatheus in #1456
  • fix: Deadlock errors and undefined arguments by @KokeroO in #1473
  • Fix-chatwoot-import by @AlexSzefezuk in #1481
  • Refatoração da funcionalidade de chatbots (em andamento) by @gomessguii in #1482
  • fix: melhora consistência e formatação dos chatbots (N8N e Evolution Bot) by @oriondesign2015 in #1484
  • chore: possibilita o envio de medias do tipo [svg, tiff] vindas do Chatwoot by @KokeroO in #1483
  • fix: Corrige envio da apiKey da instância nos payloads do Evolution Bot e N8N by @oriondesign2015 in #1485
  • fix: Corrige envio da apiKey da instância nos payloads do Flowise e do Dify by @oriondesign2015 in #1486
  • fix: Corrige o PR1481 by @KokeroO in #1490
  • corrige estrutura de if/else e bloco try/catch em chatwoot-import-helper.ts by @oriondesign2015 in #1493
  • fix: melhora a formatação e tratamento de erros na função getExistingSourceIds by @KokeroO in #1494
  • Inclusão do parâmetro frame_max para compatibilidade com RabbitMQ 4.1+ by @thrsouza in #1498
  • fix: Melhora o método createConversation (evita conversas criadas duplicadas Chatwoot) by @KokeroO in #1504
  • refactor: improve chatbot integrations by @gomessguii in #1508
  • fix: change service image version and change to latest config session phone version by @samuelterra22 in #1513
  • Update fetchStatusMessage to handle empty offset / page by @Daquisu in #1536
  • fix: adjustment in audio transcription with official api by @splusoficial in #1556
  • feat(audio): support LPCM and fix waveform distortion by @edisonmartinsmkt in #1574
  • refactor(chatwoot): Melhora e ajusta tratamento de números @lid by @KokeroO in https://github.com...
Read more

v2.2.3

03 Feb 14:53
Compare
Choose a tag to compare

Fixed

  • Fix cache in local file system
  • Update Baileys Version

What's Changed

New Contributors

Full Changelog: 2.2.2...2.2.3

v2.2.2

31 Jan 10:15
Compare
Choose a tag to compare

Features

  • Added prefix key to queue name in RabbitMQ

Fixed

  • Update Baileys Version

What's Changed

New Contributors

Full Changelog: 2.2.1...2.2.2

v2.2.1

22 Jan 17:41
Compare
Choose a tag to compare

Features

  • Retry system for send webhooks
  • Message filtering to support timestamp range queries
  • Chats filtering to support timestamp range queries

Fixed

  • Correction of webhook global
  • Fixed send audio with whatsapp cloud api
  • Refactor on fetch chats
  • Refactor on Evolution Channel

What's Changed

New Contributors

Full Changelog: 2.2.0...2.2.1

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