Skip to content

Add preview disclaimer to WSLC SDK header and NuGet package#40153

Open
benhillis wants to merge 1 commit intomicrosoft:feature/wsl-for-appsfrom
benhillis:user/benhill/sdk-preview-disclaimer
Open

Add preview disclaimer to WSLC SDK header and NuGet package#40153
benhillis wants to merge 1 commit intomicrosoft:feature/wsl-for-appsfrom
benhillis:user/benhill/sdk-preview-disclaimer

Conversation

@benhillis
Copy link
Copy Markdown
Member

Add preview notice to communicate that the WSLC SDK API is subject to breaking changes during the preview period.

Changes:

  • wslcsdk.h: Add PREVIEW NOTICE block to the header comment
  • Microsoft.WSL.Containers.nuspec.in: Update description to include "(Preview - API subject to breaking changes)"

Add preview notice to wslcsdk.h header comment block, NuGet README,
and nuspec description to clearly communicate that the WSLC SDK API
is subject to breaking changes during the preview period.

Also fix incorrect header filename reference in README (WSLCApi.h -> wslcsdk.h).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 10, 2026 05:31
@benhillis benhillis requested a review from a team as a code owner April 10, 2026 05:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds clear “preview / breaking changes” disclaimers to the WSLC SDK’s public-facing surfaces (header + NuGet package metadata/docs) to set expectations about API stability during the preview period.

Changes:

  • Added a preview notice block to the top-of-file comment in wslcsdk.h.
  • Added a preview disclaimer to the NuGet package README.
  • Updated the NuGet .nuspec.in description to explicitly mark the SDK as preview and subject to breaking changes.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/windows/WslcSDK/wslcsdk.h Adds a preview disclaimer in the public SDK header banner comment.
nuget/Microsoft.WSL.Containers/docs/README.MD Adds a preview disclaimer and updates the referenced header name.
nuget/Microsoft.WSL.Containers.nuspec.in Updates package description to include preview/breaking-change notice.

Comment on lines +13 to +16
PREVIEW NOTICE: This API is currently in preview and is subject to breaking
changes in future releases without prior notice. Do not rely on API stability
for production workloads. Features, function signatures, and behaviors may
change between releases during the preview period.
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While updating the header banner, consider also correcting the "Module Name" field above: it currently says "WslcSDK.h" but the file is "wslcsdk.h". Keeping these consistent avoids confusion for SDK consumers and when searching for the header referenced in the NuGet package.

Copilot uses AI. Check for mistakes.
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.

2 participants