v0.8.0-rc.1
Pre-release
Pre-release
fxamacker
released this
01 May 21:00
·
87 commits
to feature/array-map-inlining
since this release
Release 0.8.0-rc.1 introduces atree inlining and deduplication, so the data format is a breaking change.
Atree inlining and deduplication is primarily in these PRs:
- Atree Register Inlining and Data Deduplication in #342
- Add readonly iterators and support value mutations only from non-readonly iterators in #345
- Reduce RAM and persistent storage by deduplicating inlined dict type info in #369
NOTE: Atree Register Inlining Project includes other work: migration (in onflow/flow-go) and integration (in onflow/cadence).
What's Changed
- Change
OrderedMap.Get()
to returnValue
instead ofStorable
by @fxamacker in #318 - Change
Array.Get()
to returnValue
instead ofStorable
by @fxamacker in #316 - Optimize max map value size to reduce number of registers by @fxamacker in #314
- Refactor to remove lint warnings by @fxamacker in #319
- Add
Array.ID()
andOrderedMap.ID()
by @fxamacker in #321 - Rename ID to ValueID by @fxamacker in #325
- Refactor creating new StorableSlab by @fxamacker in #324
- Unexport
SlabID
fields to prevent misuse by @fxamacker in #323 - Rename StorageID related types, vars, and funcs by @fxamacker in #322
- Add support for iterating only loaded values by @fxamacker in #311
- Refactor
hasPointer
for register inlining by @fxamacker in #327 - Reduce size of encoded array slab and bump version by @fxamacker in #330
- Reduce encoded size of map and bump version by @fxamacker in #331
- Update README.md to describe Atree by @fxamacker in #332
- Update responsible disclosure link by @jribbink in #333
- Fix slab size when resetting mutable storable in OrderedMap by @fxamacker in #337
- Omit empty next slab ID in encoded map data slab by @fxamacker in #340
- Omit empty next slab ID in encoded array data slab by @fxamacker in #339
- Fix slab size when resetting mutable storable in Array by @fxamacker in #336
- Refactor encoding version and flag to add more flags by @fxamacker in #338
- Add readonly iterators and support value mutations only from non-readonly iterators by @fxamacker in #345
- Atree Register Inlining and Data Deduplication by @fxamacker in #342
- Update smoke test for atree inlining by @fxamacker in #348
- Update for Cadence integration for atree inlining and deduplication by @fxamacker in #352
- Make smoke tests check recently added data deduplication feature by @fxamacker in #350
- Remove ContainerStorable.EncodeAsElement by @fxamacker in #354
- Add feature to support mutation for array and map iterators by @fxamacker in #359
- Add support for changing type info of atree arrays (atree inlining branch) by @fxamacker in #376
- Add support for changing type info of atree maps (atree inlining branch) by @fxamacker in #377
- Reduce RAM and persistent storage by deduplicating inlined dict type info by @fxamacker in #369
- Use encoded type info to deduplicate extra data by @fxamacker in #381
- Fix error type for external errors during serialization by @fxamacker in #382
- Add PersistentSlabStorage.GetAllChildReferences() for atree inlining by @fxamacker in #392
- Add feature to enable atree inlining migration to fix references to non-existent registers by @fxamacker in #388
- Fix migration filter for old unreferenced slabs (atree inlining feature branch) by @fxamacker in #396
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
- Add ignore filters to dependabot.yml by @fxamacker in #302
- Bump safer-golangci-lint to 1.52.2 by @fxamacker in #304
- Bump codecov/codecov-action from 3.1.3 to 3.1.4 by @dependabot in #305
- Bump lukechampine.com/blake3 from 1.1.7 to 1.2.1 by @dependabot in #308
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 by @dependabot in #309
New Contributors
Full Changelog: v0.6.0...v0.8.0-rc.1