Releases: RobertWHurst/Velaros
v1.10.0 - Simplified Lifecycle Handler API
This release simplifies the API for open and close lifecycle handlers, making them more intuitive and less error-prone.
What's New
Automatic Handler Progression
• Open and close handlers now automatically progress through the chain without requiring ctx.Next() calls
• Reduces boilerplate and prevents common mistakes where developers forget to call Next()
• Handlers can still explicitly call ctx.Next() for advanced post-processing patterns
OpenHandler and CloseHandler Interfaces
• New interfaces allow middleware to automatically register lifecycle hooks
• When a handler implementing these interfaces is registered via Use(), its HandleOpen and HandleClose methods are automatically registered as lifecycle
handlers
• Simplifies complex middleware that needs to hook into connection initialization and cleanup
Improved Documentation
• Clearer explanations of lifecycle handler behavior
• Added examples of post-processing patterns
• More concise sections throughout the README
Breaking Changes
None - this is a backward compatible change. Existing code that calls ctx.Next() in open/close handlers will continue to work.
v1.7.1
Just a small improvement to the documentation
v1.6.3
This release improves how context cancellation is handled. It also introduces a lot more test coverage.
v1.6.0 - MessagePack and Protocol Buffers Support
This release is the first in that I feel Velaros has all the bells and whistles needed to build a compelling server. It introduces a range of middleware for decoding/encoding a range of popular formats including message pack and protocol buffers.
Please check it out and let me know what you think!