Releases: simdsoft/yasio
v4.1.2
v4.1.1
CHANGELOG
- Fix unpack incorrect when YOPT_C_UNPACK_STRIP > 0
- Improve pod_vector aka array_buffer, now
yasio::byte_bufferjust a alias of it
Full Changelog: v4.1.0...v4.1.1
v4.1.0
CHANGELOG
- Change yasio-ni API
yasio_create_serviceprototype to:YASIO_NI_API void* yasio_create_service(int channel_count, void(YASIO_INTEROP_DECL* event_cb)(yasio_event_data* event), void* user); - Prob both v4, v6, v4mapped when resolve ip address
- Add option YOPT_S_HRES_TIMER for enable high resolution timer on win32
Full Changelog: v4.0.0...v4.1.0
v4.0.0
CHANGELOG
- IMPORTANT: Rename
YOPT_S_DEFERRED_EVENTtoYOPT_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 setYOPT_S_NO_DISPATCHto1to
ensure the dispatch behavior match with previous releases - The
YOPT_S_DEFER_EVENT_CBreturn check changed, returntrueto tell io_service the event already processed, io_service will
skipprocessedevent, previous releases should returnfalse - Improve kcp transport, fix data retention problem(caused by interval too large) and update kcp to git 1.7-f2aa30e
- Add support forward packet on both send and recv stages
- Rename preprocessors
YASIO_HAVE_toYASIO_ENABLE_XXX,YASIO_HAVE_CAREStoYASIO_USE_CARES - Refactor non-blocking io mode, add
epoll/wepoll,kqueue,evportsupport byYASIO_ENABLE_HPERF_IO, by default not enabled - Remove namespace
yasio::gc - Improve
object_poolandsingleton - Migrate build scripts to powershell runs on windows,linux,macos
- Rename cmake feature options:
YASIO_BUILD_WITH_LUA-->YASIO_ENABLE_LUAYASIO_BUILD_WITH_CCLUA-->YASIO_ENABLE_CCLUAYAISO_BUILD_NI-->YASIO_ENABLE_NI
- Auto disable
YASIO_BUILD_TESTSandYASIO_BUILD_LUA_EXAMPLEwhenyasionot in root directory of cmake project - Move public headers to
yasio/which are allow include directly, likeyasio/xxx.hpp, private header toyasio/impl/which don't allow been included
What's Changed
- Complete YOPT_C_UNPACK_NO_BSWAP for yasio_set_option() by @Y-way in #399
- Bump thirdparty from
408fe14to1f49f40by @dependabot in #401 - Merge 4.x in to dev by @halx99 in #402
- Improve ci ndk setup by @halx99 in #404
- Add solaris-ci by @halx99 in #405
- Improve object_pool.hpp code style by @halx99 in #409
- Bump thirdparty from
ea30362tof87ebdeby @dependabot in #410 - powershell for all by @halx99 in #415
- Improve source structure and io multiplexing by @halx99 in #418
- Bump thirdparty from
b99edc8to1ee8315by @dependabot in #420
Full Changelog: v3.39.7...v4.0.0
v3.39.12
v3.39.11
Full Changelog: v3.39.10...v3.39.11
v3.39.10
v3.39.9
CHANGELOG
-
Remove unsafe option:
YOPT_S_FORWARD_EVENT, may cause internal channel behavior incorrect. -
Add forward packet event support, new option:
YOPT_S_FORWARD_PACKET, after enable forward packet:- Use
event->packet_view()receive packet event - No upack
- No deferred packet
- No GC alloc
- Use
-
Fix
sort_timersmay causestd::sortcrash on sort callback when system clock slow -
Fix typo
YASIO_ENABLE_PASSIVE_EVENT -
Fix timer queue empty check
v3.39.7
CHANGELOG
-
Add forward event support fire packet event, new option:
YOPT_S_FORWARD_EVENT, after enable forward event:- Use
event->packet_view()receive packet event - No upack
- No deferred event
- No GC alloc
- Use
-
Refactor ssl backends, add follow new option and channel kind
YOPT_S_SSL_CERT: to specific ssl servercertandprivate_keyfilesYCK_SSL_SERVER: open a channel as ssl server, notes: require specific validcertandprivate_keyfile with optionYOPT_S_SSL_CERT- Also fix crash on destructor of
io_transport_ssl
-
Improve option
YOPT_S_SSL_CACERT, now support specific multi-certs with delimiter, -
Improve c-ares integration
-
Improve extesion
yasio_http, move it's dependentllhttptothirdpartyand managed by git submodule -
Remove
signal_blockerwhen create service thread which will cause app random stuck on startup -
Fix c++20 compiler warnings