Skip to content

Releases: openhab/openhab-jruby

v5.6.1

12 Sep 00:15
Compare
Choose a tag to compare

v5.6.1 (2023-09-12)

Full Changelog

Features

Bug Fixes

  • Fix defaults with cron fields dow and dom #142 (jimtng)
  • Add unit conversion operator (|) to java.math.BigDecimal #140 (ccutrer)

v5.6.0

08 Sep 01:48
Compare
Choose a tag to compare

v5.6.0 (2023-09-08)

Full Changelog

Features

  • Add thing parameter for ItemBuilder #137 (jimtng)
  • Support providing and accessing context in rules #133 (jimtng)
  • Add event attributes for TimerEvent #131 (jimtng)
  • Use the default cron handler in openHAB 4 #128 (jimtng)
  • Add group function #to_s and #inspect #127 (jimtng)
  • add item type predicates #125 (ccutrer)
  • Add SemanticTag#to_s #120 (jimtng)
  • Don't tag cron, every, and at triggers with "Schedule" #111 (jimtng)

Bug Fixes

  • Fix item builder's group COUNT function #126 (jimtng)
  • Fix Semantics::Tag#to_s #121 (jimtng)
  • Fix block passing in Hash#delete_if #116 (jimtng)
  • Add timeout during karaf boot process waits #95 (ccutrer)

v5.5.0

08 Aug 17:14
Compare
Choose a tag to compare

v5.5.0 (2023-08-08)

Full Changelog

Features

  • Support all_states_since and all_states_between persistence methods #105 (jimtng)

Bug Fixes

  • backtrace_locations returns nil #102
  • Fix changed duration without from or to #107 (jimtng)
  • Fix loading a console session of your own openHAB instance #94 (ccutrer)

v5.4.2

23 Jul 01:23
Compare
Choose a tag to compare

v5.4.2 (2023-07-23)

Full Changelog

Bug Fixes

  • Rework semantics for openHAB 4.0.0.M5 #88 (ccutrer)

v5.4.1

17 Jul 23:26
Compare
Choose a tag to compare
Version 5.4.1

v5.4.0

14 Jun 16:00
Compare
Choose a tag to compare

v5.4.0 (2023-06-14)

Full Changelog

Features

  • Access scenes by uid #77
  • Tag cron, every, and at triggers with "Schedule" #80 (ccutrer)
  • Add scene helper method to easily create rules tagged as Scene #78 (ccutrer)

Bug Fixes

  • Can't tag a rule with a single tag #76
  • Can't create a scene with no triggers #75

v5.3.0

31 May 14:22
Compare
Choose a tag to compare

v5.3.0 (2023-05-31)

Full Changelog

Features

  • Add unit argument to items builder #73 (ccutrer)

Bug Fixes

  • DSL methods override user's method on the top level #4
  • Workaround unusual inheritance chain of main #74 (ccutrer)

v5.2.0

02 May 02:44
Compare
Choose a tag to compare

v5.2.0 (2023-05-02)

Full Changelog

Features

  • Support regexes for from/to/command filters on triggers #68 (ccutrer)

Bug Fixes

  • Fix duration trigger conditions for group member triggers #69 (ccutrer)
  • Audio.play_sound called the wrong Java method #67 (jimtng)

v5.1.1

23 Apr 21:33
Compare
Choose a tag to compare

v5.1.1 (2023-04-23)

Full Changelog

Bug Fixes

  • Avoid having to re-lookup Semantics::Property on every reference in 3.4.x #66 (ccutrer)
  • Fix version detection against 4.0.0.M* #64 (ccutrer)

v5.1.0

19 Apr 16:40
Compare
Choose a tag to compare

v5.1.0 (2023-04-19)

Full Changelog

To use version 5.1 of the library, be sure to update the gems setting in the JRubyScripting addon to >~ 5.1. The default setting is ~> 5.0.0 which will not upgrade the version to 5.1.

Features

  • Semantic Tag improvements: support tag attributes, tag lookup, and adding tags #55 (jimtng)

Bug Fixes

  • Fix formatted_state when state is nil #50 (jimtng)