Skip to content

Commit 605650e

Browse files
committed
Add .NET Standard 2.1 target; update language version to C# 9
1 parent 7ee8bdc commit 605650e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1515
- Added `NodeDebugInfo.IsImplicit`, which indicates whether the node was created by the compiler (and does not appear in the source code).
1616
- Language Server: Warn on `jump` statements if destination node that does not exist. Offer to create a stub node, or rename to an existing node title.
1717
- The `subtitle` header on a node can be used to control its internal name, for debugging purposes.
18+
- A .NET Standard 2.1 version of the `YarnSpinner` and `YarnSpinner.Compiler` packages have been added.
1819

1920
### Changed
2021

@@ -25,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2526
- Language Server: completions now contain node groups, and no longer include the names of individual nodes in a group (which cannot be jumped to directly.)
2627
- `LineParser` now correctly detects the first `:` in a line for the implicit character name
2728
- The `select` marker now converts its value using the invariant culture, not the user's current culture. (This is realistically not a huge change, since values passed to `select` are either integers or non-user-facing strings, but it avoids a potential bug.)
29+
- The language version for `YarnSpinner` and `YarnSpinner.Compiler` has changed from C# 8 to C# 9.
2830

2931
### Removed
3032

YarnSpinner.Compiler/YarnSpinner.Compiler.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
55
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77

@@ -11,7 +11,7 @@
1111

1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
<Nullable>enable</Nullable>
14-
<LangVersion>8.0</LangVersion>
14+
<LangVersion>9.0</LangVersion>
1515

1616
<PackageId>YarnSpinner.Compiler</PackageId>
1717
<Version>0.0.0</Version>

YarnSpinner/YarnSpinner.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netstandard2.0</TargetFramework>
4-
<LangVersion>8.0</LangVersion>
3+
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
4+
<LangVersion>9.0</LangVersion>
55
<Nullable>enable</Nullable>
66
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
77
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

0 commit comments

Comments
 (0)