From b04ca00b55ac0aeb99754a425705a868afc648f6 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Wed, 25 Sep 2019 09:21:32 -0400 Subject: [PATCH] v0.6.0 release --- CHANGELOG.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ mix.exs | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28950291..d631380b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,54 @@ # Changelog +## v0.6.0 + +IMPORTANT: This release contains a LOT of changes. VintageNet is still pre-1.0 +and we're actively making API changes as we gain real world experience with it. +Please upgrade carefully. + +* Incompatible changes + * All IP addresses are represented as tuples. You can still specify IP + addresses as strings, like "192.168.1.1", but it will be converted to tuple + form. When you `get` the configuration, you'll see IP addresses as tuples. + This means that if you save your configuration and revert to a previous + version of VintageNet, the settings won't work. + * WiFi network configuration is always under the `:networks` key. This was + inconsistent. Configuration normalization will update old saved + configurations. + * Support for the IPv4 broadcast IP address has been removed. Existing support + was incomplete and slightly confusing, so we decided to remove it for now. + * All IP address subnets are represented by their prefix length. For example, + 255.255.255.0 is recorded as a subnet with prefix length 24. Configuration + normalization converts subnet masks to prefix length now. + +* New features + * USB gadget support - See `VintageNet.Technology.Gadget`. It is highly likely + that we'll refactor USB gadget support to its own project in the future. + * Add `:verbose` key to configs for enabling debug messages from third party + applications. Currently `:verbose` controls debug output from + `wpa_supplicant`. + * Allow users to pass additional options to `MuonTrap` so that it's possible + to run network daemons in cgroups (among other things) + +* Bug fixes + * Networking daemons should all be supervised now. For example, `udhcpc` + previously was started by `ifup` and under many conditions, it was possible + to get numerous instances started simultaneously. Plus failures weren't + detected. + * No more `killall` calls to cleanup state. This had prevented network + technologies from being used on multiple interfaces. + * No more `ifupdown`. This was very convenient for getting started, but has + numerous flaws. Search the Internet for rants. This was replaced with direct + calls to `ip link` and `ip addr` and adding network daemons to supervision + trees. + +* Known issues + * Static IP addressing is still not implemented. It's only implemented enough + for WiFi AP mode and USB gadget mode to work. We hope to fix this soon. + * It's not possible to temporarily configure network settings. At the moment, + if persistence is enabled (the default), configuration updates are always + saved. + ## v0.5.1 * Bug fixes diff --git a/mix.exs b/mix.exs index d261fc36..ed5fc590 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule VintageNet.MixProject do use Mix.Project - @version "0.5.1" + @version "0.6.0" @source_url "https://github.com/nerves-networking/vintage_net" def project do