|
I'm a framework developer. Whenever a new version is released, there are new APIs or breaking change APIs. I used to record them manually, and I haven't found an existing tool that can directly generate them (such as md file). So I want to know: how does the ASP.NET Core team track API changes? thx |
Replies: 1 comment 1 reply
|
ASP.NET Core tracks the public surface as checked-in API baselines and enforces them during the build; it is not maintained only as a release-time Markdown list. For each shipping implementation project, the relevant files are: The repository's
The enforcement comes from At the major-version boundary, the build team runs For another framework, the reusable design is therefore:
That gives you machine-enforced API tracking. It does not automatically produce human-facing release notes: those still need categorization and explanation, but the baseline diff is a reliable input from which a Markdown report can be generated. If this answers how the ASP.NET Core repository does it, please mark it as the accepted answer. |
ASP.NET Core tracks the public surface as checked-in API baselines and enforces them during the build; it is not maintained only as a release-time Markdown list.
For each shipping implementation project, the relevant files are:
The repository's
docs/APIBaselines.mddefines the lifecycle:PublicAPI.Shipped.txtrepresents APIs shipped in the previous major version.PublicAPI.Unshipped.txtrecords additions and removals since that baseline.Unshipped.*REMOVED*...entry.The enforcement co…