Skip to content

Commit f01523a

Browse files
authored
Publish breaking changes, update speclet (#44199)
* Fixes #44167 The `skiplocalsinit` flag is a compiler feature that is already documented in the compiler switches section. It's not a *language feature*, so remove the speclet from publication in the standard section. * Fixes #44189 Contributes to #43952 Add the configuration to publish the roslyn breaking changes documents for changes since the .NET 9 GA.
1 parent 734664e commit f01523a

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

docfx.json

+9-6
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,16 @@
7676
"csharp-8.0/nested-stackalloc.md",
7777
"csharp-9.0/nullable-reference-types-specification.md",
7878
"csharp-9.0/nullable-constructor-analysis.md",
79-
"csharp-9.0/nullable-parameter-default-value-analysis.md"
79+
"csharp-9.0/nullable-parameter-default-value-analysis.md",
80+
"csharp-9.0/skip-localsinit.md"
8081
]
8182
},
8283
{
8384
"files": [
8485
"Compiler Breaking Changes - DotNet 7.md",
8586
"Compiler Breaking Changes - DotNet 8.md",
86-
"Compiler Breaking Changes - DotNet 9.md"
87+
"Compiler Breaking Changes - DotNet 9.md",
88+
"Compiler Breaking Changes - DotNet 10.md"
8789
],
8890
"src": "_roslyn/docs/compilers/CSharp",
8991
"dest": "csharp/whats-new/breaking-changes",
@@ -504,8 +506,9 @@
504506
"_csharplang/proposals/csharp-13.0/*.md": "10/31/2024",
505507
"_csharplang/proposals/*.md": "10/31/2024",
506508
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "11/08/2022",
507-
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "09/26/2023",
508-
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md": "06/26/2024",
509+
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "11/08/2023",
510+
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md": "11/09/2024",
511+
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 10.md": "01/09/2024",
509512
"_vblang/spec/*.md": "07/21/2017"
510513
},
511514
"ms.subservice": {
@@ -625,7 +628,6 @@
625628
"_csharplang/proposals/csharp-9.0/native-integers.md": "Native sized integers",
626629
"_csharplang/proposals/csharp-9.0/patterns3.md": "Pattern matching changes",
627630
"_csharplang/proposals/csharp-9.0/records.md": "Records",
628-
"_csharplang/proposals/csharp-9.0/skip-localsinit.md": "Suppress emitting localsinit flag",
629631
"_csharplang/proposals/csharp-9.0/static-anonymous-functions.md": "Static anonymous functions",
630632
"_csharplang/proposals/csharp-9.0/target-typed-conditional-expression.md": "Target-typed conditional expression",
631633
"_csharplang/proposals/csharp-9.0/target-typed-new.md": "Target-typed new expressions",
@@ -680,6 +682,7 @@
680682
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "C# compiler breaking changes since C# 10",
681683
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "C# compiler breaking changes since C# 11",
682684
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md": "C# compiler breaking changes since C# 12",
685+
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 10.md": "C# compiler breaking changes since C# 13",
683686
"_vblang/spec/introduction.md": "Introduction",
684687
"_vblang/spec/lexical-grammar.md": "Lexical grammar",
685688
"_vblang/spec/preprocessing-directives.md": "Preprocessing directives",
@@ -745,7 +748,6 @@
745748
"_csharplang/proposals/csharp-9.0/native-integers.md": "This feature specification describes native sized integers, which are integer types that use the processor's natural integral types.",
746749
"_csharplang/proposals/csharp-9.0/patterns3.md": "This feature specification describes the additional pattern matching syntax added in C# 9.0. This includes relational patterns, 'and' and 'or' patterns, negated patterns and parenthesized patterns.",
747750
"_csharplang/proposals/csharp-9.0/records.md": "This feature specification describes records. Records are reference types that provide value based equality semantics.",
748-
"_csharplang/proposals/csharp-9.0/skip-localsinit.md": "This feature specification describes a performance enhancement to suppress emitting localsinit flag. This will prevent the runtime from initializing memory to 0 as part of allocating it.",
749751
"_csharplang/proposals/csharp-9.0/static-anonymous-functions.md": "This feature specification describes static anonymous functions. Static anonymous functions are lambda expressions that are prohibited from accessing variables in the enclosing scope. That prevents them from creating a closure.",
750752
"_csharplang/proposals/csharp-9.0/target-typed-conditional-expression.md": "This feature specification describes syntax rules to find a best match for the target of a conditional expression (?:).",
751753
"_csharplang/proposals/csharp-9.0/target-typed-new.md": "This feature specification describes the enhancements to 'new' where the target type can be inferred from the variable declaration.",
@@ -800,6 +802,7 @@
800802
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "Learn about any breaking changes since the initial release of C# 10 and included in C# 11",
801803
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "Learn about any breaking changes since the initial release of C# 11 and included in C# 12",
802804
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md": "Learn about any breaking changes since the initial release of C# 12 and included in C# 13",
805+
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 10.md": "Learn about any breaking changes since the initial release of C# 13 and included in C# 14",
803806
"_vblang/spec/introduction.md": "This chapter provides and introduction to the Visual Basic language.",
804807
"_vblang/spec/lexical-grammar.md": "This chapter defines the lexical grammar for Visual Basic.",
805808
"_vblang/spec/preprocessing-directives.md": "This chapter defines the preprocessing directives allowed in Visual Basic",

docs/csharp/specification/toc.yml

-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ items:
8585
href: ../../../_csharplang/proposals/csharp-9.0/top-level-statements.md
8686
- name: Module initializers
8787
href: ../../../_csharplang/proposals/csharp-9.0/module-initializers.md
88-
- name: Suppress emitting localsinit flag
89-
href: ../../../_csharplang/proposals/csharp-9.0/skip-localsinit.md
9088
- name: Types
9189
items:
9290
- name: Records

docs/csharp/toc.yml

+4
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ items:
146146
href: fundamentals/exceptions/how-to-execute-cleanup-code-using-finally.md
147147
- name: What's new in C#
148148
items:
149+
- name: C# 14
150+
items:
151+
- name: Breaking changes since C# 13
152+
href: ../../_roslyn/docs/compilers/CSharp/Compiler%20Breaking%20Changes%20-%20DotNet%2010.md
149153
- name: C# 13
150154
items:
151155
- name: What's new in C# 13

docs/csharp/whats-new/csharp-version-history.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ C# 9 was released with .NET 5. It's the default language version for any assembl
123123
- [Performance and interop](#performance-and-interop)
124124
- [Native sized integers](~/_csharplang/proposals/csharp-9.0/native-integers.md)
125125
- [Function pointers](~/_csharplang/proposals/csharp-9.0/function-pointers.md)
126-
- [Suppress emitting localsinit flag](~/_csharplang/proposals/csharp-9.0/skip-localsinit.md)
126+
- [Suppress emitting localsinit flag](https://github.com/dotnet/csharplang/blob/main/proposals/csharp-9.0/skip-localsinit.md)
127127
- [Module initializers](~/_csharplang/proposals/csharp-9.0/module-initializers.md)
128128
- [New features for partial methods](~/_csharplang/proposals/csharp-9.0/extending-partial-methods.md)
129129
- [Fit and finish features](#fit-and-finish-features)

0 commit comments

Comments
 (0)