10000 Update by matheusmaiberg · Pull Request #24 · EvolutionAPI/evolution-docs · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 3 additions & 116 deletions docs/01-Get Started/Release notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,119 +65,6 @@ This is the `latest` version, the most stable as of right now. We recommend uses

:::

## 1.6.1

> This is a minor fix update. Version 1.6.1 introduces fixes for message handling, Typebot integration, media sharing, text formatting in Chatwoot, and instance management. It also adds customization options and resolves reconnection issues with MongoDB.

<details>
<summary>See full changelog</summary>
<div>
<details>
<summary>Fixes</summary>
<div>
- Fixed Lid Messages <br />
- Fixed the pairing code <br />
- Adjusts in typebot <br />
- Fixed sending variables to typebot <br />
- Fixed sending variables from typebot <br />
- Options to disable docs and manager <br />
- Correction sending s3/minio media to chatwoot and typebot <br />
- Fixed chatwoot Bold, Italic and Underline formatting using Regex <br />
- Include instance Id field in the instance configuration <br />
- Fix the problem when disconnecting the instance and connecting again using mongodb <br />
- Fixed the problem with typebot closing at the end of the flow, now this is optional with the TYPEBOT_KEEP_OPEN variable <br />
- Added the sign_delimiter property to the Chatwoot configuration, allowing you to set a different delimiter for the signature. Default when not defined \n <br />
</div>
</details>
<details>
<summary>Supported integrations</summary>
<div>
- Chatwoot: v3.3.1 <br/>
- Typebot: v2.20.0 <br/>
</div>
</details>
</div>
</details>

