- Add typespecs for all the moving parts.
- Small refactors relating to this.
- Run Elixir code formatter.
- CI will now fail if the formatter fails.
- Add deprecation warning if users try to setup a network interface with an atomized interface instead of a bitstring.
- Changed
setup/2
API to not return delta from SystemRegistry - Changed
teardown/1
API similarly. - Added docs for general usage.
- Bug Fixes
- Fix wired DHCP manager, not claiming ip address.
- Enhancements
- Fix reporting of unhandled DHCP events.
- Enhancements
- Make
:dhcp
the defaultipv4_address_method
when unspecified. - Return interface status from SystemRegistry instead of querying
nerves_network_interface
. This ensures that all fields are returned. - Various documentation improvements
- Make
- Enhancements
- Fix deprecation warnings for Elixir 1.5
- Enhancements
- Support compilation on OSX. It won't work, but it's good enough for generating docs and pushing to hex.
This is the initial nerves_network release after the nerves_interim_wifi rename.
- Bug Fixes
- Catch all unspecified context switches and safely return in DHCP_Manager
-
Enhancements
- Replaced Registry with SystemRegistry
- Allow default configuration to be set in the application config
- Lengthened the DHCP retry interval to 60 seconds
- Added Link Local support
- Pass udhcpc the hostname from :inet.gethostname/0 instead of deriving it from the node name
-
Bug fixes
- Updated DHCP state machine to handle edge cases causing a crash.
- Fixed issue with udhcpc producing zombies
- Bug Fixes
- Bumped versions for dependencies
- Enhancements
- Replaced GenEvent with Registry
- Bug fixes
- Handle ifadded in down state
- Clean up warnings for Elixir 1.4
- Bug fixes
- Handle strange latent ifdown
- Bug fixes
- Don't crash on invalid wpa_supplicant settings - just wait for the caller to fix them and carry on. Crashing turned out to be confusing since the error were things like the WPA password was too short.
Initial release