-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathCHANGELOG.md
522 lines (313 loc) · 13 KB
/
CHANGELOG.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
# Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
<!-- next-header -->
## [Unreleased] - ReleaseDate
## [0.15.9] - 2025-02-12
### Features
- Report test duration
## [0.15.8] - 2024-10-29
### Fixes
- Pull in `escargot` fix
## [0.15.7] - 2024-08-27
### Fixes
- Strip colors on `TERM=dumb`
## [0.15.6] - 2024-07-25
## [0.15.5] - 2024-07-23
## [0.15.4] - 2024-05-24
## [0.15.3] - 2024-05-23
## [0.15.2] - 2024-05-15
## [0.15.1] - 2024-04-04
### Fixes
- Overwrite of `.stdout`/`.stderr` files works again
## [0.15.0] - 2024-02-14
### Breaking Change
- `TestCases::insert_var` / `TestCases::extend_var` no longer overwrite but extend the vr
### Features
- Allow inserting multiple values for the same variable, to handle multiple forms of the same value (like UNC paths vs regular paths)
- Add `TestCases::clear_var`
## [0.14.21] - 2024-02-08
### Internal
- Update `toml_edit`
## [0.14.20] - 2024-01-12
### Internal
- Update dependency
## [0.14.19] - 2023-10-02
### Fixes
- Match standard diff colors
## [0.14.18] - 2023-09-28
### Internal
- Update `anstream`
## [0.14.17] - 2023-08-24
### Compatibility
- MSRV bumped to 1.70.0
### Performance
- Improved build-times by dropping the `is-terminal` dependency
## [0.14.16] - 2023-04-13
### Internal
- Dependency update
## [0.14.15] - 2023-03-16
### Internal
- Dependency update
## [0.14.14] - 2023-03-14
### Compatibility
- Update MSRV to 1.64.0
## [0.14.13] - 2023-02-28
### Internal
- Update dependencies
## [0.14.12] - 2023-02-19
### Internal
- Update dependencies
## [0.14.11] - 2023-01-31
### Internal
- Update dependencies
## [0.14.10] - 2023-01-07
### Fixes
- Ensure `TRYCMD=overwrite` errors get reported to the user
## [0.14.9] - 2023-01-06
### Fixes
- Overwrite command status with `TRYCMD=overwrite`
## [0.14.8] - 2023-01-05
### Fixes
- Do not fail when using `TRYCMD=overwrite`
## [0.14.7] - 2023-01-04
### Fixes
- Allow empty code fences
- TOML parsing is now more conformant
## [0.14.6] - 2022-12-23
### Fixes
- Improved build times
## [0.14.5] - 2022-11-24
## [0.14.4] - 2022-11-10
### Fixes
- Automatically ignore tests under miri (already doesn't work)
## [0.14.3] - 2022-11-04
### Fixes
- Ignore, rather than error, on unknown bins again. This is important for examples that are conditioned on features.
## [0.14.2] - 2022-11-04
### Fixes
- Report signal that terminated a command
## [0.14.1] - 2022-10-21
## [0.14.0] - 2022-10-06
### Breaking Change
- Unknown bins now fail, rather than being ignored. This can be worked around by either ignoring the code block, setting the status to skipped, or ignoring the specific bin in question
## [0.13.7] - 2022-09-23
## [0.13.6] - 2022-08-15
### Fixes
- Don't hang when merging stderr with stdout on large output, like with markdown (#121)
## [0.13.5] - 2022-08-01
### Fixes
- Make diffs viewable with large output by eliding large sections of unchanged content
## [0.13.4] - 2022-05-02
### Fixes
- Allow 3+ backtick code fences to escape code fences in stdout
## [0.13.3] - 2022-03-21
### Documentation
- Link to examples from docs.rs
## [0.13.2] - 2022-03-08
### Fixes
- Have standard gutter divider in Diffs
## [0.13.1] - 2022-03-07
### Fixes
- Don't swap actual/expected with file diffs
## [0.13.0] - 2022-03-07
### Breaking Changes
None known, just a significant internal release
### Features
- Diffs now show full context, with highlighting of changes within lines and a marker for no newline at end of file
## [0.12.2] - 2022-01-27
### Fixes
- Auto-detect binary files and don't diff them
## [0.12.1] - 2022-01-21
### Features
- Allow `stdin`, `stdout`, and `stderr` in toml file
## [0.12.0] - 2022-01-14
### Breaking Change
- Normalize `\\` to `/` to help with paths on Windows
### Fixes
- Normalize `\\` to `/` to help with paths on Windows
## [0.11.1] - 2022-01-14
### Fixes
Substitutions
- Ensure `[CWD]` captures `/private` on macOS when sandboxing
## [0.11.0] - 2022-01-14
### Breaking Change
- Any of the below fixes could break
### Fixes
Substitutions
- Ensure consistent choice between `[ROOT]` and `[CWD]` when they are the same
- Prefer `[CWD]` to `[ROOT]` without sandbox
- Consistently exclude trailing `/` with `[CWD]` / `[ROOT]`
- Improve sandbox-unsupported error
## [0.10.0] - 2022-01-13
### Breaking Change
Config
- Re-defined `fs.base` root to the `.toml`'s directory, like `fs.cwd`
### Fixes
Config
- Support `.in` directories that were symlinks on Linux but Windows checked out as files.
- Re-defined `fs.base` root to the `.toml`'s directory, like `fs.cwd`
## [0.9.1] - 2022-01-11
## [0.9.0] - 2022-01-05
### Breaking Change
- `md`: `bash` and `sh` info strings are now ignored, switch to `console`
- `md`: A blank line is needed after each command's output
### Fixes
- Use more appropriate `console` info string for `md`
- Allow testing commands without trailing newline in `md` files
## [0.8.3] - 2021-12-16
### Fixes
- Dependencies requirements reflect minimum versions needed
## [0.8.2] - 2021-11-30
### Fixes
- Only skip after a failure when they share mutable state (the file system).
## [0.8.1] - 2021-11-23
### Fixes
- Fix variable substitutions
## [0.8.0] - 2021-11-23
### Breaking Change
- Instead of hard erroring on unknown bins, we ignore
### Fixes
- Always apply substitutions (we were missing one spot)
- Don't fail because a substitution evaluates to ""
- Ignore tests with unknown bins to work better with feature flags
## [0.7.0] - 2021-11-16
### Breaking Change
- `...` for character matching (and not line matching) has switched to `[..]`.
### Features
- Variable substitutions for easier maintenance
- User defined with `TestCases::insert_var`
- Built-in with `[..]`, `[EXE]`, `[ROOT]`, and `[CWD]`.
## [0.6.0] - 2021-11-12
### Features
- Inline eliding
## [0.5.1] - 2021-11-12
### Fixes
- Test case showed a success despite it failing (summary reported it failed)
## [0.5.0] - 2021-11-12
### Features
- Exposed additional information through the `debug` feature flag
## [0.4.2] - 2021-11-11
### Fixes
- Reduce example-build output by relegating it to the new `debug` feature flag
## [0.4.1] - 2021-11-11
### Fixes
- `TRYCMD=overwrite` support for `*.trycmd` files
- `TRYCMD=dump` creates a file per step in `*.trycmd`, rather than overwriting the file from a prior step
### Regressions
- `TRYCMD=overwrite` will report corrected test cases as failures
## [0.4.0] - 2021-11-10
### Breaking Changes
- `*.trycmd` syntax now requires fenced code blocks for test cases
- `*.trycmd` syntax requires specific ordering between `$`, `>`, and `?`
- `*.trycmd` files no longer support `*.stdout` and `*.stderr` files
### Features
- `*.trycmd` files
- Markdown-compatible syntax and `*.md` extension support
- Support multiple test cases
- Support setting env variables inline
- Support inline stdout with stderr redirected to stdout
- Ignore `.keep` files in `*.in` and `*.out`
- Support redirecting stderr to stdout
### Fixes
- Cleaned up tenses
- On failure, direct people to `TRYCMD` env variable
## [0.3.1] - 2021-11-08
### Fixes
- docs.rs to include the full API
## [0.3.0] - 2021-11-08
### Features
- `cargo_bin!` macro for looking up a bin correctly
- Use it with either `TestCases::default_bin_path` or `TestCases::register_bin`
- `cargo::compile_example` and `cargo::compile_examples` to do snapshot testing of examples!
- Use it with `TestCases::register_bin`
## [0.2.2] - 2021-11-08
### Features
- Allow `cmd.toml` to contain `args = "arg1 'arg with space'"`
## [0.2.1] - 2021-11-06
### Features
- Show text failures as diffs
## [0.2.0] - 2021-11-06
### Breaking Changes
- We will now interpret `...` in files as wildcards
- The TOML `cwd` key is now `fs.cwd`
### Features
- `...\n` in `*.stdout`, `*.stderr`, or `*.out/*` will match multiple lines (non-greedy)
- Infer the CWD from a `*.in/`
- Sandbox in a tempdir tests that mutate the CWD
- `*.out/` for specifying files to verify in the sandbox
### Fixes
- Show all failures for a command, not just the first
## [0.1.1] - 2021-11-05
### Fixes
- Tweaks to output
## [0.1.0] - 2021-11-05
<!-- next-url -->
[Unreleased]: https://github.com/assert-rs/trycmd/compare/trycmd-v0.15.9...HEAD
[0.15.9]: https://github.com/assert-rs/trycmd/compare/trycmd-v0.15.8...trycmd-v0.15.9
[0.15.8]: https://github.com/assert-rs/trycmd/compare/trycmd-v0.15.7...trycmd-v0.15.8
[0.15.7]: https://github.com/assert-rs/trycmd/compare/trycmd-v0.15.6...trycmd-v0.15.7
[0.15.6]: https://github.com/assert-rs/trycmd/compare/trycmd-v0.15.5...trycmd-v0.15.6
[0.15.5]: https://github.com/assert-rs/trycmd/compare/trycmd-v0.15.4...trycmd-v0.15.5
[0.15.4]: https://github.com/assert-rs/trycmd/compare/trycmd-v0.15.3...trycmd-v0.15.4
[0.15.3]: https://github.com/assert-rs/trycmd/compare/v0.15.2...trycmd-v0.15.3
[0.15.2]: https://github.com/assert-rs/trycmd/compare/v0.15.1...v0.15.2
[0.15.1]: https://github.com/assert-rs/trycmd/compare/v0.15.0...v0.15.1
[0.15.0]: https://github.com/assert-rs/trycmd/compare/v0.14.21...v0.15.0
[0.14.21]: https://github.com/assert-rs/trycmd/compare/v0.14.20...v0.14.21
[0.14.20]: https://github.com/assert-rs/trycmd/compare/v0.14.19...v0.14.20
[0.14.19]: https://github.com/assert-rs/trycmd/compare/v0.14.18...v0.14.19
[0.14.18]: https://github.com/assert-rs/trycmd/compare/v0.14.17...v0.14.18
[0.14.17]: https://github.com/assert-rs/trycmd/compare/v0.14.16...v0.14.17
[0.14.16]: https://github.com/assert-rs/trycmd/compare/v0.14.15...v0.14.16
[0.14.15]: https://github.com/assert-rs/trycmd/compare/v0.14.14...v0.14.15
[0.14.14]: https://github.com/assert-rs/trycmd/compare/v0.14.13...v0.14.14
[0.14.13]: https://github.com/assert-rs/trycmd/compare/v0.14.12...v0.14.13
[0.14.12]: https://github.com/assert-rs/trycmd/compare/v0.14.11...v0.14.12
[0.14.11]: https://github.com/assert-rs/trycmd/compare/v0.14.10...v0.14.11
[0.14.10]: https://github.com/assert-rs/trycmd/compare/v0.14.9...v0.14.10
[0.14.9]: https://github.com/assert-rs/trycmd/compare/v0.14.8...v0.14.9
[0.14.8]: https://github.com/assert-rs/trycmd/compare/v0.14.7...v0.14.8
[0.14.7]: https://github.com/assert-rs/trycmd/compare/v0.14.6...v0.14.7
[0.14.6]: https://github.com/assert-rs/trycmd/compare/v0.14.5...v0.14.6
[0.14.5]: https://github.com/assert-rs/trycmd/compare/v0.14.4...v0.14.5
[0.14.4]: https://github.com/assert-rs/trycmd/compare/v0.14.3...v0.14.4
[0.14.3]: https://github.com/assert-rs/trycmd/compare/v0.14.2...v0.14.3
[0.14.2]: https://github.com/assert-rs/trycmd/compare/v0.14.1...v0.14.2
[0.14.1]: https://github.com/assert-rs/trycmd/compare/v0.14.0...v0.14.1
[0.14.0]: https://github.com/assert-rs/trycmd/compare/v0.13.7...v0.14.0
[0.13.7]: https://github.com/assert-rs/trycmd/compare/v0.13.6...v0.13.7
[0.13.6]: https://github.com/assert-rs/trycmd/compare/v0.13.5...v0.13.6
[0.13.5]: https://github.com/assert-rs/trycmd/compare/v0.13.4...v0.13.5
[0.13.4]: https://github.com/assert-rs/trycmd/compare/v0.13.3...v0.13.4
[0.13.3]: https://github.com/assert-rs/trycmd/compare/v0.13.2...v0.13.3
[0.13.2]: https://github.com/assert-rs/trycmd/compare/v0.13.1...v0.13.2
[0.13.1]: https://github.com/assert-rs/trycmd/compare/v0.13.0...v0.13.1
[0.13.0]: https://github.com/assert-rs/trycmd/compare/v0.12.2...v0.13.0
[0.12.2]: https://github.com/assert-rs/trycmd/compare/v0.12.1...v0.12.2
[0.12.1]: https://github.com/assert-rs/trycmd/compare/v0.12.0...v0.12.1
[0.12.0]: https://github.com/assert-rs/trycmd/compare/v0.11.1...v0.12.0
[0.11.1]: https://github.com/assert-rs/trycmd/compare/v0.11.0...v0.11.1
[0.11.0]: https://github.com/assert-rs/trycmd/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/assert-rs/trycmd/compare/v0.9.1...v0.10.0
[0.9.1]: https://github.com/assert-rs/trycmd/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/assert-rs/trycmd/compare/v0.8.3...v0.9.0
[0.8.3]: https://github.com/assert-rs/trycmd/compare/v0.8.2...v0.8.3
[0.8.2]: https://github.com/assert-rs/trycmd/compare/v0.8.1...v0.8.2
[0.8.1]: https://github.com/assert-rs/trycmd/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/assert-rs/trycmd/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/assert-rs/trycmd/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/assert-rs/trycmd/compare/v0.5.1...v0.6.0
[0.5.1]: https://github.com/assert-rs/trycmd/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/assert-rs/trycmd/compare/v0.4.2...v0.5.0
[0.4.2]: https://github.com/assert-rs/trycmd/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/assert-rs/trycmd/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/assert-rs/trycmd/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/assert-rs/trycmd/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/assert-rs/trycmd/compare/v0.2.2...v0.3.0
[0.2.2]: https://github.com/assert-rs/trycmd/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/assert-rs/trycmd/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/assert-rs/trycmd/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/assert-rs/assert_cmd/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/assert-rs/assert_cmd/compare/5ed8849...v0.1.0