Changelog - okcontract/cells GitHub Wiki

0.3.3 - Sep 9, 2024

  • Feature: debug.ee command lists only originating errors in Sheet
  • Feature: logger is an automated-logger for any Cell
  • (breaking change): mapFlat has been renamed to flattenCellArray
  • flattenCellArray supports null CellArray
  • (breaking change): initialValue: returns on null value
  • Cleanup: minor fixes

0.3.2 - Jul 25, 2024

  • Feature: debug p command can now print a range
  • Cleanup: array sort types

0.3.1 - May 27, 2024

  • (breaking change): jsonStringify now exports Rationals as numbers until 1e9
  • (breaking change): SheetProxy.destroy uses garbage collection
  • Feature: sheet.collection() forces garbage collection
  • Feature: initialValue
  • Feature: debouncer
  • Feature: uncellify has UncellifyOptions: getter sets a custom getter, errorsAsValues does not throw cell errors
  • Feature: flattenObject
  • Minor internal fixes

0.3.0 - Apr 26, 2024

  • Feature (breaking change): collect removes whole subgraph by default
  • Feature (breaking change): proxy.get resolves pointers
  • Feature (breaking change): cellify and uncellify are now exported
  • Feature: clock creates a special ValueCell that updates its tick every delay
  • Feature: copy creates a ValueCell initially synced once from any cell
  • Feature: cellify has failOnCell option
  • Feature: Sheet.debug accepts functions for both info and data
  • Fix: jsonStringify failOnCell with recursive cells
  • Cleanup: rewrite all debug messages using Sheet.debug

0.2.4 - Apr 15, 2024

  • Feature: new object utilities: mapObject, reduceObject, asyncReduce
  • Feature: follow follows a path in a Cellified tree
  • Feature: isObject utility
  • mapArray passes each array cell as third argument to the map function
  • reduce passes the total length as third argument to the reducer function
  • jsonStringify has a new failOnCell option

0.2.3

  • Feature: nextSubscriber subscribes to get the next value of a cell
  • Feature: cell update directly from a pointer

0.2.2

  • Feature: jsonStringify export any value containing cells to JSON

0.2.1

  • Feature: sort for arrays

0.2.0

  • Feature: Garbage collection
  • Feature: GC utilities (collector, reuseOrCreate)
  • Feature: More array utilities including filter, filterPredicateCell, find, findCell, findIndex, first, last, mapArray, mapArrayCell, reduce

0.1.7

0.1.6

  • Debugger, a new utility class for interactive debugging
  • mapArray accepts async functions

0.1.5

  • Utilities to manipulate arrays: mapArray, mapArrayCell, reduce, sort, filter
  • Remove deprecated KeyValueStore
  • _cellify and _uncellify for tests (not exported at package level yet)
  • Switch to biome for formatting and linting

0.1.4

  • Manage rejections in .set() promises
  • Reinstate overloaded type definitions for .map()