Releases: 51Degrees/common-cxx
Releases · 51Degrees/common-cxx
Version 4.4.4
- BUG: Fix for warning that occurred when compiling on some compilers
Version 4.4.2
BUG/BUILD: Mark global variables as extern
correctly. This is slightly different from external functions, as they are not assumed to be external if not marked static.
FEAT: The new temp file name is now in a format of '[base master file name without extension]-[processid]-[random string]'.
FEAT: The random string is now generated using a seed whose value is the time at creation time in nanoseconds.
FEAT: Deprecated the old FileCreateTempFile(). The FileNewTempFile() should now be used.
REFACT: Move all common macros to a common.h.
TEST: Added more tests.
Version 4.4.1
Included changes:
- REORG: The header structure now contains a name as a string and length, instead of a collection item.
- FEAT/TEST: If a header contained in a pseudoheader is not present in the headers, it is now added. Tests have also been added for this scenario.
- OPTIM: Don't include pseudo headers in the returned engine keys.
- BUG: Collection item was not reset before use.
- CLEANUP: Handled case where the segment array is not large enough, corrected some param names, and only set the first byte of the evidence buffer.
- CLEANUP: Fixed typos.
- REFACT: Modified the headers data structures to provide an array of segments with lengths that can be used to determine the string segments that form the header and extract them to include in required
Version 4.3.9
FEAT/TEST/DOC: Make sure that an empty value is still treated as value when constructing a pseudo header. Updated test and comments.
Version 4.3.8
- BUILD: Make CMake build and test steps to target certain Platform Toolset Version and Windows SDK Version.
- BUILD: Updated MacOS build agent version.
- FEAT: Removed support for VS2017. Updated to VS2019 with platform toolset version v142 and Windows SDK 10.0.19041.0. Windows 2022 build agent has 10.0.19041.0 as the minimum installed version.
- BUILD: Updated the platform toolset versions to v142.
- BUILD: Removed content of ci/shared-variables.yml as they have been shared in common-ci shared-variables. These variables define that target machines that we should use in our CI environment. Updated
- BUILD: Updated version of googletest.
- BUILD: Updated CMake to check for minimum windows platform toolset version and target platform version.
- DOC: Updated README.md to details minimum platform toolset version and Windows 10 SDK version when working with Visual Studio.
Version 4.3.6
- For MinGW explicitly link to libatomic is not required.
- For strncpy, use the destination size instead of the source size to ensure the copying block will always fit in the destination memory.
- Remove the implemntation of
isFileInUse()
for MacOS since it is unstable and not being used. Make the method 'static' and only be used on Linux. - Updated the preprocessor condition for double width resource initialization method to match the condition where its' size is determined.
- Under MinGW, use
_aligned_malloc
instead ofaligned_alloc
- Added a return statement after pthread_exit when compiled under MinGW. This return statement is just a dummy since the thread should already exits before it reaches the statement.
Version 4.3.4
- BUG: Removed the inclusion of dmalloc.h. Removed memoryStates struct as not required for non-Windows platforms.
Version 4.3.2
Included changes:
- REF: Updated common-ci reference
Version 4.3.1
Included changes:
- BUILD: Added 'submodule-trigger.yml' pipeline to support automated release process.
- BUILD: Added a step to 'build-and-test.yml' pipeline to auto complete a pull request to main as part of the automated release process.
- BUILD: Changed nightly build to just run tests, not create packages.
- FEAT: Added support for armhf and aarch64 by using __atomic built-ins which can be implemented by a library if not supported intrinsicly.
- BUILD: Some compiler warnings which appear on arm have been addressed. See the catch blocks which now catch exception& rather than exception.
Version 4.3.0
- BUILD: Continuous integration configured to use shared common-ci templates
- CLEANUP: Added const modifiers to methods which do not alter the object instance.
- BUILD: Suppressed warnings from all 'windows.h' includes.