Skip to content

Move to Polhem 1.6.0 - #9

Merged
jeff377 merged 1 commit into
mainfrom
claude/polhem-1.6.0
Oct 11, 2026
Merged

jeff377 merged 1 commit into
mainfrom
claude/polhem-1.6.0

Conversation

@jeff377

@jeff377 jeff377 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Polhem.* 1.4.0 → 1.6.0. Polhem.JsonRpc.AspNetCore stays at 1.2.0, the latest version.
  • Polhem 1.6.0 removes ApiClientInfo (polhem ADR-053). The heads now set ClientInfo.SupportedConnectTypes, and ConnectionViewModel reads ClientInfo.ConnectType.
  • LoginViewModel enters the company on the same connector it signed in with, because the login signs in the client that connector belongs to. The WARNING about re-reading ClientInfo.SystemApiConnector is removed.
  • The changed files match apps/Polhem.Northwind in polhem v1.6.0.

Verification

  • dotnet build Polhem.Northwind.slnx -c Release passes for every head (Server, UI, Desktop, Browser, iOS, Android), with 0 warnings.
  • Ran the client flow against the Northwind server (dotnet run of Polhem.Northwind.Server), through ClientInfo from the Polhem.UI.Core 1.6.0 package. The steps match ConnectionViewModel and LoginViewModel: connect, apply the API key, LoginAsync and ApplyLoginResult, EnterCompanyAsync on the same connector, list Category (8 rows) and Order (5 rows), load the localized Order schema through the definition loader, then LogoutAsync. Every step succeeded.
  • Not run: the Avalonia UI itself. computer-use cannot drive the desktop head when it is launched with dotnet.

Polhem 1.6.0 replaces ApiClientInfo and the per-connector access token with
PolhemApiClient, which owns the connection and the signed-in identity
(polhem ADR-053). The template follows:

- Polhem.* 1.4.0 -> 1.6.0. Polhem.JsonRpc.AspNetCore stays at 1.2.0, the
  latest, which 1.6.0 accepts.
- The four heads set ClientInfo.SupportedConnectTypes, and
  ConnectionViewModel reads ClientInfo.ConnectType; both moved there from
  the removed ApiClientInfo.
- LoginViewModel enters the company on the connector it signed in with. The
  login signs in the client that connector belongs to, so the WARNING about
  re-reading ClientInfo.SystemApiConnector no longer applies.
- ConnectionViewModel takes polhem's updated comment on where a wrong API
  key shows up.

The files match apps/Polhem.Northwind in polhem v1.6.0.
@jeff377
jeff377 enabled auto-merge (squash) October 11, 2026 02:24
@jeff377
jeff377 merged commit d3c1801 into main Oct 11, 2026
2 checks passed
@jeff377
jeff377 deleted the claude/polhem-1.6.0 branch October 11, 2026 02:25
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