Skip to content

Releases: an-tao/trantor

v1.5.9

23 Jan 01:37
Compare
Choose a tag to compare

API Changes list

Changed

  • Search for \ if under msvc

Fixed

v1.5.8

11 Nov 14:20
Compare
Choose a tag to compare

API Changes list

Changed

Fixed

  • Fix Date::timezoneOffset().

  • Fix socket fd leak if Connector destruct before connection callback is made.

v1.5.7

25 Sep 15:00
77ed7a6
Compare
Choose a tag to compare

API changes list

  • Add utc methods for trantor::Date.

Changed

  • Remove an unnecessary semi-colon.

  • Added support for Solaris.

  • Define ssize_t as std::intptr_t on Windows.

  • Add an environment without openssl to github actions.

  • Added SSL Error Trace Log and mTLS Samples.

  • Use LOG_TRACE instead of LOG_DEBUG.

Fixed

  • Fix a race condition.

  • Fix iterator invalidation bug when stopping TCP server.

  • Partial fix of exception safety in the event loop.

v1.5.6

09 Jul 15:48
Compare
Choose a tag to compare

API changes list

  • Add support for sending data streams via callback.

  • Added mTLS support.

Changed

  • Make MsgBuffer constructor explicit.

  • Always queue connectDestroyed() in loop.

  • Stop calling abort() in runtime.

  • Give EventLoopThread::loop_ static lifetime.

  • Optimization SSL name matching.

  • Clarify SSL error message.

  • Rename BUILD_TRANTOR_SHARED to BUILD_SHARED_LIBS.

Fixed

  • Fix tolower with sanitizer cfi

  • include <pthread_np.h> unconditionally on freebsd

  • Fix thread sanitizer.

v1.5.5

19 Feb 10:23
Compare
Choose a tag to compare

API changes list

Changed

  • Move EventLoop::runAfter to a template.

  • Remove an assertion when removing channels.

  • Prevent TcpClient::removeConnection call on deleted TcpClient instance.

  • Wait for loop to exit in EventLoop destructor.

  • Add r-reference version of set-callback methods to TcpConnectionImpl.

Fixed

  • Fix a bug when closing connections on Windows/MacOS.

  • Fix logger causes if statement mismatch.

v1.5.4

10 Dec 04:30
Compare
Choose a tag to compare

API changes list

Changed

  • Correctly handle the error of the getaddrinfo function

Fixed

  • Fix the error when sending partial files

v1.5.3

28 Nov 08:58
Compare
Choose a tag to compare

API changes list

  • TcpClientImpl support SSL client certificate

Changed

  • Allow RVO in fromDbStringLocal

Fixed

  • Make sure resolvers are added when C-Ares is manually disabled

v1.5.2

17 Oct 03:38
Compare
Choose a tag to compare

Changed

  • Disable setting SSL Configs when using LibreSSL

  • cmake: Use GNUInstallDirs to figure out install dirs

  • support HaikuOS

  • Improve Error handling for certificates/private keys

  • Make c-ares support optional when building

  • Use locale.h

  • Assert fd >= 0 in updateChannel()

  • Add Clang support for -Wall -Wextra -Werror; fix -Wunused-parameter

Fixed

  • Fix a small memory leak

  • Fix errors in log macros

  • Fix a race condition when TcpClient destroyed before connected

  • Fix the error of calling removeAndResetChannel twice

  • Fix a bug when EAGAIN on reading sockets

  • Fix compilation warnings

  • Fix a potential race condition

v1.5.1

08 Aug 08:05
Compare
Choose a tag to compare

Changed

  • Fix warning C4244 in MSVC

  • Disable strict compiler check on Windows with GCC

  • Added support for paths containing unicode characters on Windows

  • Add BUILD_DOC cmake option (doxygen)

  • Use make_shared instead of shared_ptr(new)

  • Detect and handle MinGW

Fixed

  • Fix the destructor of AresResolver

  • Fix memory leak in NormalResolver

v1.5.0

18 Jun 07:06
Compare
Choose a tag to compare

API changes list

  • Enable multiple log files or streams.

  • Add SSL_CONF_cmd support.

  • Add runOnQuit to the EventLoop class.

Changed

  • Export the FixedBuffer.

  • Added a try_compile block to detect if we need to link against atomic.