Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Latest commit

 

History

History
1561 lines (729 loc) · 66 KB

CHANGELOG.md

File metadata and controls

1561 lines (729 loc) · 66 KB

JRuby OpenHAB Scripting Change Log

4.47.0 (2022-12-02)

Features

  • log JRuby/Ruby version and ruby description at start (1ad9a50)

4.46.2 (2022-12-01)

Bug Fixes

  • docs: remove duplicate monday (cf33b20)

Documentation

4.46.1 (2022-12-01)

Bug Fixes

  • gemfile update to increment version past yanked gem and rubocop fixes (bf59840)

4.46.0 (2022-12-01)

Features

  • support for JRuby 9.4.0.0/Ruby 3.1 (72a7f20)

Continuous Integration

  • fixing release ruby setup (390259f)

4.45.2 (2022-10-02)

Bug Fixes

  • items: ensure enumerable methods from items use ItemProxy (a149f96)
  • logging: use the class name for class loggers (e87e03b)

4.45.1 (2022-09-21)

Bug Fixes

  • math: configure rounding params when doing BigDecimal division (e1cee18), closes #640

Continuous Integration

  • update openhab source url to github (792015e)

4.45.0 (2022-09-18)

Features

  • time: support arithmetic and comparison operators (e3466db)
  • time_of_day: support a range of LocalTime for TimeOfDay#between? (fd12e3d)

Documentation

  • clean up ordering in Misc section (a6a0beb)

4.44.2 (2022-09-06)

Bug Fixes

  • cron: fix clean up of cron handler (4190255)
  • items: ensure items coming from group members are wrapped in ItemProxy (19bd416)

4.44.1 (2022-08-20)

Bug Fixes

  • ruby: fix error with jruby 9.3.7 (82dced4)

4.44.0 (2022-07-31)

Features

  • rule: add tags to rules (d5c29de)
  • rules: improve rule name inference (a0b30ec)

Code Refactoring

  • standardize on java format for java class references (ae519bf)

Build System

  • change the default openhab version to 3.3.0 (1fb42d0)

4.43.3 (2022-07-25)

Bug Fixes

  • actions: don't use a singleton method for monkeypatching ScriptThingActions (e330a0f), closes #596

4.43.2 (2022-07-25)

Bug Fixes

Build System

  • rubocop: explicitly allow openhab globals (2baf772)

4.43.1 (2022-07-18)

Bug Fixes

  • ensure: with QuantityType and plain number (83036b8)
  • terse: improve automatic naming of terse rules (9683845)
  • ui: attach rule source to rule (940780f)
  • ui: improve rule UIDs (f41f5c5)

4.43.0 (2022-07-11)

Features

  • add play_stream action method (f3ab3ae)
  • make the code base compatible with JRuby 9.4 (Ruby 3.x) (77cae44)

Bug Fixes

  • ruby: fix another minor ruby warnings (77899c9)

Documentation

  • generic_trigger: config kwargs is not a hash in Ruby 3.x (528994a)

Tests

  • persistence: change top-level class variable to instance var (95babba)

Continuous Integration

  • update test matrix to openhab 3.3 (c9e8f1c)
  • atomic_rule_write: create temp file in userdata/tmp (1cfec6b)

4.42.2 (2022-06-29)

Bug Fixes

  • items: fix ComparableItem#nil_comparison (0908ef6)
  • ruby: fix some minor ruby warnings (040e836)

4.42.1 (2022-06-20)

Bug Fixes

  • persistence: between called the wrong method (f6b4b7a)

Build System

  • upgrade test to 3.3.0.M7 (128e132)

4.42.0 (2022-06-18)

Features

  • add support for persistence 'between' methods (fc46fc4)

Documentation

  • add an example for DateTimeTrigger (279b81a)

Build System

  • add --no-heap-dump to dev:dump-create (228710c)
  • close file handle in truncate_log (359ae07)
  • include more commit types in the changelog (2002afb)
  • update build to use openhab 3.3.0M5 (46b9f32)
  • use a simpler setup-ruby action (8187e77)
  • use index in log dump file in github action (01e683a)
  • ci: optimize CI builds by splitting features across number of runners (ed85b4d)

