[erlang-questions] [ANN] stacktrace_compat: get_stacktrace() compatibility on OTP 21

Guilherme Andrade g@REDACTED
Sat Jun 23 19:19:35 CEST 2018


Hello list,

I’m pleased to announce the release of stacktrace_compat 1.0, a workaround
for the deprecation of erlang:get_stacktrace() on Erlang/OTP 21.

It intends on smoothing near-future maintenance of projects that are to
support both pre- and post-deprecation code by avoiding code duplication or
ungainly macros.

It replaces calls to :get_stacktrace() with references to bindings (whether
explicit or implicit) that capture the stacktrace using the new syntax.

* Overview:
https://github.com/g-andrade/stacktrace_compat/blob/master/README.md
* Hex.pm package: https://hex.pm/packages/stacktrace_compat

-- 
Guilherme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180623/4535b19c/attachment.htm>


More information about the erlang-questions mailing list