Skip to content

Latest commit

 

History

History
209 lines (123 loc) · 6.9 KB

RELEASE_NOTES.md

File metadata and controls

209 lines (123 loc) · 6.9 KB

v2.17.1

  • Fix verbose output for running a Swift command.
  • Exit Swift programs with code 1 on error.
  • Remove rexml dependency, no longer needed.

v2.17.0

  • Remove all remaining uses of the 'airport' command.
  • Remove 'available_network_info' command which required the 'airport' command.
  • Remove extended information in the 'info' command output, which required the 'airport' command.
  • Remove unused ModelValidator class.
  • In README, update license reference and make other edits.

v2.16.1

  • Fix airport deprecations' removal of listing all networks and disconnecting from a network by using Swift scripts.

v2.16.0 (2024-04)

  • Handle deprecation of the airport command starting at Mac OS 14.4.
  • Add hotspot_login_required functionality.
  • Change 'port' to 'interface' in some names.
  • Add to external resources: captive.apple.com, librespeed.org
  • Change license from MIT to Apache 2.

v2.15.2

  • Improve support for 'hotspot login required'.
  • Add 'hotspot_login_required' field to info hash, & on connect, opens captive.aple.com page if needed.
  • Change license from MIT to Apache 2.

v2.15.1

  • Fix bug; when calling connect with an SSID with leading spaces, a warning was erroneously issued about the SSID.

v2.15.0

  • Allow using symbols in the 'nameservers' subcommands.
  • Modify forget method to allow passing a single array of names, as returned by pr.grep, for example.
  • Output duration of http get's.

v2.14.0

  • ls_avail_nets command now outputs access points in signal strength order.
  • Add logo to project, show it in README.md.

v2.13.0

  • Fix: network names could not be displayed when one contained a nonstandard character (e.g. D5 for a special apostrophe in Mac Roman encoding).
  • Fix: some operations that didn't make sense with WiFi off were attempted anyway; this was removed.

v2.12.0

  • Change connected_to_internet?. Use 'dig' to test name resolution first, then HTTP get. Also, add baidu.com for China where google.com is blocked.
  • Remove ping test from connected_to_internet?. It was failing on a network that had connectivity (Syma in France).
  • Remove trailing newline from MAC address.
  • Fix nameservers command to return empty array instead of ["There aren't any DNS Servers set on Wi-Fi."] (output of underlying command)when no nameservers.

v2.11.0

  • Various fixes and clarifications.
  • Change implementation of available_network_names to use REXML; first implemented w/position number, then XPath.
  • Add attempt count to try_os_command_until in verbose mode.

v2.10.1

  • Fix egregious bug; the 'a' command did not work if airport was not in the path; I should have been using the AIRPORT_CMD constant but hard coded airport instead.

v2.10.0

  • Rename rm[_pref_nets] command to f[orget].

v2.9.0

  • Add duration of command to verbose output.
  • Add MAC address to info hash.
  • Reduce ping timeout to 3 seconds for faster return for info, ci commands.
  • Replace ipchicken.com link with iplocation.net link for 'ropen'; iplocation aggregates several info sources.
  • Fix bug where if there were no duplicate network names, result was nil, because uniq! returns nil if no changes!!!
  • Suppress error throw on ping error when not connected; it was printing useless output.

v2.8.0

  • Substantial simplifications of model implementations of connected_to_internet?, available_network_names.
  • Fixed network name reporting problems regarding leading/trailing spaces.
  • Improve verbose output by printing command when issued, not after completed.

v2.7.0

  • Fix models not being loadable after requiring the gem.
  • Add message suggesting to gem install awesome_print to help text if not installed.
  • Add Github project page URL to help text.
  • Rename 'wifion' to 'wifi_on'.
  • Change order of verbose output and error raising in run_os_commmand.

v2.6.0

  • Add support for getting and setting DNS nameservers with 'na'/'nameservers' command.
  • Improve error output readability for top level error catching.

v2.5.0

  • Add limited support for nonstandard wifi devices (#6).

v2.4.2

  • Fix test.

v2.4.1

  • Fix bug: undefined local variable or method `connected_network_name'.

v2.4.0

  • Project has been renamed from 'mac-wifi' to 'wifi-wand'.
  • Further preparation for addition of support of other OS's.
  • Make resource opening OS-dependent as it should be.
  • Move models to models directory.
  • Refactored OS determination and model creation.
  • Use scutil --dns to get nameserver info, using the union of the scoped and unscoped nameservers.

v2.3.0

v2.2.0

  • Add pu[blic-wifi-show] command to open https://www.whatismyip.com/ to show public IP address info.
  • Removed 'vpn on' info from info hash; it was often inaccurate.

v2.1.0

  • Support for the single script file install has been dropped. It was requiring too much complexity, and was problematic with Ruby implementations lacking GEM_HOME / GEM_PATH environment variables.
  • Code was broken out of the single script file into class files, plus a version.rb and mac-wifi.rb file.

v2.0.0

  • Support output formats in batch mode: JSON, YAML, puts, and inspect modes.
  • Change some command names to include underscores.
  • Shell mode is now (only) a command line switch (-s).

v1.4.0

  • Support for "MAC-WIFI-OPTS" environment variable for configuration dropped.
  • Support for "-v" verbosity command line option added.
  • Work around pry bug whereby shell was not always starting when requested.
  • 99% fix for reporting of available network names containing leading spaces (this will not correctly handle the case of network names that are identical except for numbers of leading spaces).
  • Improved handling of attempting to list available networks when wifi is off.

v1.3.0

  • Add partial JSON and YAML support.
  • Script moved from bin to exe directory.
  • Provide fp fancy print alias for convenience in shell.
  • Command renames: 'lsp' -> 'prefnets', 'rm' -> 'rmprefnets'
  • Add 'availnets' command for list of unique available network names.

v1.2.0

  • Fix: protect against using command strings shorter than minimum length (e.g. 'c', when more chars are necessary to disambiguate multiple commands).
  • Improvements in help text and readme.

v1.1.0

  • Sort available networks alphabetically, left justify ssid's.
  • to_s is called on parameters so that symbols can be specified in interactive shell for easier typing

v1.0.0

  • First versioned release.