Skip to content

Add KnownUnsupportedTypeConverter to prevent crashes when serializing some types#1645

Merged
jpdillingham merged 1 commit into
masterfrom
search-files
Feb 16, 2026
Merged

Add KnownUnsupportedTypeConverter to prevent crashes when serializing some types#1645
jpdillingham merged 1 commit into
masterfrom
search-files

Conversation

@jpdillingham

Copy link
Copy Markdown
Member

Not really a crash, but the newer disconnect event has an Exception which can't be serialized, so the event wasn't being properly raised. This PR fixes it and hopefully any/all other unsupported type issues with System.Text.Json.

@jpdillingham jpdillingham merged commit 17bbfce into master Feb 16, 2026
8 checks passed
@jpdillingham jpdillingham deleted the search-files branch February 16, 2026 20:12
alexlebens pushed a commit to alexlebens/infrastructure that referenced this pull request Mar 2, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [slskd/slskd](https://slskd.org) ([source](https://github.com/slskd/slskd)) | patch | `0.24.4` → `0.24.5` |

---

### Release Notes

<details>
<summary>slskd/slskd (slskd/slskd)</summary>

### [`v0.24.5`](https://github.com/slskd/slskd/releases/tag/0.24.5)

[Compare Source](slskd/slskd@0.24.4...0.24.5)

##### What's Changed

- Add KnownUnsupportedTypeConverter to prevent crashes when serializing some types by [@&#8203;jpdillingham](https://github.com/jpdillingham) in [#&#8203;1645](slskd/slskd#1645)
- Use shared JsonSerializerOptions when cloning State by [@&#8203;jpdillingham](https://github.com/jpdillingham) in [#&#8203;1648](slskd/slskd#1648)
- Ensure execute bits are set on directory mode by [@&#8203;jpdillingham](https://github.com/jpdillingham) in [#&#8203;1656](slskd/slskd#1656)
- Bump minimatch and eslint-config-canonical in /src/web by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1655](slskd/slskd#1655)
- Bump rollup from 2.79.2 to 2.80.0 in /src/web by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1654](slskd/slskd#1654)

**Full Changelog**: <slskd/slskd@0.24.4...0.24.5>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNS43IiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/4333
Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net>
Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
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