Like the move from "state" to "flag" terminology ~~


On 10/05/2017 10:38 AM, Cory Johns wrote:
Greetings,

Today we released version 0.5.0 of charms.reactive.  The full changelog can be found at https://charmsreactive.readthedocs.io/en/latest/changelog.html with the changes from this release being:

  * Add flag triggers (#121)
  * Add integration test to Travis to build and deploy a reactive charm (#120)
  * Only execute matching hooks in restricted context. (#119)
  * Rename "state" to "flag" and deprecate "state" name (#112)
  * Allow pluggable alternatives to RelationBase (#111)

We will be exclusively using the "flags" terminology going forward in place of "states" as the former is more accurate to what they represent and how they behave and is less confusing.  For the time being, all of the existing "state" functions are still available, but they are deprecated.  See https://charmsreactive.readthedocs.io/en/latest/charms.reactive.flags.html for more info.

The "pluggable alternatives to RelationBase" is groundwork for the upcoming Endpoints replacement, which should make writing interface layers significantly less confusing. Feedback welcome on https://github.com/juju-solutions/charms.reactive/pull/123 and https://github.com/juju/docs/pull/2207



--
Feng Xia

Advisory Engineer
Datacenter Group (DCG), Lenovo US
8000 Development Dr, Morrisiville, NC 27509
W: http://www.lenovo.com

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to