While using inaka/sumo_db_pgsql I noticed that worker_pool is using the already deprecatedgen_fsm:
[gorre@uplink erl_hulk]$ rebar3 dialyzer
...
===> Fetching sumo_db_pgsql ({git,
"git://github.com/inaka/sumo_db_pgsql.git",
{ref,
"849ef56ef4f4bcca09e55cfa24603d6e6c56e648"}})
===> Fetching epgsql ({pkg,<<"epgsql">>,<<"3.3.0">>})
===> Fetching sumo_db ({pkg,<<"sumo_db">>,<<"0.7.3">>})
...
===> Compiling worker_pool
===> Compiling _build/default/lib/worker_pool/src/wpool_fsm_process.erl failed
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:56: gen_fsm:start_link/4 is deprecated and will be removed in a future release; use gen_statem:start_link/4
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:61: gen_fsm:send_event/2 is deprecated and will be removed in a future release; use gen_statem:cast/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:65: gen_fsm:sync_send_event/2 is deprecated and will be removed in a future release; use gen_statem:call/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:69: gen_fsm:sync_send_event/3 is deprecated and will be removed in a future release; use gen_statem:call/3
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:73: gen_fsm:send_all_state_event/2 is deprecated and will be removed in a future release; use gen_statem:cast/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:77: gen_fsm:sync_send_all_state_event/2 is deprecated and will be removed in a future release; use gen_statem:call/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:83: gen_fsm:sync_send_all_state_event/3 is deprecated and will be removed in a future release; use gen_statem:call/3
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:88: gen_fsm:send_event/2 is deprecated and will be removed in a future release; use gen_statem:cast/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:92: gen_fsm:sync_send_all_state_event/2 is deprecated and will be removed in a future release; use gen_statem:call/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:294: gen_fsm:reply/2 is deprecated and will be removed in a future release; use gen_statem:reply/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:297: gen_fsm:reply/2 is deprecated and will be removed in a future release; use gen_statem:reply/2
_build/default/lib/worker_pool/src/wpool_fsm_process.erl:300: gen_fsm:reply/2 is deprecated and will be removed in a future release; use gen_statem:reply/2
I think it would be nice to review and upgrade the (internal) dependencies of sumo_db and sumo_db_pgsql.
While using
inaka/sumo_db_pgsql
I noticed thatworker_pool
is using the already deprecatedgen_fsm
:I think it would be nice to review and upgrade the (internal) dependencies of
sumo_db
andsumo_db_pgsql
.