summaryrefslogtreecommitdiff
path: root/node_modules/forever/CHANGELOG.md
blob: 45410791644241334217f9dbed4aadd5f39f2310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
## CHANGELOG

### Version 0.7.0

- Added experimental foreverd implementation for working with init.d, systemv, etc
- Expose `Monitor.killTree` for killing process trees for processes spawned by forever (default: true)
- Added commands for working with forever log files
- Added forever.tail()
- Update daemon to 0.3.2
- Expose Monitor.spawnWith in Monitor.data

### Version 0.6.9

- Add `--plain` option disabling CLI colors

### Version 0.6.8

- Add --watch/-w command line option
- Add implementation to restart processes when a file changes

### Version 0.6.7

- Replace sys module usages with util
- Update winston dependency to 0.4.x

### Version 0.6.6

- Add options.hideEnv to hide default env values

### Version 0.6.5

- Update `forever.Monitor.prototype.restart()` to allow force restarting of processes in less than `.minUptime`

### Version 0.6.4

- Update forever.startServer() to support more liberal arguments.

### Version 0.6.3

- Create `sockPath` if it does not exist already. 
- When stopping only respond with those processes which have been stopped.

### Version 0.6.2

- Display warning / error messages to the user when contacting UNIX sockets.

### Version 0.6.1

- Fixed a bug where numbers in the file path caused forever to think
- Process variables are not always available, for example if you execute

### Version 0.6.0

- Dont allow `-` in uuids generated by forever. 
- When executing stopall, dont kill the current process. 
- Added forever.debug for debugging purposes
- Keep processes silent on `forever restart` if requested. A couple of minor log formatting updates
- Update `forever list` to use cliff
- Added generic hooks for forever.Monitor
- Use default values for log file and pid file (prevents a process from being nuked by being daemonized)
- Default `minUptime` to 0
- Create `options.uid` by default in `.startDaemon()` if it is already not provided
- Include uids in `forever list`
- Catch `uncaughtException` slightly more intelligently
- Forever no longer uses *.fvr files in-favor of a TCP server in each forever process started by the CLI. Programmatic usage will require an additional call to `forever.createServer()` explicitally in order for your application to be available in `forever list` or `forever.list()`
- Add `portfinder` dependency to package.json
- Expose `forever.columns` and update `forever.format` to generate results dynamically

### Version 0.5.6

- Update winston dependency to 0.3.x

### Version 0.5.5

- Remove .fvr file when a forever.Monitor child exits

### Version 0.5.4

- Add --spinSleepTime to throttle instead of killing spinning scripts

### Version 0.5.3

- Added `preferGlobal` option to package.json
- Improve forever when working with `-c` or `--command`

### Version 0.5.2

- Print help when a valid action isn't given
- Batch the cleaning of *.fvr and *.pid files to avoid file descriptor overload
- Check if processes exist before returning in `.findByScript()`.

### Version 0.5.1

- Readd eyes dependency

### Version 0.5.0

- Added forever.logFilePath utility.
- Added forever.pidFilePath implementation
- Added append log implementation to CLI
- Fix for spawning multiple processes from a single forever process
- Added forever.config using nconf
- Better bookkeeping of *.fvr and *.pid files

### Version 0.4.1

- Remove unnecessary eyes dependency

### Version 0.4.1

- Update sourceDir option to check for file paths relative to root

### Version 0.4.0 
                                                     
- Enable forever to track uptime                     
- Add `restart` command to forever.Monitor and CLI   
- Ensure forever.load() is called on require()       
- Better handling for for `-p` CLI option            
- Enable options to be passed to child_process.spawn  

### Version 0.3.1

- Allow forever to start any script (not just node) from nodejs code  
- Array shortcut to set command and options                           
- Check for scripts with fs.stat before running them                  
- Improved how *.fvr and *.pid files are managed by Forever CLI       
- Ability to delete all historical logs from CLI via 'cleanlogs'      
- Ability to stop script by name -- stops ALL scripts with that name. 
- Display logfile in 'forever list'.                                  
- Use process.kill() instead of exec('kill').                         
- Emit 'save' event when persisting to disk.                          
- Emit 'start' event when starting a forever child                    
- Remove 'auto-save' feature from Forever.start()                     

#### Breaking Changes
                                                                                         
- Push options hierarchy up one level. e.g. Forever.options.silent is now Forever.silent 
- Only 'error' event now emits with an error. All other events simply emit data