Skip to content

Commit e55cb08

Browse files
committed
Merge branch 'release/1.5.3'
2 parents bddd640 + 047359e commit e55cb08

22 files changed

+2990
-143
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# 1.5.3 (2023-10-06 18:55)
2+
3+
### Feature
4+
5+
* Swagger documentation
6+
* Added base 64 sending option via webhook
7+
8+
### Fixed
9+
10+
* Remove rabbitmq queues when delete instances
11+
* Improvement in restart instance to completely redo the connection
12+
* Update node version: v20
13+
* Correction of messages sent by the api and typebot not appearing in chatwoot
14+
* Adjustment to start typebot, added startSession parameter
15+
* Chatwoot now receives messages sent via api and typebot
16+
* Fixed problem with starting with an input in typebot
17+
* Added check to ensure variables are not empty before executing foreach in start typebot
118

219
# 1.5.2 (2023-09-28 17:56)
320

Dockerfile

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

3-
LABEL version="1.5.2" description="Api to control whatsapp features through http requests."
3+
LABEL version="1.5.3" description="Api to control whatsapp features through http requests."
44
LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes"
55
LABEL contact="contato@agenciadgcode.com"
66

Extras/appsmith/manager.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "evolution-api",
3-
"version": "1.5.2",
3+
"version": "1.5.3",
44
"description": "Rest api for communication with WhatsApp",
55
"main": "./dist/src/main.js",
66
"scripts": {
@@ -78,7 +78,9 @@
7878
"sharp": "^0.30.7",
7979
"socket.io": "^4.7.1",
8080
"socks-proxy-agent": "^8.0.1",
81-
"uuid": "^9.0.0"
81+
"swagger-ui-express": "^5.0.0",
82+
"uuid": "^9.0.0",
83+
"yamljs": "^0.3.0"
8284
},
8385
"devDependencies": {
8486
"@types/compression": "^1.7.2",
File renamed without changes.

src/docs/swagger.conf.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Router } from 'express';
2+
import { join } from 'path';
3+
import swaggerUi from 'swagger-ui-express';
4+
import YAML from 'yamljs';
5+
6+
const document = YAML.load(join(process.cwd(), 'src', 'docs', 'swagger.yaml'));
7+
8+
const router = Router();
9+
10+
export const swaggerRouter = router.use('/docs', swaggerUi.serve).get(
11+
'/docs',
12+
swaggerUi.setup(document, {
13+
customCssUrl: '/css/dark-theme-swagger.css',
14+
customSiteTitle: 'Evolution API',
15+
customfavIcon: '/images/logo.svg',
16+
}),
17+
);

0 commit comments

Comments
 (0)