<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Change Log</title>
        <link>https://api.codechat.dev/change-log</link>
        <description>WhatsApp Cloud API Blog</description>
        <lastBuildDate>Sun, 14 Apr 2024 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <item>
            <title><![CDATA[V2 2024-04-14]]></title>
            <link>https://api.codechat.dev/change-log/changed-2024-04-14</link>
            <guid>https://api.codechat.dev/change-log/changed-2024-04-14</guid>
            <pubDate>Sun, 14 Apr 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[2.1.3]]></description>
            <content:encoded><![CDATA[<a name="2.1.3"></a><h2 class="anchor anchorWithStickyNavbar_LWe7" id="213">2.1.3<a href="#213" class="hash-link" aria-label="Direct link to 2.1.3" title="Direct link to 2.1.3">​</a></h2><h3 class="anchor anchorWithStickyNavbar_LWe7" id="added">Added<a href="#added" class="hash-link" aria-label="Direct link to Added" title="Direct link to Added">​</a></h3><ul><li>🆕💬 New events <code>call.upsert</code>. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/a11bc15" target="_blank" rel="noopener noreferrer">a11bc15</a>]</li><li>🆕💬 New message sending route. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/cf951fa" target="_blank" rel="noopener noreferrer">cf951fa</a>]</li><li>📡🔄 Websocket support. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/edf228e" target="_blank" rel="noopener noreferrer">edf228e</a>]</li></ul>]]></content:encoded>
            <category>2.1.3</category>
            <category>v2</category>
            <category>added</category>
        </item>
        <item>
            <title><![CDATA[V2 2023-11-30]]></title>
            <link>https://api.codechat.dev/change-log/changed-2023-11-30</link>
            <guid>https://api.codechat.dev/change-log/changed-2023-11-30</guid>
            <pubDate>Wed, 13 Dec 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[2.1.2 (2023-12-13)]]></description>
            <content:encoded><![CDATA[<a name="2.1.2"></a><h2 class="anchor anchorWithStickyNavbar_LWe7" id="212-2023-12-13">2.1.2 (2023-12-13)<a href="#212-2023-12-13" class="hash-link" aria-label="Direct link to 2.1.2 (2023-12-13)" title="Direct link to 2.1.2 (2023-12-13)">​</a></h2><h3 class="anchor anchorWithStickyNavbar_LWe7" id="changed">Changed<a href="#changed" class="hash-link" aria-label="Direct link to Changed" title="Direct link to Changed">​</a></h3><ul><li>🌊🔀 Implementation of cascade deletion in database tables. [<a href="https://github.com/code-chat-br/whatsapp-api/commit/5dc939e" target="_blank" rel="noopener noreferrer">5dc939e</a>]</li><li>🔨🌊 Implementation of the <code>force</code> parameter for cascade deletion. [<a href="https://github.com/code-chat-br/whatsapp-api/commit/273b5b4" target="_blank" rel="noopener noreferrer">273b5b4</a>]</li><li>🐛💥 Bug fix: adjust text formatting. [<a href="https://github.com/code-chat-br/whatsapp-api/commit/2d7de4e" target="_blank" rel="noopener noreferrer">2d7de4e</a>]</li></ul>]]></content:encoded>
            <category>2.1.2</category>
            <category>changed</category>
            <category>v2</category>
        </item>
        <item>
            <title><![CDATA[V2 2023-12-09]]></title>
            <link>https://api.codechat.dev/change-log/changed-2023-12-09</link>
            <guid>https://api.codechat.dev/change-log/changed-2023-12-09</guid>
            <pubDate>Sat, 09 Dec 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[For full details, visit the official API documentation: Official Documentation 1.3.0.]]></description>
            <content:encoded><![CDATA[<a name="1.3.0"></a><p>For full details, visit the official API documentation: <a href="/api/v1.3.0">Official Documentation 1.3.0</a>.</p><h2 class="anchor anchorWithStickyNavbar_LWe7" id="version-130-2023-12-09">Version 1.3.0 (2023-12-09)<a href="#version-130-2023-12-09" class="hash-link" aria-label="Direct link to Version 1.3.0 (2023-12-09)" title="Direct link to Version 1.3.0 (2023-12-09)">​</a></h2><p>This version features significant improvements, including migration to the PostgreSQL database, integration with Prisma ORM, and new storage and interaction features.</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="added">Added<a href="#added" class="hash-link" aria-label="Direct link to Added" title="Direct link to Added">​</a></h3><ul><li>🆕💾 <strong>Migration to PostgreSQL:</strong> Replacement of MongoDB with PostgreSQL for more robust and efficient data management. Check out the detailed instructions and benefits of this change in commits [<a href="https://github.com/code-chat-br/whatsapp-api/commit/9b574ec" target="_blank" rel="noopener noreferrer">9b574ec</a>], [<a href="https://github.com/code-chat-br/whatsapp-api/commit/7b2389f" target="_blank" rel="noopener noreferrer">7b2389f</a>].</li><li>🆕🔷 <strong>Prisma ORM:</strong> Introduction of Prisma ORM, offering an additional layer of abstraction and security for database operations. More details at [<a href="https://github.com/code-chat-br/whatsapp-api/commit/a2474ed" target="_blank" rel="noopener noreferrer">a2474ed</a>].</li><li>🆕🔗 <strong>Integration with MinIO:</strong> Implementation of media storage with MinIO, providing a scalable and efficient solution. See [<a href="https://github.com/code-chat-br/whatsapp-api/commit/e71a9f9" target="_blank" rel="noopener noreferrer">e71a9f9</a>].</li><li>🆕🔗 <strong>Integration with Typebot:</strong> New endpoints and services for interaction with Typebot, expanding the API's capabilities. Details at [<a href="https://github.com/code-chat-br/whatsapp-api/commit/88f2d1b" target="_blank" rel="noopener noreferrer">88f2d1b</a>].</li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="changed">Changed<a href="#changed" class="hash-link" aria-label="Direct link to Changed" title="Direct link to Changed">​</a></h3><ul><li>🐛💥 <strong>Redis Reconfiguration:</strong> Improvement in the code that saves instances in Redis, increasing reliability and efficiency. See [<a href="https://github.com/code-chat-br/whatsapp-api/commit/0b16a32" target="_blank" rel="noopener noreferrer">0b16a32</a>].</li><li>🔄💻🛠️ <strong>General Code Refactoring:</strong> Optimizations and code improvements to increase performance and maintainability. Details at [<a href="https://github.com/code-chat-br/whatsapp-api/commit/ba667a9" target="_blank" rel="noopener noreferrer">ba667a9</a>].</li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="migrating-from-12-to-13">Migrating from 1.2 to 1.3<a href="#migrating-from-12-to-13" class="hash-link" aria-label="Direct link to Migrating from 1.2 to 1.3" title="Direct link to Migrating from 1.2 to 1.3">​</a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="migration-steps">Migration Steps:<a href="#migration-steps" class="hash-link" aria-label="Direct link to Migration Steps:" title="Direct link to Migration Steps:">​</a></h4><ol><li><strong>Test Environment:</strong> It is recommended to create a test environment to validate new features. Compare versions <a href="https://github.com/code-chat-br/whatsapp-api/tree/v-1.2.8" target="_blank" rel="noopener noreferrer">1.2.8</a> and <a href="https://github.com/code-chat-br/whatsapp-api" target="_blank" rel="noopener noreferrer">1.3.0</a>.</li><li><strong>PostgreSQL Database:</strong> Required for the new version. Configuration and migration instructions available in the documentation.</li><li><strong>Saving Logs to the Database:</strong> All logs are now saved to the database for better analysis and traceability.</li><li><strong>.env file:</strong> Replacement of the YAML environment variables file with a <code>.env</code> file to simplify configuration.</li><li><strong>Redis Save Refactoring:</strong> The code was restructured to avoid bugs and improve performance.</li><li><strong>Improved Request Responses:</strong> Responses now provide more detailed information from the bank.</li><li><strong>Webhook Sending Detailed Data:</strong> The data sent by the webhook is more complete and informative.</li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="detailed-integrations">Detailed Integrations:<a href="#detailed-integrations" class="hash-link" aria-label="Direct link to Detailed Integrations:" title="Direct link to Detailed Integrations:">​</a></h4><ul><li><a href="https://docs.codechat.dev/s3-bucket" target="_blank" rel="noopener noreferrer">MinIO</a>: Detailed settings and usage in the <a href="/change-log/.env.dev">.env.dev</a> file.</li><li><a href="https://www.typebot.io/" target="_blank" rel="noopener noreferrer">Typebot</a>: Environment variables and application-specific interactions for the scope of the bot:<div class="language-json codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-json codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"messageId"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1325</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// unique message id in the database</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"keyRemoteJid"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"123@s.whatsapp.net"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// WhatsApp phone number</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"keyId"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"KDFKJRGLGR51VR5"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// WhatsApp message id</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"messageType"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"conversation"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// message source type</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"pushName"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"Name"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// WhatsApp account name</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"instanceId"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">12</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// id of the WhatsApp instance linked to the API</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div></li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="feedback-and-support">Feedback and Support<a href="#feedback-and-support" class="hash-link" aria-label="Direct link to Feedback and Support" title="Direct link to Feedback and Support">​</a></h3><p>We encourage feedback on this release. For support or suggestions, contact us through our official channels.</p>]]></content:encoded>
            <category>1.3</category>
            <category>changed</category>
            <category>v1</category>
            <category>added</category>
        </item>
        <item>
            <title><![CDATA[V2 2023-11-30]]></title>
            <link>https://api.codechat.dev/change-log/changed-2023-11-30</link>
            <guid>https://api.codechat.dev/change-log/changed-2023-11-30</guid>
            <pubDate>Thu, 30 Nov 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[2.1.2]]></description>
            <content:encoded><![CDATA[<a name="2.1.2"></a><h2 class="anchor anchorWithStickyNavbar_LWe7" id="212-2023-12-13">2.1.2 (2023-12-13)<a href="#212-2023-12-13" class="hash-link" aria-label="Direct link to 2.1.2 (2023-12-13)" title="Direct link to 2.1.2 (2023-12-13)">​</a></h2><h3 class="anchor anchorWithStickyNavbar_LWe7" id="changed">Changed<a href="#changed" class="hash-link" aria-label="Direct link to Changed" title="Direct link to Changed">​</a></h3><ul><li>🌊🔀 Implementation of cascade deletion in database tables. [<a href="https://github.com/code-chat-br/whatsapp-api/commit/5dc939e" target="_blank" rel="noopener noreferrer">5dc939e</a>]</li><li>🔨🌊 Implementation of the <code>force</code> parameter for cascade deletion. [<a href="https://github.com/code-chat-br/whatsapp-api/commit/273b5b4" target="_blank" rel="noopener noreferrer">273b5b4</a>]</li><li>🐛💥 Bug fix: adjust text formatting. [<a href="https://github.com/code-chat-br/whatsapp-api/commit/2d7de4e" target="_blank" rel="noopener noreferrer">2d7de4e</a>]</li></ul>]]></content:encoded>
            <category>2.1.2</category>
            <category>changed</category>
            <category>v2</category>
        </item>
        <item>
            <title><![CDATA[V2 2023-11-29]]></title>
            <link>https://api.codechat.dev/change-log/changed-2023-11-29</link>
            <guid>https://api.codechat.dev/change-log/changed-2023-11-29</guid>
            <pubDate>Wed, 29 Nov 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[2.1.2]]></description>
            <content:encoded><![CDATA[<a name="2.1.2"></a><h2 class="anchor anchorWithStickyNavbar_LWe7" id="212">2.1.2<a href="#212" class="hash-link" aria-label="Direct link to 2.1.2" title="Direct link to 2.1.2">​</a></h2><h3 class="anchor anchorWithStickyNavbar_LWe7" id="added">Added<a href="#added" class="hash-link" aria-label="Direct link to Added" title="Direct link to Added">​</a></h3><ul><li>🆕💬 New property that enables quoting messages in chatwoot. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/ed12fe7" target="_blank" rel="noopener noreferrer">ed12fe7</a>]</li><li>🆕🔗 MinIO integration to improve object storage in the API. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/41262dd" target="_blank" rel="noopener noreferrer">41262dd</a>] [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/d5959b9" target="_blank" rel="noopener noreferrer">d5959b9</a>]</li><li>🆕🔗 Integration with typebot - endpoints and services. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/8970188" target="_blank" rel="noopener noreferrer">8970188</a>]<ul><li><a href="https://docs.codechat.dev/typebot-integration" target="_blank" rel="noopener noreferrer">See</a></li></ul></li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="changed">Changed<a href="#changed" class="hash-link" aria-label="Direct link to Changed" title="Direct link to Changed">​</a></h3><ul><li></li><li>🐛💥 <code>name</code> property limitation adjustment. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/31feb72" target="_blank" rel="noopener noreferrer">31feb72</a>]</li><li>🔄🔗📊 Compatibility tables with added integrations. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/14100e1" target="_blank" rel="noopener noreferrer">14100e1</a>]</li><li>🐳🏗️ Database Deployment Optimization and Docker Image Building. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/014c30e" target="_blank" rel="noopener noreferrer">014c30e</a>]</li><li>🔄➕ Reorganization and addition of documentation. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/aad0f4a" target="_blank" rel="noopener noreferrer">aad0f4a</a>] [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/c644953" target="_blank" rel="noopener noreferrer">c644953</a>]</li><li>🔄🤖 Code refactoring to meet compatibility with Typebot.</li><li>➕🤖 Adding and adjusting dependencies for compatibility with Typebot. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/bb65466" target="_blank" rel="noopener noreferrer">bb65466</a>]</li><li>🔄➕ Reorganization and addition of documentation. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/67c893b" target="_blank" rel="noopener noreferrer">67c893b</a>]</li><li>💾 Saving http logs. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/d0a37e6" target="_blank" rel="noopener noreferrer">d0a37e6</a>]</li><li>🔄📥 Refactoring and updated imports in the <code>media.handler.ts</code> file. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/3f255f5" target="_blank" rel="noopener noreferrer">3f255f5</a>]</li><li>🚀 <code>Streams</code> - memory optimization, speed and scalability for large volumes of data. [<a href="https://github.com/code-chat-br/whatsapp-api-v2/commit/607c0dd" target="_blank" rel="noopener noreferrer">607c0dd</a>]</li></ul>]]></content:encoded>
            <category>2.1.2</category>
            <category>changed</category>
            <category>v2</category>
            <category>added</category>
        </item>
    </channel>
</rss>