Tests

  • ensure_states: change logging from trace to info (7686d32)
  • rule_language: @log_level_changed was missing (fe61b04)

4.41.0 (2022-04-28)

Bug Fixes

  • comparing non null vs null comparable-item objects raised an exception (2844d7a)

Features

  • logging: change logger level predicate method names (a7305d3)
  • semantics: rename sublocations to locations (f2dfd29)

4.40.0 (2022-04-24)

Features

  • grep: support grepping items from enumerable (ef29edd)
  • item_equality: add the ability to compare item objects (0f4608b)

4.39.1 (2022-04-24)

Bug Fixes

  • semantics: groupitem.points failed to return its siblings (afbec5e)
  • semantics: revert the members search for enumerable#points (4e62458)

4.39.0 (2022-04-20)

Bug Fixes

  • ensure: ensure didn't work on Enumerable (5cfe07b)

Features

  • enumerable: add Enumerable#members (e093bed)
  • semantics: incorporate flat_map into Enumerable#points (a74194b)

4.38.0 (2022-04-15)

Features

  • semantics: add semantic helper methods to items (a16f976), closes #370

4.37.1 (2022-04-09)

Bug Fixes

  • numeric_item: make NumericItem#| raise NoMethodError when state is nil (ac289fc)

4.37.0 (2022-04-08)

Bug Fixes

  • zoneddatetime: make ZonedDateTime available on OpenHAB 3.2 (c22be74)

Features

  • conf: rename conf to OpenHAB.conf_root (ea0a657)
  • timers[]: add #reschedule, rename #cancel_all to #cancel (38da4a0)

4.36.0 (2022-04-03)

Features

  • add support for timer and persistence to accept zoneddatetime and rubytime (640cf0e)

4.35.0 (2022-03-29)

Features

  • state: add state? helper method (e8bb65e)

4.34.1 (2022-03-16)

4.34.0 (2022-03-15)

Features

  • cron: support fields for cron and monthday object for every (0e53986)

4.33.1 (2022-03-10)

4.33.0 (2022-03-09)

Bug Fixes

  • build: specify the local theme for jekyll (d9a3be3)
  • ensure: implement ensure.update (c519b8b)
  • timer: remove timer class from top-level (4c22e5a)

Features

  • timer: add create_timer as an alias for after (3753304)

4.32.7 (2022-03-07)

Bug Fixes

  • dsl: dsl methods leaked into other objects (3d17030)

4.32.6 (2022-03-04)

Bug Fixes

  • timed_command: timed command cancelled by its own command (075e627)

4.32.5 (2022-02-28)

Bug Fixes

  • logger: exclude <script> in log prefix (ddb7104)
  • rule: rule method returns the created rule (afe7f69)

4.32.4 (2022-02-27)

4.32.3 (2022-02-24)

Bug Fixes

  • script_thing_actions: adapt to changes in openhab 3.3 (41cbb55)

4.32.2 (2022-02-22)

Bug Fixes

  • logger: move logger class into core module to prevent unintentional modification (1ab681f)

4.32.1 (2022-02-21)

Bug Fixes

  • color_item: move to_h and to_a from color_item into hsb_type (b00bbe7)
  • hsbtype: comparison against another hsbtype only checks for brightness (2cebe9e)

4.32.0 (2022-01-23)

Features

  • command: received_command supports ranges and procs (ab3d974)

4.31.0 (2022-01-22)

Features

  • triggers: support quantity string range in trigger conditions (531ed23)

4.30.5 (2022-01-21)

Bug Fixes

  • string_type: direct regex comparison and inspect (1703aa2)

4.30.4 (2022-01-21)

4.30.3 (2022-01-20)

Bug Fixes

  • persistence: npe on dimensioned item without an explicit unit (251f625)

4.30.2 (2022-01-20)

Bug Fixes

  • logger: incorrect logger prefix on non standard gem_home path (a3d9677)

4.30.1 (2022-01-19)

Bug Fixes

  • types: fix already initialized warning on openhab 3.2.0 (188f2b0)

4.30.0 (2022-01-18)

Features

  • conditions: support procs/lambdas for trigger conditions (0f0bd16)

4.29.0 (2022-01-17)

Features

  • rules: support ranges as rule conditions (8cd6901)

4.28.2 (2022-01-17)

4.28.1 (2022-01-15)

Bug Fixes

  • exception_handling: fix java exception handling (3539136)
  • java_class: fix java to ruby class (7f4b0bc)

4.28.0 (2022-01-14)

Features

  • timer: add timers[id].cancel_all shorthand for timers[id].each(&:cancel) (d820471)

4.27.1 (2022-01-10)

Bug Fixes

  • ensure: faulty ensure on boolean commands (623a08e)
  • item_groups: fix Item#groups returning nil sometimes (20ae855)

4.27.0 (2022-01-06)

Features

  • item: support reloading of references items (64059cc)

4.26.4 (2022-01-06)

Bug Fixes

  • monthday: fix monthday error when rolling over to another year (2bf6aa9)

4.26.3 (2022-01-02)

Bug Fixes

  • test: instead of sleep, wait for for persistence feature to be installed (a926d73)

4.26.2 (2021-12-31)

Bug Fixes

  • open_closed_type: state not inverted with ! operator (498b515)

4.26.1 (2021-12-29)

Bug Fixes

  • docs: fix link to Yard docs (7ca4bce)

4.26.0 (2021-12-26)

Bug Fixes

  • guard: execute guard in main context (b1f1fe0)

Features

  • watch: add trigger for file/directory watching (ed6352a)

4.25.0 (2021-12-21)

Features

  • month_day: support keyword arguments to create monthday (50f0f05)

4.24.1 (2021-12-14)

Bug Fixes

  • timer_manager: timers[nonexistent_id] should return nil (550d9e0)

4.24.0 (2021-12-05)

Features

  • location: support hashes for locations (ae8ff6a)

4.23.0 (2021-12-05)

Bug Fixes

  • monthday: fix equality comparison against string and allow parsing single digit month-days (a9d8b47)

Features

  • hsb: add from/to hash support (91876d0)

4.22.2 (2021-12-04)

Bug Fixes

  • timed_command: fix race condition for timed commands (6f3edd3)

4.22.1 (2021-12-04)

Bug Fixes

  • hsb: fix type in from_hsb (9ebe0f2)

4.22.0 (2021-12-03)

Features

  • datetime: support ZonedDateTime objects as commands for DateTime items (72287c1)

4.21.0 (2021-12-02)

Bug Fixes

  • logging: log rule name or file name with log entries (a003904)

Features

  • attach: support attachments on cron triggers (70ef1dc)

4.20.0 (2021-12-01)

Bug Fixes

  • rule: rule return value caused namespace errors (22fea0b)

Features

  • timers: support passing custom objects as timer duration (0fb0bcf)

4.19.1 (2021-12-01)

Bug Fixes

  • includes: remove redundant includes (23376c4)

4.19.0 (2021-12-01)

Bug Fixes

  • comparisons: === should perform an exact type match for case statements (3311e26)

Features

  • channel_trigger: allow setting channel triggers directly from thing/channel objects (9d99ee6)
  • uid: make working with UIDs easier (string comparisons) (5a89ac8)

4.18.0 (2021-11-30)

Features

  • switch: accept boolean values (605949c)

4.17.0 (2021-11-30)

Bug Fixes

  • trigger: create multiple delayed triggers for array from/to states (70d3b4a)

Features

  • things: easy access to channels from things, and items from channels (813bc5d)

4.16.0 (2021-11-30)

Features

  • item: add linked_thing and all_linked_things to items (5a640c6)
  • linked_thing: alias thing/things to linked_thing/all_linked_things (9898b8a), closes #427
  • things: add ability to lookup thing using ThingUID to things[] (9650698)

4.15.1 (2021-11-24)

Bug Fixes

  • rule: rule method should return the rule object (239403f)

4.15.0 (2021-11-24)

Bug Fixes

  • guard: include attachment in guards' event (61f387c)

Features

  • trigger: support creating triggers for any trigger type (6a90d43)

4.14.2 (2021-11-22)

Bug Fixes

  • comparisons: fix comparison errors between two types (d694bc8)

4.14.1 (2021-11-20)

Bug Fixes

  • timer: remove redundant delegators (932e82b)

4.14.0 (2021-11-14)

Bug Fixes

  • script_handling: add tests (70008fc)

Features

  • script_callbacks: make script_loaded/unloaded accessible (4a5e33d), closes #316

4.13.5 (2021-11-14)

Bug Fixes

  • script_handling: scriptLoaded and scriptUnloaded not executed (4082280)

4.13.4 (2021-11-10)

Bug Fixes

  • actions: call to_s to accept item as an argument (9f770b3)
  • dev: add mac M1 platform to Gemfile.lock (76fdbfd)

4.13.3 (2021-11-08)

Bug Fixes

  • binding: move gem home default and mkdirs (a9ccf3f)

4.13.2 (2021-11-08)

Bug Fixes

  • binding: fix binding support for gem ugprades (07a1668)

4.13.1 (2021-11-07)

Bug Fixes

  • month_day: test between guards with Time instead of TimeOfDay (65bf3b1)

4.13.0 (2021-11-06)

Bug Fixes

  • test: test against jruby plugin that fixes 3.2M2 reload bug (bb98cb0)

Features

  • percenttype: add PercentType#scale and PercentType#to_byte (54d2ec3), closes #350

4.12.1 (2021-11-06)

Bug Fixes

  • dev: target ruby 2.6 (cdd3ea1)
  • quantity: fix comparison between integer on left and quantity on right (b7f7531), closes #352

4.12.0 (2021-11-06)

Features

  • build: test against jruby 9.3 (690699d)

4.11.2 (2021-11-06)

Bug Fixes

  • metadata: return ruby hash inside metadata enumerator (4347aa9)

4.11.1 (2021-11-06)

Bug Fixes

  • reentrant_timer: reset the timer duration to the latest call (e8e8b66)

4.11.0 (2021-11-05)

Features

  • between: support for month-day ranges (f059c59)

4.10.3 (2021-11-04)

Bug Fixes

  • timer: check the argument to reschedule (d1e895f)

4.10.2 (2021-11-03)

Bug Fixes

  • test: added test coverage for mixed type between guards (9030b3f)

4.10.1 (2021-11-02)

Bug Fixes

4.10.0 (2021-11-02)

Features

  • attachments: adds attachments to triggers (88d35c5)

4.9.0 (2021-11-01)

Features

  • guards: guards only_if/not_if support arrays of items (66cda53)

4.8.5 (2021-11-01)

Bug Fixes

  • guard: only_if/not_if should work on all item types (1c717a8)

4.8.4 (2021-11-01)

4.8.3 (2021-10-31)

Bug Fixes

  • triggers: trigger methods return the trigger objects (463a928)

4.8.2 (2021-10-30)

Bug Fixes

  • guards: log exception and stack traces encountered when guard procs are executed (68c5f4d)

4.8.1 (2021-10-30)

Bug Fixes

  • hsb: fully qualify units class (25196d5)

4.8.0 (2021-10-29)

Features

  • timer: supports reentrant timers and timed commands for items (08d8f16)

4.7.1 (2021-10-29)

Bug Fixes

  • hsb: convert csv strings to hsb value (5aad833)

4.7.0 (2021-10-27)

Bug Fixes

  • changed: changed trigger now supports multiple from values (20bb64e)
  • logging: use the class name not "Class" for class-level loggers (05b6217)

Features

  • metadata: allow assignment to existing metadata config (02df58a)

4.6.2 (2021-10-24)

Bug Fixes

  • number_item: return false for number predicate methods when NULL (f147277)

4.6.1 (2021-10-24)

Bug Fixes

  • timer: cancel timers in a rule when rule is unloaded (901a63e)

4.6.0 (2021-10-20)

Bug Fixes

  • quantity: fix constructing quantity from numeric with | within rule (42dbafb), closes #319
  • tests: fix ensure_states tests fragility (7a36c43), closes #304

Features

  • location: support location items (ceb224a), closes #37

4.5.0 (2021-10-19)

Features

  • color: support for color items and hsb type (8f45492), closes #34

4.4.0 (2021-10-19)

Bug Fixes

  • actions: fix say and play_media actions for PercentType change (53d7e06), closes #298
  • docs: added docs for ensure/ensure_state (77904b1)

Features

  • ensure: add ensure_states feature (b06385b), closes #275

4.3.0 (2021-10-19)

Bug Fixes

  • null_comparison: fix comparison between two number items in state NULL (b3bf156), closes #298

Features

  • rules: add terse rule syntax for simple rules (1c4b774)

4.2.0 (2021-10-18)

Features

  • types: allow comparison and arithmetic directly against state types (22e237f)

4.1.4 (2021-10-11)

Bug Fixes

  • dev: add binstubs for yard (e2f8053)
  • dev: don't generate documentation when installing gem for tests (995b8fc)

4.1.3 (2021-10-10)

Bug Fixes

  • docs: update installation docs to reference version 4.x of the gem (c486cad)

4.1.2 (2021-10-08)

Bug Fixes

  • items: restore ability to add items arrays together (4b318c1), closes #288

4.1.1 (2021-10-07)

Bug Fixes

  • dev: update gemfile and binstubs for use with MRI (7fe0027)

4.1.0 (2021-10-06)

Features

  • decimal_type: zero?, positive?, negative? predicates directly on DecimalType (bd69a76)

4.0.1 (2021-10-05)

Performance Improvements

  • things, items: improves performance on array accessors '[]' (24bb04b)

4.0.0 (2021-10-05)

Features

  • command: add predicate methods for named commands (a347bb5)

  • group_item: alias items to members (8e91ffc)

  • states: add predicate methods to several states (5f987cc), closes #237

  • types: ensure (almost) all command types are inspectable (2073072)

  • feat(events)!: wrap event.state same as item.state (cbe6e5c)

