Skip to content

Commit 8a946e2

Browse files
committed
docs(blog): update 0.34 release post to include 0.34.1 changes
1 parent 71a175e commit 8a946e2

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

docs/blog/2026-03-17-release-0-34.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
date: '2026-03-17'
3-
title: 'Release 0.34.0'
4-
description: 'Watch mode, test tags, date/JSON/duration assertions, and major performance gains.'
5-
coverAlt: 'Watch mode, test tags, new assertions, performance optimizations'
3+
title: 'Release 0.34.1'
4+
description: 'Watch mode, test tags, date/JSON/duration assertions, performance gains, and critical bug fixes.'
5+
coverAlt: 'Watch mode, test tags, new assertions, performance optimizations, bug fixes'
66

77
aside: false
88
---
@@ -11,7 +11,7 @@ aside: false
1111

1212
<time>{{ $formatDate($frontmatter.date) }}</time>
1313

14-
## 🔧 New features
14+
## New features
1515

1616
### Watch mode
1717

@@ -74,6 +74,10 @@ Measure how long a function takes to execute:
7474
- `assert_duration_less_than` - execution finishes under N seconds
7575
- `assert_duration_greater_than` - execution takes at least N seconds
7676

77+
### Risky test detection (0.34.1)
78+
79+
Tests with zero assertions are now flagged as **risky** with a warning. This helps catch tests that pass silently without actually verifying anything. Risky tests do not fail the suite — they are shown as warnings so you can decide whether to add assertions or mark them intentionally.
80+
7781
### More assertion power
7882

7983
- `assert_have_been_called_nth_with` - verify spy arguments on a specific invocation
@@ -82,7 +86,7 @@ Measure how long a function takes to execute:
8286
- `--jobs N` flag to limit parallel test concurrency
8387
- Source context display in failure summaries showing the relevant assertion lines
8488

85-
## Performance
89+
## Performance
8690

8791
This release includes significant performance optimizations reducing subprocess overhead across the board:
8892

@@ -94,7 +98,7 @@ This release includes significant performance optimizations reducing subprocess
9498
- Cache `base64 -w` flag support at load time instead of detecting per test
9599
- Use direct variable access for assertion state instead of getter subshells in the runner hot path
96100

97-
## 🐛 Bug fixes
101+
## Bug fixes
98102

99103
- Fix misleading error message for `assert_not_same` and `assert_not_equals` on failure
100104
- Mocking `mktemp` no longer breaks spy creation
@@ -103,6 +107,13 @@ This release includes significant performance optimizations reducing subprocess
103107
- Convert `time` values from milliseconds to seconds (float)
104108
- Strip ANSI escape sequences and invalid XML control characters
105109

110+
### Lifecycle hook fixes (0.34.1)
111+
112+
- Fix `source` of non-existent file in `set_up()` silently passing all tests ([#611](https://github.com/TypedDevs/bashunit/issues/611))
113+
- Fix `set_up` running before strict mode — unbound variables in hooks now detected with `--strict`
114+
- Fix `source` failure in `tear_down()`, `set_up_before_script()`, and `tear_down_after_script()` silently passing
115+
- Add missing runtime error patterns: ambiguous redirect, integer expression expected, too many arguments, value too great, not a valid identifier, unexpected EOF
116+
106117
---
107118

108-
See the full changelog on <a href="https://github.com/TypedDevs/bashunit/releases/tag/0.34.0">GitHub</a>
119+
See the full changelog for [0.34.0](https://github.com/TypedDevs/bashunit/releases/tag/0.34.0) and [0.34.1](https://github.com/TypedDevs/bashunit/releases/tag/0.34.1) on GitHub.

0 commit comments

Comments
 (0)