github.com/elastic/gosigar@v0.14.3/CHANGELOG.md (about)

     1  # elastic/gosigar Changelog
     2  
     3  All notable changes to this project will be documented in this file.
     4  
     5  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
     6  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7  
     8  ## [Unreleased]
     9  
    10  ### Added
    11  
    12  ### Fixed
    13  
    14  ### Changed
    15  
    16  ### Deprecated
    17  
    18  ## [0.14.3]
    19  
    20  ### Fixed
    21  
    22  - darwin: Fix checkptr error in `(*Mem).Get` for Go 1.22.
    23  
    24  ## [0.14.2]
    25  
    26  ### Fixed
    27  
    28  - Fix again unsupported devices for filesystem. [#164](https://github.com/elastic/gosigar/pull/164)
    29  
    30  ## [0.14.1]
    31  
    32  ### Fixed
    33  
    34  - Fix unsupported devices for filesystem. [#159](https://github.com/elastic/gosigar/pull/159)
    35  
    36  ## [0.14.0]
    37  
    38  ### Addded
    39  
    40  - Add darwin ARM support. [#152](https://github.com/elastic/gosigar/pull/152)
    41  
    42  ## [0.13.0]
    43  
    44  ### Added
    45  
    46  - Add method of overriding the /sys/fs/cgroup hierarchy, for reading cgroup metrics inside Docker [#148](https://github.com/elastic/gosigar/pull/148)
    47  
    48  ## [0.12.0]
    49  
    50  ### Added
    51  
    52  - Add `Cached` data to Memory [#145](https://github.com/elastic/gosigar/pull/145)
    53  - Add `SysTypeName` support on Windows [#146](https://github.com/elastic/gosigar/pull/146)
    54  
    55  ## [0.11.0]
    56  
    57  ### Added
    58  
    59  - Added support for AIX. [#133](https://github.com/elastic/gosigar/pull/133)
    60  
    61  ### Fixed
    62  
    63  - Fixed the `ss` example by replacing the Logrus package with the stdlib `log` package. [#123](https://github.com/elastic/gosigar/issues/123) [#136](https://github.com/elastic/gosigar/pull/136)
    64  - Replaced `bytePtrToString` and cleaned up darwin code. [#138](https://github.com/elastic/gosigar/issues/138) [#141](https://github.com/elastic/gosigar/pull/141)
    65  
    66  ## [0.10.5]
    67  
    68  ### Fixed
    69  
    70  - Fixed uptime calculation under Windows. [#126](https://github.com/elastic/gosigar/pull/126)
    71  - Fixed compilation issue for darwin/386. [#128](https://github.com/elastic/gosigar/pull/128)
    72  
    73  ### Changed
    74  
    75  - Load DLLs only from Windows system directory. [#132](https://github.com/elastic/gosigar/pull/132)
    76  
    77  ## [0.10.4]
    78  
    79  ### Fixed
    80  
    81  - Fixed a crash when splitting command-line arguments under Windows. [#124](https://github.com/elastic/gosigar/pull/124)
    82  
    83  ## [0.10.3]
    84  
    85  ### Fixed
    86  - ProcState.Get() doesn't fail under Windows when it cannot obtain process ownership information. [#121](https://github.com/elastic/gosigar/pull/121)
    87  
    88  ## [0.10.2]
    89  
    90  ### Fixed
    91  - Fix memory leak when getting process arguments. [#119](https://github.com/elastic/gosigar/pull/119)
    92  
    93  ## [0.10.1]
    94  
    95  ### Fixed
    96  - Replaced the WMI queries with win32 apis due to high CPU usage. [#116](https://github.com/elastic/gosigar/pull/116)
    97  
    98  ## [0.10.0]
    99  
   100  ### Added
   101  - List filesystems on Windows that have an access path but not an assigned letter. [#112](https://github.com/elastic/gosigar/pull/112)
   102  
   103  ### Fixed
   104  - Added missing runtime import for FreeBSD. [#104](https://github.com/elastic/gosigar/pull/104)
   105  - Handle nil command line in Windows processes. [#110](https://github.com/elastic/gosigar/pull/110)
   106  
   107  ## [0.9.0]
   108  
   109  ### Added
   110  - Added support for huge TLB pages on Linux [#97](https://github.com/elastic/gosigar/pull/97)  
   111  - Added support for big endian platform [#100](https://github.com/elastic/gosigar/pull/100) 
   112  
   113  ### Fixed
   114  - Add missing method for OpenBSD [#99](https://github.com/elastic/gosigar/pull/99)
   115  
   116  ## [0.8.0]
   117  
   118  ### Added
   119  - Added partial `getrusage` support for Windows to retrieve system CPU time and user CPU time. [#95](https://github.com/elastic/gosigar/pull/95)
   120  - Added full `getrusage` support for Unix. [#95](https://github.com/elastic/gosigar/pull/95)
   121  
   122  ## [0.7.0]
   123  
   124  ### Added
   125  - Added method stubs for process handling for operating system that are not supported
   126    by gosigar. All methods return `ErrNotImplemented` on such systems. [#88](https://github.com/elastic/gosigar/pull/88)
   127  
   128  ### Fixed
   129  - Fix freebsd build by using the common version of Get(pid). [#91](https://github.com/elastic/gosigar/pull/91)
   130  
   131  ### Changed
   132  - Fixed issues in cgroup package by adding missing error checks and closing
   133    file handles. [#92](https://github.com/elastic/gosigar/pull/92)
   134  
   135  ## [0.6.0]
   136  
   137  ### Added
   138  - Added method stubs to enable compilation for operating systems that are not
   139    supported by gosigar. All methods return `ErrNotImplemented` on these unsupported
   140    operating systems. [#83](https://github.com/elastic/gosigar/pull/83)
   141  - FreeBSD returns `ErrNotImplemented` for `ProcTime.Get`. [#83](https://github.com/elastic/gosigar/pull/83)
   142  
   143  ### Changed
   144  - OpenBSD returns `ErrNotImplemented` for `ProcTime.Get` instead of `nil`. [#83](https://github.com/elastic/gosigar/pull/83)
   145  - Fixed incorrect `Mem.Used` calculation under linux. [#82](https://github.com/elastic/gosigar/pull/82)
   146  - Fixed `ProcState` on Linux and FreeBSD when process names contain parentheses. [#81](https://github.com/elastic/gosigar/pull/81)
   147  
   148  ### Removed
   149  - Remove NetBSD build from sigar_unix.go as it is not supported by gosigar. [#83](https://github.com/elastic/gosigar/pull/83)
   150  
   151  ## [0.5.0]
   152  
   153  ### Changed
   154  - Fixed Trim environment variables when comparing values in the test suite. [#79](https://github.com/elastic/gosigar/pull/79)
   155  - Make `kern_procargs` more robust under darwin when we cannot retrieve
   156    all the information about a process. [#78](https://github.com/elastic/gosigar/pull/78)
   157  
   158  ## [0.4.0]
   159  
   160  ### Changed
   161  - Fixed Windows issue that caused a hang during `init()` if WMI wasn't ready. [#74](https://github.com/elastic/gosigar/pull/74)
   162  
   163  ## [0.3.0]
   164  
   165  ### Added
   166  - Read `MemAvailable` value for kernel 3.14+ [#71](https://github.com/elastic/gosigar/pull/71)
   167  
   168  ## [0.2.0]
   169  
   170  ### Added
   171  - Added `ErrCgroupsMissing` to indicate that /proc/cgroups is missing which is
   172    an indicator that cgroups were disabled at compile time. [#64](https://github.com/elastic/gosigar/pull/64)
   173  
   174  ### Changed
   175  - Changed `cgroup.SupportedSubsystems()` to honor the "enabled" column in the
   176    /proc/cgroups file. [#64](https://github.com/elastic/gosigar/pull/64)
   177  
   178  ## [0.1.0]
   179  
   180  ### Added
   181  - Added `CpuList` implementation for Windows that returns CPU timing information
   182    on a per CPU basis. [#55](https://github.com/elastic/gosigar/pull/55)
   183  - Added `Uptime` implementation for Windows. [#55](https://github.com/elastic/gosigar/pull/55)
   184  - Added `Swap` implementation for Windows based on page file metrics. [#55](https://github.com/elastic/gosigar/pull/55)
   185  - Added support to `github.com/gosigar/sys/windows` for querying and enabling
   186    privileges in a process token.
   187  - Added utility code for interfacing with linux NETLINK_INET_DIAG. [#60](https://github.com/elastic/gosigar/pull/60)
   188  - Added `ProcEnv` for getting a process's environment variables. [#61](https://github.com/elastic/gosigar/pull/61)
   189  
   190  ### Changed
   191  - Changed several `OpenProcess` calls on Windows to request the lowest possible
   192    access privileges. [#50](https://github.com/elastic/gosigar/pull/50)
   193  - Removed cgo usage from Windows code.
   194  - Added OS version checks to `ProcArgs.Get` on Windows because the
   195    `Win32_Process` WMI query is not available prior to Windows vista. On XP and
   196    Windows 2003, this method returns `ErrNotImplemented`. [#55](https://github.com/elastic/gosigar/pull/55)
   197  
   198  ### Fixed
   199  - Fixed value of `Mem.ActualFree` and `Mem.ActualUsed` on Windows. [#49](https://github.com/elastic/gosigar/pull/49)
   200  - Fixed `ProcTime.StartTime` on Windows to report value in milliseconds since
   201    Unix epoch. [#51](https://github.com/elastic/gosigar/pull/51)
   202  - Fixed `ProcStatus.PPID` value is wrong on Windows. [#55](https://github.com/elastic/gosigar/pull/55)
   203  - Fixed `ProcStatus.Username` error on Windows XP [#56](https://github.com/elastic/gosigar/pull/56)
   204  
   205  [Unreleased]: https://github.com/elastic/gosigar/compare/v0.14.3...HEAD
   206  [0.14.3]: https://github.com/elastic/gosigar/releases/tag/v0.14.3
   207  [0.14.2]: https://github.com/elastic/gosigar/releases/tag/v0.14.2
   208  [0.14.1]: https://github.com/elastic/gosigar/releases/tag/v0.14.1
   209  [0.14.0]: https://github.com/elastic/gosigar/releases/tag/v0.14.0
   210  [0.13.0]: https://github.com/elastic/gosigar/releases/tag/v0.13.0
   211  [0.12.0]: https://github.com/elastic/gosigar/releases/tag/v0.12.0
   212  [0.11.0]: https://github.com/elastic/gosigar/releases/tag/v0.11.0
   213  [0.10.5]: https://github.com/elastic/gosigar/releases/tag/v0.10.5
   214  [0.10.4]: https://github.com/elastic/gosigar/releases/tag/v0.10.4
   215  [0.10.3]: https://github.com/elastic/gosigar/releases/tag/v0.10.3
   216  [0.10.2]: https://github.com/elastic/gosigar/releases/tag/v0.10.2
   217  [0.10.1]: https://github.com/elastic/gosigar/releases/tag/v0.10.1
   218  [0.10.0]: https://github.com/elastic/gosigar/releases/tag/v0.10.0
   219  [0.9.0]: https://github.com/elastic/gosigar/releases/tag/v0.9.0
   220  [0.8.0]: https://github.com/elastic/gosigar/releases/tag/v0.8.0
   221  [0.7.0]: https://github.com/elastic/gosigar/releases/tag/v0.7.0
   222  [0.6.0]: https://github.com/elastic/gosigar/releases/tag/v0.6.0
   223  [0.5.0]: https://github.com/elastic/gosigar/releases/tag/v0.5.0
   224  [0.4.0]: https://github.com/elastic/gosigar/releases/tag/v0.4.0
   225  [0.3.0]: https://github.com/elastic/gosigar/releases/tag/v0.3.0
   226  [0.2.0]: https://github.com/elastic/gosigar/releases/tag/v0.2.0
   227  [0.1.0]: https://github.com/elastic/gosigar/releases/tag/v0.1.0