Releases: onflow/atree
v0.7.0-rc.1
The v0.7.0-rc.1 does not include atree inlining. Atree inlining is introduced in v0.8.0-rc.1 with breaking changes to data format.
What's Changed
- Add
Array.SetType()
to allow updating TypeInfo by @fxamacker in #374 - Add
OrderedMap.SetType()
to allow updating TypeInfo by @fxamacker in #375 - Add PersistentSlabStorage.GetAllChildReferences() by @fxamacker in #391
- Add feature to enable migrations to fix references to non-existent registers by @fxamacker in #387
- Fix SlabIterator to include nested storage ID (non-inlining feature branch) by @fxamacker in #398
- Fix migration filter for old unreferenced slabs (non-inlining feature branch) by @fxamacker in #399
CI / Dependabot
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #289
- Bump actions/setup-go from 3 to 4 by @dependabot in #298
- Bump codecov/codecov-action from 3.1.1 to 3.1.3 by @dependabot in #300
Full Changelog: v0.6.0...v0.7.0-rc.1
v0.6.0 (April 6, 2023)
What's Changed
Refactor error handling and recategorize errors by @fxamacker in #295
Full Changelog: v0.5.0...v0.6.0
v0.5.0 (March 6, 2023)
What's Changed
Add DeltasSizeWithoutTempAddresses to return uncommitted slab size by @fxamacker in #290
Miscellaneous Changes
List of PRs...
- Bump github.com/stretchr/testify from 1.7.3 to 1.8.0 by @dependabot in #273
- Add Go 1.19 to CI test matrix by @fxamacker in #274
- Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #278
- Bump codecov/codecov-action from 3.1.0 to 3.1.1 by @dependabot in #277
- Bump go to 1.19 and actions/checkout to v3 by @fxamacker in #279
- Reformat with gofmt 1.19 by @fxamacker in #280
- Bump safer-golangci-lint to 1.50.1 by @fxamacker in #282
- Enable more linters and fix reported issues by @fxamacker in #283
- Bump go 1.17 to 1.19 in coverage.yml by @fxamacker in #284
- Bump safer-golangci-lint.yml to 1.51.1 by @fxamacker in #286
Special Thanks
Thanks @SupunS and @turbolent for helping on Cadence side with PR #290!
Full Changelog: v0.4.0...v0.5.0
v0.4.0 (June 23, 2022)
What's Changed
- Update testify to latest commit in master to resolve flaky test timeouts by @fxamacker in #210
- Bump zeebo/blake3 from 0.2.2 to 0.2.3 by @fxamacker in #255
- Change digest level from int to uint by @fxamacker in #257
- Add extra comment to typicalRandomConstant by @fxamacker in #259
- Update ci.yml by @fxamacker in #252
- Fix go.mod by @fxamacker in #260
- Add PersistentSlabStorage.Deltas() by @fxamacker in #264
- Remove default permissions from top level of workflows, add workflow_dispatch, etc. by @fxamacker in #262
- Update fxamacker/cbor to newer version by @fxamacker in #266
- Limit number of goroutines in FastCommit() by @SaveTheRbtz in #268
- Add MaxCollisionLimitPerDigest by @fxamacker in #271
- Bump github.com/stretchr/testify from 1.7.1 to 1.7.3 by @dependabot in #270
- Bump codecov/codecov-action from 2.1.0 to 3.1.0 by @dependabot in #265
New Contributors
- @SaveTheRbtz made their first contribution in #268
- @dependabot made their first contribution in #270
Full Changelog: v0.3.0...v0.4.0
v0.3.0 (March 16, 2022)
What's Changed
Update CBOR and CircleHash libraries to latest versions by @fxamacker in #251
-
fxamacker/cbor [
feature/stream-mode branch
] to March 13 commit 12f5cb4b5eb0efcd590d323ff6a292a6d4f9e36c -
fxamacker/circlehash from 0.2.0 to 0.3.0
Full Changelog: v0.2.0...v0.3.0
v0.2.0 (Mar 2, 2022)
Add Array.IterateRange, use faster CircleHash64, improve docs, improve tests, and fix error handling bug in FastCommit().
⭐ Features
- Add range iteration with Array.IterateRange by @fxamacker in #238
🛠 Improvements
- Add more tests by @fxamacker in #228
- Add nested array and nested map to stress test program by @fxamacker in #231
- Bump safer-golangci-lint.yml to 1.43.0 by @fxamacker in #234
- Add regression test for CircleHash64 by @fxamacker in #247
- Update fxamacker/circlehash to newer version by @fxamacker in #244
- Add regression tests for BLAKE3 by @fxamacker in #248
- Bump zeebo/blake3 from 0.2.0 to 0.2.2 by @fxamacker in #249
🐞 Bug Fixes
- Fix error handling in FastCommit() by @fxamacker in #241
📖 Documentation
- Add more context to the Readme by @ramtinms in #229
- Update README.md by @fxamacker in #233
Full Changelog: v0.1.1...v0.1.2
v0.1.1 (Nov 30, 2021)
This release fixes a couple of bugs and adds more tests. The bugs were found while adding tests.
What's Changed
- Add more tests for storage by @fxamacker in #219
- Remove auto commit option for PersistentSlabStorage by @fxamacker in #220
- Fix
Array.Set
andArray.Insert
to prevent orphaned slabs by @fxamacker in #226 - Add CI for code coverage and update README by @fxamacker in #222
Full Changelog: v0.1.0...v0.1.1
Release v0.1.0 (Nov 22, 2021)
Changes since v0.1.0-beta1 focused on adding more tests, diagnostic functions, and refactoring to ease integration with Cadence.
🛠️ Improvements
- Export decodeSlab by @turbolent in #153
- Update to CircleHash v0.0.2 by @turbolent in #156
- Add serialization validation for SAT & OMT by @fxamacker in #152
- Add stress test program for array and map by @fxamacker in #154
- Improve errors by @turbolent in #158
- Use custom comparator when comparing values, don't assume deep equality by @turbolent in #159
- Add
ChildStorables()
toStorable
interface to return nested storables by @fxamacker in #167 - BasicSlabStorage - slab health check by @ramtinms in #162
- Refactor slab storage health check by @turbolent in #169
- Expose slabIndex to ledgerKey method by @ramtinms in #173
- Check found flag returned by SlabStorage.Retrieve by @fxamacker in #182
- Return root slab IDs from
CheckStorageHealth
by @turbolent in #185 - Add partial deltas map reset during storage commit by @fxamacker in #172
- Move code from ChildIDs() with ChildStorables() by @fxamacker in #188
- Add a comparison method for storage IDs by @turbolent in #192
- Speed up seed generation from 494 ns/op to 3 ns/op by @fxamacker in #191
- Refactor tests and add more tests by @fxamacker in #176
- Update fxamacker/cbor to newer version by @fxamacker in #201
- Check for minimum slab size in SetThreshold() by @fxamacker in #202
- Use non-global rand.Rand and add -seed flag by @fxamacker in #204
- Refactor returned errors by @fxamacker in #207
- Add DumpArraySlabs, DumpMapSlabs, and more tests by @fxamacker in #212
🐞 Bug Fixes
- Remove storage deltas map reset by @fxamacker in #165
- Fix "data is too short" error on non-existent slab retrieval from storage by @fxamacker in #171
- Fix
NewArrayFromBatchData
from creating invalid tree during edge case by @fxamacker in #178 - Fix NewMapFromBatchData from creating invalid tree during edge case by @fxamacker in #180
- Fix the persistent slab storage slab iterator by @turbolent in #186
- Fix NewMapFromBatchData potentially exceeding size by @fxamacker in #194
- Modify max inlinable element size by @fxamacker in #197
- Make OrderedMap.Has distinguish KeyNotFoundError by @fxamacker in #215
📖 Documentation
- Add copyright notice by @fxamacker in #146
- Add contribution guidelines, code of conduct, SECURITY.md, and etc. by @fxamacker in #147
- Add copyright and license notice to README by @fxamacker in #148
- Update README to link to Cadence and Flow by @fxamacker in #155
- Add doc.go by @fxamacker in #216
GitHub Actions
- Bump CI golangci-lint to 1.42.1 by @fxamacker in #149
- Add go 1.15.x to ci.yml by @fxamacker in #161
- Create codeql-analysis.yml by @fxamacker in #160