Releases: britzl/defnet
DefNet 6.3.0
DefNet 6.2.0
NEW: Added defnet/http_router.lua
to create a http server router instance
NEW: Added http_server.set_router()
to set a router for the http server
DefNet 6.1.0
FIX: Fixed an issue related to closing of sockets.
CHANGE: Removed dependency on britzl/defold-luasocket
Thanks @sashkent3 !
DefNet 6.0.0
BREAKING CHANGE: The p2p_discovery module will no longer stop the discovery service when it finds a host. It is up to the listener to decide if discovery should end or continue in search of additional hosts.
NEW: The p2p_discovery module will now send any additional discovery data that is encountered after the discovery message to the listener. This allows a client to pass extra data such as a user id or other token or information to the host.
Thanks to @lharder for the contributions!
DefNet 5.1.1
FIX: The tcp_server.lua used the wrong method to get the client IP. Thanks @jalhund !
DefNet 5.1.0
FIX: The TCP client now handle partial data and aggregates it over multiple read attempts. Thanks to @jalhund for the contribution.
DefNet 5.0.2
FIX: TCP Server improvement
DefNet 5.0.1
FIX: Removed debug print in http_server
DefNet 5.0.0
NEW: http_server now handles POST requests
NEW: tcp_server.send(data, client) to send to a single client
BREAKING CHANGE: tcp_server.send(data) renamed to tcp_server.broadcast(data)
DefNet 4.0.0
BREAKING CHANGE: The async websocket functionality has been moved to a separate repository (https://github.com/britzl/defold-websocket)