Skip to content

Commit

Permalink
Update deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
sverker committed Jul 2, 2024
1 parent 42c967f commit 4667d78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file modified bootstrap/lib/stdlib/ebin/otp_internal.beam
Binary file not shown.
8 changes: 8 additions & 0 deletions lib/stdlib/src/otp_internal.erl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ obsolete(calendar, local_time_to_universal_time, 1) ->
{deprecated, "use calendar:local_time_to_universal_time_dst/1 instead"};
obsolete(code, lib_dir, 2) ->
{deprecated, "this functionality will be removed in a future release"};
obsolete(crypto, enable_fips_mode, 1) ->
{deprecated, "use config parameter fips_mode"};
obsolete(crypto, private_decrypt, 4) ->
{deprecated, "do not use"};
obsolete(crypto, private_encrypt, 4) ->
Expand All @@ -46,6 +48,10 @@ obsolete(crypto, public_encrypt, 4) ->
{deprecated, "do not use"};
obsolete(crypto, rand_uniform, 2) ->
{deprecated, "use rand:uniform/1 instead"};
obsolete(crypto, start, 0) ->
{deprecated, "use application:start(crypto) instead"};
obsolete(crypto, stop, 0) ->
{deprecated, "use application:stop(crypto) instead"};
obsolete(dbg, stop_clear, 0) ->
{deprecated, "use dbg:stop/0 instead", "OTP 27"};
obsolete(disk_log, inc_wrap_file, 1) ->
Expand Down Expand Up @@ -330,5 +336,7 @@ obsolete_callback(gen_server, format_status, 2) ->
{deprecated, "use format_status/1 instead"};
obsolete_callback(gen_statem, format_status, 2) ->
{deprecated, "use format_status/1 instead"};
obsolete_callback(gen_fsm, _, _) ->
{deprecated, "use the 'gen_statem' module instead"};
obsolete_callback(_,_,_) -> no.

0 comments on commit 4667d78

Please sign in to comment.