Skip to content

Commit 85ed528

Browse files
committed
Bump version and change log.
1 parent 6560abf commit 85ed528

3 files changed

Lines changed: 37 additions & 3 deletions

File tree

docs/CMockChangeLog.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,41 @@ Prior to 2008, the project was an internal project and not released to the publi
1313

1414
## Log
1515

16+
### CMock 2.7.0 (July 2026)
17+
18+
New Features:
19+
20+
- Significant improvements to array and pointer handling:
21+
- Arrays are now passed as arrays. Yes, even multidimensional ones. (Fixes #69, #119, #213, #422)
22+
- Array plugin now supports comparing `char*` (string) arguments as byte arrays via `_ExpectWithArray`, while still treating them as strings via `_Expect` (Fixes #262 and #177)
23+
- Improved automatic detection of pointer/length argument pairs (Fixes #520)
24+
- When a pointer is auto-paired with a size argument, `_ExpectWithArrayExtended` is also generated as a fallback to allow explicit depth override (Fixes #476)
25+
- `void*` arguments now default to pointer comparison without the array plugin, and to byte-by-byte comparison when the array plugin is active (Fixes #400)
26+
- Handles *simple* preprocessor features like #if 1 and #if 0 (Fixes #163)
27+
- Ignores static assertions of various types (Fixes #128)
28+
- Added option to trace all mock setup and mocked calls (Implements #403)
29+
- Significant improvements to header parsing speed
30+
31+
Significant Bugfixes:
32+
33+
- Fixed matching of pointer/len argument pairs in reverse order (Fixes #479)
34+
- Fixed handling of array of pointers or a pointer to an array (Fixes #450)
35+
- Fixed const and pointer order handling issues (Fixes #484 and #485)
36+
- Fixed handling of skeleton paths (Fixes #488)
37+
- Fixed handling of memory alignment issues (Fixes #178)
38+
- Fixed handling of failures in teardown (#67)
39+
- Improved handling of function-looking structs (Fixes #513 and #334)
40+
- Improved handling of function-looking macros (Fixes #502)
41+
- Improved handling of volatiles (Fixes #110 and #135)
42+
- Improved handling of stub and callback counters (Fixes #132)
43+
- Improved handling and testing of Windows (Fixes #435)
44+
45+
Other:
46+
47+
- Added verification that memory errors are reported and stop tests (Verifies #463)
48+
- Added verification that CMock features pass Valgrind (Verifies #506)
49+
- Documented custom type support (#124)
50+
1651
### CMock 2.6.0 (January 2025)
1752

1853
New Features:

docs/CMockKnownIssues.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ be found on our Github repository.
99
## Issues
1010

1111
- Able to parse most C header files without preprocessor needs, but when handling headers with significant preprocessor usage (#ifdefs, etc), it can get confused
12-
- Multi-dimensional arrays currently simplified to single dimensional arrays of the full size
1312
- Incomplete support for VarArgs

src/cmock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include "cmock_internals.h"
1212

1313
#define CMOCK_VERSION_MAJOR 2
14-
#define CMOCK_VERSION_MINOR 6
15-
#define CMOCK_VERSION_BUILD 4
14+
#define CMOCK_VERSION_MINOR 7
15+
#define CMOCK_VERSION_BUILD 0
1616
#define CMOCK_VERSION ((CMOCK_VERSION_MAJOR << 16) | (CMOCK_VERSION_MINOR << 8) | CMOCK_VERSION_BUILD)
1717

1818
/* should be big enough to index full range of CMOCK_MEM_MAX */

0 commit comments

Comments
 (0)