Skip to content

v0.2.6

Compare
Choose a tag to compare
@fhunleth fhunleth released this 08 Dec 22:17
· 5 commits to main since this release
  • New feature

    • Added :event_transformer option that takes a function to transform a
      PropertyTable.Event.t() into a custom data structure for subscribers. This
      lets users abstract away the use of PropertyTable.
  • Fixes

    • The :previous_timestamp field in change events had been set to nil when
      no information was known about the previous state of the property. It's now
      set to the PropertyTable's start time to fix the typespec violation (nil
      wasn't valid) and help differentiate unknown properties due to app restarts
      vs. not being set.
    • Properties set at initialization, including restored ones, all have the same
      timestamp.