Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Releases: deltadoc/text_delta

v1.2.0

29 May 13:05
bb2871f
Compare
Choose a tag to compare

Added

  • &TextDelta.apply/2 and &TextDelta.apply!/2

Changed

  • Moved repository under deltadoc organisation.
  • Text state is now represented with TextDelta.state type rather than
    TextDelta.document throughout the codebase. TextDelta.document is still
    there in form of an alias for TextDelta.state.

v1.1.0

02 May 19:27
Compare
Choose a tag to compare

Added

  • Property-based tests for composition, transformation and compaction

Fixed

  • Insert duplication bug during delta compaction
  • Delete/Delete misbehaviour bug during composition

Changed

  • TextDelta.Delta is now just TextDelta
  • TextDelta.Delta.* modules moved into TextDelta.*
  • TextDelta now generates and operates on %TextDelta{} struct
  • TextDelta.Delta is still there and works like before in form of a BC
    layer, so your existing code would still work while you upgrade. To be
    removed in 2.x
  • Slightly improved documentation across modules

v1.0.2

29 Mar 10:05
e397161
Compare
Choose a tag to compare

Fixed

  • Bug when composition of delete with larger retain resulted in broken delta

Removed

  • Config

v1.0.1

29 Mar 10:05
9fceaec
Compare
Choose a tag to compare

Added

  • Test cases for string-keyed maps as attributes
  • More context and information to Readme
  • Changelog

Changed

v1.0.0

23 Mar 11:57
75de263
Compare
Choose a tag to compare

Added

  • Delta construction and manipulation logic
  • Attributes support in insert and retain
  • Delta composition and transformation with attributes supported