Skip to content

Bring the other dependencies and dotnet tools up to date - #4834

Merged
Mpdreamz merged 11 commits into
mainfrom
chore/bump-dependencies
Nov 16, 2026
Merged

Mpdreamz merged 11 commits into
mainfrom
chore/bump-dependencies

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Updates the packages and dotnet tools that were behind and are not from nullean, including RazorSlices 0.12 and Elastic.OpenTelemetry 1.7, with no change to the rendered HTML.

Affects: Internals only

Prompt summary: Do a general pass over the dependencies and dotnet tools so they are up to date.

Why

About 40 packages and three tools had newer releases. Taking them together keeps the later jumps small.

What

Bumped

AWSSDK 4.1, Elastic.Clients.Elasticsearch 9.5, Elastic.Transport 1.1, Elastic.Ingest and Elastic.Mapping 0.56, HtmlSanitizer 11 with AngleSharp 1.10, Markdig 1.6, OpenTelemetry 1.21, WireMock 2, Spectre.Console 0.57, MinVer 8, and the minver, husky and thirdlicense tools.

RazorSlices 0.12

0.12 writes an attribute bound to an empty string as name="", where 0.11 left it out. That is standard Razor behaviour, but our templates relied on the old one. The tab and applies-switch radios bound checked to "checked" or "", so with 0.12 every radio in a group would be checked. The templates now bind null, through two new helpers, NullIfEmpty and JoinOrNull, so the HTML stays the same. No verified snapshot changes. Other templates that bind an empty string to an untested attribute would now write name="". A search of the templates found no other boolean attribute bound that way.

Elastic.OpenTelemetry 1.7

1.7 ships a public System.IO.ReadOnlyMemoryStream in its netstandard asset, and net11 has a type of that name too. The API test projects failed with CS0433, so those tests use a read-only MemoryStream instead.

Slugify

Slugify.Core stays on 4.0.1. Version 5 rejects a null argument, and 4.0.1 already throws a NullReferenceException on one although Slugify() takes a string?. Slugify() now returns an empty string for null, in our code. #4835 tracks a slug method of our own.

Held back

ModelContextProtocol 2 changes what the MCP server returns, so it gets its own PR.

Verify

mise install
mise run test

Stack: follows #4833, which is merged. #4836 is stacked on this one.

Mpdreamz and others added 2 commits November 12, 2026 14:01
Curb 0.14 formats XML with the editorconfig indent. The 16 project files
and the solution file change in whitespace only.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Snapshots 0.11, Argh and Make.Fs 0.29, Proc 0.22, Cdp 0.11, Mermaider 0.17,
curb 0.14 and the release-notes tool. The 0.11 snapshot engine keeps whitespace
inside pre, so those verified files now show the real markup, and the MCP
event stream snapshot lists the JSON of each event.

ScopedFileSystem stays on 0.6.0, Snapshots on 0.11.0 and Pagefind.Net on 0.5.0.
The newer releases need System.IO.Abstractions 23, whose Testably interface
adds IFile.CreateHardLink, and ScopedFileSystem 0.7.1 does not implement it.

Docker targets now fail up front when docker is missing (needsTool).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner November 12, 2026 13:07
@Mpdreamz
Mpdreamz requested a review from theletterf November 12, 2026 13:07
Mpdreamz and others added 3 commits November 12, 2026 14:17
…an.Snapshots

The snapshot library now pretty-prints event-stream bodies itself, so the
SSE scrubber is a no-op and the prose mask no longer matched. Mask the prose
in the new format and regenerate the verified file.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
AWSSDK 4.1, Elastic.Clients.Elasticsearch 9.5, Elastic.Transport 1.1,
Elastic.Ingest 0.56, HtmlSanitizer 11, AngleSharp 1.10, Markdig 1.6, OpenTelemetry
1.21, TUnit 1.83, WireMock 2, Spectre.Console 0.57, Slugify 5, MinVer 8, husky
and the other packages that had a newer release. Slugify 5 no longer takes a
null, so Slugify() passes an empty string for one.

Four stay behind. RazorSlices 0.12 writes empty attributes, which changes the
HTML of 77 snapshots. ModelContextProtocol 2 changes the tool annotations and
input schemas that the MCP server returns. Elastic.OpenTelemetry 1.7 ships a
ReadOnlyMemoryStream that collides with the one in the net11 BCL. Elastic.Transport 8
breaks the client code that uses JsonResponse.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz force-pushed the chore/bump-dependencies branch from 544c335 to 4400b92 Compare November 12, 2026 13:22
Mpdreamz and others added 4 commits November 12, 2026 14:26
Slugify 5 rejects a null argument and Slugify() takes a nullable string. A
null-coalescing workaround would hide a behaviour change, so the package stays
until the repo has its own slug method.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… the API tests

Elastic.OpenTelemetry 1.7 ships a public System.IO.ReadOnlyMemoryStream in its
netstandard2.1 asset. The net11 runtime has a type of that name too, so the API
test projects, which reference the package, fail with CS0433. The tests read a
byte array, so a read-only MemoryStream does the same job.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
RazorSlices 0.12 writes an attribute bound to an empty string as name="", where
0.11 left it out. The tab and applies-switch radios bound checked to "checked" or
"", so every radio would have been checked. The templates now bind null instead,
through NullIfEmpty and JoinOrNull, so the HTML stays the same and no snapshot
changes.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Slugify.Core 4.0.1 throws a NullReferenceException for null although Slugify()
takes a string?. The guard lives in our method, so it holds for any version of
the package or a replacement (see the issue about our own slug method).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Base automatically changed from feature/nullean-did-bunch-new to main November 12, 2026 14:40
@Mpdreamz

Copy link
Copy Markdown
Member Author

@copilot Please merge in main and resolve the conflicts. Make sure the build and tests still pass.

Copilot AI commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

@copilot Please merge in main and resolve the conflicts. Make sure the build and tests still pass.

Merged main in 6c8e66e. The build and all 922 frontend tests pass. The .NET suite had 8,968 passes and two skips; one API exporter test failed on both attempts because the sandbox could not reach its CloudFront spec host.

Main took the nullean bumps (#4833) and some of the same package updates from
Dependabot. Where both changed a version, this branch has the newer one.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

@Mpdreamz
Mpdreamz merged commit d999bad into main Nov 16, 2026
43 checks passed
@Mpdreamz
Mpdreamz deleted the chore/bump-dependencies branch November 16, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants