Skip to content

Commit 7d4befe

Browse files
committed
chore: release 1.2.0
1 parent 3b78e59 commit 7d4befe

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@
33
All notable changes to this library are documented here. This project adheres
44
to [Semantic Versioning](https://semver.org).
55

6+
## 1.2.0
7+
8+
### Added
9+
10+
- **`java.io` framing streams**: `CobsFramedOutputStream` and
11+
`CobsFramedInputStream` write and read `0x00`-delimited COBS frames over any
12+
`OutputStream` / `InputStream`.
13+
- **Coroutines `Flow` API**: `Flow<ByteArray>.cobsFrames()` frames a flow of
14+
packets for a stream. The `kotlinx-coroutines` dependency is `compileOnly`, so
15+
no runtime dependency is imposed on consumers that don't use it.
16+
- **In-place COBS/R decoding**: `Cobsr.decodeInPlace` (with a `sentinel`
17+
overload) decodes the reduced codec within the same buffer.
18+
19+
All additions are backward compatible.
20+
21+
### Changed
22+
23+
- Added an (env-gated) JVM throughput micro-benchmark.
24+
- Extended the conformance test to also cover the configurable-sentinel and
25+
decode-error vectors from firechip/cobs-conformance.
26+
627
## 1.1.0
728

829
### Added

cobs/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = "dev.firechip"
9-
version = "1.1.0"
9+
version = "1.2.0"
1010

1111
android {
1212
namespace = "dev.firechip.cobs"

0 commit comments

Comments
 (0)