Wt 4.11.0
Wt 4.11.0 is a major release. That focuses on authentication and WebSockets.
MFA
First Wt is now able to support MFA in its authentication system. It is easily enabled with a single call to AuthService::setMfaProvider. By default an implementation for TOTP is included. This offers a way to enable an additional layer of security for your applications. Instead of remembering a single password, users can be made to enter a short code that changes often, as an additional authentication step.
Developers are also able to implement this feature in any way they see fit via the interface AbstractMfaProcess. A couple examples are provided in the source code, and the authentication tutorial.
WebSockets
If you like using WebSockets, there is good news! Wt was already able to communicate with its server over WebSockets. This was, however, limited to only its communication for updates regarding its framework. Now you are able to use them in whatever custom way you see fit. Developers can set up endpoints (both session-private or public) that listen to incoming requests. The browser (or another client) can then use those endpoints to connect to said resource. A connection has now been established, and messages can be send back and forth.
Check the release notes for more info.
Changes to the Windows builds:
Updated asio from 1.28.1 to 1.30.2
Updated PostgreSQL from 15.6 to 16.4
Updated Boost from 1.84.0 to 1.86.0
Updated NASM from 2.16.01 to 2.16.03
Updated zlib 1.2.13 to 1.3.1
Updated libPNG 1.6.43 to 1.6.44
Note:
Postgres (17.0) and MariaDB Connector C (3.4.1) have not been updated to the latest versions due to build changes.