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