1 | # Changelog
|
2 |
|
3 | ### Major Changes - Version 4
|
4 |
|
5 | **New Functions**
|
6 |
|
7 | - `chassis()`: chassis information
|
8 |
|
9 | **Breaking Changes**
|
10 |
|
11 | - `networkStats()`: will provide an **array** of stats for all given interfaces. In previous versions only one interface was provided as a parameter. Pass '*' for all interfaces
|
12 | - `networkStats()`: `rx` and `tx` changed to `rx_bytes` and `tx_bytes`
|
13 | - `dockerContainerStats()`: will provide an **array** of stats for all given docker containers. In previous versions only one interface was provided as a parameter. Pass '*' for all docker containers
|
14 |
|
15 | **Other Changes**
|
16 |
|
17 | - `system()` optimized system detection (e.g. new Raspberry Pi models, ...)
|
18 | - `system()`, `bios()`, `baseboard()` information also as non-root (linux)
|
19 | - `graphics()` better controller and display detection, fixes
|
20 | - `versions()` optimization, fixes
|
21 | - `networkInterfaces()` added `operstate`, `type`, `duplex`, `mtu`, `speed`, `carrierChanges`
|
22 | - `networkStats()` added stats for `errors`, `dropped`
|
23 | - added TypeScript definitions
|
24 |
|
25 | **Be aware**, that the new version 4.x is **NOT fully backward compatible** to version 3.x ...
|
26 |
|
27 | For major (breaking) changes - version 3 and 2 see end of page.
|
28 |
|
29 | ## Version history
|
30 |
|
31 | | Version | Date | Comment |
|
32 | | -------------- | -------------- | -------- |
|
33 | | 4.27.11 | 2020-10-26 | `inetChecksite()` fixed vulnerability: command injection |
|
34 | | 4.27.10 | 2020-10-16 | `dockerContainers()` resolved hanging issue |
|
35 | | 4.27.9 | 2020-10-13 | `networkInterfaces()` loopback internal detection (windows) |
|
36 | | 4.27.8 | 2020-10-08 | windows codepages partial fix |
|
37 | | 4.27.7 | 2020-10-05 | updated typescript typings, minor fixes |
|
38 | | 4.27.6 | 2020-10-02 | `get()` fixed when results are in arrays |
|
39 | | 4.27.5 | 2020-09-18 | `cpuTemperature()` fix try catch (linux) |
|
40 | | 4.27.4 | 2020-09-16 | `networkInterfaceDefault()` optimization (macOS) |
|
41 | | 4.27.3 | 2020-08-26 | updated typescript typings |
|
42 | | 4.27.2 | 2020-08-26 | fixed issue breaking node v4 compatibility |
|
43 | | 4.27.1 | 2020-08-25 | `networkStats()` fixed packages dropped (linux) |
|
44 | | 4.27.0 | 2020-08-24 | `observe()` added function to observe/watch system parameters |
|
45 | | 4.26.12 | 2020-08-21 | `versions()` fixed issue windows |
|
46 | | 4.26.11 | 2020-08-20 | `cpuTemperature()` fixed issue windows |
|
47 | | 4.26.10 | 2020-07-16 | `networkStats()` fixed issue blocking windows |
|
48 | | 4.26.9 | 2020-06-06 | `networkStats()` fixed comparison issue windows |
|
49 | | 4.26.8 | 2020-06-06 | `networkInterfaces()` fixed caching issue |
|
50 | | 4.26.7 | 2020-06-06 | `cpuTemperature()` fixed raspberry pi sensors issue |
|
51 | | 4.26.6 | 2020-06-03 | `diskLayout()` fixed issue linux |
|
52 | | 4.26.5 | 2020-05-27 | `cpuTemperature()` optimizes scanning AMD linux sensors |
|
53 | | 4.26.4 | 2020-05-21 | `cpuTemperature()` fix (BSD), code cleanup |
|
54 | | 4.26.3 | 2020-05-20 | updated documentation (macOS temperature) |
|
55 | | 4.26.2 | 2020-05-19 | `processes()` memory leak fix |
|
56 | | 4.26.1 | 2020-05-13 | code cleanup |
|
57 | | 4.26.0 | 2020-05-12 | `diskLayout()` added full smart data where supported |
|
58 | | 4.25.2 | 2020-05-12 | `getDynamicData()` added wifiNetworks() |
|
59 | | 4.25.1 | 2020-05-07 | `get()` minor bounds test fix, updated docs |
|
60 | | 4.25.0 | 2020-05-07 | `get()` added function to get partial system info |
|
61 | | 4.24.2 | 2020-05-06 | `cpu()` fix (BSD), `networkStats()` fix BSD |
|
62 | | 4.24.1 | 2020-05-03 | `processes()` fix parsing command and params |
|
63 | | 4.24.0 | 2020-05-01 | `networkInterfaces()` added subnet mask ip4 and ip6 |
|
64 | | 4.23.10 | 2020-05-01 | `cpuTemperature()` optimized parsing linux |
|
65 | | 4.23.9 | 2020-04-29 | `currentLoad()` workarround for no os.cpus info |
|
66 | | 4.23.8 | 2020-04-26 | `getMacAddresses()` fix added try catch |
|
67 | | 4.23.7 | 2020-04-26 | `getCpuCurrentSpeedSync()` workarround fix |
|
68 | | 4.23.6 | 2020-04-25 | `networkGatewayDefault()` bug fix no interfaces |
|
69 | | 4.23.5 | 2020-04-20 | updated docs |
|
70 | | 4.23.4 | 2020-04-20 | `users()` optimized parseDateTime function |
|
71 | | 4.23.3 | 2020-04-09 | refactored to avoid `cat` |
|
72 | | 4.23.2 | 2020-04-08 | `cpu()` fixed getting base frequency for AMD Ryzen |
|
73 | | 4.23.1 | 2020-03-11 | `diskLayout()` optimized detection linux |
|
74 | | 4.23.0 | 2020-03-08 | `versions()` added param to specify which program/lib versions to detect |
|
75 | | 4.22.7 | 2020-03-08 | `diskLayout()` fixed linux |
|
76 | | 4.22.6 | 2020-03-08 | `network()` fixed DHCP linux|
|
77 | | 4.22.5 | 2020-03-04 | `graphics()` fixed vram macOS |
|
78 | | 4.22.4 | 2020-03-01 | `versions()` added dotnet, typings fix |
|
79 | | 4.22.3 | 2020-02-20 | `memLayout()` code cleanup |
|
80 | | 4.22.2 | 2020-02-19 | `memLayout()` raspberry PI mem voltage fix |
|
81 | | 4.22.1 | 2020-02-17 | `memLayout()` raspberry PI support |
|
82 | | 4.22.0 | 2020-02-17 | `services()` added pids (windows) |
|
83 | | 4.21.3 | 2020-02-16 | `versions()` fixed mysql version (macOS) |
|
84 | | 4.21.2 | 2020-02-11 | `networkConnections()` fixed linux (debian) issue |
|
85 | | 4.21.1 | 2020-01-31 | `networkGatewayDefault()` fixed windows 7 issue |
|
86 | | 4.21.0 | 2020-01-27 | `npx` compatibility |
|
87 | | 4.20.1 | 2020-01-26 | `battery()` code refactoring, cleanup, updated docs |
|
88 | | 4.20.1 | 2020-01-26 | `battery()` code refactoring, cleanup, updated docs |
|
89 | | 4.20.0 | 2020-01-25 | `battery()` added designcapacity, voltage, unit |
|
90 | | 4.19.4 | 2020-01-24 | `mem()` prevent log messages, `memgetDefaultNetworkInterface()` catch errors |
|
91 | | 4.19.3 | 2020-01-24 | `memLayout()` bank info fix macOS |
|
92 | | 4.19.2 | 2020-01-19 | `cpu()` muli-processor fix windows |
|
93 | | 4.19.1 | 2020-01-14 | `osInfo()` uefi fix windows |
|
94 | | 4.19.0 | 2020-01-12 | `osInfo()` added uefi |
|
95 | | 4.18.3 | 2020-01-10 | `fsSize()` fix excluding loop/snap devices |
|
96 | | 4.18.2 | 2020-01-10 | `memLayout()` fix memsize linux (modules >= 32 GB) |
|
97 | | 4.18.1 | 2020-01-07 | updated docs |
|
98 | | 4.18.0 | 2020-01-07 | `networkInterfaces()` added dhcp for mac os, added dhcp linux fallback |
|
99 | | 4.17.3 | 2020-01-05 | code cleanup |
|
100 | | 4.17.2 | 2020-01-05 | `cpu().speed` AMD base frequency and fix (0.00) |
|
101 | | 4.17.1 | 2020-01-04 | `fsSize()` alpine linux support |
|
102 | | 4.17.0 | 2020-01-04 | `networkInterfaces()` added dhcp, dnsSuffix, ieee8021xAuth, ieee8021xState |
|
103 | | 4.16.1 | 2020-01-02 | `networkInterfaces()` bug fix (osx) |
|
104 | | 4.16.0 | 2019-11-27 | `networkGatewayDefault()` added |
|
105 | | 4.15.3 | 2019-11-10 | type definitions and docs update |
|
106 | | 4.15.2 | 2019-11-10 | `mem()` improved calculation linux |
|
107 | | 4.15.1 | 2019-11-10 | `diskLayout()` added support for older lsblk versions (linux) |
|
108 | | 4.15.0 | 2019-11-10 | `cpu()` added governor (linux) |
|
109 | | 4.14.17 | 2019-10-22 | `graphics()` improved display detection (windows) |
|
110 | | 4.14.16 | 2019-10-19 | `graphics()` improved display detection (windows) |
|
111 | | 4.14.15 | 2019-10-18 | `graphics()` fallback display detection (windows) |
|
112 | | 4.14.14 | 2019-10-18 | `powerShell()` fixed error handling (windows) |
|
113 | | 4.14.13 | 2019-10-15 | `networkConnections()` fixed parsing (linux) |
|
114 | | 4.14.12 | 2019-10-14 | `getCpu()` fixed multi socket detection (linux) |
|
115 | | 4.14.11 | 2019-10-01 | type definitions fix dockerInfo |
|
116 | | 4.14.10 | 2019-10-01 | type definitions fix memLayout |
|
117 | | 4.14.9 | 2019-10-01 | `processLoad()` fix windows |
|
118 | | 4.14.8 | 2019-08-22 | `parseDateTime()` fix coding error |
|
119 | | 4.14.7 | 2019-08-22 | `battery()` windows acconnected improvement |
|
120 | | 4.14.6 | 2019-08-22 | `users()` improved date time parsing |
|
121 | | 4.14.5 | 2019-08-22 | `fsSize()` fix windows result as number |
|
122 | | 4.14.4 | 2019-07-20 | `verions()` fix pip, pip3 |
|
123 | | 4.14.3 | 2019-07-09 | `system()` sku fix windows |
|
124 | | 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN |
|
125 | | 4.14.1 | 2019-07-04 | `graphics()` added display position windows |
|
126 | | 4.14.0 | 2019-07-03 | `processes()` added process path and params |
|
127 | | 4.13.2 | 2019-07-02 | `versions()` fix getting all versions |
|
128 | | 4.13.1 | 2019-07-01 | `versions()` gcc fix macos |
|
129 | | 4.13.0 | 2019-07-01 | `networkConnections()` added PID and process |
|
130 | | 4.12.2 | 2019-06-24 | `system()` added Raspberry PI 4 detection |
|
131 | | 4.12.1 | 2019-06-24 | `networkInterface()` virtual interfaces macos, `networkInterfaceDefault()` |
|
132 | | 4.12.0 | 2019-06-21 | `networkInterface()` added property virtual |
|
133 | | 4.11.6 | 2019-06-19 | `util` bug fix |
|
134 | | 4.11.5 | 2019-06-19 | `dockerAll()` bug fix |
|
135 | | 4.11.4 | 2019-06-17 | type definitions bug fix |
|
136 | | 4.11.3 | 2019-06-16 | `graphics()` optimization windows |
|
137 | | 4.11.2 | 2019-06-16 | `wifiNetworks()` bug fixes |
|
138 | | 4.11.1 | 2019-06-15 | updated docs |
|
139 | | 4.11.0 | 2019-06-14 | `wifiNetworks()` added available wifi networks |
|
140 | | 4.10.0 | 2019-06-14 | `graphics()` windows multiple display support |
|
141 | | 4.9.2 | 2019-06-12 | type definitions bug fix |
|
142 | | 4.9.1 | 2019-06-11 | `networkStats()` bug fix windows |
|
143 | | 4.9.0 | 2019-06-03 | `graphics()` added vendor, refresh rate, current res |
|
144 | | 4.8.4 | 2019-06-03 | `vboxInfo()` fixed call parameters |
|
145 | | 4.8.3 | 2019-06-01 | `vboxInfo()` added stoppedSince, started, stopped |
|
146 | | 4.8.2 | 2019-05-31 | `dockerInfo()` changed property naming style |
|
147 | | 4.8.1 | 2019-05-31 | updated docs |
|
148 | | 4.8.0 | 2019-05-31 | added `vboxInfo()` detailed virtual box info |
|
149 | | 4.7.3 | 2019-05-30 | updated typescript typings |
|
150 | | 4.7.2 | 2019-05-30 | `versions()` added virtualbox, java popup fix macos |
|
151 | | 4.7.1 | 2019-05-29 | `memLayout()` fix macos mojave |
|
152 | | 4.7.0 | 2019-05-29 | partial netBSD support |
|
153 | | 4.6.1 | 2019-05-29 | get wmic path - fic windows |
|
154 | | 4.6.0 | 2019-05-27 | added `dockerInfo()` |
|
155 | | 4.5.1 | 2019-05-17 | updated docs |
|
156 | | 4.5.0 | 2019-05-17 | `fsOpenFiles()` added open file descriptor count |
|
157 | | 4.4.1 | 2019-05-11 | updated docs |
|
158 | | 4.4.0 | 2019-05-11 | `dockerContainers()` added started, finished time |
|
159 | | 4.3.0 | 2019-05-09 | `dockerContainers()` `dockerStats()` added restartCount |
|
160 | | 4.2.1 | 2019-05-09 | `networkInterfaceDefault()` time delay fix (linux) |
|
161 | | 4.2.0 | 2019-05-09 | `osInfo()` extended service pack version (windows) |
|
162 | | 4.1.8 | 2019-05-09 | `graphics()` resolve on error (windows) |
|
163 | | 4.1.7 | 2019-05-09 | `users()` parsing fix (windows) |
|
164 | | 4.1.6 | 2019-04-24 | `memory()` swap used fix (linux) |
|
165 | | 4.1.5 | 2019-04-19 | refactored `wmic` calls to work also on Windows XP |
|
166 | | 4.1.4 | 2019-03-26 | `networkInterfaces()` speed bug (windows) |
|
167 | | 4.1.3 | 2019-03-24 | wmic path detection (windows) |
|
168 | | 4.1.2 | 2019-03-23 | updated docs |
|
169 | | 4.1.1 | 2019-03-13 | updated typescript typings |
|
170 | | 4.1.0 | 2019-03-13 | `versions()` added pip, pip3 |
|
171 | | 4.0.16 | 2019-03-12 | Happy birthday - 5th aniversary |
|
172 | | 4.0.15 | 2019-03-02 | `versions()` added java, python3, optimized gcc |
|
173 | | 4.0.14 | 2019-03-01 | updated typescript typings |
|
174 | | 4.0.13 | 2019-03-01 | `diskLayout()` added device (/dev/sda...) linux, mac |
|
175 | | 4.0.12 | 2019-03-01 | `diskLayout()` linux rewritten - better detection |
|
176 | | 4.0.11 | 2019-02-23 | `users()` fix windows (time), added @ts-check |
|
177 | | 4.0.10 | 2019-02-10 | `networkInterfaceDefault()` fix windows |
|
178 | | 4.0.9 | 2019-02-08 | `cpu()` fix, code cleanup |
|
179 | | 4.0.8 | 2019-02-05 | `inetLatency()` Windows fix parse chinese output |
|
180 | | 4.0.7 | 2019-02-05 | `inetLatency()` Windows fix |
|
181 | | 4.0.6 | 2019-02-04 | powershell catch error |
|
182 | | 4.0.5 | 2019-02-03 | updated docs |
|
183 | | 4.0.4 | 2019-02-03 | code cleanup, updated docs |
|
184 | | 4.0.3 | 2019-02-03 | `networkInterfaces(), chassis()` fixed two more issues |
|
185 | | 4.0.2 | 2019-02-03 | `networkInterfaces(), chassis()` fixed smaller issues |
|
186 | | 4.0.1 | 2019-02-02 | updated docs |
|
187 | | 4.0.0 | 2019-02-02 | new major version |
|
188 | | 3.54.0 | 2018-12-30 | added TypeScript type definitions |
|
189 | | 3.53.1 | 2018-12-29 | `versions()` bug fix nginx version |
|
190 | | 3.53.0 | 2018-12-29 | `versions()` added perl, python, gcc |
|
191 | | 3.52.7 | 2018-12-29 | `versions()` bug fix macOS detection |
|
192 | | 3.52.6 | 2018-12-28 | `versions()` bug fix macOS |
|
193 | | 3.52.5 | 2018-12-28 | preparing automated tests, travis-ci integration, added dev-dependencies |
|
194 | | 3.52.4 | 2018-12-27 | `graphics().controllers` bugfix linux |
|
195 | | 3.52.3 | 2018-12-27 | `os().codepage` bugfix |
|
196 | | 3.52.2 | 2018-12-17 | code cleanup |
|
197 | | 3.52.1 | 2018-12-17 | `inetChecksite()` bugfix windows |
|
198 | | 3.52.0 | 2018-12-15 | `cpu()` added physical cores, processors, socket type |
|
199 | | 3.51.4 | 2018-12-05 | `versions()` bugfix, optimization postgres |
|
200 | | 3.51.3 | 2018-11-27 | `mem()` refactoring parsing linux, code cleanup |
|
201 | | 3.51.2 | 2018-11-26 | `mem()` bugfix parsing `free` output linux |
|
202 | | 3.51.1 | 2018-11-26 | `processLoad()` bugfix windows |
|
203 | | 3.51.0 | 2018-11-25 | `processLoad()` added for windows |
|
204 | | 3.50.3 | 2018-11-25 | `processLoad()`, `services()` fixed cpu data (linux) |
|
205 | | 3.50.2 | 2018-11-23 | network mac adresses: ip support fix |
|
206 | | 3.50.1 | 2018-11-23 | `services()` added possibility to specify ALL services "*" for win |
|
207 | | 3.50.0 | 2018-11-23 | `services()` added possibility to specify ALL services "*" for linux |
|
208 | | 3.49.4 | 2018-11-21 | `battery()` timeremaining optimization (linux) thanks to Jorai Rijsdijk |
|
209 | | 3.49.3 | 2018-11-20 | `memLayout()` optimized parsing (win) |
|
210 | | 3.49.2 | 2018-11-19 | code cleanup |
|
211 | | 3.49.1 | 2018-11-19 | `cpu().brand` removed extra spaces, tabs |
|
212 | | 3.49.0 | 2018-11-19 | added system `uuid()` (os specific), `versions()` added postgresql |
|
213 | | 3.48.4 | 2018-11-18 | windows: garbled output because of codepage |
|
214 | | 3.48.3 | 2018-11-18 | `dockerContainerStats()` fixed issue `cpu_percent` win |
|
215 | | 3.48.2 | 2018-11-18 | `dockerContainerStats()` fixed issue `cpu_percent`, win exec |
|
216 | | 3.48.1 | 2018-11-17 | `docker...()` fixed issue parsing docker socket JSON |
|
217 | | 3.48.0 | 2018-11-17 | `diskLayout()` better interface detection (WIN), `osInfo()` added build, serial |
|
218 | | 3.47.0 | 2018-11-06 | `versions()` added docker, postfix |
|
219 | | 3.46.0 | 2018-11-05 | fixed issue `versions()`, added system openssl version |
|
220 | | 3.45.10 | 2018-11-03 | fixed issue `battery()`, modified `package.json` - files |
|
221 | | 3.45.9 | 2018-10-22 | fixed node 4 incompatibility |
|
222 | | 3.45.8 | 2018-10-22 | `system()` fix Raspberry Pi detection |
|
223 | | 3.45.7 | 2018-10-05 | fixed typos |
|
224 | | 3.45.6 | 2018-09-12 | `mem()` bug parsing linux in other languages |
|
225 | | 3.45.5 | 2018-09-07 | `diskLayout()` tiny bug S.M.A.R.T status windows |
|
226 | | 3.45.4 | 2018-09-06 | added icon to README.md |
|
227 | | 3.45.3 | 2018-09-06 | `diskLayout()` optimized media type detection (HD, SSD) on Windows |
|
228 | | 3.45.2 | 2018-09-05 | updated imags shields icons |
|
229 | | 3.45.1 | 2018-09-05 | updated documentation |
|
230 | | 3.45.0 | 2018-09-04 | `diskLayout()` added smartStatus |
|
231 | | 3.44.2 | 2018-08-28 | added code quality badges |
|
232 | | 3.44.1 | 2018-08-28 | code cleanup |
|
233 | | 3.44.0 | 2018-08-25 | `battery()` bugfix & added type, model, manufacturer, serial |
|
234 | | 3.43.0 | 2018-08-25 | `cpuCurrentspeed()` added cpu speed for all cores |
|
235 | | 3.42.10 | 2018-08-25 | `processes()` optimized start time parsing |
|
236 | | 3.42.9 | 2018-08-08 | `cpuTemperature()` optimized parsing |
|
237 | | 3.42.8 | 2018-08-03 | updated docs |
|
238 | | 3.42.7 | 2018-08-03 | `processes()` optimized parsing ps name |
|
239 | | 3.42.6 | 2018-08-03 | `processes()` bugfix parsing ps linux |
|
240 | | 3.42.5 | 2018-08-03 | `processes()` bugfix parsing ps linux |
|
241 | | 3.42.4 | 2018-07-09 | `cpuTemperature()` bugfix parsing negative values |
|
242 | | 3.42.3 | 2018-07-05 | `services()` bugfix not finding services with capital letters |
|
243 | | 3.42.2 | 2018-07-03 | `users()` optimized results if lack of permissions |
|
244 | | 3.42.1 | 2018-07-03 | `versions()` bugfix git version macOS |
|
245 | | 3.42.0 | 2018-06-01 | `processes()` added parent process PID |
|
246 | | 3.41.4 | 2018-05-28 | windows exec WMIC path detection (windows) in try catch |
|
247 | | 3.41.3 | 2018-05-13 | improved SunOS support `getStaticData()`, `getDynamicData()` |
|
248 | | 3.41.2 | 2018-05-13 | bugfix `system()` and `flags()` Raspberry Pi |
|
249 | | 3.41.1 | 2018-05-11 | updated docs |
|
250 | | 3.41.0 | 2018-05-11 | `system()` Raspberry Pi bugfix and extended detection, added partial `SunOS` support |
|
251 | | 3.40.1 | 2018-05-10 | bugfix `system().sku` (windows) |
|
252 | | 3.40.0 | 2018-04-29 | extended `versions()` (php, redis, mongodb) |
|
253 | | 3.39.0 | 2018-04-29 | added `versions().mysql` and `versions().nginx`, starting `SunOS` support (untested) |
|
254 | | 3.38.0 | 2018-04-06 | added `battery().acconnected` |
|
255 | | 3.37.12 | 2018-04-05 | another optimization `battery().ischarging` for macOS |
|
256 | | 3.37.11 | 2018-04-05 | another optimization `battery().ischarging` for macOS |
|
257 | | 3.37.10 | 2018-04-05 | `battery().ischarging` optimized for macOS |
|
258 | | 3.37.9 | 2018-04-03 | optimized `processes()`, bugfix `networkInterfaceDefault()` |
|
259 | | 3.37.8 | 2018-03-25 | optimized `networkDefaultInterface()` detection, fixed network `operstate` MacOS |
|
260 | | 3.37.7 | 2018-03-13 | celebrating 4th birthday |
|
261 | | 3.37.6 | 2018-03-12 | updated docs: fixed `diskLayout`and `mamlayout` |
|
262 | | 3.37.5 | 2018-03-12 | added support for `ip` instead of `ifconfig` |
|
263 | | 3.37.4 | 2018-02-22 | bugfix windows `processes()`, `disklayout()` |
|
264 | | 3.37.3 | 2018-02-19 | added windows exec `windowsHide` option |
|
265 | | 3.37.2 | 2018-02-15 | fixed bug `battery().percent` for macOS |
|
266 | | 3.37.1 | 2018-02-13 | fixed bug `battery().ischarging` for macOS |
|
267 | | 3.37.0 | 2018-02-11 | extended FreeBSD support `networkStats()` |
|
268 | | 3.36.0 | 2018-02-11 | extended FreeBSD support `networkConnections()` |
|
269 | | 3.35.0 | 2018-02-11 | extended FreeBSD support `processLoad()` |
|
270 | | 3.34.1 | 2018-02-11 | updated docs |
|
271 | | 3.34.0 | 2018-02-10 | first partial FreeBSD support |
|
272 | | 3.33.15 | 2018-01-21 | optimized OSX battery |
|
273 | | 3.33.14 | 2018-01-17 | bugfix `diskLayout()` (Windows) |
|
274 | | 3.33.13 | 2018-01-12 | bugfix `memLayout()` (Windows) |
|
275 | | 3.33.12 | 2017-12-25 | fixed typos |
|
276 | | 3.33.11 | 2017-12-17 | updated docs |
|
277 | | 3.33.10 | 2017-12-14 | bugfix WMIC path detection (windows) blockDevice parse (Windows 7) |
|
278 | | 3.33.9 | 2017-12-14 | bugfix WMIC path detection (windows) not found (Windows) |
|
279 | | 3.33.8 | 2017-12-02 | bugfix diskLayout().size (OSX) |
|
280 | | 3.33.7 | 2017-11-28 | bugfix diskLayout().size |
|
281 | | 3.33.6 | 2017-11-16 | bugfix diskLayout().size |
|
282 | | 3.33.5 | 2017-11-09 | code cleanup |
|
283 | | 3.33.4 | 2017-11-09 | bugfix graphics controller win (bytes) |
|
284 | | 3.33.3 | 2017-11-08 | bugfix cpu speed arm - type |
|
285 | | 3.33.2 | 2017-11-08 | bugfix cpu speed arm |
|
286 | | 3.33.1 | 2017-11-07 | improved bios and main board information |
|
287 | | 3.33.0 | 2017-11-07 | added bios and main board information |
|
288 | | 3.32.4 | 2017-11-02 | AMD cpu base frequencies table also for windows |
|
289 | | 3.32.3 | 2017-11-02 | code cleanup, AMD cpu base frequencies table |
|
290 | | 3.32.2 | 2017-11-01 | bugfix JSON.parse error `blockDevices()` |
|
291 | | 3.32.1 | 2017-10-23 | updated docs |
|
292 | | 3.32.0 | 2017-10-23 | extended `memLayout()` - added manufacturer |
|
293 | | 3.31.4 | 2017-10-21 | updated `README.md` |
|
294 | | 3.31.3 | 2017-10-21 | bugfix `graphics()`, fixed typo `README.md` |
|
295 | | 3.31.2 | 2017-10-16 | bugfix `graphics()` vendor and model parsing linux VGA/3D |
|
296 | | 3.31.1 | 2017-10-16 | bugfix `graphics()` vendor and model parsing linux |
|
297 | | 3.31.0 | 2017-10-15 | extended windows support `cpuFlags()` (partially) |
|
298 | | 3.30.6 | 2017-10-05 | updated community profile |
|
299 | | 3.30.5 | 2017-10-05 | bugfix `users()` - parsing values on windows |
|
300 | | 3.30.4 | 2017-10-03 | bugfix `cpuTemperature()` - parsing values on windows |
|
301 | | 3.30.3 | 2017-10-03 | bugfix `cpuTemperature()` - max value on windows |
|
302 | | 3.30.2 | 2017-09-26 | bugfix `networkInterfaces()` - optimized ip6 address selection |
|
303 | | 3.30.1 | 2017-09-21 | bugfix/typo `inetChecksite()` |
|
304 | | 3.30.0 | 2017-09-21 | extended `versions()` (added `yarn`, `gulp`, `grunt`, `tsc`, `git`) |
|
305 | | 3.29.0 | 2017-09-15 | extended windows support `services()`, optimized `diskLayout()` (OSX), bugfixes |
|
306 | | 3.28.0 | 2017-09-14 | extended windows support `processes()` |
|
307 | | 3.27.1 | 2017-09-13 | updated Raspberry version detection `system()` (Pi 3, Zero) |
|
308 | | 3.27.0 | 2017-09-12 | added raw data to `currentLoad()`, fixed `networkInterfaces()` MAC problem node 8.x |
|
309 | | 3.26.2 | 2017-09-01 | removed redundant code |
|
310 | | 3.26.1 | 2017-08-23 | fixed `cpu().speed` windows / AMD, updated docs |
|
311 | | 3.26.0 | 2017-08-21 | extended `getDynamicData()` (windows), updated docs |
|
312 | | 3.25.1 | 2017-08-07 | updated docs |
|
313 | | 3.25.0 | 2017-08-07 | improved windows support `networkStats()`, `cpuCache()`, bug fix `getStaticData()` |
|
314 | | 3.24.0 | 2017-08-05 | extended windows support `networkStats()`, `networkConnections()` |
|
315 | | 3.23.7 | 2017-07-11 | bug fix `diskLayout()` |
|
316 | | 3.23.6 | 2017-07-11 | added `cpuFlags()` to `getStaticData()`, bug fix `graphics()` (Win) |
|
317 | | 3.23.5 | 2017-06-29 | bug fix `inetChecksite()` |
|
318 | | 3.23.4 | 2017-06-24 | bug fix `getDynamicData(), getAllData() - mem` |
|
319 | | 3.23.3 | 2017-06-23 | updated docs |
|
320 | | 3.23.2 | 2017-06-23 | bug fix `battery` (windows) |
|
321 | | 3.23.1 | 2017-06-22 | updated docs |
|
322 | | 3.23.0 | 2017-06-22 | added `memLayout`, `diskLayout`, extended windows support (`inetChecksite`)|
|
323 | | 3.22.0 | 2017-06-19 | extended windows support (`users`, `inetLatency`) |
|
324 | | 3.21.0 | 2017-06-18 | extended time (timezone), extended windows support (battery, getAll...) |
|
325 | | 3.20.1 | 2017-06-17 | updated docs |
|
326 | | 3.20.0 | 2017-06-16 | extend WIN support (cpu, cpuCache, cpuCurrentspeed, mem, networkInterfaces, docker) |
|
327 | | 3.19.0 | 2017-06-12 | OSX temperature now an optional dependency |
|
328 | | 3.18.0 | 2017-05-27 | extended `cpu` info (vendor, family, model, stepping, revision, cache, speedmin/max) |
|
329 | | 3.17.3 | 2017-04-29 | minor fix (blockDevices data array, Windows) |
|
330 | | 3.17.2 | 2017-04-24 | minor fix (removed console.log) |
|
331 | | 3.17.1 | 2017-04-23 | fixed bugs fsSize(win), si.processes (command), si.osinfo(win) |
|
332 | | 3.17.0 | 2017-02-19 | windows support for some first functions, extended process list (linux)|
|
333 | | 3.16.0 | 2017-01-19 | blockDevices: added removable attribute + fix |
|
334 | | 3.15.1 | 2017-01-17 | minor cpuTemperature fix (OSX) |
|
335 | | 3.15.0 | 2017-01-15 | added cpuTemperature also for OSX |
|
336 | | 3.14.0 | 2017-01-14 | added currentLoad per cpu/core, cpu cache and cpu flags |
|
337 | | 3.13.0 | 2016-11-23 | added shell (returns standard shell) |
|
338 | | 3.12.0 | 2016-11-17 | refactoring and extended currentLoad |
|
339 | | 3.11.2 | 2016-11-16 | blockDevices: improved for older lsblk versions |
|
340 | | 3.11.1 | 2016-11-16 | fixed small bug in blockDevices |
|
341 | | 3.11.0 | 2016-11-15 | blockDevices for OSX and extended blockDevices |
|
342 | | 3.10.2 | 2016-11-14 | bug fix fsSize on OSX |
|
343 | | 3.10.1 | 2016-11-14 | optimization fsStats, disksIO, networkStats |
|
344 | | 3.10.0 | 2016-11-12 | added blockDevices, fixed fsSize, added file system type |
|
345 | | 3.9.0 | 2016-11-11 | added MAC address to networkInterfaces, fixed currentLoad |
|
346 | | 3.8.1 | 2016-11-04 | updated docs |
|
347 | | 3.8.0 | 2016-11-04 | added dockerContainerProcesses |
|
348 | | 3.7.1 | 2016-11-03 | code refactoring |
|
349 | | 3.7.0 | 2016-11-02 | extended docker stats, and no longer relying on curl |
|
350 | | 3.6.0 | 2016-09-14 | added versions (kernel, ssl, node, npm, pm2, ...) |
|
351 | | 3.5.1 | 2016-09-14 | bugfix graphics info |
|
352 | | 3.5.0 | 2016-09-14 | added graphics info (controller, display) |
|
353 | | 3.4.4 | 2016-09-02 | tiny fixes system.model, getDefaultNetworkInterface |
|
354 | | 3.4.3 | 2016-09-02 | tiny bug fix fsStats, disksIO OSX |
|
355 | | 3.4.2 | 2016-09-01 | improved default network interface |
|
356 | | 3.4.1 | 2016-08-30 | updated docs |
|
357 | | 3.4.0 | 2016-08-30 | rewritten processes current cpu usage |
|
358 | | 3.3.0 | 2016-08-24 | process list added to processes |
|
359 | | 3.2.1 | 2016-08-19 | updated docs, improvement system |
|
360 | | 3.2.0 | 2016-08-19 | added battery information |
|
361 | | 3.1.1 | 2016-08-18 | improved system and os detection (vm, ...), bugfix disksIO |
|
362 | | 3.1.0 | 2016-08-18 | added Docker stats |
|
363 | | 3.0.1 | 2016-08-17 | Bug-Fix disksIO, users, updated docs |
|
364 | | 3.0.0 | 2016-08-03 | new major version 3.0 |
|
365 | | 2.0.5 | 2016-03-02 | changed .gitignore |
|
366 | | 2.0.4 | 2016-02-22 | tiny correction - removed double quotes CPU brand, ... |
|
367 | | 2.0.3 | 2016-02-22 | optimized cpuCurrentspeed |
|
368 | | 2.0.2 | 2016-02-22 | added CoreOS identification |
|
369 | | 2.0.1 | 2016-01-07 | minor patch |
|
370 | | 2.0.0 | 2016-01-07 | new major version 2.0 |
|
371 | | 1.0.7 | 2015-11-27 | fixed: si.network_speed() |
|
372 | | 1.0.6 | 2015-09-17 | fixed: si.users() |
|
373 | | 1.0.5 | 2015-09-14 | updated dependencies |
|
374 | | 1.0.4 | 2015-07-18 | updated docs |
|
375 | | 1.0.3 | 2015-07-18 | bugfix cpu cores |
|
376 | | 1.0.2 | 2015-07-18 | bugfix cpu_currentspeed, cpu_temperature |
|
377 | | 1.0.1 | 2015-07-18 | documentation update |
|
378 | | 1.0.0 | 2015-07-18 | bug-fixes, version bump, published as npm component |
|
379 | | 0.0.3 | 2014-04-14 | bug-fix (cpu_speed) |
|
380 | | 0.0.2 | 2014-03-14 | Optimization FS-Speed & CPU current speed |
|
381 | | 0.0.1 | 2014-03-13 | initial release |
|
382 |
|
383 | ### Major (breaking) Changes - Version 3
|
384 |
|
385 | - works only with [node.js][nodejs-url] **v4.0.0** and above (using now internal ES6 promise function, arrow functions, ...)
|
386 | - **Promises**. As you can see in the documentation, you can now also use it in a promise oriented way. But callbacks are still supported.
|
387 | - **Async/Await**. Due to the promises support, systeminformation also works perfectly with the `async/await` pattern (available in [node.js][nodejs-url] **v7.6.0** and above). See example in the docs.
|
388 | - `cpuCurrentspeed`: now returns an object with current minimal, maximal and average CPU frequencies of all cores.
|
389 | - `mem`: now supports also newer versions of `free` (Version 3.3.10 and above); extended information `avaliable` (potentially available memory)
|
390 | - `fsStats`: added information sum bytes read + write (tx) and sum transfer rate/sec (tx_sec)
|
391 | - `networkInterfaces`: now providing one more detail: internal - true if this is an internal interface like "lo"
|
392 | - `networkConnections`: instead of only counting sockets, you now get an array of objects with connection details for each socket (protocol, local and peer address, state)
|
393 | - `users`: now provides an array of objects with users online including detailed session information (login date/time, ip address, terminal, command)
|
394 | - `inetLatency`: now you can provide a host against which you want to test latency (default is 8.8.8.8)
|
395 | - `getDynamicData`: changed order of parameters (callback - if provided - is now the last one): `getDynamicData(srv, network, callback)`
|
396 | - `getAllData`: changed order of parameters (callback - if provided - is now the last one): `getAllData(srv, network, callback)`
|
397 |
|
398 | New Functions
|
399 |
|
400 | - FreeBSD support: for some basic functions (new in version 3.34 ff)
|
401 | - `diskLayout`: returns hard disk layout (new in version 3.23)
|
402 | - `memLayout`: returns memory chip layout (new in version 3.23)
|
403 | - Windows support: for some basic functions (new in version 3.17 ff)
|
404 | - `cpuCache`: returns CPU cache (L1, L2, L3) sizes (new in version 3.14)
|
405 | - `cpuFlags`: returns CPU flags (new in version 3.14)
|
406 | - `currentLoad.cpus`: returns current load per cpu/core in an array (new in version 3.14)
|
407 | - `shell`: returns standard shell e.g. /bin/bash (new in version 3.13)
|
408 | - `blockDevices`: returns array of block devices like disks, partitions, raids, roms (new in version 3.10)
|
409 | - `dockerContainerProcesses`: returns processes for a specific docker container (new in version 3.8)
|
410 | - `versions`: returns object of versions - kernel, ssl, node, npm, ...(new in version 3.6)
|
411 | - `graphics`: returns arrays of graphics controllers and displays (new in version 3.5)
|
412 | - `networkInterfaceDefault`: returns default network interface (new in version 3.4)
|
413 | - `processes`: now returns also a process list with all process details (new in version 3.3)
|
414 | - `battery`: retrieves battery status and charging level (new in version 3.2)
|
415 | - `dockerContainers`: returns a list of all docker containers (new in version 3.1)
|
416 | - `dockerContainerStats`: returns statistics for a specific docker container (new in version 3.1)
|
417 | - `dockerAll`: returns a list of all docker containers including their stats (new in version 3.1)
|
418 | - `disksIO`: returns overall diskIO and IOPS values for all mounted volumes (new in version 3.0)
|
419 |
|
420 | Bug Fixes / improvements
|
421 |
|
422 | - improvement `cpuTemperature` - works now also on Raspberry Pi
|
423 | - bugfix `disksIO` - on OSX read and write got mixed up
|
424 | - several bug fixes (like assess errors in `cpuCurrentspeed`, potentially incorrect results in `users`, ...)
|
425 | - testet on even more platforms and linux distributions
|
426 |
|
427 | **Be aware**, that the new version 3.x is **NOT fully backward compatible** to version 2.x ...
|
428 |
|
429 | ### Major (breaking) Changes - Version 2
|
430 |
|
431 | There had been a lot of changes in version 2 of systeminformation! Here is a quick overview (for those who come from version 1):
|
432 |
|
433 | New Functions
|
434 |
|
435 | - `version`: returns systeminformation version (semver) of this library
|
436 | - `system`: hardware info (manufacturer, product/model name, version, serial, uuid)
|
437 | - `networkConnections`: number of active connections
|
438 | - `inetLatency`: latency in ms to external resource (internet)
|
439 | - `getStaticData`: returns on json object with static data at once (OS, CPU, Network Interfaces - they should not change until restarted)
|
440 | - `getDynamicData`: returns on json object with all dynamic data at once (e.g. for monitoring agents)
|
441 | - `getAllData`: returns on json object with all data (static and dynamic) at once
|
442 |
|
443 | Renamed Functions (now all camelCase)
|
444 |
|
445 | - `osinfo`: renamed to `osInfo`
|
446 | - `cpu_currentspeed`: renamed to `cpuCurrentspeed`
|
447 | - `cpu_temperature`: renamed to `cpuTemperature`
|
448 | - `fs_size`: renamed to `fsSize`
|
449 | - `fs_speed`: renamed to `fsStats`
|
450 | - `network_interfaces`: renamed to `networkInterfaces`
|
451 | - `network_speed`: renamed to `networkStats`
|
452 | - `network_connections`: renamed to `networkConnections`
|
453 | - `currentload`: renamed to `currentLoad`
|
454 | - `fullload`: renamed to `fullLoad`
|
455 | - `processload`: renamed to `processLoad`
|
456 | - `checksite`: renamed to `inetChecksite`
|
457 |
|
458 | Function Changes
|
459 |
|
460 | - `cpu_temperature`/`cpuTemperature`: -1 is new default (and indicates that non sensors are installed)
|
461 | - `cpu_temperature`/`cpuTemperature`: new result `max` which returns max temperature of all cores
|
462 | - `cpu_currentspeed`/`cpuCurrentspeed`: now in GHz
|
463 | - `cpu`: splitted `manufacturer` (e.g. Intel) and `brand` (e.g. Core 2 Duo)
|
464 | - `network_speed`/`networkStats`: now better support for OS X (also support for `operstate`)
|
465 | - `network_speed`/`networkStats`: overall received and transferred bytes (rx, tx)
|
466 | - `mem`: now better support for OS X (also support for `swaptotal`, `swapused`, `swapfree`)
|
467 | - `fs_size`/`fsSize`: use-values now in % (0 - 100% instead of 0 - 1)
|
468 | - `fs_speed`/`fsStats`: now also full support for OS X
|
469 | - `checksite`/`inetChecksite`: new result structure - see command reference
|
470 | - `checksite`/`inetChecksite`: ms (former `response_ms`): -1 if not ok
|
471 |
|
472 | Other changes
|
473 |
|
474 | - osx-temperature-sensor: now added as an optional dependency
|
475 | - no more external dependencies: `request` is not longer needed
|
476 | - where possible results are now integer or float values (instead of strings) because it is easier to calculate with numbers ;-)
|
477 |
|
478 | [nodejs-url]: https://nodejs.org/en/
|