Skip to content

Omit YAML document start marker for single-document output#639

Merged
HeavyWombat merged 1 commit into
mainfrom
change/document-start-marker
Apr 26, 2026
Merged

Omit YAML document start marker for single-document output#639
HeavyWombat merged 1 commit into
mainfrom
change/document-start-marker

Conversation

@HeavyWombat

@HeavyWombat HeavyWombat commented Apr 26, 2026

Copy link
Copy Markdown
Member

By popular demand: Single-document YAML output no longer includes a leading --- marker by default, aligning with standard YAML conventions. Multi-document files still emit the marker for each document. A new --enforce-document-start-marker flag is added to opt back into always printing the marker.

Single-document YAML output no longer includes a leading `---` marker
by default, aligning with standard YAML conventions. Multi-document
files still emit the marker for each document. A new
`--enforce-document-start-marker` flag is added to opt back into
always printing the marker.

Signed-off-by: Matthias Diester <mddiester@gmail.com>
@codecov

codecov Bot commented Apr 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.07%. Comparing base (74b86ec) to head (7e1e08d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #639      +/-   ##
==========================================
+ Coverage   82.83%   83.07%   +0.24%     
==========================================
  Files          16       16              
  Lines        1823     1849      +26     
==========================================
+ Hits         1510     1536      +26     
  Misses        236      236              
  Partials       77       77              
Flag Coverage Δ
unittests 83.07% <100.00%> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@HeavyWombat
HeavyWombat merged commit ea5d770 into main Apr 26, 2026
10 checks passed
@HeavyWombat
HeavyWombat deleted the change/document-start-marker branch April 26, 2026 20:39
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request May 8, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [homeport/dyff](https://github.com/homeport/dyff) | minor | `v1.11.3` → `v1.12.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>homeport/dyff (homeport/dyff)</summary>

### [`v1.12.0`](https://github.com/homeport/dyff/releases/tag/v1.12.0): dyff release v1.12.0

[Compare Source](homeport/dyff@v1.11.4...v1.12.0)

#### What's Changed

- Omit YAML document start marker for single-document output by [@&#8203;HeavyWombat](https://github.com/HeavyWombat) in [#&#8203;639](homeport/dyff#639)

**Full Changelog**: <homeport/dyff@v1.11.4...v1.12.0>

### [`v1.11.4`](https://github.com/homeport/dyff/releases/tag/v1.11.4): dyff release v1.11.4

[Compare Source](homeport/dyff@v1.11.3...v1.11.4)

#### What's Changed

- build(deps): bump github.com/lucasb-eyer/go-colorful from 1.3.0 to 1.4.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;624](homeport/dyff#624)
- build(deps): bump codecov/codecov-action from 5 to 6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;625](homeport/dyff#625)
- build(deps): bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;626](homeport/dyff#626)
- build(deps): bump github.com/mattn/go-isatty from 0.0.20 to 0.0.21 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;627](homeport/dyff#627)
- build(deps): bump golang.org/x/sys from 0.42.0 to 0.43.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;628](homeport/dyff#628)
- build(deps): bump golang.org/x/mod from 0.34.0 to 0.35.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;629](homeport/dyff#629)
- build(deps): bump golang.org/x/term from 0.41.0 to 0.42.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;630](homeport/dyff#630)
- build(deps): bump golang.org/x/text from 0.35.0 to 0.36.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;632](homeport/dyff#632)
- build(deps): bump golang.org/x/net from 0.52.0 to 0.53.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;631](homeport/dyff#631)
- build(deps): bump golang.org/x/tools from 0.43.0 to 0.44.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;633](homeport/dyff#633)
- build(deps): bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;634](homeport/dyff#634)
- Bump `github.com/gonvenience/ytbx` to `v1.5.0` by [@&#8203;HeavyWombat](https://github.com/HeavyWombat) in [#&#8203;637](homeport/dyff#637)

**Full Changelog**: <homeport/dyff@v1.11.3...v1.11.4>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjguNSIsInVwZGF0ZWRJblZlciI6IjQzLjE2OC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant