Repository navigation
Releases: rawbytedev/fractus
Releases · rawbytedev/fractus
Release list
v1.0.3
Full Changelog: v1.0.2...v1.0.3
v1.0.2
v1.0.1
Full Changelog: v1.0.0...v1.0.1
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- from storing offset of var to linear ready cause this saves us trouble and is easier
- errors can be detected early on
- encoding format is now consistent
- expected size is exactly as you expect it
- encoding went to around 1 allocs/ op which is big progress
- e-ncoding same struct twice gives us 0 allocs
200ns/op or less by @rawbytedev in #9
- improv: HighPerfFractus by @rawbytedev in #10
- refactor: rename HighPerfFractus to Fractus and update related code by @rawbytedev in #12
Full Changelog: v0.0.2...v1.0.0
Full Changelog: v1.0.0...v1.0.0
v0.0.2
What's Changed
- Rawbytedev patch workflow 1 by @rawbytedev in #6
- Rawbytedev patch workflow 1 by @rawbytedev in #7
Full Changelog: v0.0.1...v0.0.2
user-stable
- Fixed-size primitive types (
int8,int16,int32,int64,uint*,float32,float64,bool) - Variable-size types (
string,[]byte, slices of primitives/strings/byte slices) - Struct pointers
- Presence bitmaps for optional fields
- Unsafe zero-copy string decoding (optional)
Features
- Struct encoding/decoding: Works with exported fields of Go structs.
- Slices and strings: Handles variable-length data with varint length prefixes.
- Presence bitmap: Marks which fields are present.
- Unsafe string mode: Zero-copy decoding of strings (caller must ensure buffer lifetime).
- Fuzz & property-based tests: Ensures round-trip correctness.
What's Changed
- readme updated by @rawbytedev in #1
- Added docs and examples by @rawbytedev in #2
- Composable flexibility by @rawbytedev in #3
- Major changes by @rawbytedev in #4
- reduce allocs to 4 allocs for encode +decode by @rawbytedev in #5
New Contributors
- @rawbytedev made their first contribution in #1
Full Changelog: https://github.com/rawbytedev/Fractus/commits/v0.0.1