Yasio Versions Save

A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client applications.

v4.2.2

1 month ago

CHANGELOG

  1. Fix c++23 deprecated std::aligned_storage warning
  2. Ensure WSAStartup before initializing user static variables

v4.2.1

2 months ago

CHANGELOG

  1. Fix #441 socket.bind always fail with EPERM when runs on macos in code signing sandbox mode

v4.2.0

3 months ago

CHANGELOG

  1. Improve kcp implementation
  2. Fix pure udp not handle packet forward
  3. Improve echo_client & echo_server
  4. Improve ssl handshake
  5. Update self-signed ssl certs for ssltest
  6. Fix docs ci
  7. Fix speedtest typo
  8. Fix UE5 compile error with vs2022

NOTE: 5.0 has been revoked

v4.1.4

4 months ago

v4.1.3

4 months ago

CHANGELOG

  1. Enable hres timer for Windows Universal Apps
  2. Add YASIO_NT_XHRES_TIMER to control whether forcing use undocumented NT API to setup high-resolution timer
  3. Fix yasio_ni compile error

v4.1.2

5 months ago

CHANGELOG

  1. Slice sending udp data to mtu (65507) avoid send fail

v4.1.1

5 months ago

CHANGELOG

  1. Fix unpack incorrect when YOPT_C_UNPACK_STRIP > 0
  2. Improve pod_vector aka array_buffer, now yasio::byte_buffer just a alias of it

Full Changelog: https://github.com/yasio/yasio/compare/v4.1.0...v4.1.1

v4.1.0

8 months ago

CHANGELOG

  1. Change yasio-ni API yasio_create_service prototype to: YASIO_NI_API void* yasio_create_service(int channel_count, void(YASIO_INTEROP_DECL* event_cb)(yasio_event_data* event), void* user);
  2. Prob both v4, v6, v4mapped when resolve ip address
  3. Add option YOPT_S_HRES_TIMER for enable high resolution timer on win32

Full Changelog: https://github.com/yasio/yasio/compare/v4.0.0...v4.1.0

v4.0.0

10 months ago

CHANGELOG

  1. IMPORTANT: Rename YOPT_S_DEFERRED_EVENT to YOPT_S_NO_DISPATCH, and the default event dispatch behavior was changed, by default, the network thread will always dispatch events at end of event loop. you must set YOPT_S_NO_DISPATCH to 1 to ensure the dispatch behavior match with previous releases
  2. The YOPT_S_DEFER_EVENT_CB return check changed, return true to tell io_service the event already processed, io_service will skip processed event, previous releases should return false
  3. Improve kcp transport, fix data retention problem(caused by interval too large) and update kcp to git 1.7-f2aa30e
  4. Add support forward packet on both send and recv stages
  5. Rename preprocessors YASIO_HAVE_ to YASIO_ENABLE_XXX, YASIO_HAVE_CARES to YASIO_USE_CARES
  6. Refactor non-blocking io mode, add epoll/wepoll, kqueue, evport support by YASIO_ENABLE_HPERF_IO, by default not enabled
  7. Remove namespace yasio::gc
  8. Improve object_pool and singleton
  9. Migrate build scripts to powershell runs on windows,linux,macos
  10. Rename cmake feature options:
    • YASIO_BUILD_WITH_LUA --> YASIO_ENABLE_LUA
    • YASIO_BUILD_WITH_CCLUA --> YASIO_ENABLE_CCLUA
    • YAISO_BUILD_NI --> YASIO_ENABLE_NI
  11. Auto disable YASIO_BUILD_TESTS and YASIO_BUILD_LUA_EXAMPLE when yasio not in root directory of cmake project
  12. Move public headers to yasio/ which are allow include directly, like yasio/xxx.hpp, private header to yasio/impl/ which don't allow been included

What's Changed

Full Changelog: https://github.com/yasio/yasio/compare/v3.39.7...v4.0.0

v3.39.12

10 months ago

What's Changed

Full Changelog: https://github.com/yasio/yasio/compare/v3.39.11...v3.39.12