All Versions
20
Latest Version
Avg Release Cycle
121 days
Latest Release
2728 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.2.4 Changes
November 08, 2017@impl GenServer
attribute is included for all autogenerated callback functions.
-
v2.2.3 Changes
December 28, 2016- โ removed Elixir 1.4 warnings
- Bugfix:
export: __MODULE__
didn't work in operations macros
-
v2.2.2 Changes
September 01, 2016- ๐ fix compund matches with structs
-
v2.2.1 Changes
July 26, 2016- ๐ Bugfix: support compound matches
- ๐ Bugfix: support ExActor macros from other macros
-
v2.2.0 Changes
September 09, 2015- ๐ Support interface & handler specific guards (see docs for details)
- โ Remove warnings on Elixir 1.1
-
v2.1.2 Changes
March 26, 2015- ๐ Bugfix: pattern matching on
nil
state didn't work properly
- ๐ Bugfix: pattern matching on
-
v2.1.1 Changes
March 24, 2015- ๐ Relaxed Elixir version dependency to
~> 1.0
- ๐ Bugfix: Proper lineno generation in client code.
- ๐ Improve pattern matching handling (see docs for details)
- ๐ Relaxed Elixir version dependency to
-
v2.1.0 Changes
March 22, 2015- โ Added parameterizable timeout in calls (see docs for defcall)
-
v2.0.1 Changes
December 09, 2014- ๐ Fixed the docs link in
mix.exs
- ๐ Fixed the docs link in
-
v2.0.0 Changes
November 15, 2014๐ New features
defstart
macro which simplifies definition of starters.- ๐
defmulticall
anddefabcast
macros for distributed support. defhandlecall
,defhandlecast
, anddefhandleinfo
for implementation of handlers only- 0๏ธโฃ default arguments can be specified via
\\
defcall
anddefcast
can be called without specifying the body- ๐ Support for
timeout
andhibernate
replies.
๐ฅ Breaking changes
- Pattern matching now works on interface functions as well (previously it was done only in handler functions).
- Starter functions are not automatically generated anymore. You can use
defstart
macro to create them. - When calling
use ExActor.*
options:initial_state
, and:starters
are not available anymore. definfo
is renamed todefhandleinfo
- Option
export: false
is not available indefcall
anddefcast
. If you want to implement just handlers, usedefhandle*
Migration from 1.0
For migration examples, check here and here
A non exhaustive list of changes you may have to do in your project:
- โ Add explicit starters via
defstart
. If you need to supportstart
andstart_link
, you can do it like this:
defstart start(x, y) defstart start_link(x, y) do # initialization runs for both start/2 and start_link/2 end
- Replace all
definit
withdefstart
if possible, or use body-lessdefstart
with an explicitdefinit
. - If you used
initial_state
, set the state explicitly indefstart
. - Replace
definfo
withdefhandleinfo
.