0.1.5
Nothing here changes runtime behavior. The DSL's module-valued options stop creating compile-time dependencies on the resources they name, and the package starts shipping the documentation and agent rules it should have had from the first release.
Fixed
- Module options no longer create compile-time dependencies. The
event_logoption inAshEventLog.Resourceand thedestinationargument ofpersist_actor_primary_keyinAshEventLog.EventLogare declared asno_depend_modules. Their aliases are still expanded, so nothing changes at runtime, but referencing a resource no longer compiles against it. This avoids compile-time dependency cycles — a tracked resource pointing at the event log resource, which points back at an actor resource — and stops unrelated resources from recompiling whenever the event log or an actor resource changes. It matches how Ash itself declares module-valued DSL options such as a relationship'sdestination.
Added
usage-rules.md, shipped in the package, so consumers can pull AshEventLog's rules into their agent instructions withmix usage_rules.sync.- Generated DSL cheat sheets under
documentation/dsls/, wired into the ExDoc output. Regenerate them withmix spark.cheat_sheets;mix docsdoes it for you. .formatter.exsexportslocals_without_parensfor the DSL. Consumers that add:ash_event_logtoimport_depsgetevent_logblocks formatted correctly instead of having parentheses inserted.- A
LICENSEfile carrying the MIT text the package has always declared.
Changed
- The published package no longer contains
priv/. Every previous release shipped the test app's migrations and resource snapshots by accident.
0.1.4
Fixed
- Atomic updates no longer log duplicate events.
0.1.3
Added
only_actionson theevent_logsection, an allowlist alternative toignore_actions. The two are mutually exclusive.
0.1.2
Fixed
- Primary keys implementing
String.Charsare serialized correctly.
0.1.1
Fixed
- Better handling of UUID primary keys when building an event's
record_id.
0.1.0
Added
- Initial release: the
AshEventLog.ResourceandAshEventLog.EventLogextensions, for automatic event logging and audit trails on Ash resources.