vibe.d beta banner
get vibe.d

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

vibe.d 0.9.8 release

vibe.d 0.9.8 release

Header image
Fri, 16 Feb 2024The most visible change of this release is the absence of most deprecation warnings related to scope ("DIP1000"). Also, REST interface are now required to be @safe and the new vibe-container packages provides some commonly used containers without any extra dependencies.

Features and improvements

  • More work on DIP1000/scope deprecation warnings - pull #2746, pull #2747
  • Removed deprecated support for @system methods and attributes in REST interfaces - pull #2748, pull #2771
  • Moved the HashMap implementation to a new vibe-container package - pull #2750
  • Deprecated FixedRingBuffer in favor of vibe.container.ringbuffer.RingBuffer - pull #2780
  • Added SemaphoreStream for implementing concurrency limited I/O - pull #2754
  • Added HTTPServerSettings.maxRequestHeaderLineSize (by Charles Reiss) - pull #2755
  • Added a MongoCollection.replaceOne overload taking a ReplaceOptions argument (by Jan Jurzitza aka WebFreak001) - pull #2764
  • Added MongoSessionStore constructors taking explicit MongoDB/MongoCollection arguments (by Jan Jurzitza aka WebFreak001) - pull #2766
  • Deprecated vibe.utils.string.sanitizeUTF8 - pull #2773

Bug fixes

  • Work around Phobos regression in MemberFuntionsTuple () - pull #2750
  • Fixed a possible GC leak of the end callback stream in HTTPClientResponse - pull #2751
  • Fixed a regression in getMore for MongoDB version 4.4 - pull #2752
  • Fixed the behavior of BufferedStream.~this() in the event of I/O exceptions - pull #2757
  • Fixed a possible crash caused by errors happening when processing an HTTP client response - pull #2760
  • Fixed a possible array bounds violation in the HTTP server happening for time offset based time zones - pull #2761
  • Fixed handling of enum typed parameters in the REST interface generator - pull #2763
  • Fixed MongoCollection.countDocuments for empty collections (by Jan Jurzitza aka WebFreak001) - pull #2767
  • Fixed MongoDB CRUD operations not throwing on errors (by Jan Jurzitza aka WebFreak001) - pull #2765
  • Fixed deserialization of string based enum values - issue #2209, pull #2345, pull #2774
  • Fixed an issue with MongoDB cursors not being cleaned up correctly (by Jan Jurzitza aka WebFreak001) - pull #2769


Posted at 17:44:14 +0100 by Sönke Ludwig

Comments for the post are currently disabled.