Changes: v0.9.2...v0.9.3
Brings some important bug fixes in the HTTP client and StreamOutputRange. Also
adds custom serializer support for the REST interface generator and removes
some deprecated symbols.
Features and improvements
- Added
@resultSerializerUDA for the REST interface generator to support custom serialization for responses (by Daniel Graczer) - pull #2492, pull #2503 - Added
@serializationPolicyUDA for the REST interface generator to specify custom serialization policies (by Daniel Graczer) - pull #2505 - The REST interface generator now allows
const refparameters (by Daniel Graczer) - pull #2495 - Instead of
@bodyParam/@headerParam/@queryParam, parameters in REST interfaces can now be annotated directly with@viaBody/@viaHeader/@viaQuery(by Mathias Lang aka Geod24) - pull #2516 - Added support for range or callback based
toStringoverloads in the serialization framework (by Daniel Graczer) - pull #2493, pull #2503, pull #2510 - The REST interface client does not require a "Content-Type" header for responses with no return value anymore (by Mathias Lang aka Geod24) - pull #2521
- Uses securely generated random numbers for digest authentication
createMulticastStreamis now astructand accepts non-classstreams as sources - pull #2487- Added
MulticastStreamMode, enabling a new parallel mode - pull #2519 - More of the
vibe.data.jsonAPI isnothrow- pull #2479 DictionaryList.byKeyValueis now a forward range - pull #2479vibe.inet.pathis now deprecated (importvibe.core.pathinstead)- Removed deprecated
indexOfCTandDictionaryListalias this(by Mathias Lang aka Geod24) - pull #2475 - Added
HTTPServerSettings.rejectConnectionPredicate(by Daniel Graczer aka ferencdg) - pull #2496, pull #2519 - Optimized
URL.parse/isURLEncoded- pull #2524
Bug fixes
- Fixed a wrong response in the HTTP file server when requesting the last byte of a file or zero length files - pull #2481, pull #2482
- Fixed a file descriptor leak in the HTTP client (by Tomáš Chaloupka) - pull #2483
- Fixed a resource leak in error cases in
StreamOutputRange(by Tomáš Chaloupka) - issue #2484, pull #2485, pull #2489 - Fixed the error message generated by failing persistent HTTP client requests (by Daniel Graczer) - pull #2499
- Fixed an issue where the wrong response is reported when using a HTTP client read timeout (by Daniel Graczer) - issue #2506, pull #2507
- Fixed a compile error when returning
constvalues from REST interface methods (by Mathias Lang aka Geod24) - pull #2518