update announcement and create god-check to run a diagnostic for events
[god.git] / History.txt
blob32ae08d2567970fc5b5e3d5ff09de4a66566de6c
1 == 0.5.0 / 2007-10-05
3 * Major Enhancements
4   * Implement lifecycle scoped metric to allow for cross-state conditions
5   * Add TriggerCondition for conditions that need info about state changes
6   * Implement notification system
7   * Add Tasks (a generalization of Watches) to do non-process related tasks
8   * Add example init.d file in GOD_INSTALL_DIR/init/god [scott becker]
9   * Add human readable info to conditions (and make low level log lines debug)
10   * Switch DRb to use a unix domain socket for security reasons
11 * Minor Enchancements
12   * Allow EventConditions to do transition overloading
13   * Report errors during god startup instead of failing silently
14   * Make transition block optional (default to Always condition returning true)
15   * Better usage info for `god --help`
16   * Explain what's going on when attempting to rebind to an in-use port
17   * Add -b option to god binary to auto-bind to an unused port
18   * Add `god quit` to stop god without stopping any tasks
19   * Make self-daemonized Watch commands synchronous (as they should be)
20   * Allow self-daemonized Watches to specify a log (could be useful)
21   * Check for existence of config file if specified
22   * Robustify `god load` and report errors back to the command issuer
23   * Warn when `god load` tries to set global options
24   * Add Configurable.clear method and make built-in conditions clear on entry
25 * New Conditions
26   * Flapping < TriggerCondition - trigger on state change
27   * HttpResponseCode < PollCondition - trigger on http response code or timeout (thx scott becker)
28 * New Contacts
29   * Email < Contact - notify via email (smtp)
30 * Bug Fixes
31   * Fix abort not aborting problem
32   * Fix -p option not working for god binary
33   * Fix God.init not accepting block (thx _eric)
34   * Fix SIGHUP ignore (thx _eric)
35   * Fix error reporting on `god --help` (don't error report a normal SystemExit)
37 == 0.4.3 / 2007-09-10
38 * Bug Fixes
39   * fix Process#alive? to not raise on no such file (affects `god terminate`)
41 == 0.4.2 / 2007-09-10
42 * Bug Fixes
43   * fix netlink buffer issue that prevented events on Linux from working consistently [dkresge]
45 == 0.4.1 / 2007-09-10
46 * Bug Fixes
47   * require 'stringio' for ruby 1.8.5
49 == 0.4.0 / 2007-09-10
51 * Major Enhancements
52   * Add the ability for conditions to override transition state (for exceptional cases)
53   * Implement dynamic load of config files while god is running (god load <filename>)
54   * Add ability to save auto-daemonized process output to a log file
55   * Add robust default stop lambda command for auto-daemonized processes (inspired by _eric)
56   * Add status command for god binary (shows status of each watch)
57   * Create proper logger with timestamps
58   * Add log command to god binary to get real time logs for a specific watch from a running god instance
59   * Add terminate command for god binary (stop god and all watches)
60 * Minor Enhancements
61   * Enforce validity of Watches
62   * Enforce that God.init is not called after a Watch
63   * Move pid_file_directory creation and validation to God.start
64   * Remove check for at least one Watch during startup (now that dynamic loading exists)
65 * New Conditions
66   * Tries < PollCondition - triggers after the specified number of tries
67   * Add :notify_when_flapping behavior to check for oscillation [kevinclark]
68   * Add :degrading_lambda condition. [kevinclark]
69     It uses a decaying interval (1/2 rate) for 3 cycles before failing.
70 * Bug Fixes
71   * Use exit!(0) instead of exit! in god binary to exit with code 0 (instead of default -1)
72   * Command line group control fixed
73   * Fix cross-thread return problem
75 == 0.3.0 / 2007-08-17
77 * Fix netlink header problem on Ubuntu Edgy [Dan Sully]
78 * Add uid/gid setting for processes [kevinclark]
79 * Add autostart flag for watches so they don't necessarily startup with god [kevinclark]
80 * Change command line call options for god binary to accommodate watch start/stop functionality
81 * Add individual start/stop/restart grace periods for finer grained control
82 * Change default DRb port to 17165 ('god'.to_i(32))
83 * Implement command line control to start/restart/stop/monitor/unmonitor watches/groups by name
84 * Watches can now belong to a group that can be controlled as a whole
85 * Allow god to be installed (sans events) on systems that don't support events
86 * Daemonize and handle PID files for non-daemonizing scripts [kevinclark]
87 * Fix simple mode lifecycle gap
88 * Remove necessity to specify pid_file for conditions
89 * Change config file to use God.init and God.watch directly instead of God.meddle block
90 * Move god binary command logic to main library
91 * Enhance god binary with better reporting
92 * Fix synchronization bug in Timer (reported by Srini Panguluri)
93 * Add Lambda condition for easy custom conditions [Mike Mintz]
94 * Add sugar for numerics (seconds, minutes, kilobytes, megabytes, percent, etc)
95 * Add optional PID and log file generation to god binary for daemon mode
96 * Add God.load to do glob enabled loading
97 * Add -V option to god binary for detailed version/build info
99 == 0.2.0 / 2007-07-18
101 * Rewrote innards to use a state and event based lifecycle
102 * Basic support for events via kqueue (bsd/darwin) and netlink/pec (linux) [kevinclark]
103 * Added advanced syntax (simple syntax calls advanced api underneath)
104 * Condition returns have changed meaning. With simple syntax, a true return activates block
105 * Updated http://god.rubyforge.org with updated simple config and new advanced config
107 == 0.1.0 / 2007-07-07
109 * 1 major enhancement
110   * Birthday!