All Versions
40
Latest Version
Avg Release Cycle
49 days
Latest Release
88 days ago

Changelog History
Page 2

  • v0.17.2

    November 09, 2018

    ✨ Enhancements

    • ✂ Remove default error/4 callback function from process manager to silence deprecation warning.
  • v0.17.1

    October 08, 2018

    ✨ Enhancements

    • 👌 Support Phoenix.PubSub v1.1.0.

    🐛 Bug fixes

    • 0️⃣ Set default aggregate lifespan timeout to :infinity (#200).
  • v0.17.0

    July 24, 2018

    ✨ Enhancements

    • Ability to globally override include_execution_result and include_aggregate_version in environment config (#168).
    • 🖐 Handle custom type serialization in snapshot source type (#165).
    • 🛠 Fix compiler warnings in generated code (routers, event handlers, and process managers).
    • ➕ Add InMemory.reset!/0 for testing purposes (#175).
    • 🖨 Process manager indentity/0 function (#334).

    🐛 Bug fixes

    • 🔧 Ensure process managers can be configured with :strong consistency.
    • 🛠 Fix error when subscription process already tracked (#180).

  • v0.16.0

    • 👌 Support composite command routers (#111).
    • Aggregate state snapshots (#121).
    • 🆕 New error/3 callback for process manager and deprecated error/4 (#124)
    • 👍 Router support for identity prefix function.
    • Retry command execution on concurrency error (#132).
    • Event handler error/3 callback (#133).
    • 👌 Support distributed dispatch consistency (#135).
    • Defer event handler and process router init until after subscribed (#138).
    • Replace aggregate lifespan after_command/1 callback with after_event/1 (#139).
    • 👌 Support process manager routing to multiple instances (#141).
    • 👍 Allow a default consistency to be set via the application env (#150).
    • Command dispatch consistency using explicit handler names (#161).

    💥 Breaking changes

    • The Commanded.Aggregates.AggregateLifespan behaviour has been changed from after_command/1 to after_event/1. You will need to update your own lifespan modules to use events instead of commands to shutdown an aggregate process after an inactivity timeout.

    ⬆️ Upgrading

    ⬆️ Please ensure you upgrade the following event store dependencies.

    Using the Elixir EventStore:

    • 📦 eventstore to v0.14.0
    • commanded_eventstore_adapter to v0.4.0

    Using Greg Young's Event Store:

    • commanded_extreme_adapter to v0.5.0

  • v0.15.1

    🐛 Bug fixes

    • Event handler child_spec/1 must include config options defined by use macro.
  • v0.15.0

    ✨ Enhancements

    • 🖨 Process manager command dispatch error handling (#93).
    • Event handlers may define an init/0 callback function to start any related processes. It must return :ok, otherwise the handler process will be stopped.
    • Add include_execution_result option to command dispatch (#96).
    • ➕ Add Commanded.Aggregate.Multi (#98) as a way to return multiple events from a command dispatch that require aggregate state to be updated after each event.
    • Correlation and causation ids (#105).
    • 🎉 Initial support for running on a cluster of nodes (#80).

    🐛 Bug fixes

    • ➕ Adding a prefix to the aggregate in the router breaks the strong consistency of command dispatch (#101).

    ⬆️ Upgrading

    ⬆️ Please ensure you upgrade the following event store dependencies.

    Using the Elixir EventStore:

    • 📦 eventstore to v0.13.0
    • commanded_eventstore_adapter to v0.3.0

    Using Greg's Event Store:

    • commanded_extreme_adapter to v0.4.0

  • v0.14.0

    ✨ Enhancements

    • Dispatch command with :eventual or :strong consistency guarantee (#82).
    • ➕ Additional stream prefix per aggregate (#77).
    • 📇 Include custom metadata during command dispatch (#61).
    • Validate command dispatch registration in router (59).

    ⬆️ Upgrading

    ⬆️ Please ensure you upgrade the following event store dependencies.

    Using the Elixir EventStore:

    • 📦 eventstore to v0.11.0
    • commanded_eventstore_adapter to v0.2.0

    Using Greg's Event Store:

    • commanded_extreme_adapter to v0.3.0

  • v0.13.0

    ✨ Enhancements

    • Command dispatch optionally returns aggregate version, using include_aggregate_version: true during dispatch.

  • v0.12.0

    ✨ Enhancements

    • Commanded.Event.Handler and Commanded.ProcessManagers.ProcessManager macros to simplify defining, and starting, event handlers and process managers. Note the previous approach to defining and starting may still be used, so this is not a breaking change.

  • v0.11.0

    ✨ Enhancements

    • Shutdown idle aggregate processes (#43).