|
4 | 4 |
|
5 | 5 | [Unreleased]: https://github.com/chaostoolkit/chaostoolkit-lib/compare/1.12.0...HEAD |
6 | 6 |
|
| 7 | +### Added |
| 8 | + |
| 9 | +- Steady-state hypothesos runtime strategies can be now set to determine if the |
| 10 | + the hypothesis is executed before/after the method as usual (default behavior) |
| 11 | + or continously throughout the method too. Yo ucan also make it applied |
| 12 | + before or after only, or even only during the method. [#191][191] |
| 13 | + |
| 14 | +[191]: https://github.com/chaostoolkit/chaostoolkit/pull/191 |
| 15 | + |
7 | 16 | ### Changed |
8 | 17 |
|
9 | 18 | - Always pass all secrets to control hookpoints [#187][187] |
| 19 | +- Massive refactor of the `run_experiment` function so that it raises now events |
| 20 | + of where it is during the execution so that external plugins to the Chaos |
| 21 | + Toolkit can react and impact the run. This goes beyond mere controls and |
| 22 | + is advanced usage. Still, this is a public interface. [#178][178] |
| 23 | + In theory, this is an internal change only and the `run_experiment` function |
| 24 | + has not changed its API. However, this may have deep impact if you already |
| 25 | + depended on its internals. |
10 | 26 |
|
11 | 27 | [187]: https://github.com/chaostoolkit/chaostoolkit/issues/187 |
| 28 | +[178]: https://github.com/chaostoolkit/chaostoolkit-lib/issues/178 |
12 | 29 |
|
13 | 30 | ## [1.12.0][] - 2020-08-17 |
14 | 31 |
|
|
19 | 36 | - Added ways to override configuration and secrets from var files or passed to |
20 | 37 | the chaostoolkit cli [chaostoolkit#175][]. |
21 | 38 |
|
| 39 | +### Changed |
| 40 | + |
| 41 | +- Always ensure the [status][statuses] in the journal is one of |
| 42 | + the specified value, with a default to `"completed"`. |
| 43 | + |
| 44 | +[statuses]: https://docs.chaostoolkit.org/reference/api/journal/#required-properties |
22 | 45 |
|
23 | 46 | [chaostoolkit#175]: https://github.com/chaostoolkit/chaostoolkit/issues/175 |
24 | 47 |
|
|
80 | 103 | [168]: https://github.com/chaostoolkit/chaostoolkit-lib/issues/168 |
81 | 104 | [163]: https://github.com/chaostoolkit/chaostoolkit-lib/issues/163 |
82 | 105 |
|
| 106 | +### Added |
| 107 | + |
| 108 | +- Refactored run of the experiment so that we can have multiple run strategies |
| 109 | + such as not running the steady-state hypothesis before or after the method |
| 110 | + but also one strategy so that the steady-state is continously applied |
| 111 | + during the method, with the option to bail the experiment as soon as it |
| 112 | + deviates. [#149][149] |
| 113 | + |
| 114 | +### Changed |
| 115 | + |
| 116 | +- Potentially breaking. The following functions have moved from |
| 117 | + `chaoslib.experiment` to `chaoslib.run`: `initialize_run_journal`, |
| 118 | + `apply_activities`, `apply_rollbacks`. |
| 119 | + |
| 120 | +[149]: https://github.com/chaostoolkit/chaostoolkit/issues/149 |
| 121 | + |
83 | 122 | ### Changed |
84 | 123 |
|
85 | 124 | - Fix error on empty string variables call [#165][165] |
|
0 commit comments