Skip to content

Changelog

0.5.0 Latest

⚠ BREAKING CHANGES

  • synapse-core: drop fundedUntilEpoch, add grossCoverageInEpochs (#760)
  • typehash: existing session keys for DeleteDataSetPermission must be re-minted. Passing a stale session key to Synapse.create() throws because the permission hash no longer matches.

Features

  • enhance PDP provider handling with active product checks and add tests (e20d2e5)
  • synapse-core: add epochsToHours and epochsToDays utilities (32622ff)
  • synapse-core: add runwayInEpochs to account state resolution (d6d566c)
  • synapse-core: drop fundedUntilEpoch, add grossCoverageInEpochs (#760) (0b4772c)
  • synapse-core: harden encodePDPCapabilities (d5e49cd)
  • synapse-core: normalize sp-registry zero-state returns (96b8f2a)
  • synapse-core: refactor PDP capability handling and improve validation (4607b96)
  • synapse-core: validate sp-registry writes before simulate (d14ca74)

Bug Fixes

  • adjust tsconfigs for TypeScript 6 compatibility (a1dc9e5)
  • enhance pagination logic and add validation for batch size (#750) (cbe3bd6)
  • normalize empty outputs in fwss (#752) (52cd636)
  • normalize network error message (#747) (1b18451)
  • synapse-core: use FILECOIN_SERVICES_GIT_REF for the ref and add strict validation (#762) (79860d1)
  • typehash: rename DeleteDataSet typehash param (#757) (5ce89d0)

Chores

  • clarify currentEpoch in resolveAccountState (ca589fa)
  • update dependencies and knip fixes (#746) (5e1dac8)

0.4.1

Features

  • use PDPVerifier.findPieceIdsByCid for efficient CID→ID lookups (#718) (3ac48a9)

Bug Fixes

  • capture error cause in serialisation (#727) (d0f3372)
  • fix out of gas problems with getClientDataSets (#734) (c49c18e)
  • normalize empty outputs for pdp-verifier (#723) (187e8a4)
  • remove custom fetch for pulled POSTs (#732) (9b63e7e)

Chores

  • update msw package version to 2.12.14 in workspace and mock service worker files (4865ff7)
  • update to knip 6 (c61d771)

0.4.0

⚠ BREAKING CHANGES

  • rename getProviderIds to getEndorsedProviderIds and getApprovedProviders to getApprovedProvidersIds
  • cleanup sp entrypoint

Features

  • cleanup sp entrypoint (9bb9f26)
  • core: preserve non-standard SP registry capabilities in PDPOffering (#687) (716e309)
  • rename getProviderIds to getEndorsedProviderIds and getApprovedProviders to getApprovedProvidersIds (eced30c)
  • synapse-core: support paginated client dataset reads from FWSS (#698) (6435cc2)

Bug Fixes

  • rename getApprovedProvidersIds to getApprovedProviderIds and update related imports (2407514)

Chores

  • update providers ids new names and return type in more places (80799c0)

0.3.3

Bug Fixes

  • remove unused storage cost calculation utility and export zod schemas (1fd793b)

Chores

  • update biome and fix issues (f5e8abd)

0.3.2

Bug Fixes

  • core: fall back to Blob fetch body when ReadableStream not supported (#681) (6142cc4)

Chores

  • abi: update ABI for 1.2.0 filecoin-services release (#688) (0259413)

0.3.1

Features

Bug Fixes

  • pieceStatus confuses piece ownership. Closes #296 (#655) (be76ad1)
  • support multi sp upload flow in react and demo (#675) (7f70914)

0.3.0

⚠ BREAKING CHANGES

  • New synapse costs API (#632)

Features

0.2.3

Bug Fixes

  • core: replace getChain with asChain to preserve custom chain configs (#643) (fdc80bc)
  • session-key: use accountless client for getExpirations reads (#645) (268a736)

0.2.2

Features

  • storage: extract provider selection to synapse-core and update docs for multi-copy (ae0eea9)
  • synapse-core: add SP-to-SP piece pull functionality (#544) (afe0ae0)

Chores

  • master: release synapse-core 0.2.2 (92fd0cb)
  • master: release synapse-sdk 0.37.2 (c4396e1)

0.2.1

Features

Bug Fixes

  • metadata: validate metadata values are strings before length check (#615) (be6133f)
  • pay: require explicit allowances when approving custom operators (#616) (b5820c9)

Chores