diff --git a/CHANGELOG.md b/CHANGELOG.md index d85894a11d..74bf09a8de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,25 @@ # v0.14.0-dev * Enhancements + * [Kernel] Store documentation in the abstract code to avoid loading them when the module is loaded + * [String] Add `String.chunk/2` * Bug fixes + * [Kernel] Ensure Mix `_build` structure works on Windows when copying projects * Soft deprecations (no warnings emitted) * Deprecations + * [Access] `Access.access/2` is deprecated in favor of `Access.get/2` + * [Dict] `Dict.Behaviour` is deprecated in favor of `Dict` + * [Kernel] `Application.Behaviour`, `GenEvent.Behaviour`, `GenServer.Behaviour` and `Supervisor.Behaviour` are deprecated in favor of `Application`, `GenEvent`, `GenServer` and `Supervisor` + * [Kernel] `defexception/3` is deprecated in favor of `defexception/1` + * [Kernel] `raise/3` is deprecated in favor of `reraise/2` + * [Kernel] `set_elem/3` is deprecated in favor of `put_elem/3` * Backwards incompatible changes - + * [Access] `Kernel.access/2` no longer exists and the `Access` protocol now uses `get/2` instead of `access/2` + * [Kernel] Retrieving docs as `module.__info__(:docs)` is deprecated, instead `Code.get_docs/2` must be used # v0.13.3 (2014-05-24) diff --git a/lib/elixir/src/elixir_dispatch.erl b/lib/elixir/src/elixir_dispatch.erl index 7bc91ca560..f844f85204 100644 --- a/lib/elixir/src/elixir_dispatch.erl +++ b/lib/elixir/src/elixir_dispatch.erl @@ -520,6 +520,8 @@ deprecation('Elixir.GenEvent.Behaviour', '__using__', _) -> "use GenServer instead"; deprecation('Elixir.Supervisor.Behaviour', '__using__', _) -> "use Supervisor instead"; +deprecation('Elixir.Kernel', set_elem, 3) -> + "use put_elem/3 instead"; deprecation('Elixir.Kernel', raise, 3) -> "use reraise/2 instead"; deprecation('Elixir.Kernel', defexception, 2) ->