WAHA 2025.1 – PostgreSQL support, GOWS engine and More!


Image description



On this page

We are thrilled to announce the changes we made during the WAHA 2025.1 release.



GOWS engine

Meet GOWS – a new, fast, super-reliable, and stable Engine for your WAHA instance!

GOWS engine does not require a browser to work with WhatsApp Web; it operates directly using a WebSocket.

It’s a new-generation engine written in Golang, intended as a future replacement for the NOWEB engine.

You can test it by setting the WHATSAPP_DEFAULT_ENGINE=GOWS environment variable:

docker run -it -e "WHATSAPP_DEFAULT_ENGINE=GOWS" devlikeapro/waha
Enter fullscreen mode

Exit fullscreen mode

Read more about GOWS; it doesn’t support all features yet, but we’re working on it!



PostgreSQL support

Now you can use PostgreSQL as a Storage solution for your WAHA instance!

Storage WEBJS NOWEB GOWS
Session – PostgreSQL ✔️ ✔️ ✔️
Media – PostgreSQL ✔️ ✔️ ✔️

It works with both Session Storage and Media Storage, supports all engines, and is available in WAHA Plus.

How to connect to your PostgreSQL instance?

Connect Session Storage:

docker run -p 3000:3000/tcp -it -e WHATSAPP_SESSIONS_POSTGRESQL_URL=postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable devlikeapro/waha-plus
Enter fullscreen mode

Exit fullscreen mode

  • Set WHATSAPP_SESSIONS_POSTGRESQL_URL with your credentials and database name.

Connect Media Storage:

docker run -p 3000:3000/tcp -it -e WAHA_MEDIA_STORAGE=POSTGRESQL -e WAHA_MEDIA_POSTGRESQL_URL=postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable devlikeapro/waha-plus
Enter fullscreen mode

Exit fullscreen mode

  • Set WAHA_MEDIA_POSTGRESQL_URL with your credentials and database name.
  • Set WAHA_MEDIA_STORAGE=POSTGRESQL to enable PostgreSQL as a media storage.

You can use the same connection URL for WAHA_MEDIA_POSTGRESQL_URL and WHATSAPP_SESSIONS_POSTGRESQL_URL if you want to use the same database for both storages.



And More!

Check out the full WAHA 2025.1 Changelog for more details!



Source link