Skip to content

Releases: go-coldbrew/data-builder

v0.2.0

20 Apr 07:19
865f765

Choose a tag to compare

What's Changed

Two process-global sync.Map caches turn runtime.FuncForPC(pc).Name()
and reflect.Type"pkgpath.TypeName" resolutions into amortized O(1)
map reads with zero allocations on hit. Keys are stable for the life of
the process, so the caches never evict.

Performance (benchstat, count=6)

  • Result.Get: ~4× faster single-threaded, ~11× faster under parallel load (0 alloc)
  • AddBuilders (warm): −42% time, −59% allocations
  • CachedStructName hit: −87%, zero allocations
  • ResolveFuncName hit: −63%, zero allocations
  • Compile / RunParallel: no significant latency delta, ~5% fewer allocs

Also

  • New package doc (doc.go) covering builder shape, typical flow, parallelism, performance, visualization.
  • New benchmark suite (benchmarks_test.go) — the package previously had none.
  • go directive bumped to 1.25.9 for patched stdlib that clears govulncheck findings.

Full Changelog: v0.1.3...v0.2.0

v0.1.3

04 Apr 09:03
2faa7ed

Choose a tag to compare

fix: add comma-ok guards for type assertion panics in plan execution

v0.1.2

26 Mar 02:12
e7f34e5

Choose a tag to compare

What's Changed

  • chore: migrate to Go 1.24 tool directive, bump testify and goleak by @ankurs in #26
  • feat: add SupportPackageIsVersion1 compile-time version sentinel by @ankurs in #27

Full Changelog: v0.1.1...v0.1.2

v0.1.1

23 Mar 00:55
8d530ea

Choose a tag to compare

What's Changed

  • chore: sync deps, fix lint issues, standardize CI by @ankurs in #24
  • feat: improve data-builder performance and resilience by @ankurs in #25

Full Changelog: v0.1.0...v0.1.1

v0.1.0

20 Mar 03:12
b0c74ee

Choose a tag to compare

What's Changed

  • chore: bump Go 1.19→1.25, replace k8s dep, remove golangci-lint from … by @ankurs in #22

Full Changelog: v0.0.11...v0.1.0

v0.0.11

08 May 05:41
8725113

Choose a tag to compare

What's Changed

Full Changelog: v0.0.10...v0.0.11

v0.0.10

26 Apr 15:21
12522b9

Choose a tag to compare

What's Changed

  • Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in #10
  • updating documentation by @ankurs in #15
  • Bump golang.org/x/crypto from 0.0.0-20210915214749-c084706c2272 to 0.1.0 by @dependabot in #12

New Contributors

Full Changelog: v0.0.9...v0.0.10

v0.0.9

02 Feb 09:44
e712631

Choose a tag to compare

What's Changed

Full Changelog: v0.0.8...v0.0.9

v0.0.8

01 Feb 06:19
2a177b7

Choose a tag to compare

What's Changed

  • Ensure we update the result for all builders that do not have errors by @ankurs in #7

Full Changelog: v0.0.7...v0.0.8

v0.0.7

08 Nov 13:46
d6cffed

Choose a tag to compare

What's Changed

  • Adding tracing to Run functions by @ankurs in #6

Full Changelog: v0.0.6...v0.0.7