Skip to content

Releases: nerves-project/property_table

v0.2.5

12 Dec 12:41
Compare
Choose a tag to compare
  • Fix incorrect typespec for PropertyTable.options()

v0.2.4

27 Aug 11:54
Compare
Choose a tag to compare
  • Updates
    • Fix unintended exceptions being raised when the filesystem updates start
      failing when table persistence is enabled
    • Reduce time when an unexpected VM exit could result in a corrupt persisted
      file. The backup would be usable, but now the critical steps only involve
      renaming or deleting files.

v0.2.3

12 Apr 22:28
Compare
Choose a tag to compare
  • Updates
    • Fix compiler warnings with Elixir 1.15

v0.2.2

12 Apr 22:27
Compare
Choose a tag to compare
  • Updates
    • Fixed missing :crypto dependency warning.

v0.2.1

24 Aug 18:50
Compare
Choose a tag to compare
  • New features
    • Automatic persistence and snapshots for PropertyTables. This makes it
      possible to use PropertyTable for small key/value stores like those for
      storing runtime settings especially for Nerves devices. PropertyTable
      protects against corruption and unexpected reboots that happen mid-write.

v0.2.0

26 Apr 02:13
Compare
Choose a tag to compare
  • Backwards incompatible changes

    • nil no longer deletes a property from the table. In other words, it's ok to
      for properties to be nil now.
    • PropertyTable.clear/2 and PropertyTable.clear_all/2 were renamed to
      PropertyTable.delete/2 and PropertyTable.delete_matches/2 respectively.
    • PropertyTable.put/3 raises if you give it an invalid property rather than
      returning an error tuple. Since these are usually programming errors anyway,
      this change removes the need for a return value check for Dialyzer.
  • New features

    • Added PropertyTable.put_many/2. It's possible to add many properties to
      the table atomically. Change notifications still only get sent for
      properties that really changed.

v0.1.0

22 Apr 00:42
Compare
Choose a tag to compare

Initial release

This code was extracted from vintage_net, simplified and modified to support
more use cases.