Releases: simdsoft/yasio
Releases · simdsoft/yasio
v3.21.0
- Fix start_service/stop_service can't work properly at twice.
- Add native interface for interop with other languages, such as C#
- Fix lua5.2 or lua5.3 for c++11 compile error.
- Make transport pointer more safe for Native Interface.
- Change script API: ibstream.read_v, obstream.write_v default behavior to use 7bit encoded int as length field.
- Remove script API: ibstream.read_string, obstream.write_string
- Add YASIO_NI API: yasio_set_resolv_fn to set custom dns resolver, such as httpdns
v3.20.1
- Add script API: yasio.highp_clock
- Add script API: yasio.highp_time
- Add script API: yasio.ibstream.length
- Add script API: yasio.ibstream.seek
- Add script API: yasio.io_event.timestamp
- Fix SIGBUS issue
- Add script API: yasio.io_service.is_open
- Fix many ci warnings
Improve script binary encode/decode capability.
- Add write_v/read_v for jsb & luabindings.
- Add write_bytes/read_bytes for jsb & luabindings.
- Unify vs project files.
- Use pure lua table instead userdata io_hostent.
- Rename io_event.channel_index to cindex.
- Add io_service.close for script bindings.
- Rename io_event.take_packet to packet for script bindings.
- Improve script binary encode/decode capability.
- Remove io_hostent userdata for luabindings, use simple lua table instead.
v3.9.13
v3.9.11f4
v3.9.11f3
v3.9.11f2
v3.9.11f1
v3.9.11
- [BugFix] Avoid luaopen_yasio_cclua affect lua stack.
- [Feature] Add option: YOPT_NO_NEW_THREAD.
- [Improve] Add option: YOPT_CHANNEL_REMOTE_ENDPOINT.
- [BugFix] Fix can't close exist transport at open channel.
- [BugFix] Fix the options can't be initialized at vs2013.
- [Improve] Tidy and rename macros.
- [Improve] Optimize API open,reopen.
- [Improve] Optimize timer API.
- [Improve] Optimize file log, use posix non-buffer API.
- [Improve] Store last read/write retval to offset when the connection should be closed.
- [Improve] Use transport id to trace connection established/lost.
3.9.7
-
Optimize template specialization.
-
Add some API for io binarysteam.
-
Merge lua bindings c++17/11 sources to lyasio.cpp.
-
Add udp support.
-
Fix crash lyasio at android with clang compiler.
-
Add bind local port for pconnect, xpconnect of xxsocket.
-
Add YASIO_OPT_CHANNEL_LOCAL_PORT to support bind local port for client channel.
-
Fix bind error: Invalid argument at unix like system.
-
Fix ios & android c++11 compile issue.
-
Add Android.mk for cocos2d-x lua bindings.
-
Add Android.mk for cocos2d-x js bindings.
-
Unify jsb & jsb20 binding API to jsb_register_yasio.
-
Remove unused sources & files.
-
Add experimental implementations: epoll, iocp, poll.
-
Add new integration guide, more easy to integration with cocos2d-x lua.