System.Text.Json
JSON.NETが気付いたら標準ライブラリではなくなっていました。
System.Text.Json に簡単に切り替わりましたが、JsonProperty, JsonIgnore のことを忘れていました・・・
Newtonsoft.Json から System.Text.Json に移行する - .NET | Microsoft Docs
Npgsql 6.0(個人的には破壊的変更)
Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with d
ifferent Kinds in an array/range. See the Npgsql.EnableLegacyTimestampBehavior AppContext switch to enable legacy behavior.
指示通りで回避は可能。最初これ読み飛ばしてハマりました。
6.0 Release Notes | Npgsql Documentation
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);