Releases: odnoklassniki/one-nio
Releases · odnoklassniki/one-nio
1.7.1
1.7.0
1.6.1
1.6.0
java.time
serialization- Arena Allocator
PaddedRWLock
to avoid false sharing- Handle EINTR in socket read/write
- Enum serialization fixes
- Fixed global perf counters in presence of offline CPUs
HttpClient
should support responses without Content-Length / Transfer-Encoding- Gracefully close sessions when stopping Server
1.5.0
- JDK 17 support. Workaround
setAccessible
restrictions - New BPF map types
SOCK_SEQPACKET
supportsendMsg
/recvMsg
for passing descriptors over a UNIX domain socket- Serializer generator now tolerates missing class files
- Fixed serialization of private Records
- Optimize
Utf8.read
for Compact Strings - Customizable strategy for reusing OffheapMap entries
- Allow custom reference tags in serialization streams
- Fixed overflow bugs in
ObjectInput(Output)Channel
- A method to open all JDK modules
Json.fromJson
with a given Class or Type- A few new methods in HTTP API
- Migrated to ASM 9
- Reduced size of libonenio binary
1.4.0
- eBPF and extended perf_events support
- HttpClient fixes
- Reflection and serialization now works for classes with missing field types
- Improved serialization performance
- OffheapMap API enhancements; compatibility with newer JDKs
- Configure scheduling policy for thread pools
- Fixed
byte[]
<->long
conversion
1.3.1
1.3.0
- SSL improvements: RDRAND, PEER_CERTIFICATE_CHAIN, autoupdate certificates
- Extended Perf Events API, including PEBS
- Garbage free thread safe date utilities; high performance date formatter
- Serialization: collection type evolution; better JSON support
- PROXY protocol support for RPC server
- Configurable
DigestStream
Thread.onSpinWait
bridge- Custom collection converters for
ConfigParser
- HttpClient fixes
- Utility class to invoke HotSpot diagnostic commands
CustomThreadFactory
for creating named/daemon/batch threadsRpcStream
memory optimizationssetAffinity
/getAffinity
for machines with more than 64 CPUs- AF_UNIX socket support. Refactored InetAddress handling
- systemd-notify API
1.2.0
- Updated SSL API. Client certificate inspection support
SerializedWrapper
for transfering pre-serialized objects- Http server returns "400 Bad Request" if fails to parse parameters
- Getters for all socket options
- Synchronous
Server.start
- Java wrappers for
setpriority
/getpriority
(thread niceness) HttpClient
invoke with timeout- Support for connected UDP Java socket
- Java API for perf events on Linux
- Serialization bugfixes
ConnectionString
recognizes well-known portsConfigParser
enhancements- Fixed compatibility issues with JDK 11. Get rid of
tools.jar
dependency
1.1.0
ConfigParser
better handles scalars, collections and genericsMalloc
compatibility with older formatSerializeWith(getter, setter)
andSerialOptions
annotations- SSL key passphrase and
SOL_SSL
socket options Socket.read()
with flags- Fixed
EINTR
during connect - Fixed
readFully
/writeFully
onJavaSocket
RpcClient
invoke with timeout- Server threads now extend
PayloadThread
- JDK 9,10,11 support
- Iterator over all nonempty HTTP Request query parameters
- Return query parameters as an iterable
- Handle
Throwable
instead ofException
inAsyncExecutor
- YAML parser fixes
- Java 8 minimum requirement
- HTTP and SOCKS proxy support
- Bridge to
setns()
syscall - Batch/Idle thread scheduling priorities
- FIFO/LIFO pools
- Socket I/O improvements:
ByteChannel
API,accept4()
support - JSON serialization/deserialization
- HTTP
@RequestMethod
annotation - Object Streaming API
- RPC streaming and HTTP-RPC support