Skip to content

Move to Polhem 1.4.0 and Avalonia 12.1 - #8

Merged
jeff377 merged 1 commit into
mainfrom
claude/sync-polhem-1.4.0
Oct 8, 2026
Merged

jeff377 merged 1 commit into
mainfrom
claude/sync-polhem-1.4.0

Conversation

@jeff377

@jeff377 jeff377 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Syncs the template with Polhem 1.4.0 (published to NuGet) and the Avalonia 12.1 line that polhem's in-repo Northwind runs at the v1.4.0 tag.

Polhem 1.4.0 carries the fix for the culture regression Avalonia 12.1 brings: the signed-in user's culture was undone after sign-in, so an en-US account showed the operating system's language. That is why the template waited for this release instead of taking Avalonia 12.1 on its own.

Changes

  • Polhem.* 1.2.0 → 1.4.0; Polhem.JsonRpc.AspNetCore 1.0.0 → 1.2.0 (Polhem 1.4.0 needs Polhem.JsonRpc 1.2.0 or later).
  • Avalonia 12.0.4 → 12.1.3, Avalonia.Controls.DataGrid 12.0.0 → 12.1.2, Semi.Avalonia / Semi.Avalonia.DataGrid → 12.1.0.1.
  • Microsoft.Data.Sqlite 10.0.12, SQLitePCLRaw.bundle_e_sqlite3 3.0.5, CommunityToolkit.Mvvm 8.4.2.
  • Xamarin.AndroidX.Core.SplashScreen stays at 1.0.1.15: 1.2.0.3 brings AndroidX Lifecycle 2.11, outside the range Avalonia.Android depends on, and the Android build fails.
  • iOS minimum 13.0 → 15.0 (csproj and Info.plist): the iOS workload of the .NET SDK 10.0.400 rejects a lower value.
  • READMEs (en and zh-TW): the .NET SDK 10.0.400 or later, which the analyzers in Polhem.Definition 1.4.0 need.
  • .smoke.yaml: the server cwd is src/Polhem.Northwind.Server; the move to src/ (Move the projects under src/ #7) missed that line.
  • ConnectionViewModel.cs: polhem's updated comment from v1.4.0. Server/Program.cs keeps this repository's src/ path in its comment rather than taking polhem's.

Verified locally (SDK 10.0.401, Xcode 27)

  • Each project builds on its own in Release against the published packages: Server, UI, Desktop, Browser, Android, iOS (0 errors).
  • The server seeds a fresh database with the counts the CI smoke step asserts (5 orders, 12 detail lines, order 10252 = 2235.0).
  • iOS simulator (system language Traditional Chinese): demo (en-US) shows English captions and en-US dates; editing a line of order 10248 with discount 0.1 recomputes its amount to 226.80. Cancelled, nothing saved.
  • Android emulator (system language en-US): demo-tw shows the order form in Traditional Chinese with zh-TW dates; the same edit gives 226.8. Cancelled, nothing saved.

Polhem 1.4.0 carries the fix for the culture regression Avalonia 12.1 brings
(the signed-in user's culture was undone after sign-in), so the template can
now take the 12.1 line together with it.

- Polhem.* 1.2.0 -> 1.4.0, Polhem.JsonRpc.AspNetCore 1.0.0 -> 1.2.0 (Polhem
  1.4.0 needs Polhem.JsonRpc 1.2.0 or later).
- Avalonia 12.0.4 -> 12.1.3, Avalonia.Controls.DataGrid 12.0.0 -> 12.1.2,
  Semi.Avalonia and Semi.Avalonia.DataGrid -> 12.1.0.1.
- Microsoft.Data.Sqlite 10.0.12, SQLitePCLRaw.bundle_e_sqlite3 3.0.5,
  CommunityToolkit.Mvvm 8.4.2. Xamarin.AndroidX.Core.SplashScreen stays at
  1.0.1.15: 1.2.0.3 brings AndroidX Lifecycle 2.11, outside the range
  Avalonia.Android depends on, and the Android build fails.
- The iOS head requires iOS 15.0 (csproj and Info.plist), the lowest the iOS
  workload of the .NET SDK 10.0.400 accepts.
- The READMEs ask for the .NET SDK 10.0.400 or later, which the analyzers in
  Polhem.Definition 1.4.0 need.
- .smoke.yaml starts the server from src/Polhem.Northwind.Server; the move to
  src/ missed that line.
- ConnectionViewModel takes polhem's updated comment from v1.4.0.
@jeff377
jeff377 enabled auto-merge (squash) October 8, 2026 14:05
@jeff377
jeff377 merged commit 588ff42 into main Oct 8, 2026
2 checks passed
@jeff377
jeff377 deleted the claude/sync-polhem-1.4.0 branch October 8, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant