diff --git a/Directory.Build.props b/Directory.Build.props index 6b5b231..f535aa8 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,8 +1,8 @@ - 2.28.0 - 2.27.1 + 2.28.1 + 2.28.0 12.0 enable enable diff --git a/ReleaseNotes.md b/ReleaseNotes.md index b8d0488..7f352ca 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,9 @@ # Release Notes +## 2.28.1 + +* Don't use `ToArray` unless needed for JSON source generation. + ## 2.28.0 * Support metadata-based source generation for `System.Text.Json` via `--json-source-gen` and `--json-source-gen-if`. It is optional because it significantly increases assembly size and slightly decreases performance. It may be worth considering for its [other benefits](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/reflection-vs-source-generation).