All notable changes to this project will be documented in this file.
1.5.6 - 2022-07-09
-
Add support for sending data streams via callback.
-
Added mTLS support.
-
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.
-
Fix tolower with sanitizer cfi
-
include <pthread_np.h> unconditionally on freebsd
-
Fix thread sanitizer.
1.5.5 - 2022-02-19
-
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.
-
Fix a bug when closing connections on Windows/MacOS.
-
Fix logger causes if statement mismatch.
1.5.4 - 2021-12-10
- Correctly handle the error of the getaddrinfo function
- Fix the error when sending partial files
1.5.3 - 2021-11-28
- TcpClientImpl support SSL client certificate
- Allow RVO in fromDbStringLocal
- Make sure resolvers are added when C-Ares is manually disabled
1.5.2 - 2021-10-17
-
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
-
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
1.5.1 - 2021-08-08
-
Fix warning C4244 in MSVC
-
Disable strict compiler check on Windows with GCC
-
Add 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
-
Fix the destructor of AresResolver
-
Fix memory leak in NormalResolver
1.5.0 - 2021-06-18
-
Enable multiple log files or streams.
-
Add SSL_CONF_cmd support.
-
Add runOnQuit to the EventLoop class.
-
Export the FixedBuffer.
-
Added a try_compile block to detect if we need to link against atomic.
1.4.1 - 2021-05-15
-
Add github actions of Windows.
-
Modify the way the log file is opened.
-
Add version/soversion to shared library.
-
Use double instead of long double as the type for timer durations.
-
Fix a bug in the TcpConnectionImpl class.
-
Fix constructing Date in a daylight saving timezone.
-
GNU: -Wall -Wextra -Werror; fix related warnings.
-
Add wincrypt.h include for Windows.
1.4.0 - 2021-04-09
-
Add isUnspecified() to indicate if IP parsing failed.
-
Add exports macro to allow Shared Library with hidden symbols by default.
- Modify the AsyncFileLogger destructor.
- Recycle TimerID in the TimerQueue.
1.3.0 - 2021-03-05
-
Add secondsSinceEpoch to trantor::Date.
-
Rename the 'bzero' method of the FixedBuffer class to 'zeroBuffer'.
-
Add SNI support to TcpClient.
-
Add SSL certificate validation.
- Change README.md.
1.2.0 - 2021-01-16
- Add LOG_IF and DLOG like glog lib.
-
Enable github actions.
-
Add support for VS2019.
-
Modify the LockFreeQueue.
-
Fix MinGW error with inet_ntop and inet_pton.
-
Fix a macro regression when using MSVC.
1.1.1 - 2020-12-12
- Add Openbsd support.
1.1.0 - 2020-10-24
-
Disable TLS 1.0 and 1.1 by default.
-
Use explicit lambda capture lists.
- Fix a bug in the Date::fromDbStringLocal() method.
1.0.0 - 2020-9-27
-
Add the address() method to the TcpServer class.
-
Change some internal methods from public to private in the Channel class.
-
Update the wepoll library.
-
Add comments in public header files.
1.0.0-rc16 - 2020-8-15
- Fix a bug when sending big files on Windows.
- Add updateEvents() method to the Channel class.
1.0.0-rc15 - 2020-7-16
- Fix installation errors of shared library.
1.0.0-rc14 - 2020-6-14
- Add the moveToCurrentThread() method to EventLoop.
- Optimized LockFreeQueue by Reducing Object Construction.
- Fix a bug when sending a file.
1.0.0-rc13 - 2020-5-23
- Make the Channel class as a part of the public API.
1.0.0-rc12 - 2020-5-22
- Add a method to show if the c-ares library is used
-
Fix a bug in SSL mode (#85)
-
Use SOCKET type in windows for x86-windows compilation
-
Use env to find bash in build.sh script to support FreeBSD
1.0.0-rc11 - 2020-4-27
- Add fromDbStringLocal() method to the Date class
-
Fix a race condition of TimingWheel class
-
Fix localhost resolving on windows
1.0.0-rc10 - 2020-3-28
-
Add the send(const void *, size_t) method to the TcpConnection class
-
Add the send(const MsgBufferPtr &) method to TcpConnection class
-
Add stop() method to the TcpServer class
-
Compile wepoll directly into trantor (Windows)
-
Add CI for Windows
-
Make CMake install files relocatable
-
Modify the Resolver class
1.0.0-rc9 - 2020-2-17
-
Add support for a delayed SSL handshake
-
Change a method name of EventLoopThreadPool(getLoopNum() -> size())
-
Port Trantor to Windows
-
Use SSL_CTX_use_certificate_chain_file instead of SSL_CTX_use_certificate_file()
1.0.0-rc8 - 2019-11-30
- Add the isSSLConnection() method to the TcpConnection class
- Use the std::chrono::steady_clock for timers
1.0.0-rc7 - 2019-11-21
- Modify some code styles
1.0.0-rc6 - 2019-10-4
- Add index() interface to the EventLoop class.
-
Fix some compilation warnings.
-
Modify the CMakeLists.txt
1.0.0-rc5 - 2019-08-24
- Remove the resolve method from the InetAddress class.
- Add the Resolver class that provides high-performance DNS functionality(with c-ares library)
- Add some unit tests.
1.0.0-rc4 - 2019-08-08
- None
- Add TrantorConfig.cmake so that users can use trantor with the
find_package(Trantor)
command.
- Fix an SSL error (occurs when sending large data via SSL).
1.0.0-rc3 - 2019-07-30
- TcpConnection::setContext, TcpConnection::getContext, etc.
- Remove the config.h from public API.
- Modify the CMakeLists.txt.
- Modify some log output.
- Remove some unnecessary
std::dynamic_pointer_cast
calls.
1.0.0-rc2 - 2019-07-11
- Add bytes statistics methods to the TcpConnection class.
- Add the setIoLoopThreadPool method to the TcpServer class.
- Ignore SIGPIPE signal when using the TcpClient class.
- Enable TCP_NODELAY by default (for higher performance).