Breaking Changes
The SparseSharesNeeded function now accepts a second argument to indicate if the share has a signer:
-func SparseSharesNeeded(sequenceLen uint32) (sharesNeeded int) {
+func SparseSharesNeeded(sequenceLen uint32, containsSigner bool) (sharesNeeded int) {The NextShareIndex function now returns an error argument:
-func NextShareIndex(cursor, blobShareLen, subtreeRootThreshold int) int {
+func NextShareIndex(cursor, blobShareLen, subtreeRootThreshold int) (int, error) {What's Changed
- chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #179
- chore(deps): bump celestiaorg/.github from 0.6.3 to 0.6.4 by @dependabot[bot] in #178
- chore(deps): bump github.com/celestiaorg/nmt from 0.24.0 to 0.24.1 by @dependabot[bot] in #180
- chore(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #181
- chore(deps): bump google.golang.org/protobuf from 1.36.8 to 1.36.9 by @dependabot[bot] in #185
- chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #182
- chore: use the updated square size upper bound for worst case share index by @evan-forbes in #183
- chore!: delete deprecated functions by @rootulp in #177
- chore: remove auto-request-review automation by @rootulp in #189
- test: verify go-square v2.3.2 breaking change by @rootulp in #186
- fix(inclusion)!: prevent division by zero runtime panics by @notlelouch in #157
- refactor!: NewShare returns value instead of pointer by @rootulp in #190
- chore: add retraction of v2.3.2 to go.mod by @cmwaters in #191
- revert: NewShare returns value instead of pointer" by @rootulp in #193
- chore: prep for v3 release by @rootulp in #192
New Contributors
- @evan-forbes made their first contribution in #183
- @notlelouch made their first contribution in #157
Full Changelog: v2.3.2...v3.0.0