summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2018-07-10 19:35:23 +0200
committerJosé Valim <jose.valim@plataformatec.com.br>2018-07-10 19:35:23 +0200
commit34a4a49af0508e939a2595242dfdea3609351edf (patch)
treee57cb69ceff5612a2f7645cbc5c7241595c2f57c
parent9442ab3cff226e57366d91b09be3e92460ce74f9 (diff)
downloadelixir-34a4a49af0508e939a2595242dfdea3609351edf.tar.gz
Update TODO and CHANGELOG
-rw-r--r--CHANGELOG.md7
-rw-r--r--lib/logger/lib/logger.ex4
2 files changed, 10 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6aa7e3d0d..dc9d955a4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -126,6 +126,7 @@ Percentage | Module
* [Kernel] Warn when comparing structs using the `>`, `<`, `>=` and `<=` operators
* [Kernel] Warn on unsupported nested comparisons such as `x < y < z`
* [Kernel] Warn if redefining documentation across clauses of the same definition
+ * [Kernel] Warn on unnecessary quotes around atoms, keywords and calls
* [Macro] Add `Macro.special_form?/2` and `Macro.operator?/2` that returns true if the given name/arity is a special form or operator respectively
* [Macro.Env] Add `Macro.Env.vars/1` and `Macro.Env.has_var?/2` that gives access to environment data without accessing private fields
* [Regex] Include endianness in the regex version. This allows regexes to be recompiled when an archive is installed in a system with a different endianness
@@ -200,10 +201,16 @@ Percentage | Module
### 3. Soft-deprecations (no warnings emitted)
+#### Elixir
+
* [Code] Deprecate `Code.load_file/2` in favor of `Code.compile_file/2`
* [Code] Deprecate `Code.loaded_files/0` in favor of `Code.required_files/0`
* [Code] Deprecate `Code.unload_files/1` in favor of `Code.unrequire_files/1`
+#### Logger
+
+ * [Logger] `compile_time_purge_level` is deprecated in favor of `compile_time_purge_matching`
+
### 4. Hard-deprecations
#### Elixir
diff --git a/lib/logger/lib/logger.ex b/lib/logger/lib/logger.ex
index ec323a869..ab8ac5f47 100644
--- a/lib/logger/lib/logger.ex
+++ b/lib/logger/lib/logger.ex
@@ -827,7 +827,9 @@ defmodule Logger do
end)
end
- # TODO: Deprecate compile_time_purge_level in favor of compile_time_purge_matching on 1.9
+ # TODO: Either deprecate compile_time_purge_level in favor of
+ # compile_time_purge_matching or document it again on 1.9 based
+ # on feedback
defp maybe_log(level, data, metadata, caller) do
min_level = Application.get_env(:logger, :compile_time_purge_level, :debug)