changed
CHANGELOG.md
|
@@ -2,6 +2,11 @@
|
2
2
|
|
3
3
|
This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
4
4
|
|
5
|
+ ## v0.8.7 - 2023-02-12
|
6
|
+
|
7
|
+ * Fixed
|
8
|
+ * Fix Elixir 1.15 deprecation warnings
|
9
|
+
|
5
10
|
## v0.8.6 - 2022-06-14
|
6
11
|
|
7
12
|
* Fixed
|
changed
hex_metadata.config
|
@@ -3,21 +3,22 @@
|
3
3
|
{<<"description">>,<<"A simple, no frills mDNS implementation in Elixir">>}.
|
4
4
|
{<<"elixir">>,<<"~> 1.11">>}.
|
5
5
|
{<<"files">>,
|
6
|
- [<<"lib">>,<<"lib/mdns_lite">>,<<"lib/mdns_lite/options.ex">>,
|
7
|
- <<"lib/mdns_lite/dns.ex">>,<<"lib/mdns_lite/table">>,
|
8
|
- <<"lib/mdns_lite/table/builder.ex">>,<<"lib/mdns_lite/application.ex">>,
|
9
|
- <<"lib/mdns_lite/table_server.ex">>,<<"lib/mdns_lite/info.ex">>,
|
10
|
- <<"lib/mdns_lite/utilities.ex">>,<<"lib/mdns_lite/vintage_net_monitor.ex">>,
|
11
|
- <<"lib/mdns_lite/table.ex">>,<<"lib/mdns_lite/dns_bridge.ex">>,
|
12
|
- <<"lib/mdns_lite/core_monitor.ex">>,<<"lib/mdns_lite/inet_monitor.ex">>,
|
6
|
+ [<<"lib">>,<<"lib/mdns_lite.ex">>,<<"lib/mdns_lite">>,
|
7
|
+ <<"lib/mdns_lite/vintage_net_monitor.ex">>,
|
8
|
+ <<"lib/mdns_lite/dns_bridge.ex">>,<<"lib/mdns_lite/core_monitor.ex">>,
|
13
9
|
<<"lib/mdns_lite/client.ex">>,<<"lib/mdns_lite/if_info.ex">>,
|
14
|
- <<"lib/mdns_lite/responder.ex">>,<<"lib/mdns_lite/cache.ex">>,
|
15
|
- <<"lib/mdns_lite/responder_supervisor.ex">>,<<"lib/mdns_lite.ex">>,
|
16
|
- <<".formatter.exs">>,<<"mix.exs">>,<<"README.md">>,<<"LICENSE">>,
|
17
|
- <<"CHANGELOG.md">>,<<"src">>,<<"src/mdns_lite_inet_dns.hrl">>,
|
10
|
+ <<"lib/mdns_lite/cache.ex">>,<<"lib/mdns_lite/table_server.ex">>,
|
11
|
+ <<"lib/mdns_lite/options.ex">>,<<"lib/mdns_lite/dns.ex">>,
|
12
|
+ <<"lib/mdns_lite/table.ex">>,<<"lib/mdns_lite/info.ex">>,
|
13
|
+ <<"lib/mdns_lite/utilities.ex">>,<<"lib/mdns_lite/table">>,
|
14
|
+ <<"lib/mdns_lite/table/builder.ex">>,<<"lib/mdns_lite/responder.ex">>,
|
15
|
+ <<"lib/mdns_lite/inet_monitor.ex">>,
|
16
|
+ <<"lib/mdns_lite/responder_supervisor.ex">>,
|
17
|
+ <<"lib/mdns_lite/application.ex">>,<<".formatter.exs">>,<<"mix.exs">>,
|
18
|
+ <<"README.md">>,<<"LICENSE">>,<<"CHANGELOG.md">>,<<"src">>,
|
18
19
|
<<"src/mdns_lite_inet_int.hrl">>,
|
19
20
|
<<"src/mdns_lite_inet_dns_record_adts.hrl">>,
|
20
|
- <<"src/mdns_lite_inet_dns.erl">>]}.
|
21
|
+ <<"src/mdns_lite_inet_dns.hrl">>,<<"src/mdns_lite_inet_dns.erl">>]}.
|
21
22
|
{<<"licenses">>,[<<"Apache-2.0">>]}.
|
22
23
|
{<<"links">>,
|
23
24
|
[{<<"GitHub">>,<<"https://github.com/nerves-networking/mdns_lite">>}]}.
|
|
@@ -28,4 +29,4 @@
|
28
29
|
{<<"optional">>,true},
|
29
30
|
{<<"repository">>,<<"hexpm">>},
|
30
31
|
{<<"requirement">>,<<"~> 0.7">>}]]}.
|
31
|
- {<<"version">>,<<"0.8.6">>}.
|
32
|
+ {<<"version">>,<<"0.8.7">>}.
|
changed
lib/mdns_lite/options.ex
|
@@ -154,7 +154,7 @@ defmodule MdnsLite.Options do
|
154
154
|
# This used to be called :host, but now it's :hosts. It's a list, but be
|
155
155
|
# nice and wrap rather than crash.
|
156
156
|
defp get_host_option(%{host: host}) do
|
157
|
- Logger.warn("mdns_lite: the :host app environment option is deprecated. Change to :hosts")
|
157
|
+ Logger.warning("mdns_lite: the :host app environment option is deprecated. Change to :hosts")
|
158
158
|
List.wrap(host)
|
159
159
|
end
|
160
160
|
|
|
@@ -189,7 +189,7 @@ defmodule MdnsLite.Options do
|
189
189
|
[normalized_service]
|
190
190
|
|
191
191
|
{:error, reason} ->
|
192
|
- Logger.warn("mdns_lite: ignoring service (#{inspect(service)}): #{reason}")
|
192
|
+ Logger.warning("mdns_lite: ignoring service (#{inspect(service)}): #{reason}")
|
193
193
|
[]
|
194
194
|
end
|
195
195
|
end)
|
|
@@ -223,7 +223,7 @@ defmodule MdnsLite.Options do
|
223
223
|
defp normalize_id(%{id: id}), do: {:ok, id}
|
224
224
|
|
225
225
|
defp normalize_id(%{name: name}) do
|
226
|
- Logger.warn("mdns_lite: names are deprecated now. Specify an :id that's an atom")
|
226
|
+ Logger.warning("mdns_lite: names are deprecated now. Specify an :id that's an atom")
|
227
227
|
{:ok, name}
|
228
228
|
end
|
changed
lib/mdns_lite/responder.ex
|
@@ -160,7 +160,7 @@ defmodule MdnsLite.Responder do
|
160
160
|
if state.udp do
|
161
161
|
case :socket.sendto(state.udp, data, dest) do
|
162
162
|
{:error, reason} ->
|
163
|
- Logger.warn("mdns_lite multicast send failed: #{inspect(reason)}")
|
163
|
+ Logger.warning("mdns_lite multicast send failed: #{inspect(reason)}")
|
164
164
|
|
165
165
|
:ok ->
|
166
166
|
:ok
|
changed
mix.exs
|
@@ -1,7 +1,7 @@
|
1
1
|
defmodule MdnsLite.MixProject do
|
2
2
|
use Mix.Project
|
3
3
|
|
4
|
- @version "0.8.6"
|
4
|
+ @version "0.8.7"
|
5
5
|
@source_url "https://github.com/nerves-networking/mdns_lite"
|
6
6
|
|
7
7
|
def project do
|