Skip to content

Allow a stream target for a text extension - #1810

Merged
SimonCropp merged 1 commit into
mainfrom
text-extension-stream-target
Jul 21, 2026
Merged

Allow a stream target for a text extension#1810
SimonCropp merged 1 commit into
mainfrom
text-extension-stream-target

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Since conversion splitters were allowed for text extensions (#1778), a converter registered against a text extension could still not re-emit its source: the Target stream constructor threw for text extensions. eg Verify.ImageMagick returns the svg alongside the rendered png.

The stream is now read as text, applying the same newline fixing already used when a stream is read into a text target.

Since conversion splitters were allowed for text extensions (#1778), a
converter registered against a text extension could still not re-emit its
source: the Target stream constructor threw for text extensions. eg
Verify.ImageMagick returns the svg alongside the rendered png.

The stream is now read as text, applying the same newline fixing already
used when a stream is read into a text target.
@SimonCropp SimonCropp added this to the 31.27.0 milestone Jul 21, 2026
@SimonCropp
SimonCropp merged commit 7b3f20f into main Jul 21, 2026
7 checks passed
@SimonCropp
SimonCropp deleted the text-extension-stream-target branch July 21, 2026 11:10
This was referenced Jul 21, 2026
This was referenced Jul 27, 2026
legrab added a commit to legrab/pocok that referenced this pull request Jul 29, 2026
Updated [Verify.NUnit](https://github.com/VerifyTests/Verify) from
31.26.0 to 31.27.0.

<details>
<summary>Release notes</summary>

_Sourced from [Verify.NUnit's
releases](https://github.com/VerifyTests/Verify/releases)._

## 31.27.0

- [x] [#​1809](VerifyTests/Verify#1809) Emit
received→verified mapping for out-of-process accept/review tooling
- [x] [#​1810](VerifyTests/Verify#1810) Allow a
stream target for a text extension
- [x] [#​1812](VerifyTests/Verify#1812) Received
map file

Commits viewable in [compare
view](VerifyTests/Verify@31.26.0...31.27.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Verify.NUnit&package-manager=nuget&previous-version=31.26.0&new-version=31.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant