gopkg.in/essentialkaos/ek.v3@v3.5.1/changelog.md (about) 1 ## Changelog 2 3 #### v3.5.1 4 5 * `[usage]` Using dark grey color for license and copyright 6 * `[fmtutil]` Added global variable `SeparatorColorTag` for separator color customization 7 * `[fmtutil]` Added global variable `SeparatorTitleColorTag` for separator title color customization 8 9 #### v3.5.0 10 11 * `[terminal]` Using forked [go.linenoise](https://github.com/essentialkaos/go-linenoise) package instead original 12 * `[terminal]` Added hints support from new version of `go.linenoise` 13 * `[fmtc]` Light colors tag (`-`) support 14 * `[usage]` Using dark grey color for option values and example description 15 * `[tmp]` Added `DefaultDirPerms` and `DefaultFilePerms` global variables for permissions customization 16 * `[tmp]` Improved error handling 17 18 #### v3.4.2 19 20 * `[strutil]` Fixed bug with overflowing int in `Tail` method 21 22 #### v3.4.1 23 24 * `[terminal]` Improved reading user input 25 26 #### v3.4.0 27 28 * `[httputil]` Added `GetRequestAddr`, `GetRemoteAddr`, `GetRemoteHost`, `GetRemotePort` methods 29 30 #### v3.3.1 31 32 * `[usage]` Fixed bug with rendering command groups 33 * `[terminal]` Small fixes in windows stubs 34 35 #### v3.3.0 36 37 * `[system/process]` Added new package for getting information about active system processes 38 * `[terminal]` Fixed bug with title formating in `ReadAnswer` function 39 40 #### v3.2.3 41 42 * `[terminal]` Fixed bug with title formating in `ReadUI` function 43 44 #### v3.2.2 45 46 * `[req]` Added content types constants 47 48 #### v3.2.1 49 50 * `[knf]` Fixed typo in tests 51 * `[strutil]` Removed unreachable code 52 53 #### v3.2.0 54 55 * `[strutil]` Added method `Len` which return number of symbols in string 56 * `[strutil]` UTF-8 support for `Substr`, `Tail`, `Head` and `Elipsis` methods 57 * `[strutil]` Added some benchmarks to tests 58 * `[fsutil]` Fixed `GetPerm` stub for Windows 59 * `[fsutil]` Fixed package description 60 61 #### v3.1.3 62 63 * `[req]` `RequestTimeout` set to 0 (_disabled_) by default 64 65 #### v3.1.2 66 67 * `[terminal]` Fixed bug with source name file conventions 68 * `[system]` Fixed bug with appending real user info on MacOS X 69 70 #### v3.1.1 71 72 * `[req]` Small fixes in Request struct fields types 73 74 #### v3.1.0 75 76 * `[req]` Lazy transport initialization 77 * `[req]` Added `DialTimeout` and `RequestTimeout` variables for timeouts control 78 79 #### v3.0.3 80 81 * `[system]` Removed debug output 82 83 #### v3.0.2 84 85 * Added makefile with some helpful commands (`fmt`, `deps`, `test`) 86 * Small fixes in docs 87 88 #### v3.0.1 89 90 * `[sliceutil]` Code refactoring 91 * `[knf]` Typo fixed 92 * `[terminal]` Typo fixed 93 * Some minor changes 94 95 #### v3.0.0 96 97 * `[fmtutil]` Pluralization moved from `fmtutil` to separate package `pluralize` (_incompatible changes_) 98 * `[pluralize]` Brand new pluralization package with more than 140 languages support 99 * `[timeutil]` Improved `PrettyDuration` output 100 * `[system]` Now `SessionInfo` contnains full user info (`Info` struct) instead username (_incompatible changes_) 101 * `[timeutil]` Code refactoring 102 * `[system]` Code refactoring 103 * `[log]` Code refactoring 104 * `[arg]` Code refactoring 105 106 --- 107 108 #### v2.0.2 109 110 * `[pid]` Added function `IsWorks` which return true if process with pid from pidfile is active 111 * `[pid]` Increased code coverage 112 113 #### v2.0.1 114 115 * `[terminal]` Fixed bugs with Windows stubs 116 * `[signal]` Fixed bugs with Windows stubs 117 118 #### v2.0.0 119 120 * `[color]` New package for working with colors 121 * `[usage]` Added color tags support for description 122 * `[terminal]` Improved reading y/n answers (_incompatible changes_) 123 * `[strutil]` Added method `Fields` for "smart" string splitting 124 * `[system]` Methods `GetUsername` and `GetGroupname` deprecated 125 * `[system]` Added method `GroupList` for user struct which return slice with user groups names 126 * `[jsonutil]` Code refactoring 127 * `[usage]` Code refactoring 128 129 --- 130 131 #### v1.8.3 132 133 * `[signal]` Added function `Send` for sending signal to process 134 135 #### v1.8.2 136 137 * `[log]` Fixed bug with logging empty strings 138 139 #### v1.8.1 140 141 * `[sortutil]` Added method `VersionCompare` which can be used for custom version sorting 142 143 #### v1.8.0 144 145 * `[sortutil]` Added case insensitive strings sorting 146 * `[sliceutil]` Added `Deduplicate` function 147 * `[strutil]` Added `ReplaceAll` function 148 * `[terminal]` Function `fmtutil.GetTermSiz`e moved to `terminal.GetSize` 149 * `[timeutil]` Added function `ParseDuration` which parses duration in `1w2d3h5m6s` format 150 151 #### v1.7.8 152 153 * `[terminal]` Custom prompt support 154 * `[terminal]` Custom masking symbols support 155 * `[terminal]` Code refactoring 156 157 #### v1.7.7 158 159 * `[fsutil]` Fixed bug in `List` function with filtering output 160 * `[fsutil]` Fixed bug with `NotPerms` filtering 161 162 #### v1.7.6 163 164 * `[env]` Added methods for getting env vars as string, int and float 165 166 #### v1.7.5 167 168 * `[usage]` Added docs for exported fields in About struct 169 170 #### v1.7.4 171 172 * `[fsutils]` Added fs walker (bash `pushd`/`popd` analog) 173 174 #### v1.7.3 175 176 * `[fsutil]` Method `ListAbsolute` ranamed to `ListToAbsolute` 177 178 #### v1.7.2 179 180 * `[errutil]` Added method Chain 181 182 #### v1.7.1 183 184 * `[log]` Improved min level changing 185 186 #### v1.7.0 187 188 * `[fsutil]` Fixed major bug with closing file descriptor after directory listing 189 * `[fsutil]` Fixed major bug with closing file descriptor after counting lines in file 190 * `[fsutil]` Fixed major bug with closing file descriptor after checking number of files in directory 191 192 #### v1.6.5 193 194 * `[fsutil]` Improved docs 195 * `[fsutil]` Added method (wrapper) for moving files 196 197 #### v1.6.4 198 199 * `[path]` Added method IsDotfile for checking dotfile names 200 201 #### v1.6.3 202 203 * `[strutil]` Added methods PrefixSize and SuffixSize 204 205 #### v1.6.2 206 207 * `[fsutil]` Improved working with paths 208 * `[fsutil]` Added method ProperPath to windows stub 209 210 #### v1.6.1 211 212 * `[path]` Fixed windows stub 213 214 #### v1.6.0 215 216 * `[path]` Added package for working with paths 217 218 #### v1.5.1 219 220 * `[knf]` Fixed bug in HasProp method which return true for unset properties 221 222 #### v1.5.0 223 224 * `[tmp]` Improved error handling 225 * `[tmp]` Changed name pattern of temporary files and directories 226 227 #### v1.4.5 228 229 * `[pid]` Fixed bug with pid file creation 230 * `[pid]` Increased coverage 231 232 #### v1.4.4 233 234 * `[errutil]` Added method Num which returns number of errors 235 236 #### v1.4.3 237 238 * `[errutil]` Improved Add method 239 240 #### v1.4.2 241 242 * `[fsutil]` Added method `ProperPath` which return first proper path from given slice 243 244 #### v1.4.1 245 246 * `[fsutil]` Added partial FreeBSD support 247 * `[system]` Added partial FreeBSD support 248 * `[log]` Some minor fixes in tests 249 250 #### v1.4.0 251 252 * `[kv]` Added package with simple key-value structs 253 254 #### v1.3.3 255 256 * `[strutil]` Fixed bug in Tail method 257 258 #### v1.3.2 259 260 * `[strutil]` Added method Head for subtraction first symbols from the string 261 * `[strutil]` Added method Tail for subtraction last symbols from the string 262 263 #### v1.3.1 264 265 * Improved TravisCI build script for support pkg.re 266 * Added pkg.re usage 267 268 #### v1.3 269 270 * `[system]` Fixed major bug with OS X compatibility 271 * `[fmtutil]` Fixed tests for OS X 272 273 #### v1.2.2 274 275 * `[req]` Added flag for marking connection to close 276 277 #### v1.2.1 278 279 * `[crypto]` Small improvements in hash generation 280 * `[csv]` Increased code coverage 281 * `[easing]` Increased code coverage 282 * `[fmtc]` Increased code coverage 283 * `[httputil]` Increased code coverage 284 * `[jsonutil]` Increased code coverage 285 * `[pid]` Increased code coverage 286 * `[req]` Increased code coverage 287 * `[req]` Increased default timeout to 10 seconds 288 * `[strutil]` Increased code coverage 289 * `[timeutil]` Increased code coverage 290 291 #### v1.2 292 293 * `[log]` Now buffered I/O must be enabled manually 294 * `[log]` Auto flushing for bufio 295 296 #### v1.1.1 297 298 * `[system]` Added json tags for User, Group and SessionInfo structs 299 * `[usage]` Info now can use os.Args`[0]` for info rendering 300 * `[version]` Added package for working with version in simver notation 301 302 #### v1.1 303 304 * `[arg]` Changed default fail values (int -1 → 0, float -1.0 → 0.0) 305 * `[arg]` Increased code coverage 306 * `[arg]` Many minor fixes 307 * `[cron]` Fixed rare bug 308 * `[cron]` Increased code coverage 309 * `[crypto]` Increased code coverage 310 * `[easing]` Increased code coverage 311 * `[errutil]` Increased code coverage 312 * `[fmtc]` Increased code coverage 313 * `[fmtutil]` Increased code coverage 314 * `[jsonutil]` Increased code coverage 315 * `[knf]` Fixed bug in Reload method for global config 316 * `[knf]` Improved Reload method 317 * `[knf]` Increased code coverage 318 * `[log]` Increased code coverage 319 * `[mathutil]` Increased code coverage 320 * `[pid]` Increased code coverage 321 * `[rand]` Increased code coverage 322 * `[req]` Fixed bug with Accept header 323 * `[req]` Increased code coverage 324 * `[sliceutil]` Increased code coverage 325 * `[sortutil]` Increased code coverage 326 * `[spellcheck]` Increased code coverage 327 * `[strutil]` Increased code coverage 328 * `[system]` Added method system.SetProcName for changing process name 329 * `[timeutil]` Fixed bug in PrettyDuration method 330 * `[timeutil]` Increased code coverage 331 * `[tmp]` Increased code coverage 332 333 #### v1.0.1 334 335 * `[system]` Fixed bug in fs usage calculation 336 * `[usage]` Improved new Info struct creation 337 338 #### v1 339 340 Initial public release