CHANGELOG.md (5147B)
1 1.2.10 (2024-10-03) 2 ------------------- 3 4 Minor: 5 - fix compiler warnings 6 7 1.2.9 (2024-06-04) 8 ------------------ 9 10 Change: 11 - meson.build updated 12 13 1.2.8 (2024-04-16) 14 ------------------ 15 16 New: 17 - test scripts now return failing status 18 - explicit version of mustache specs for test (#49) 19 - handling of CR (iOS) and CRLF (windows) end of line styles 20 21 Change: 22 - License of use is now Zero-Clause BSD 23 24 Fix: 25 - improved management and detection of valgrind (#56, #57) 26 - Headers without implicit dependency 27 28 1.2.7 (2024-03-21) 29 ------------------ 30 31 New: 32 - fallback to default when mustach_wrap_get_partial 33 returns MUSTACH_ERROR_PARTIAL_NOT_FOUND 34 - remove at compile time the load of files for templates 35 if MUSTACH_LOAD_TEMPLATE is defined as 0 36 - add compile time flag MUSTACH_SAFE for enforcing 37 safety behaviours 38 39 Fix: 40 - selection of subitem by index (#47) 41 - get latest iterated key when getting key name (#52) 42 - allow tests without valgrind 43 - avoid recursive template expansion (#55) 44 45 1.2.6 (2024-01-08) 46 ------------------ 47 48 Fix: 49 - improve naming (#42) 50 - magical spaces in recursive partials (#43) 51 - installation when tool isn't built 52 - correct detection of falsey values (#45) 53 54 Minor: 55 - update to newer reference tests 56 57 1.2.5 (2023-02-18) 58 ------------------ 59 60 Fix: 61 - Don't override CFLAGS in Makefile 62 - Use of $(INSTALL) in Makefile for setting options 63 64 Minor: 65 - Orthograf of 'instantiate' 66 67 1.2.4 (2023-01-02) 68 ------------------ 69 70 Fix: 71 - Latent SIGSEGV using cJSON 72 73 1.2.3 (2022-12-21) 74 ------------------ 75 76 New: 77 - Flag Mustach_With_ErrorUndefined (and option --strict for the tool) 78 for returning a requested tag is not defined 79 - Test of specifications in separate directory 80 81 Fix: 82 - Version printing is now okay 83 - Compiling libraries on Darwin (no soname but install_name) 84 - Compiling test6 with correct flags 85 - Update test from specifications 86 - Better use of valgrind reports 87 88 1.2.2 (2021-10-28) 89 ------------------ 90 91 Fix: 92 - SONAME of libmustach-json-c.so 93 94 1.2.1 (2021-10-19) 95 ------------------ 96 97 New: 98 - Add SONAME in libraries. 99 - Flag Mustach_With_PartialDataFirst to switch the 100 policy of resolving partials. 101 102 Fix: 103 - Identification of types in cJSON 104 105 1.2.0 (2021-08-24) 106 ------------------ 107 108 New: 109 - Add hook 'mustach_wrap_get_partial' for handling partials. 110 - Add test of mustache specifications https://github.com/mustache/spec. 111 112 Changes: 113 - Mustach_With_SingleDot is always set. 114 - Mustach_With_IncPartial is always set. 115 - Mustach_With_AllExtensions is changed to use currently known extensions. 116 - Output of tests changed. 117 - Makefile improved. 118 - Partials are first searched as file then in current selection. 119 - Improved management of delimiters. 120 121 Fixes: 122 - Improved output accordingly to https://github.com/mustache/spec: 123 - escaping of quote " 124 - interpolating null with empty string 125 - removal of empty lines with standalone tag 126 - don't enter section if null 127 - indentation of partials 128 - comment improved for get of mustach_wrap_itf. 129 130 1.1.1 (2021-08-19) 131 ------------------ 132 Fixes: 133 - Avoid conflicting with getopt. 134 - Remove unexpected build artifact. 135 - Handle correctly a size of 0. 136 137 1.1.0 (2021-05-01) 138 ------------------ 139 New: 140 - API refactored to take lengths to ease working with partial or 141 non-NULL-terminated strings. (ABI break) 142 143 Fixes: 144 - Use correct int type for jansson (json_int_t instead of int64_t). 145 - JSON output of different backends is now the same. 146 147 1.0 (2021-04-28, retracted) 148 --------------------------- 149 Legal: 150 - License changed to ISC. 151 152 Fixes: 153 - Possible data leak in memfile_open() by clearing buffers. 154 - Fix build on Solaris-likes by including alloca.h. 155 - Fix Windows build by including malloc.h, using size_t instead of 156 ssize_t, and using the standard ternary operator syntax. 157 - Fix JSON in test3 by using double quote characters. 158 - Fix installation in alternative directories such as 159 /opt/pkg/lib on macOS by setting install_name. 160 - Normalise return values in compare() implementations. 161 162 New: 163 - Support for cJSON and jansson libraries. 164 - Version info now embedded at build time and shown with mustach(1) 165 usage. 166 - Versioned so-names (e.g. libxlsx.so.1.0). 167 - BINDIR, LIBDIR and INCLUDEDIR variables in Makefile. 168 - New mustach-wrap.{c,h} to ease implementation new libraries, 169 extracted and refactored from the existing implementations. 170 - Makefile now supports 3 modes: single libmustach (default), split 171 libmustache-core etc, and both. 172 - Any or all backends (json-c, jansson, etc) can be enabled at compile 173 time. By default, all available libraries are used. 174 - mustach(1) can use any JSON backend instead of only json-c. 175 - MUSTACH_COMPATIBLE_0_99 can be defined for backwards source 176 compatibility. 177 - 'No extensions' can now be set Mustach_With_NoExtensions instead of 178 passing 0. 179 - pkgconfig (.pc) file for library. 180 - Manual page for mustach(1). 181 182 Changed: 183 - Many renames. 184 - Maximum tag length increased from 1024 to 4096. 185 - Other headers include json-c.h instead of using forward declarations. 186 - mustach(1) reads from /dev/stdin instead of fd 0. 187 - Several structures are now taken as const. 188 - New/changed Makefile targets.