Skip to content

Releases

v0.2.7 - critical collection fixes

Choose a tag to compare

@thalesfsp thalesfsp released this 17 Nov 01:11
824f55a

Fixes collection deadlocks, concurrent-access crashes and data integrity failures.

  • Run callbacks and serialization over snapshots; decode outside locks and commit atomically.
  • Snapshot binary operations, make indexed set operations atomic, and give LastN independent storage.
  • Replace formatting-based set identity with Go equality for comparable values and structural equality otherwise.
  • Preserve percentile fractions on the 0..1 scale and safely reject invalid inputs.
  • Encode and decode actual BSON documents, preserving typed values and ordered keys.

Compatibility: requires Go 1.26.11 or newer; local development and CI use Go 1.27.4. SafeSet insertion and membership use documented O(n) equality scans. Public method signatures and the existing ToSlice borrowed-view behavior are retained. Callbacks observe container snapshots; element references are not deep copied.

Validation: 151 passing unit/regression cases, 95.5% coverage, race checks, vet, vulnerability checks and zero lint issues. Original-code negative controls reproduce all seven defects. Hosted PR and default-branch CI passed before publication.

v0.2.5

Choose a tag to compare

@thalesfsp thalesfsp released this 30 May 06:07

Full Changelog: v0.2.4...v0.2.5

v0.1.0

Choose a tag to compare

@thalesfsp thalesfsp released this 23 Jun 02:03
v0.1.0