Skip to content

v2.0.0

Latest

Choose a tag to compare

@dchest dchest released this 06 Apr 09:59

Migration from v1.x.x

fossil-delta.js is now an ES module and there is no minified version included.

API renames:

  • create -> createDelta
  • apply -> applyDelta
  • outputSize -> getDeltaTargetSize

Important: createDelta and applyDelta now return the same type as the input (Uint8Array if given Uint8Array, Array if given Array), instead of always returning an Array.

Types for TypeScript are now included.