github.com/magnusbaeck/logstash-filter-verifier/v2@v2.0.0-pre.1/CHANGELOG.md (about) 1 Logstash Filter Verifier Change Log 2 =================================== 3 4 All timestamps are in the Europe/Stockholm timezone. 5 6 7 1.6.2 (2020-11-21) 8 ------------------ 9 10 * Fixed race condition bug that sometimes caused the summary to not 11 get shown at the end of the execution. 12 * Upgraded the Go compiler used for release binaries and CI to 1.15.2. 13 14 15 1.6.1 (2020-06-30) 16 ------------------ 17 18 * Slightly changed output format with a summary included at the end. 19 * The `codec` test case file option is inserted in the configuration file 20 verbatim rather than as a string literal, allowing the user to provide 21 additional codec options. 22 23 24 1.6.0 (2020-01-02) 25 ------------------ 26 27 * Upgraded the Go compiler to 1.13 and transitioned to using Go 28 modules for dependency management. 29 * Dropped Debian packaging support. 30 * Allow test case file to be in YAML format instead of JSON. 31 * Support Logstash's field reference syntax (`[field][subfield]`) 32 in the `ignore` test case file option to ignore only certain 33 subfields. 34 35 36 1.5.1 (2019-07-11) 37 ------------------ 38 39 * The temporary directory to which the configuration files are 40 copied is now created with mode 0700. This addresses a security 41 vulnerability when configuration files contain secrets. 42 * Test flakiness when used with Logstash 7 is addressed by limiting 43 the pipeline batch size to a single message. 44 45 46 1.5.0 (2018-09-09) 47 ------------------ 48 49 * Allow keeping multiple environment variables with --keep-env. 50 * Input and outputs sections are automatically removed from the 51 Logstash configurations under test. That way you don't have to 52 segregate different kinds of plugin into different configuration 53 files and take care to never pass any files containing inputs 54 and outputs to LFV. 55 * The command line argument for Logstash configuration files to 56 test can now include directories and not just files. 57 * Testcase files with the "fields" key set to null no longer causes 58 LFV to panic. 59 * Fix "make install" on Mac OS X by omitting the -s/--strip option 60 to install(1). 61 62 63 1.4.1 (2018-01-01) 64 ------------------ 65 66 * Fix for a crash when using --sockets with a testcase file without 67 a "fields" option. 68 69 70 1.4.0 (2017-12-17) 71 ------------------ 72 73 * Full support for Logstash 5 and later. By default the version used 74 with LFV is auto-detected (in order to adapt the LFV behavior) but 75 this can be overridden with --logstash-version. 76 * --logstash-path no longer sets the singular Logstash path but rather 77 adds an extra entry to the list of locations that are checked for a 78 Logstash installation. 79 * When using --sockets a magic [@metadata][__lfv_testcase] field was 80 added, but it would clobber any existing @metadata fields. This field 81 is now appended to any existing @metadata fields. 82 83 84 1.3.0 (2017-05-21) 85 ------------------ 86 87 * The --sockets option is incompatible with a couple of input codecs 88 that happen to work if you don't use that option. Warn the use about 89 this. 90 * Addition of a --logstash-arg option that allows the user to pass 91 additional arguments to all started Logstash processes. 92 * The PATH environment variable is by default passed on to started 93 Logstash processes. This fixes a bug where Logstash under some 94 circumstances isn't able to find the JVM. 95 96 97 1.2.1 (2017-04-05) 98 ------------------ 99 100 * Addition of --sockets-timeout option to control how long to 101 wait for Logstash to start up and become ready to process 102 events when using the --sockets option. 103 * Status and progress messages are now written to stdout instead 104 of stderr. 105 * Addition of a "description" field for test cases that e.g. can be 106 used as a short piece of documentation. 107 108 109 1.2.0 (2017-02-21) 110 ------------------ 111 112 * Logstash 5.2 compatibility. Issues still exist with Logstash 5.0 113 and possibly 5.1. 114 * Addition of --sockets option that causes the program to use Unix 115 domain sockets to pass inputs to Logstash, enabling a single 116 Logstash process to be used for multiple test case files which 117 has the potential to dramatically shorten the execution time. 118 * Go 1.8 is now required for compiling. 119 * Support for a new test case file format where pairs of input and 120 expected output lines are store together. For now both formats 121 work. 122 * Addition of --logstash-output option that causes the Logstash 123 output to be emitted. 124 * JSON parse errors for test case files are reported with line and 125 column details to make it easier to find the problem. 126 * The makefile now supports a GOPATH variable with multiple paths. 127 * When adding fields to input events with the `fields` option, nested 128 fields may now be objects. 129 * Large floating point numbers are now formatted in a way that's 130 acceptable to Logstash. 131 * Minor improvements in the messages given when running the program. 132 133 134 1.1.1 (2016-07-31) 135 ------------------ 136 137 * Multiple filter configuration files now work. Previously only one 138 of the files would be picked up by Logstash, possibly resulting in 139 incorrect test results. 140 * When invoking with --help to get command-line help, the exit code 141 is now zero. 142 143 144 1.1.0 (2016-02-25) 145 ------------------ 146 147 * Adds the --keep-env option to keep select environment variables 148 when invoking Logstash. Useful to propagate JAVA_HOME and any 149 other variables needed by Logstash. 150 * If the Logstash child process terminates with a non-zero exit code, 151 show the stdout/stderr output from the command rather than solely 152 relying on the log output. If Logstash fails very early, e.g. before 153 the JVM starts up, there won't be a logfile. 154 155 156 1.0.1 (2016-02-11) 157 ------------------ 158 159 * Fixes Logstash 2.2.0 incompatibility problem. 160 * If the Logstash child process terminates with a non-zero exit code, 161 the contents of Logstash's log file is now included in the error 162 message. 163 164 165 1.0.0 (2016-01-10) 166 ------------------ 167 168 * Initial release.