Releases: eclipse-ecal/udpcap
v2.0.4
What's Changed
CMake:
-
[CMake]: Adapted Pcap++ Make Available script to the new v25.05 by @FlorianReimold in #28
Pcap++ re-tagged their v25.05 tag. This release is compatible with their tag from 2025-05-15, while udpcap v2.0.3 is only compatible with the deleted tag from 2025-05-14.
Code:
- There are no code changes
Full Changelog: v2.0.3...v2.0.4
v2.0.3 (broken)
This release is broken when compiling with the built-in pcap++ dependency. It was compatible with Pcap++ v25.05 from 2025-05-14, but that tag has been deleted. Please use v2.0.4, which is compatible with Pcap++ v25.05 from 2025-05-15.
What's Changed
CMake:
- Fixed case sensitivity of dummy PcapPlusPlus find module by @FlorianReimold in #23
- Fixed Pcap++ build (Warnings-as-errors) by @FlorianReimold in #24
- This may be important for projectes including UDPCAP and using the built-in Pcap++ dependency, as Pcap++ throws warnings as errors, but may throw many warnings (depending on global cmake settings).
- Updated built-in Pcap++ to v25.05 by @FlorianReimold in #25
Code:
- There are no code changes
Full Changelog: v2.0.2...v2.0.3
Udpcap v2.0.2
What's Changed
Udpcap:
- Fixed Crashes (Exceptions) of asio code that occurred when it was unable to join a multicast group
- Fixed gtests by switching to a different multicast address (239.0.0.1, it was 224.0.0.1 before, which didn't work for some reason)
- Added compatibility with Asio 1.33
CMake:
- Udpcap is now installing a udpcapConfigVersion.cmake file
- Modernized some cmake files. The built-in dependency fetch scripts now don't use deprecated cmake functions anymore.
- Added
UDPCAP_INSTALLcmake option to turn off installation
Dependencies and install:
- Updated built-in Asio to 1.34.2
- Updated built-in npcap sdk to 1.15
- Updated built-in Pcap++ to the latest master commit
- Pcap++ is now built from source when using built-in dependencies
- udpcap now links against PcapPlusPlus::Pcap++ (it was pcapplusplus::pcapplusplus before) in order to be compatible with the officially introduced names.
- udpcap now explicitely links against delayimp, so ninja also links that lib
- Default builts from CI are now built with VS 2019 / V142 toolchain
- Static GH Action artifacts now include pcap++ libs
Full Changelog: v2.0.1...v2.0.2
v2.0.1
What's Changed
- Fixed a bug that caused a deadlock when binding to an IP that is not assigned to any network interface. by @FlorianReimold in #15
Full Changelog: v2.0.0...v2.0.1
Udpcap v2.0.0
Core Changes:
- Fixed issue that datagrams would be lost if they received faster than the user polled
receiveDatagram() - Changed API of
receiveDatagram()function- The
std::vector<char>variant does not exist anymore. Use thechar*method instead and allocate the vector yourself, if you need to. - The function now return error reasons the reason as
udpcap::Error
- The
- Added
isClosed()function - Removed
hasPendingDatagram()function - Fixed a memory leak
- Fixed crashes when closing the socket with close()
- Fixed many compiler and clang-tidy warnings
Tests:
- Added GTest as possible dependency. It can be fetched via cmake at configure-time.
- Added Tests
CMake:
- Added support for
UDPCAP_LIBRARY_TYPEto control the library type without settingBUILD_SHARED_LIBS - Added new options to build / fetch gtest
Dependencies:
- Updated default Pcap++ dependency to 22.11
- Fixed detection of x64 vs x86 dependencies
Full Changelog: v1.0.2...v2.0.0
Udpcap v1.0.2
- Improved udpcapConfig.cmake with find_dependency and a relative path to the Targets.cmake file
There are no actual code changes
Udpcap v1.0.1
- CMake: Changed internal
pcappluplus::pcappluplusandnpcap::npcaptargets to lowercase. They were written in CamelCase before.
This makes it compatible with the target names from conan.io and reflects what the Readme.md had already stated.
Udpcap v1.0.0
This is the initial first release of Udpcap.