vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

vibe.d 0.9.3 release

vibe.d 0.9.3 release

Header image
Fri, 29 Jan 2021Brings 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 @resultSerializer UDA for the REST interface generator to support custom serialization for responses (by Daniel Graczer) - pull #2492, pull #2503
  • Added @serializationPolicy UDA for the REST interface generator to specify custom serialization policies (by Daniel Graczer) - pull #2505
  • The REST interface generator now allows const ref parameters (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 toString overloads 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
  • createMulticastStream is now a struct and accepts non-class streams as sources - pull #2487
  • Added MulticastStreamMode, enabling a new parallel mode - pull #2519
  • More of the API is nothrow - pull #2479
  • DictionaryList.byKeyValue is now a forward range - pull #2479
  • vibe.inet.path is now deprecated (import vibe.core.path instead)
  • Removed deprecated indexOfCT and DictionaryList alias 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 const values from REST interface methods (by Mathias Lang aka Geod24) - pull #2518


Posted at 11:40:09 +0100 by Sönke Ludwig

Comments for the post are currently disabled.