Skip to content

Comments

[Repo Assist] Add v4.0 migration notes to README and docs#238

Merged
dsyme merged 2 commits intomainfrom
repo-assist/improve-docs-v4-migration-96644bc2792dc59a
Feb 22, 2026
Merged

[Repo Assist] Add v4.0 migration notes to README and docs#238
dsyme merged 2 commits intomainfrom
repo-assist/improve-docs-v4-migration-96644bc2792dc59a

Conversation

@github-actions
Copy link
Contributor

🤖 This PR was created by Repo Assist, an automated AI assistant.


Summary

v4.0 introduced the significant breaking change of making AsyncSeq<'T> a type alias for System.Collections.Generic.IAsyncEnumerable<'T>, but this wasn't reflected anywhere in the README or narrative docs. This PR adds clear, concise migration notes where users will look first.

Changes

  • README.md: Added a "Version 4.0 — BCL IAsyncEnumerable Compatibility" section explaining the type alias, zero-cost interop with IAsyncEnumerable<'T> sources, and how to migrate from v3.x (specifically: remove ofAsyncEnum/toAsyncEnum calls; update any direct .GetEnumerator()/.MoveNext() usages to the BCL IAsyncEnumerator<'T> contract).
  • docs/index.md: Added a v4.0 callout block linking to the README migration notes.
  • docs/AsyncSeq.fsx: Added a v4.0 note describing the IAsyncEnumerable<'T> interop benefit (EF Core, ASP.NET Core channels, taskSeq { } etc.).

Rationale

Without these notes, users upgrading from v3.x have no indication of the breaking change unless they check RELEASE_NOTES.md. A prominent note in the README is the standard way to surface major migration requirements.

Test Status

✅ All 192 tests pass (dotnet test -c Release). Documentation-only changes; no code modified.

Generated by Repo Assist

To install this workflow, run gh aw add githubnext/agentics/workflows/repo-assist.md@0d6e8cf9db90470cd5477c6a40b350fd9f9e1422. View source at https://github.com/githubnext/agentics/tree/0d6e8cf9db90470cd5477c6a40b350fd9f9e1422/workflows/repo-assist.md.

- README.md: add 'Version 4.0 — BCL IAsyncEnumerable Compatibility' section
  explaining the type alias, zero-cost interop, and how to migrate from v3.x
- docs/index.md: add v4 callout with migration link
- docs/AsyncSeq.fsx: add v4 note explaining IAsyncEnumerable<'T> interop

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor Author

✅ Pull request created: #238

@dsyme dsyme marked this pull request as ready for review February 22, 2026 19:15
@dsyme dsyme merged commit cf73574 into main Feb 22, 2026
1 check passed
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