Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ its symbols (`.snupkg`) and creates the GitHub release with the notes of the cha

A published version cannot be replaced. It can only be *unlisted* on nuget.org, so a mistake costs a new version number.

## After the first publication
## API compatibility

To protect later versions against an accidental API break, set `<PackageValidationBaselineVersion>` in the project to the last
published version: package validation then compares the new package with it.
`<PackageValidationBaselineVersion>` in the project is the last published version: package validation compares each new
package with it and fails the pack on an API break (for example removing a public member). After publishing a version, set it to that
version in the next change; for a deliberate break before 1.0, raise the version number accordingly and set the baseline once
the new version is published.
1 change: 1 addition & 0 deletions src/Eleris.RawNet/Eleris.RawNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EnablePackageValidation>true</EnablePackageValidation>
<PackageValidationBaselineVersion>0.1.0</PackageValidationBaselineVersion>
</PropertyGroup>

<ItemGroup>
Expand Down