View the [commits](https://github.com/EvolutionAPI/evolution-api/compare/1.5.4...1.6.0) for this version.

Release date: 2023-12-15

## 1.6.0

> New Instance manager available on endpoint `/manager` and support for reply messages in Chatwoot.

<details>
<summary>See full changelog</summary>
<div>
<details>
<summary>Features</summary>
<div>
- Added AWS SQS Integration <br/>
- Added support for new typebot API <br/>
- Added endpoint sendPresence <br/>
- New Instance Manager <br/>
- Added auto_create to the chatwoot set to create the inbox automatically or not <br/>
- Added reply, delete and message reaction in chatwoot v3.3.1 <br/>
</div>
</details>
<details>
<summary>Fixes</summary>
<div>
- Adjusts in proxy <br/>
- Adjusts in start session for Typebot <br/>
- Added mimetype field when sending media <br/>
- Ajusts in validations to messages.upsert <br/>
- Fixed messages not received: error handling when updating contact in chatwoot <br/>
- Fix workaround to manage param data as an array in mongodb <br/>
- Removed await from webhook when sending a message <br/>
- Update typebot.service.ts - element.underline change ~ for * <br/>
- Adjusts in proxy <br/>
- Removed api restart on receiving an error <br/>
- Fixes in mongodb and chatwoot <br/>
- Adjusted return from queries in mongodb <br/>
- Added restart instance when update profile picture <br/>
- Correction of chatwoot functioning with admin flows <br/>
- Fixed problem that did not generate qrcode with the chatwoot_conversation_pending option enabled <br/>
- Fixed issue where CSAT opened a new ticket when reopen_conversation was disabled <br/>
- Fixed issue sending contact to Chatwoot via iOS <br/>
</div>
</details>
<details>
<summary>Supported integrations</summary>
<div>
- Chatwoot: v3.3.1 <br/>
- Typebot: v2.20.0 <br/>
</div>
</details>
<details>
<summary>Changes</summary>
<div>
- -> Adjusting function cleaningStoreFiles to remove itens from missing… by @jaison-x in #186 <br/>
- fix: size of group participants by @w3nder in #190 <br/>
- Handle optional chaining for 'settings.msg_call', this change prevent… by @vitorogen in #197 <br/>
- Handle erros in Typebot by @gabrielpastori1 in #198 <br/>
- Deleting instances by @jaison-x in #187 <br/>
- fix: Removed await from webhook when sending a message by @craines in #216 <br/>
- fix messages not received: error handling when updating contact by @raimartinsb in #228 <br/>
- fix: workaround to manage param data as an array in mongodb by @jaison-x in #224 <br/>
- Update typebot.service.ts - element.underline change ~ for * by @suissa in #215 <br/>
- Add session creation for typebot service by @gabrielpastori1 in #233 <br/>
- Add sendPresence by @gabrielpastori1 in #237 <br/>
- Fix chatwoot find by @gabrielpastori1 in #248 <br/>
- Add Manager by @gabrielpastori1 in #250 <br/>
- fix: only create if is paused by @gabrielpastori1 in #249 <br/>
</div>
</details>
</div>
</details>

View the [commits](https://github.com/EvolutionAPI/evolution-api/compare/1.5.4...1.6.0) for this version.

Release date: 2023-12-15

## 1.5.4

> Baileys logger typing issue resolved and resolved duplicated messages problems in Chatwoot.

View the [commits](https://github.com/EvolutionAPI/evolution-api/compare/1.5.3...1.5.4) for this version.
import UpdatesComponent from '@site/src/components/UpdatesComponent';

<UpdatesComponent />
124 changes: 124 additions & 0 deletions docs/01-Get Started/_updates.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
export const updates = [
{
version: "1.7.0",
description: "Added support to oficial WhatsApp integration, new update message endpoint, labels and more.",
releaseDate: "2024-03-11",
features: [
"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 support",
],
fixes: [
"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"
],
integrations: [
"Chatwoot: v3.3.1",
"Typebot: v2.20.0"
],
commits: "",
},
{
version: "1.6.1",
description: "This is a minor fix update. Version 1.6.1 introduces fixes for message handling, Typebot integration, media sharing, text formatting in Chatwoot, and instance management. It also adds customization options and resolves reconnection issues with MongoDB.",
releaseDate: "2023-12-15",
features: [
"Added AWS SQS Integration",
"Added support for new typebot API",
"Added endpoint sendPresence",
"New Instance Manager",
"Added auto_create to the chatwoot set to create the inbox automatically or not",
"Added reply, delete and message reaction in chatwoot v3.3.1"
],
fixes: [
"Fixed Lid Messages",
"Fixed the pairing code",
"Adjusts in typebot",
"Fixed sending variables to typebot",
"Fixed sending variables from typebot",
"Options to disable docs and manager",
"Correction sending s3/minio media to chatwoot and typebot",
"Fixed chatwoot Bold, Italic and Underline formatting using Regex",
"Include instance Id field in the instance configuration",
"Fix the problem when disconnecting the instance and connecting again using mongodb",
"Fixed the problem with typebot closing at the end of the flow, now this is optional with the TYPEBOT_KEEP_OPEN variable",
"Added the sign_delimiter property to the Chatwoot configuration, allowing you to set a different delimiter for the signature. Default when not defined \n",
],
integrations: [
"Chatwoot: v3.3.1",
"Typebot: v2.20.0"
],
commits: "",
}, {
version: "1.6.0",
description: "New Instance manager available on endpoint /manager and support for reply messages in Chatwoot, better error handling and more...",
releaseDate: "2023-10-12",
features: [
"Adjusting function cleaningStoreFiles to remove itens from missing…",
"Handle optional chaining for 'settings.msg_call', this change prevent…",
"Handle erros in Typebot",
"Add session creation for typebot service",
"Add sendPresence",
"Add Manager",
],
fixes: [
"Removed await from webhook when sending a message",
"messages not received: error handling when updating contact",
"workaround to manage param data as an array in mongodb",
"chatwoot find",
"only create if is paused",
"size of group participants",
],
integrations: [
"Chatwoot: v3.3.1",
"Typebot: v2.19.0"
],
commits: "",
},
{
version: "1.5.4",
description: "Baileys logger typing issue resolved and resolved duplicated messages problems in Chatwoot",
releaseDate: "2023-10-12",
features: [

],
fixes: [

],
integrations: [

],
commits: "",
}
]

47 changes: 47 additions & 0 deletions src/components/UpdatesComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// src/components/UpdatesComponent.js
import React from 'react';
import { updates } from '../../docs/01-Get Started/_updates';
import styles from './UpdatesComponent.module.css'; // Importando o CSS Module

export default function UpdatesComponent() {
return (
<div>
{updates.map((update, index) => (
<div key={index} className={styles.versions}>
<h2>Version: {update.version} { index === 0 ? "(latest)" : ""}</h2>
<p>Release date: {update.releaseDate}</p>
<blockquote>{update.description}</blockquote>
<details className={styles.details}>
<summary className={styles.summary}>See full changelog of v{update.version}</summary>
<div className={styles.detailsOpen}>
<details>
<summary className={styles.detailsOpenSummary}>Features</summary>
<ul>
{update.features.map((feature, featureIndex) => (
<li key={featureIndex}>{feature}</li>
))}
</ul>
</details>
<details>
<summary className={styles.detailsOpenSummary}>Fixes</summary>
<ul>
{update.fixes.map((fix, fixIndex) => (
<li key={fixIndex}>{fix}</li>
))}
</ul>
</details>
<details>
<summary className={styles.detailsOpenSummary}>Integrations</summary>
<ul>
{update.integrations.map((integration, integrationIndex) => (
<li key={integrationIndex}>{integration}</li>
))}
</ul>
</details>
</div>
</details>
</div>
))}
</div>
);
}
25 changes: 25 additions & 0 deletions src/components/UpdatesComponent.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.versions {
margin-top: 20px;
}

.details {
border: 1px solid #aaa;
border-radius: 4px;
padding: 0.8em;
}

.summary {
font-weight: bold;
padding: 0.5em;
}

.detailsOpen {
padding: 1em;
}

.detailsOpenSummary {
border: 1px solid #aaa;
margin-bottom: 0.5em;
border-radius: 4px;
padding: 0.8em;
}
0