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