Changelog
0.5.0
- Add
Grains.Support.Transformerto transform messages in tests
0.5.0-rc.3
- Add pull with tags
0.5.0-rc.2
- Small bug fix
0.5.0-rc.1
- Add more options to
Grains.Recipe.to_mermaid/2.
0.5.0-rc.0
- Return error on
push/pullwhen called from a non-grain process - Add a sink to eat messages (
Grains.Support.Sink) - Make
GenGrain.successors/0andGenGrain.predecessors/0public. The functions return an error if called from outside of a grain. - Remove default_grains argument from Bread creation
- Allow Grains.periodic with multiple successors
0.3.7
- Add
Grains.route/1,2function that allows filtering message via pattern
0.3.6
- Add
GenGrain.debug_reply_chain/2helper to debug asynchronous messages
0.3.5
- Add
Grains.Support.Utilswith helper functions to inject push/pull for testing. - Add
Grains.Support.Traceto trace push/pull messages.
0.3.4
- Add
Grains.get_original_recipe!/1 - Add
Grains.Recipe.to_mermaid/1,2to create a mermaid graph from a Recipe.
0.3.3
- Add pulling through
Grains.Support.Subscriber
0.3.2
- Add pulling through timers
- Add
GenGrain.pull_with_tag/2,3. This function can be used to add information to a pull operation.
0.3.1
- Fixes an argument forwarding bug
0.3.0
- Adds
Grains.Support.Cache, a simple caching grain - Adds
Grains.Support.Publisher, a simple publisher grain - Adds
Grains.Support.Subscriber, a simple subscriber grain
0.2.0
- Adds
Grains.combine/2 - Adds
Grains.get_substate/1 - Adds
Grains.merge/2to merge two grains. The corresponding function forGrains.Recipeexisted since 0.1.0. - Adds
Grains.Supervisor.which_grains/1to retrieve the running grains at runtime - Implements
GenServerreturn values inGenGrain, making a grain more flexible - Adds
Grains.Support.DebugTimerto replace the default periodic timer for testing
0.1.2
- Adds setting a custom id
0.1.1
- Adds
GenGrain.own_full_name/0andGenGrain.full_name/1
0.1.0
Initial version.