commanded v0.19.0 Release Notes

Release Date: 2019-07-03 // 8 months ago
  • ✨ Enhancements

    • 📇 Update typespec for data and metadata fields in Commanded.EventStore.EventData struct (#246).
    • Add include_execution_result and aggregate_version to typespec for router command dispatch (#262).
    • ➕ Add .formatter.exs to Hex package (#247).
    • Event upcasting (#263).
    • 👌 Support :ok tagged tuple events from aggregate (#268).
    • Modify Commanded.Registration.start_child/3 to pass a child_spec (#273).
    • Add supervisor_child_spec/2 to Commanded.Registration behaviour (#277) used by Commanded Horde Registry.
    • Ensure Commanded can be compiled when optional Jason dependency is not present (#286).
    • 🛠 Fix Aggregate initialization races (#287).
    • 👌 Support {:system, varname} format in Phoenix PubSub config (#291).

    💥 Breaking changes

    • 👉 Use DateTime instead of NaiveDateTime for all datetimes (#254).

      This affects the created_at field defined in the Commanded.EventStore.RecordedEvent. You will need to migrate from NaiveDateTime to DateTime if you use this field in your code (such as in an event handler's metadata).