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