Skip to content

release: 0.4.1#6

Merged
kriptoburak merged 2 commits into
mainfrom
release-please--branches--main--changes--next
Apr 22, 2026
Merged

release: 0.4.1#6
kriptoburak merged 2 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 22, 2026

Automated Release PR

0.4.1 (2026-04-22)

Full Changelog: v0.4.0...v0.4.1

Bug Fixes

  • escape ampersand in OpenAPI summaries for C# XML docs (db25273)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

Note

Release version 0.4.1 with escaped ampersands in C# XML doc summaries

Macroscope summarized 410872b.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 22, 2026

Greptile Summary

This is an automated patch release (0.4.0 → 0.4.1) generated by Stainless that fixes invalid XML in C# XML documentation comments across 13 source files, along with the corresponding version bump and changelog update.

Changes:

  • XML doc fix (service interfaces): Six interface files (ITrendService.cs, IXService.cs, ICommunityService.cs, IMediaService.cs, ITweetService.cs ×2, IUserService.cs) had raw unescaped & characters in /// <summary> comments. Raw & is invalid in XML, which could cause CS1570 warnings or errors when generating documentation. These are replaced with and.
  • XML doc fix (model params): Seven model param files had &amp; (already valid XML escape) in /// <summary> comments inside <para> blocks; these are also normalized to and for consistency.
  • Version bump: XTwitterScraper.csproj VersionPrefix, .release-please-manifest.json, and CHANGELOG.md all updated to 0.4.1.
  • OpenAPI spec reference: .stats.yml updated to point to the new spec URL and hash.

Confidence Score: 5/5

Safe to merge — purely a documentation fix and patch version bump with no logic changes.

All changes are confined to XML doc comment strings and version metadata. No business logic, API surface, or runtime behavior is altered. The fix correctly resolves invalid XML (&) in C# /// <summary> comments, which would cause compiler warnings or doc-generation failures.

No files require special attention.

Important Files Changed

Filename Overview
src/XTwitterScraper/XTwitterScraper.csproj VersionPrefix bumped from 0.4.0 to 0.4.1
src/XTwitterScraper/Services/X/ITweetService.cs Two XML doc summary comments fixed: raw & replaced with and (invalid XML → valid text)
src/XTwitterScraper/Services/ITrendService.cs XML doc summary: raw & replaced with and
src/XTwitterScraper/Services/IXService.cs XML doc summary: raw & replaced with and
src/XTwitterScraper/Services/X/ICommunityService.cs XML doc summary: raw & replaced with and
src/XTwitterScraper/Services/X/IMediaService.cs XML doc summary: raw & replaced with and
src/XTwitterScraper/Services/X/IUserService.cs XML doc summary: raw & replaced with and
src/XTwitterScraper/Models/Trends/TrendListParams.cs XML doc summary: &amp; replaced with and for clarity
src/XTwitterScraper/Models/X/XGetTrendsParams.cs XML doc summary: &amp; replaced with and
CHANGELOG.md Added 0.4.1 changelog entry documenting the ampersand XML doc fix

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[OpenAPI Spec\nampersand in summaries] -->|Stainless codegen| B[C# XML doc comments\nraw & or &amp;]
    B -->|Bug: invalid XML| C[CS1570 warnings\ndoc generation errors]
    B2[Fixed: replace with 'and'] -->|Valid XML| D[Clean doc comments\nno XML parse issues]
    A -->|0.4.1 fix| B2
    D --> E[NuGet package\nv0.4.1]
Loading

Reviews (1): Last reviewed commit: "release: 0.4.1" | Re-trigger Greptile

@kriptoburak kriptoburak merged commit 5ebdc50 into main Apr 22, 2026
11 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 22, 2026

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.

1 participant