25.72026-07-20
Ionet 25.7 focuses on publisher reliability and backpressure, external networking and client fixes, core framework behavior.
1. Publisher reliability and backpressure:
- Updated SBE message codecs with extended payload limits and imports.
- Increase maximum payload length from 61440 to 8384512 bytes for multiple SBE message encoders and decoders.
- Replaced wildcard imports of 'org.agrona.*' with explicit imports of 'DirectBuffer' and 'MutableDirectBuffer'.
- Added import adjustments to all relevant generated SBE codec classes for clarity and correctness.
- Enhanced CoreGlobalConfig with detailed documentation and configuration parameters for Aeron fragment assembler and buffer sizes.
- Implemented robust error handling in PublisherMessageKit for message encoding overflows and publication size limits.
- Added tests in DefaultPublisherTest and ParallelPublisherTest for handling oversized messages and verifying processing continuity.
- Updated dependencies in pom.xml to newer versions for Aeron, Netty, JUnit, Protobuf, Lombok, Spring, and others.
- Extend RecordingPublication test utility to support configurable maximum message length settings.
- Added OversizedTestMessage for testing codec and publisher behavior with larger-than-default payloads.
2. External networking and client fixes:
- Implemented Netty-based WebSocket client connector and shared event loop.
- Added Netty event loop management in ClientConnects for TCP and WebSocket clients.
- Migrate TcpClientStartup to use shared event loop group from ClientConnects.
- Implemented WebSocketClientStartup with Netty bootstrap and pipeline configuration.
- Support secure WebSocket connections with SslHandler and hostname verification.
- Added ClientWebSocketExternalCodec for WebSocket frame <-> ExternalMessage conversion.
- Provide WebSocketHandshakeHandler for handshake completion handling and client channel setup.
- Removed deprecated Java-WebSocket dependency and related code.
- Added unit tests for WebSocket client codec and startup with lifecycle and error handling.
- Enabled graceful shutdown and recreation of shared Netty event loop group.
- Configure Maven to skip tests conditionally through maven.test.skip property.
3. Core framework behavior:
- Enabled fragment assembler by default.
4. Documentation, source parsing, and build updates:
- Support multi-line comments in proto generation.
- Added ProtoJava.toProtoComment() to format multi-line comments with proper // prefix.
- Updated message comment rendering to use toProtoComment() with indentation.
- Change field comment rendering to prepend formatted comment lines before field definition.
- Removed inline comment placeholder usage to avoid multi-line comment issues.
- Added unit tests in ProtoCommentTest for single and multi-line comment formatting.
- Enhanced Cat class comments for testing multi-line comment output.
- Improved comment rendering and string escaping.
- Added MultiLineComment function to render multi-line doc comments with configurable prefixes.
- Added OneLineComment function to collapse multi-line comments into single line for inline use.
- Added StringLiteral function to escape string literals for generated code in various languages.
- Updated codegen templates to use mlComment for multi-line comments in C#, TypeScript, and GDScript.
- Replaced direct comment insertions with stringLiteral to escape string values correctly.
- Refactor example code comments to use oneLine function for concise single-line descriptions.
- Include new functions registration in DocumentGenerateAbout.java for template usage.
- Added DocumentGenerateAboutTest to verify correct rendering and escaping behavior in templates.
- Added comprehensive engineering and architecture documentation.
- Create engineering quickstart guide for building and testing ionet.
- Added detailed runtime architecture overview explaining layered design and components.
- Introduced domain concepts documenting core runtime terms and models.
- Provide integrations and extensions guide covering external transports and SPI points.
- Added operations runbook describing build, test, transport capacity, and release workflow.
- Include workflow documentation detailing runtime flow sequences and protocol generation.
- Updated .gitignore to improve ignore rules for build output, IDE, OS, logs, and package files.
- Added .last-update.json capturing metadata of this initial documentation import.
Dependency upgrades:
- Aeron:1.49.3 --> 1.52.2
- Beetl:3.20.1.RELEASE --> 3.21.2.RELEASE
- Commons IO:2.21.0 --> 2.22.0
- JUnit Jupiter:6.0.3 --> 6.1.2
- Logback:1.5.32 --> 1.5.38
- Lombok:1.18.44 --> 1.18.46
- Netty:4.1.132.Final --> 4.1.136.Final
- Protobuf Java:4.33.5 --> 4.35.1
- Spring Context:7.0.3 --> 7.0.8
Full Changelog: https://github.com/iohao/ionet/compare/25.6...25.7
25.62026-07-09
Ionet 25.6 focuses on core framework behavior, documentation, source parsing, and build updates.
1. Core framework behavior:
- Inspect action method access and refine debug log format.
- Introduced DefaultBroadcastTrace and integrate with CoreGlobalConfig.
2. Documentation, source parsing, and build updates:
- Added script and documentation for publishing ionet GitHub releases.
- Updated documentation with AI-assisted usage knowledge base and installation links.
3. Other improvements:
- Improved code readability and structure in various files.
- Implemented trace propagation for async and SBE.
Full Changelog: https://github.com/iohao/ionet/compare/25.5...25.6
25.52026-05-06
Ionet 25.5 focuses on publisher reliability, routing/concurrency hardening, external session safety, and documentation/source parsing improvements.
1. Publisher reliability and backpressure:
- Added configurable retry limits for Aeron offer failures.
- Added retry handling for transient publication offer failures.
- Introduced publisher idle strategy support for improved publishing efficiency.
- Added bounded publisher queues with overload protection and dropped-message tracking.
- Added publisher queue drain limits.
- Ensured publisher publications are closed on shutdown.
- Added net-common tests covering publisher offer retries.
2. Communication and routing hardening:
- Registered center and communication futures before publishing messages to avoid response races.
- Ensured pending communication futures are removed on interruption and failure.
- Improved interrupted-call error handling in DefaultCommunicationAggregation.
- Hardened net-server routing state concurrency.
- Improved DefaultCmdRegion behavior for empty server lists and server ID selection.
- Improved DefaultConnectionManager handling for missing connections and publication names.
3. External networking and client fixes:
- Rejected verified session rebinding in external-netty.
- Guarded external-netty session registry concurrency.
- Adjusted TCP micro bootstrap frame length handling.
- Allowed extension-client max TCP payload frames.
4. Core framework behavior:
- Skipped response encoding for void action methods.
- Improved DefaultFlowExecutor error handling and error responses.
- Restored empty-user validation in DefaultRangeBroadcast.
5. Documentation, source parsing, and build updates:
- Replaced QDox usage with a JDK Compiler Tree API based source parser.
- Added SourceClass, SourceMethod, SourceField, SourceAnnotation, SourceDocTag, and SourceParserKit.
- Migrated action documentation, error code documentation, broadcast descriptions, and protobuf metadata generation to the new source parser.
- Replaced jansi with internal ANSI utilities and added ClassVisitor.
- Added Lombok delombok support for Javadoc generation.
- Updated documentation URLs, SEO files, package documentation, and AI-assisted usage knowledge-base links.
- Upgraded project dependencies.
AI-assisted usage knowledge base:
- https://iohao.github.io/ionet-ai/
- Source: https://github.com/iohao/ionet-ai
Dependency upgrades:
- Aeron:1.49.2 --> 1.49.3
- Netty:4.1.130.Final --> 4.1.132.Final
- JUnit Jupiter:6.0.1 --> 6.0.3
- Protobuf Java:4.33.1 --> 4.33.5
- Commons IO:2.20.0 --> 2.21.0
- Java-WebSocket:1.5.3 --> 1.5.7
- Spring Context:7.0.1 --> 7.0.3
- Beetl:3.17.0.RELEASE --> 3.20.1.RELEASE
- Logback:1.5.21 --> 1.5.32
- Lombok:1.18.42 --> 1.18.44
- Maven Surefire Plugin:3.5.4 --> 3.5.5
- Maven Failsafe Plugin:3.5.3 --> 3.5.5
- Maven Compiler Plugin:3.14.1 --> 3.15.0
- Central Publishing Maven Plugin:0.9.0 --> 0.10.0
Full Changelog: https://github.com/iohao/ionet/compare/25.4...25.5
25.42026-02-19
Netty Handler Migration - Migrated multiple handlers from SimpleChannelInboundHandler to ChannelInboundHandlerAdapter:
1. HttpFallbackHandler:
- Migrated to ChannelInboundHandlerAdapter
- Use channelRead with pattern matching instead of channelRead0
- Properly release FullHttpRequest messages using ReferenceCountUtil.release()
- Pass WebSocket upgrade requests via fireChannelRead for downstream handlers
2. HttpRealIpHandler:
- Simplified realIp handling by removing redundant null check
3. CmdCacheHandler, CmdCheckHandler, SocketCmdAccessAuthHandler:
- Migrated to ChannelInboundHandlerAdapter
- Migrated from channelRead0 to channelRead with pattern matching
- Added proper handling for non-CommunicationMessage types via fireChannelRead
25.32026-01-26
New Features
- ErrorInformation: Added require() method for validation
- BooleanProperty: New property class added to common-kit
- GroupChannelKit: Significant refactoring of group channel management
Bug Fixes
- HttpFallbackHandler: Simplified handler by removing unnecessary try-finally with ReferenceCountUtil.release()
Maintenance
- Downgraded Netty from 4.2.x to 4.1.x
- Updated README.md and README_CN.md
- Added llms.txt for AI context
ionet 25.22025-12-12
Internal communication interface method naming refinement
Requesting a Single Logic Service
------ call, callback, future ------
call()
callAsync()
callFuture()
Requesting Multiple Logic Services Simultaneously
------ call collect, callback, future ------
callCollect()
callCollectAsync()
callCollectFuture()
Requesting an External Service
------ external, callback, future ------
callExternal()
callExternalAsync()
callExternalFuture()
Requesting Multiple External Services Simultaneously
------ external collect, callback, future ------
callExternalCollect()
callExternalCollectAsync()
callExternalCollectFuture()
ionet 25.12025-12-07
A Java distributed server framework based on Aeron and Netty, featuring a lock-free, asynchronous, and event-driven architectural design. Suitable for game servers, IoT, high-frequency financial trading, and high-frequency market data pushing.
基于 Aeron、Netty 的 java 分布式服务器框架,无锁异步化、事件驱动架构设计。适用于游戏服务器、物联网、高频金融交易、高频行情推送。
document: https://iohao.github.io/ionet/