From 86002e01debe63c18f85270ddc948e3875f25043 Mon Sep 17 00:00:00 2001 From: Matt Ludwigs Date: Wed, 4 Dec 2019 10:28:46 -0700 Subject: [PATCH] v0.8.0 --- CHANGELOG.md | 39 ++++++++++++++++++++++++++++++++++----- README.md | 2 +- mix.exs | 2 +- 3 files changed, 36 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3301bb89..6d84f078 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ ## Changelog +## v0.8.0 + +Adds support for handling SmartStart meta extension fields. + +These fields give more information about the current status, inclusion methods, +and product information for the SmartStart device. + +There are two breaking changes: + +1. All SmartStart meta extensions were moved from `Grizzly.CommandClass.NodeProvisioning` + namespace into the `Grizzly.SmartStart.MetaExtension` namespace. +2. Upon finalizing the meta extension behaviour and API we made changes to how + previously supported meta extensions worked. Namely, we added a `new/1` + callback that does parameter validation, and returns `{:ok, MetaExtension.t()}`. + This breaks the pervious behaviour of `to_binary/1` functions in perviously + implemented meta extensions. + +* Enhancements + * Full support for SmartStart meta extensions + * Add `meta_extensions` field to `Grizzly.CommandClass.NodeProvisioning` + commands that can handle meta extensions + * Update `Grizzly.Conn.Server.Config` docs +* Fixes + * Invalid keep alive (heart beat) interval + * Set correct constraints on `Time` command offset values + +Thank you to those who contributed to this release: + +* Jean-Francois Cloutier +* Ryan Winchester + ## v0.7.0 Introduces SmartStart support! @@ -61,7 +92,7 @@ When using that function `send_command` would return ## v0.6.3 * Enhancements - * Supports AssociationGroupInformation Command Class + * Supports AssociationGroupInformation Command Class ## v0.6.2 @@ -73,7 +104,7 @@ When using that function `send_command` would return * Enhancements * Update commands `IntervalGet` and `ManufacturerSpecificGet` to be more - consistent + consistent * Better handling of invalid `ManufacturerSpecific` info received from devices @@ -134,7 +165,7 @@ validating specs for command arguments. * Support Powerlevel command class * Doc clean up * `Grizzly.send_command/2` and `Grizzly.send_command/3` - can be passed a node id instead of a node. + can be passed a node id instead of a node. ### v0.4.2 @@ -176,7 +207,6 @@ version matches the version in the `pidof_bin` path. Changed `run_grizzly_bin` to `run_zipgateway_bin`. - ## v0.3.1 * Enhancements @@ -262,4 +292,3 @@ Same change found in `Grizzly.Node.get_command_class_version` to `{Grizzly, :queued_response, ref, response}` * Fix timeout error when waiting for DTLS server from the `zipgateway` side - diff --git a/README.md b/README.md index 16296a47..cdf7b7d1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ An Elixir library for Z-Wave ```elixir def deps do [ - {:grizzly, "~> 0.7"} + {:grizzly, "~> 0.8"} ] end ``` diff --git a/mix.exs b/mix.exs index d9ed8f9c..581e28e4 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Grizzly.MixProject do def project do [ app: :grizzly, - version: "0.7.0", + version: "0.8.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod,