Skip to content

Commit

Permalink
Create config and infrastructure for a What's new in docs for a relea…
Browse files Browse the repository at this point in the history
…se (dotnet#30545)

* First pass at a new config file.

* lower addition criteria

* Update .whatsnew.release.json

Co-authored-by: Genevieve Warren <[email protected]>

* run the tool as a test

* hand edits

* remove items that no longer exist

* hand editing

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

* Move output file.

* increase file changes

Use a large value to catch branch merge on what's new in the release.

* run the tool with updated labels

* increase file count

The PR that merges .NET 7 features changed a lot of files.

* run the tool with the latest repo changes

* organize and trim articles

* remove a few more articles.

* Update docs/whats-new/dotnet-7-docs.md

Co-authored-by: Genevieve Warren <[email protected]>

* Update docs/whats-new/dotnet-7-docs.md

Co-authored-by: Genevieve Warren <[email protected]>

* Update docs/whats-new/dotnet-7-docs.md

Co-authored-by: Genevieve Warren <[email protected]>

* Update docs/whats-new/dotnet-7-docs.md

Co-authored-by: Genevieve Warren <[email protected]>

* Update docs/whats-new/dotnet-7-docs.md

Co-authored-by: Genevieve Warren <[email protected]>

* Apply suggestions from code review

* Add .NET Overviews

* fix lint warning

Co-authored-by: Genevieve Warren <[email protected]>
  • Loading branch information
BillWagner and gewarren authored Nov 9, 2022
1 parent 4b59282 commit 8500268
Show file tree
Hide file tree
Showing 6 changed files with 386 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .whatsnew.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"maximumNumberOfArticles": 3,
"tocParentNode": "What's new",
"repoTocFolder": "docs/whats-new",
"indexParentNode": "Find .NET updates",
"indexParentNode": "Latest documentation updates",
"repoIndexFolder": "docs/whats-new"
},
"areas": [
Expand Down
81 changes: 81 additions & 0 deletions .whatsnew.release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"$schema": "https://whatsnewapi.azurewebsites.net/schema",
"docSetProductName": ".NET",
"rootDirectory": "docs/",
"docLinkSettings": {
"linkFormat": "relative",
"relativeLinkPrefix": "../"
},
"inclusionCriteria": {
"labels": [
"label:\":checkered_flag: Release: .NET 7\""
],
"maxFilesChanged": 100,
"minAdditionsToFile": 1
},
"navigationOptions": {
"maximumNumberOfArticles": 4,
"tocParentNode": "What's new",
"repoTocFolder": "docs/whats-new",
"indexParentNode": ".NET release updates",
"repoIndexFolder": "docs/whats-new"
},
"areas": [
{
"names": [ "." ],
"heading": "Home"
},
{
"names": [ "architecture" ],
"heading": "Architecture guides"
},
{
"names": [ "azure" ],
"heading": "Azure SDK for .NET"
},
{
"names": [ "csharp" ],
"heading": "C# language"
},
{
"names": [ "desktop-wpf" ],
"heading": ".NET Core desktop"
},
{
"names": [ "framework" ],
"heading": ".NET Framework"
},
{
"names": [ "fsharp" ],
"heading": "F# language"
},
{
"names": [ "core/compatibility" ],
"heading": ".NET breaking changes"
},
{
"names": [ "core", "fundamentals", "standard" ],
"heading": ".NET fundamentals"
},
{
"names": [ "iot" ],
"heading": ".NET IoT libraries"
},
{
"names": [ "machine-learning" ],
"heading": "ML.NET"
},
{
"names": [ "spark" ],
"heading": ".NET for Apache Spark"
},
{
"names": [ "visual-basic" ],
"heading": "Visual Basic language"
},
{
"names": [ "orleans", "dotnet-orleans" ],
"heading": "Microsoft Orleans"
}
]
}
2 changes: 1 addition & 1 deletion docs/fundamentals/code-analysis/quality-rules/ca2109.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A public or protected event-handling method was detected.

> [!NOTE]
> This rule has been deprecated. It last shipped with Microsoft.CodeAnalysis.Analyzers v3.3.0.
>
>
> The rule was removed because the threat that the analyzer warned about (an untrusted intermediary hooking a privileged event handler to a privileged event invoker) hasn't existed since .NET Framework 4.5.
## Rule description
Expand Down
Loading

0 comments on commit 8500268

Please sign in to comment.