4 Commits
Author SHA1 Message Date
Daniel Eggert 34883bcba6 Update style in documentation (#822) 2026-04-28 18:06:43 +02:00
Franz Busch 2cd1c5582a [CI] Adopt GitHub Actions (#775)
* [CI] Adopt GitHub Actions

# Motivation

We want to adopt GitHub actions in all of our Swift repositories to replace our current Jenkins CI.

# Modification

This PR adopts the reusable workflows from NIO and the swiftlang organization to ensure soundness and test coverage. Additionally, this PR enables a sematic label check and adds a `release.yml` to make releasing this package easy.

# Result

Modern CI and release flow.
2024-10-30 13:24:35 +00:00
David Evans 4d655698eb Add new "best effort" decoding method for displaying UTF-8 strings (#565)
Resolves #564

For user-visible strings it's arguably better to display something. This new best-effort approach to UTF-8 decoding will ignore any invalid bytes, using only the valid ones.
2021-05-21 16:36:08 +01:00
David Evans 3719201015 New failable String.init for validating if bytes are valid UTF8 (#563)
We use String(buffer: ByteBuffer) quite a lot. This isn't ideal as it may crash if the bytes are not valid UTF-8. This PR addresses that problem by providing a failable initialiser on String that will handle invalid UTF8 bytes gracefully by returning nil.
2021-05-21 12:23:53 +01:00