release-notes.asciidoc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. [[watcher-release-notes]]
  2. == Watcher Release Notes (Pre-5.0)
  3. [float]
  4. [[watcher-change-list]]
  5. === Change List
  6. [float]
  7. ==== 2.4.2
  8. November 22, 2016
  9. .Bug Fixes
  10. * Deleting a watch now is independent from its current execution state in
  11. order to prevent failed deletions with watches having small intervals
  12. * Chain input: Parsing now throws an exception if a data structure is added, that cannot keep its order
  13. [float]
  14. ==== 2.4.1
  15. September 28, 2016
  16. .Bug Fixes
  17. * Fixed a serialization error that resulted in the watch history not being
  18. written when a proxy is specified in a watch.
  19. * Triggered watches are now correctly deleted from the `.triggered-watches`
  20. index if they are rejected due to a full thread pool.
  21. * Deleting or closing the `.watches` index now correctly cleans up the
  22. in-memory watch store so the watches are no longer executed.
  23. * If the HTTP request for an attachment fails, the error message is included
  24. in the watch history.
  25. * Fixed a possible exception when chained inputs don't execute successfully.
  26. .Enhancements
  27. * Hostname verification can be disabled for Watcher
  28. HTTP actions.
  29. * Running watches can be updated and deleted.
  30. [float]
  31. ==== 2.4.0
  32. August 31, 2016
  33. .Enhancements
  34. * The HTTP headers of a response are now part of the payload and can be accessed via `ctx.payload._headers`
  35. [float]
  36. ==== 2.3.5
  37. August 3, 2016
  38. .Bug Fixes
  39. * The watch history was not written, if one of the chained inputs resulted in a failure as well as an input containing a field name with dots
  40. * Status of an acked watch, whose condition evaluates to false again is now properly persisted and not lost in case of a master node switch
  41. * Fixed the watch history template so payloads and request bodies are handled
  42. correctly. To update an existing installation, delete the existing watch history
  43. template by running `DELETE /_template/watch_history` and the correct template
  44. will be autocreated. To verify the template is recreated, call `GET
  45. /_template/watch_history`. Note that this just updates the template, so you
  46. need to wait one day for this update to take effect when a new history index is
  47. created.
  48. * The `watcher.http.proxy.port` setting for global proxy configuration was not applied correctly.
  49. [float]
  50. ==== 2.3.4
  51. July 7, 2016
  52. .Bug Fixes
  53. * Putting a new watch with state `active=false` now stores that state correctly
  54. on a multi node cluster.
  55. * Fixed the watch history template so nested request bodies are handled
  56. correctly. To update an existing installation, delete the existing watch history
  57. template by running `DELETE /_template/watch_history` and the correct template
  58. will be autocreated. To verify the template is recreated, call `GET
  59. /_template/watch_history`. Note that this just updates the template, so you
  60. need to wait one day for this update to take effect when a new history index is
  61. created.
  62. * The HTML sanitizer now supports border and cellpadding attributes on table
  63. elements and the colspan and rowspan attributes on <td> and <tr> elements.
  64. * Fixed the Watcher/Marvel examples in the documentation.
  65. [float]
  66. ==== 2.3.3
  67. May 18, 2016
  68. .Enhancements
  69. * Adds support for Elasticsearch 2.3.3
  70. [float]
  71. ==== 2.3.2
  72. April 26, 2016
  73. .Bug Fixes
  74. * All SMTP connection timeouts are now set to two minutes by default to prevent
  75. a watch from getting stuck.
  76. * HTTP headers from responses that contained dots led to exceptions when the
  77. HTTP response was stored in the watch history. All dots in any header names
  78. are now replaced with underscores. For example, a header called `foo.bar`
  79. becomes `foo_bar`
  80. * Hipchat action: Fall back to the default Hipchat color and format if they
  81. are not specified at the account level or within the action itself, instead
  82. of failing.
  83. [float]
  84. ==== 2.3.1
  85. April 4, 2016
  86. .Enhancements
  87. * Adds support for Elasticsearch 2.3.1
  88. [float]
  89. ==== 2.3.0
  90. March 30, 2016
  91. .Bug fixes
  92. * The http client does not do any URL escaping by itself anymore, preventing
  93. potential wrong double escapes.
  94. .Enhancement
  95. * Support `url` in http requests as a shortcut for `path`, `scheme`, `port`, `params`
  96. * Support `ignore_condition` and `record_execution` as parameters in the
  97. {ref}/watcher-api-execute-watch.html[Execute Watch API]
  98. .New Features
  99. * Added <<actions-pagerduty, PagerDuty action>>
  100. * Added support for adding <<configuring-email-attachments, attachments to emails>>
  101. via HTTP requests and superseding and deprecating the usage of `attach_data`
  102. in order to use this feature
  103. [float]
  104. ==== 2.2.1
  105. March 10, 2016
  106. .Bug Fixes
  107. * The `croneval` CLI tool sets the correct environment to run
  108. [float]
  109. ==== 2.2.0
  110. February 2, 2016
  111. .Enhancements
  112. * Adds support for Elasticsearch 2.2.0.
  113. [float]
  114. ==== 2.1.2
  115. February 2, 2016
  116. .Enhancements
  117. * Adds support for Elasticsearch 2.1.2
  118. [float]
  119. ==== 2.1.1
  120. December 17, 2015
  121. .Bug Fixes
  122. * Fixed an issue that prevented sending of emails
  123. [float]
  124. ==== 2.1.0
  125. November 24, 2015
  126. .New Features
  127. * Adds support for <<input-chain, chaining several inputs>>
  128. .Enhancements
  129. * Adds support for Elasticsearch 2.1.0.
  130. * Adds support for configuring a proxy in the webhook action, http input and
  131. configuring a default proxy (which is also used by the slack action), using the
  132. `watcher.http.proxy.host` and `watcher.http.proxy.port` settings.
  133. .Bug Fixes
  134. * Fixed an issue where the scheduler may get stuck during Watcher startup. This
  135. caused no watches to ever fire.
  136. * Fixed an issue where under specific conditions Watcher would not start if there
  137. are not finished watch executions from the previous time that watcher was
  138. running and those watch execution are unable the execute during the current
  139. start process.
  140. [float]
  141. ==== 2.0.1
  142. November 24, 2015
  143. .Enhancement
  144. * Adds support for Elasticsearch 2.0.1.
  145. .Bug fixes
  146. * Fixed an issue where under specific conditions Watcher would not start if
  147. there are not finished watch executions from the previous time that watcher
  148. was running and those watch execution are unable the execute during the current
  149. start process.
  150. [float]
  151. ==== 2.0.0
  152. October 28, 2015
  153. .Breaking Changes
  154. * The dynamic index names support has been removed and Elasticsearch's date math
  155. index names support should be used instead. The only difference between Watcher's
  156. dynamic index names support and Elasticsearch's date math index names support is
  157. how timezones are expressed. In Watcher this is done via node settings, in
  158. Elasticsearch the timezone is part of the date math index names support. Only
  159. if you're using dynamic index names with timezones in Watcher then you need to
  160. upgrade your watches after the upgrade, otherwise your watches will work as
  161. they did before the upgrade. For example if `watcher.dynamic_indices.time_zone`
  162. setting was set to `+01:00` and a watch has the following index name
  163. `<logstash-{now/d}>` then after the upgrade you need to update this watch to
  164. use the following index name `<logstash-{now/d{YYYY.MM.dd|+01:00}}>`.
  165. .New Features
  166. * Added new <<actions-hipchat, HipChat Action>>
  167. * Added new <<actions-slack, Slack Action>>
  168. * Watches now have an <<watch-active-state, active state>>. In addition, a new
  169. API was added to {ref}/watcher-api-activate-watch.html[activate]
  170. /{ref}watcher-api-deactivate-watch.html[deactivate] registered watches.
  171. * Added new <<condition-array-compare, array_compare>>, that can compare an array
  172. of values in the <<watch-execution-context, Watch Execution Context Model>>
  173. to a given value.
  174. .Enhancements
  175. * Watcher continuously checks if the index templates for `.watches`,
  176. `.triggered_watches` and `.watch_history-*` exist. Whereas before the existence
  177. of these index templates was only checked at Watcher startup time. The absence
  178. of these index templates leads to watcher data being indexed incorrectly, which
  179. then can cause Watcher to behave incorrectly.
  180. * If Watcher was stopped via the stop Watcher api and after that a master
  181. election took place then Watcher would then unexpectedly start.
  182. * During Watcher start up only wait for the shards of the `.watches` and
  183. `.triggered_watches` indices to be available. Before Watcher also waited for
  184. the shards of the `.watch_history-*` indices, which wasn't needed. This
  185. improved time it takes for Watcher to startup.
  186. * If `action.auto_create_index` setting has been configured then Watcher will
  187. check if the setting is too restrictive. If the `action.auto_create_index` is
  188. too restrictive then Watcher will fail during startup with a descriptive error
  189. message.
  190. .Bug Fixes
  191. * If Watcher was installed with Security then the Watcher index templates couldn't
  192. be stored and could lead to Watcher behaving incorrectly. This was caused by
  193. Watcher not detecting correctly if Security was installed.
  194. * Update `croneval` command line utility to properly handle whitespaces in the
  195. elasticsearch home path.
  196. * Fixed an issue where the scheduler may get stuck during Watcher startup. This
  197. caused no watches to ever fire.
  198. * Fixed url encoding issue in http input and webhook output. The url params were
  199. url encoded twice.
  200. [float]
  201. ==== 1.0.1
  202. July 29, 2015
  203. .Enhancements
  204. * Dynamic index names now support specifying a time zone to be used when
  205. computing the names of the indices. The default is UTC. Previously, the
  206. computation was fixed to always use UTC when computing the names of the
  207. indices.
  208. .Bug Fixes
  209. * Fixed a compatibility issue with Elasticsearch 1.6.1 and 1.7.2, which were
  210. released earlier today.
  211. [float]
  212. ==== 1.0.0
  213. June 25, 2015
  214. .Enhancements
  215. * Added execution time aware dynamic index names support to `index`
  216. action, `search` input, and `search` transform.
  217. * You must now explicitly specify the unit when configuring any time value.
  218. (Numeric-only values are no longer supported.)
  219. * Cleaned up the {ref}/watcher-api-get-watch.html[Get Watch API] response.
  220. * Cleaned up the <<watcher-api-stats, Stats API>> response.
  221. [float]
  222. ==== 1.0.0-rc1
  223. June 19, 2015
  224. .New Features
  225. * Added <<watcher-api-execute-inline-watch, inline watch>> support to the Execute API
  226. .Enhancements
  227. * Added execution context <<watch-execution-context, variables>> support.
  228. * Email html body sanitization is now <<email-html-sanitization, configurable>>.
  229. * It is now possible to configure timeouts for http requests in
  230. <<http-input-attributes, HTTP input>> and <<webhook-action-attributes, webhook actions>>.
  231. [float]
  232. ==== 1.0.0-Beta2
  233. June 10, 2015
  234. .New Features
  235. * <<actions-ack-throttle, Acking and Throttling>> are now applied at the action
  236. level rather than the watch level.
  237. * Added support for <<anatomy-actions-index-multi-doc-support, multi-doc>>
  238. indexing to the index action.
  239. * Added a queued watches metric that's accessible via the <<watcher-api-stats, Stats API>>.
  240. * Added a currently-executing watches metric that's accessible via the
  241. <<watcher-api-stats, Stats API>>.
  242. .Enhancements
  243. * The <<condition-compare, compare condition>> result now includes the value of
  244. each field that was referenced in the comparison.
  245. * The <<watcher-api-execute-watch, Execute API>> now supports a default trigger
  246. event (**breaking change**).
  247. * The `watch_record` document structure in the `.watch_history-*` indices has
  248. changed significantly (**breaking change**).
  249. * A new internal index was introduced - `.triggered_watches`
  250. * Added support for headers in the <<actions-webhook, Webhook Action>> result
  251. and the <<input-http, HTTP Input>> result.
  252. * Add plain text response body support for the <<input-http, HTTP Input>>.
  253. .Bug Fixes
  254. * Disallow negative time value settings for <<actions-ack-throttle, `throttle_period`>>
  255. * Added support for separate keystore and truststore in <<actions-webhook, Webhook Action>>
  256. and <<input-http, HTTP Input>>.