Skip to content

Commit 3ef996e

Browse files
Upgrade Sharlayan to 9.0.34 + stop Hue pair errors hitting Sentry (v4.1.38)
Sharlayan 9.0.34 ships the patched LuminaXivDatabaseProvider that tolerates FFXIV installs whose Excel data tables don't carry the English language slice (e.g. some Chinese/Taiwan-region clients), and observes the fire-and-forget Task.Run blocks in MemoryHandler so future resource-resolution faults log instead of crashing the AppDomain at GC time. Fixes the UnobservedTaskException + UnsupportedLanguageException pair surfacing as CHROMATICS-12 in Sentry. Also stops forwarding HueBridgeDialog's pair-failed log line to Sentry. The catch is a user-input error case (wrong IP, bridge unreachable, TLS handshake failure) — the dialog status text already tells the user what failed; Sentry doesn't need a copy of every connection-refused. Closes CHROMATICS-10. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c505f84 commit 3ef996e

6 files changed

Lines changed: 28 additions & 1440 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
All notable changes to Chromatics are documented here.
44

5-
## 4.1.37
5+
## 4.1.38
66

77
- Added Auto-discovery for Hue bridges.
88
- Updated Hue light adoption. After pairing, Chromatics shows a picker so you can choose exactly which Hue lights it should control. Existing setups upgraded from earlier builds keep all their bulbs (one-time auto-adopt of whatever the bridge currently exposes); from then on you can deselect bulbs you don't want from the same dialog.
9-
- Hue bulbs now restore their original colour and on/off state when Chromatics releases control — disabling Hue, disabling an individual bulb on the Mappings tab, or closing the app puts each bulb back the way you had it before adoption. Same UX as LIFX.
9+
- Hue bulbs now restore their original colour and on/off state when Chromatics releases control.
1010
- Disabling a device on the Mappings tab now sticks across restarts.
1111
- Fixed an error that could appear in the log when disabling Hue (or any device provider) — "The device 'X' is not attached to this surface."
1212

Chromatics.Tests/Chromatics.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="Sharlayan" Version="9.0.31-prerelease.41" />
29+
<PackageReference Include="Sharlayan" Version="9.0.34" />
3030
</ItemGroup>
3131

3232
</Project>

Chromatics/Chromatics.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>WinExe</OutputType>
55
<TargetFramework>net10.0-windows7.0</TargetFramework>
66
<StartupObject>Chromatics.Program</StartupObject>
7-
<Version>4.1.37.0</Version>
7+
<Version>4.1.38.0</Version>
88
<Authors>Danielle Thompson</Authors>
99
<ApplicationManifest>app.manifest</ApplicationManifest>
1010
<Copyright>logicallysynced 2026</Copyright>
@@ -84,7 +84,7 @@
8484
<PackageReference Include="RGB.NET.HID" Version="3.2.0" />
8585
<PackageReference Include="RGB.NET.Layout" Version="3.2.0" />
8686
<PackageReference Include="RGB.NET.Presets" Version="3.2.0" />
87-
<PackageReference Include="Sharlayan" Version="9.0.31-prerelease.41" />
87+
<PackageReference Include="Sharlayan" Version="9.0.34" />
8888
</ItemGroup>
8989

9090
<ItemGroup>

Chromatics/Views/HueBridgeDialog.axaml.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,12 @@ private async void OnSubmit(object sender, RoutedEventArgs e)
128128
}
129129
catch (Exception ex)
130130
{
131-
Logger.WriteConsole(LoggerTypes.Error, $"[Hue] Bridge pair failed: {ex.Message}");
131+
// User-initiated pairing — connection refused / unreachable /
132+
// wrong IP / TLS handshake failures are all expected outcomes
133+
// of "user typed something into the IP box and pressed Submit".
134+
// The status line already tells them the pair failed and which
135+
// address it tried; Sentry doesn't need a copy of every one.
136+
Logger.WriteConsole(LoggerTypes.Error, $"[Hue] Bridge pair failed: {ex.Message}", forwardToSentry: false);
132137
StatusText.Text = string.Format(LocalizationService.Instance["Unable to connect to the Hue bridge at {0}."], ip);
133138
}
134139

Chromatics/obj/Chromatics.csproj.nuget.dgspec.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"projects": {
77
"D:\\Git Projects\\roxaskeyheart\\Chromatics Workbench\\Chromatics\\Chromatics\\Chromatics.csproj": {
8-
"version": "4.1.37",
8+
"version": "4.1.38",
99
"restore": {
1010
"projectUniqueName": "D:\\Git Projects\\roxaskeyheart\\Chromatics Workbench\\Chromatics\\Chromatics\\Chromatics.csproj",
1111
"projectName": "Chromatics",
@@ -177,7 +177,7 @@
177177
},
178178
"Sharlayan": {
179179
"target": "Package",
180-
"version": "[9.0.31-prerelease.41, )"
180+
"version": "[9.0.34, )"
181181
},
182182
"System.Drawing.Common": {
183183
"target": "Package",
@@ -480,11 +480,6 @@
480480
"System.Xml.XPath.XDocument": "(,5.0.32767]"
481481
}
482482
}
483-
},
484-
"runtimes": {
485-
"win-x64": {
486-
"#import": []
487-
}
488483
}
489484
}
490485
}

0 commit comments

Comments
 (0)