Skip to content

Commit 97abb25

Browse files
committed
Merge branch 'release/1.1.3'
2 parents b87f687 + a342911 commit 97abb25

39 files changed

+822
-2175
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ yarn-debug.log*
1111
yarn-error.log*
1212
lerna-debug.log*
1313

14-
/store/*
1514
/docker-compose-data
1615

1716
# Package
@@ -33,3 +32,6 @@ lerna-debug.log*
3332
!/instances/.gitkeep
3433
/test/
3534
/src/env.yml
35+
/store
36+
37+
/temp/*

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# 1.1.3 (2023-07-06 11:43)
2+
3+
### Features
4+
5+
* Added configuration for Baileys log level in env
6+
* Added audio to mp4 converter in optionally get Base64 From MediaMessage
7+
* Added organization name in vcard
8+
* Added email in vcard
9+
* Added url in vcard
10+
* Added verbose logs
11+
12+
### Fixed
13+
14+
* Added timestamp internally in urls to avoid caching
15+
* Correction in decryption of poll votes
16+
* Change in the way the api sent and saved the sent messages, now it goes in the messages.upsert event
17+
* Fixed cash when sending stickers via url
18+
* Improved how Redis works for instances
19+
* Fixed problem when disconnecting the instance it removes the instance
20+
* Fixed problem sending ack when preview is done by me
21+
* Adjust in store files
22+
123
# 1.1.2 (2023-06-28 13:43)
224

325
### Fixed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM node:16.18-alpine
22

3+
LABEL version="1.1.3" description="Api to control whatsapp features through http requests."
4+
LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes"
5+
LABEL contact="[email protected]"
6+
37
RUN apk update && apk upgrade && \
48
apk add --no-cache git
59

@@ -16,7 +20,7 @@ ENV CORS_ORIGIN="*"
1620
ENV CORS_METHODS="POST,GET,PUT,DELETE"
1721
ENV CORS_CREDENTIALS=true
1822

19-
ENV LOG_LEVEL="ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK"
23+
ENV LOG_LEVEL=$LOG_LEVEL
2024
ENV LOG_COLOR=true
2125

2226
ENV DEL_INSTANCE=$DEL_INSTANCE
@@ -54,7 +58,6 @@ ENV WEBHOOK_EVENTS_QRCODE_UPDATED=$WEBHOOK_EVENTS_QRCODE_UPDATED
5458
ENV WEBHOOK_EVENTS_MESSAGES_SET=$WEBHOOK_EVENTS_MESSAGES_SET
5559
ENV WEBHOOK_EVENTS_MESSAGES_UPDATE=$WEBHOOK_EVENTS_MESSAGES_UPDATE
5660
ENV WEBHOOK_EVENTS_MESSAGES_UPSERT=$WEBHOOK_EVENTS_MESSAGES_UPSERT
57-
ENV WEBHOOK_EVENTS_SEND_MESSAGE=$WEBHOOK_EVENTS_SEND_MESSAGE
5861
ENV WEBHOOK_EVENTS_CONTACTS_SET=$WEBHOOK_EVENTS_CONTACTS_SET
5962
ENV WEBHOOK_EVENTS_CONTACTS_UPSERT=$WEBHOOK_EVENTS_CONTACTS_UPSERT
6063
ENV WEBHOOK_EVENTS_CONTACTS_UPDATE=$WEBHOOK_EVENTS_CONTACTS_UPDATE

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
<div align="center">
44

5-
[![Whatsapp Group](https://img.shields.io/badge/Group-WhatsApp-%2322BC18)](https://doc.evolution-api.com)
6-
[![Documentation](https://img.shields.io/badge/Documentation-Official-green)](https://doc.evolution-api.com)
5+
[![Whatsapp Group](https://img.shields.io/badge/Group-WhatsApp-%2322BC18)](https://evolution-api.com/whatsapp)
6+
[![Postman Collection](https://img.shields.io/badge/Postman-Collection-orange)](https://evolution-api.com/docs/evolution-documentation/getting-started/postman-collection/)
7+
[![Documentation](https://img.shields.io/badge/Documentation-Official-green)](https://evolution-api.com)
78
[![License](https://img.shields.io/badge/license-GPL--3.0-orange)](./LICENSE)
89
[![Support](https://img.shields.io/badge/Buy%20me-coffe-orange)](https://app.picpay.com/user/davidsongomes1998)
910

docker-compose.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ services:
1414
- evolution_instances:/evolution/instances
1515
- evolution_store:/evolution/store
1616
environment:
17+
- LOG_LEVEL=ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS
18+
- LOG_BAILEYS=error
1719
# Determine how long the instance should be deleted from memory in case of no connection.
1820
# Default time: 5 minutes
1921
# If you don't even want an expiration, enter the value false
20-
- DEL_INSTANCE=5 # or false
22+
- DEL_INSTANCE=false # 5 or false
2123
# Temporary data storage
2224
- STORE_MESSAGES=true
2325
- STORE_MESSAGE_UP=true
@@ -39,7 +41,7 @@ services:
3941
- DATABASE_SAVE_MESSAGE_UPDATE=true
4042
- DATABASE_SAVE_DATA_CONTACTS=true
4143
- DATABASE_SAVE_DATA_CHATS=true
42-
- REDIS_ENABLED=false
44+
- REDIS_ENABLED=true
4345
- REDIS_URI=redis://redis:6379/1
4446
- REDIS_PREFIX_KEY=evolution
4547
# Webhook Settings
@@ -55,7 +57,6 @@ services:
5557
- WEBHOOK_EVENTS_MESSAGES_SET=true
5658
- WEBHOOK_EVENTS_MESSAGES_UPSERT=true
5759
- WEBHOOK_EVENTS_MESSAGES_UPDATE=true
58-
- WEBHOOK_EVENTS_SEND_MESSAGE=true
5960
- WEBHOOK_EVENTS_CONTACTS_SET=true
6061
- WEBHOOK_EVENTS_CONTACTS_UPSERT=true
6162
- WEBHOOK_EVENTS_CONTACTS_UPDATE=true

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "evolution-api",
3-
"version": "1.2.0",
3+
"version": "1.1.3",
44
"description": "Rest api for communication with WhatsApp",
5-
"main": "index.js",
5+
"main": "./dist/src/main.js",
66
"scripts": {
77
"build": "tsc",
88
"start": "ts-node --files --transpile-only ./src/main.ts",
@@ -41,9 +41,9 @@
4141
"homepage": "https://github.com/DavidsonGomes/evolution-api#readme",
4242
"dependencies": {
4343
"@adiwajshing/keyed-db": "^0.2.4",
44-
"@whiskeysockets/baileys": "^6.3.0",
4544
"@ffmpeg-installer/ffmpeg": "^1.1.0",
4645
"@hapi/boom": "^10.0.1",
46+
"@whiskeysockets/baileys": "^6.3.0",
4747
"axios": "^1.3.5",
4848
"class-validator": "^0.13.2",
4949
"compression": "^1.7.4",

0 commit comments

Comments
 (0)