BREAKING CHANGES

    • event.state returns nil it's NULL or UNDEF.
  • event.last renamed to event.was (the predicate methods make much more sense calling it was instead of last, similar to Rail's tracking of changed attributes).
  • event.was returns nil if's NULL or UNDEF

3.9.4 (2021-09-25)

Bug Fixes

  • build: have release process keep Gemfile.lock up to date (178cf4d)

3.9.3 (2021-09-25)

3.9.2 (2021-09-25)

Bug Fixes

  • dev: ignore lockfile for file named gems.rb (8e31e0d)
  • release: pin npm release versions to prevent build failures on upgrade of semantec release (e1dc2a3)

3.9.1 (2021-09-17)

Bug Fixes

  • tests: speed up tests by avoiding unnecessary work (64c759c)
  • tests: speed up tests by forcing openhab to find rules (d05a9e5)

3.9.0 (2021-09-17)

Features

  • load_path: apply $RUBYLIB (29b6a34)

3.8.3 (2021-09-16)

Bug Fixes

  • docs: make shields in readme actual links (962eec7)

3.8.2 (2021-09-15)

Bug Fixes

3.8.1 (2021-09-15)

Bug Fixes

  • build: commit the Gemfile.lock (17def5c)

3.8.0 (2021-09-15)

Features

  • duration: support duration methods on Float too (fae9daf), closes #263

3.7.4 (2021-09-15)

Bug Fixes

  • test: test against released version of openhab 3.1 and set default to 3.1 (b8d09c1)

3.7.3 (2021-09-15)

Bug Fixes

  • build: updated to new version of jruby scripting (ae8b5a2)

3.7.2 (2021-09-14)

Bug Fixes

  • docs: remove duplicated "compare" in a few places (2a9af7b)

3.7.1 (2021-09-14)

Bug Fixes

  • test: fix rubocop violations against newest rubocop (e8b859b)

3.7.0 (2021-06-04)

Features

  • quantity: implement positive?, negative?, and zero? for quantity and dimensioned numberitem (0d2c43c)

3.6.4 (2021-06-04)

Bug Fixes

  • items: decorated items could not be used as hash keys (a4ff086)

3.6.3 (2021-06-03)

Bug Fixes

  • improve reliability of some tests (22bc48e)

3.6.2 (2021-06-02)

Bug Fixes

  • items: format BigDecimal state as a string the parser accepts (c752711)

3.6.1 (2021-06-02)

3.6.0 (2021-06-01)

Features

  • build: support testing of multiple versions of openhab (600bc88)

3.5.0 (2021-06-01)

Bug Fixes

  • store_states: error when given a decorated item (ae7e1bc)

Features

  • add oh_item to item wrappers through def_item_delegator (079314f)

3.4.3 (2021-05-20)

Bug Fixes

  • build: updated version of OpenHab (ef1b792)

3.4.2 (2021-04-02)

Bug Fixes

  • metadata: convert loaded metadata config into Ruby objects (aa8e2b7)

3.4.1 (2021-04-02)

Bug Fixes

  • dependency: swapped mimemagic for marcel for mime type detection (b1ec891)

3.4.0 (2021-03-22)

Features

  • thing: add boolean methods for checking thing's status (58bda12)

3.3.0 (2021-03-16)

Features

  • persistence: convert HistoricItem methods to directly return its state (942d7ea)

3.2.1 (2021-03-11)

Bug Fixes

  • handle native java exceptions in clean_backtrace (a6f7be4)

3.2.0 (2021-03-10)

Features

  • support more comparisons (3898d2d)

3.1.2 (2021-03-09)

Bug Fixes

  • scope: change execution block binding to be object that based a block to rule (b529684)

3.1.1 (2021-03-08)

Bug Fixes

  • rollershutter_item: add safe navigation and nil checks (1e98464)

3.1.0 (2021-03-08)

Features

  • image: support for image items (dacc7a8)

3.0.1 (2021-03-03)

Bug Fixes

  • triggering on multiple items caused a stack overflow (a1fac1d)

3.0.0 (2021-03-02)

Features

  • groups: groups now act as items (210e507)

BREAKING CHANGES

  • groups: items no longer acts as a indicator to rules to trigger on member changes, it has been replaced with members

2.27.1 (2021-03-02)

2.27.0 (2021-03-02)

Features

  • player: add support for player items (70418ab)

2.26.1 (2021-03-02)

Performance Improvements

  • logging: use block syntax to log method calls (9657e72)

2.26.0 (2021-03-02)

Features

  • add stack trace to errors (572114e)

2.25.2 (2021-02-28)

Performance Improvements

  • datetime: delegate more methods directly to ZonedDateTime (ea31954)

2.25.1 (2021-02-28)

2.25.0 (2021-02-24)

Features

  • groups: support command and << (dd140aa)

2.24.0 (2021-02-23)

Features

  • groups: adds supports for item groups (127ab17)

2.23.3 (2021-02-21)

Bug Fixes

  • persistence: selective conversion to Quantity (3187de7)

2.23.2 (2021-02-21)

2.23.1 (2021-02-20)

2.23.0 (2021-02-20)

Bug Fixes

  • metadata: convert value to string before assignment (dba5db7)

Features

  • event: add event.state for update trigger (d4eb4f7)

2.22.1 (2021-02-20)

Bug Fixes

  • changed: for parameter with thing chaged trigger (cd08922)

2.22.0 (2021-02-19)

Features

  • add conversion operator for DecimalType to Quantity (42bc5de)

2.21.0 (2021-02-18)

Features

  • persistence: automatically convert to quantity for dimensioned items (7e352d4)

2.20.3 (2021-02-18)

Bug Fixes

  • changed_duration: stringitem from/to comparison didn't work (21721e7)

2.20.2 (2021-02-18)

2.20.1 (2021-02-18)

Bug Fixes

  • items: to_s did not include UNDEF and NULL (71f3de4)

2.20.0 (2021-02-18)

Features

  • add dig-method to top level metadata (2975cd5)

2.19.3 (2021-02-18)

Bug Fixes

  • rule: otherwise blocks are always executed (dd5d5e5)

2.19.2 (2021-02-16)

Bug Fixes

  • changed_duration: guards not evaluated for changed duration (48a63e8)

2.19.1 (2021-02-15)

Bug Fixes

  • changed_duration: cancel 'changed for' timer correctly (1bf4aa3)

2.19.0 (2021-02-15)

Features

2.18.0 (2021-02-14)

Features

2.17.0 (2021-02-12)

Features

  • units: import OpenHAB common units for UoM (351a776)

2.16.4 (2021-02-12)

Bug Fixes

  • changed_duration: timer reschedule duration bug (6bc8862)

2.16.3 (2021-02-12)

2.16.2 (2021-02-11)

Bug Fixes

  • decorate items[itemname], event.item, and triggered item (ce4ef03)

2.16.1 (2021-02-11)

Performance Improvements

  • timeofdayrangeelement: subclass Numeric to make comparisons more efficient (c2482e8)

2.16.0 (2021-02-10)

Features

  • support comparisons between various numeric item/state types (510d6db)

2.15.0 (2021-02-09)

Features

  • add Persistence support (9cab1ff)

2.14.3 (2021-02-09)

Bug Fixes

  • multiple delayed triggers overwrite the previous triggers (6f14429)

2.14.2 (2021-02-08)

2.14.1 (2021-02-05)

Bug Fixes

  • number_item: make math operations and comparisons work with Floats (3b29aa9)

2.14.0 (2021-02-03)

Features

  • logging: append rule name to logging class if logging within rule context (00c73a9)

2.13.1 (2021-02-02)

2.13.0 (2021-02-02)

Features

  • dimmeritem: dimmeritems can now be compared (aa286dc)

2.12.0 (2021-02-02)

Bug Fixes

  • return nil for items['nonexistent'] instead of raising an exception (4a412f8)

Features

  • add Item.include? to check for item's existence (1a8fd3a)

2.11.1 (2021-02-01)

Bug Fixes

  • group: support for accessing triggering item in group updates (6204f0a)

2.11.0 (2021-02-01)

Features

2.10.0

Changed

  • Library now released as a Ruby Gem

2.9.0

Added

  • Support OpenHAB Actions

2.8.1

Fixed

  • Fixed StringItem comparison against a string

2.8.0

Added

  • Support for accessing item metadata namespace, value, and configuration

2.7.0

Added

  • SwitchItem.toggle to toggle a SwitchItem similar to SwitchItem << !SwitchItem

2.6.1

Fixed

  • Race condition with after block
  • Unknown constant error in certain cases uses between blocks

2.6.0

Added

  • TimeOfDay.between? to check if TimeOfDay object is between supplied range

Fixed

  • Reference in rules to TimeOfDay::ALL_DAY

2.5.1

Fixed

  • Corrected time of day parsing to be case insensitive
  • Merge conflict

2.5.0

Added

  • between can be used throughout rules systems

Changed

  • TimeOfDay parsing now supports AM/PM

2.4.0

Added

  • Support to allow comparison of TimeOfDay objects against strings
  • Support for storing and restoring Item states

2.3.0

Added

  • Support for rule description

2.2.1

Fixed

  • ! operator on SwitchItems now returns ON if item is UNDEF or NULL

2.2.0

Added

  • Support for thing triggers in rules

Changed

  • Updated docs to point to OpenHAB document for script locations

2.1.0

Added

  • Timer delegate for 'active?', 'running?', 'terminated?'

2.0.1

Fixed

  • Logging of mod and/or inputs can cause an exception of they are nil
  • Timers (after) now available inside of rules

Changed

  • DSL imports now shared by OpenHAB module and Rules Module

2.0.0

Added

  • Timer delegate for after method that supports reschedule

Changed

  • Breaking: after now returns a ruby Timer delegate

1.1.0

Added

  • Added support for channels triggers to rules

Changed

  • Fixed documentation for changed/updated/receive_command options

1.0.0

Changed

  • Breaking: Changed commanded method for rules to received_command

0.2.0

Added

  • Ability to execute rules based on commands sent to items, groups and group members
  • Ability to send updates from item objects

Changed

  • Fixed documentation for comparing dimensioned items against strings

0.1.0

Added

  • Support for item updates within rules languages

Changed

  • Installation instructions to specify using latest release rather than a specific version

0.0.1

  • Initial release