[usage]
Improved color customization for application name and version[usage]
Added color customization for application name in usage info
[strutil]
Added helperQ
for working with default values[usage]
Added color customization for application name and version
[system]
Added CPU architecture bits info toSystemInfo
[passwd]
Fixed typo in deprecation notice
[secstr]
New package for working with protected (secure) strings[req]
MethodQuery.String()
renamed toQuery.Encode()
[passwd]
Added methodGenPasswordVariations
andGenPasswordBytesVariations
for generating password variations with possible typos fixes[passwd]
Added methodsHashBytes
,CheckBytes
,GenPasswordBytes
andGetPasswordBytesStrength
[passwd]
MethodEncrypt
marked as depricated (useHash
method instead)[passwd]
Added more usage examples
[fsutil]
Added methodTouchFile
for creating empty files[fsutil]
Code refactoring[fmtc]
Documentation refactoring[timeutil]
Documentation refactoring[fsutil]
Added usage examples
[errutil]
Added support forstring
,[]string
, anderrutil.Errors
types to methodErrors.Add
[fmtutil]
Added methodPrettyBool
for formatting boolean values
[fmtutil]
Added methodPrettyDiff
for formatting diff numbers[fmtutil]
Fixed bug inPrettyNum
with formatting negative numbers[fmtutil]
Code refactoring
[errutil]
Added methodReset
for resettingErrors
instance[sliceutil]
Added methodsCopy
,CopyInts
andCopyFloats
for copying slices[csv]
Code refactoring[sliceutil]
Code refactoring
[ansi]
New package for working with ANSI/VT100 control sequences[terminal]
Added fmtc color codes support in input prompt[terminal]
Fixed bug with masking password if prompt contains ANSI color codes[strutil]
Code refactoring[options]
Added more usage examples
[errutil]
Added methodCap
for getting max capacity[system/sensors]
Added sorting by the name for slice with devices info[errutil]
Added more usage examples
[fmtc]
NO_COLOR
support[fmtc]
Code refactoring
[httputil]
Added methodGetPortByScheme
[events]
Improved unknown events handling[system/sensors]
Code refactoring[system/sensors]
Increased code coverage (0.0% → 100.0%)[events]
Added usage examples[httputil]
Added usage examples- Error check moved at the beginning of every test
[events]
New package for creating event-driven systems[system]
Fixed bug with parsing CPU info data[fsutil]
Added methodIsEmpty
for checking empty files[system/process]
Fixed bug with searching info for creating process tree[knf]
Code refactoring[usage]
Added more usage examples
[color]
Added methodParse
for parsing colors (#RGB
/#RGBA
/#RRGGBB
/#RRGGBBAA
)[color]
Fixed bug with formatting small values usingHex.ToWeb
[color]
Fixed bug with convertingHex
toRGBA
[easing]
Added links to examples for every function[easing]
Added usage examples
[color]
Added three-digit RGB notation generation toHex.ToWeb
[color]
Using structs for color models instead of bare numbers[color]
Much simpler converting between color models[color]
Added methodRGB2CMYK
for converting RGB colors to CMYK[color]
Added methodCMYK2RGB
for converting CMYK colors to RGB[color]
Added methodRGB2HSL
for converting RGB colors to HSL[color]
Added methodHSL2RGB
for converting HSL colors to RGB[color]
Added methodLuminance
for calculating relative luminance for RGB color[color]
Added methodContrast
for calculating contrast ratio of foreground and background colors[color]
MethodRGB2HSB
rewritten from scratch and renamed toRGB2HSV
[color]
MethodHSB2RGB
rewritten from scratch and renamed toHSV2RGB
[color]
Added more usage examples
[cache]
RenamedStore
toCache
[cache]
Added methodSize
for checking cache size[cache]
Added methodExpired
for checking number of expired items
[timeutil]
Added more new helpers[log]
Code refactoring[log]
Improved tests
[knf]
Added new getterGetD
which returns valus as duration in seconds[system/process]
Improved tests
go-check
package replaced by our fork[cron]
Removed useless example[knf/validators/fs]
Fixed bug with handling pattern matching error[path]
Fixed usage examples
[terminal]
Usage examples improvements
[system/process]
Fixed stubs for Windows
[system/process]
Added methods for setting and getting CPU scheduler priority[system/process]
Added methods for setting and getting IO scheduler priority
[system]
Added methodGetCPUCount
for getting info about number of CPU's[system/process]
Added methodGetMountInfo
for getting info about process mounts[system]
Code refactoring[system/process]
Code refactoring[system]
Increased code coverage (78.5% → 90.5%)[system/process]
Increased code coverage (82.4% → 98.0%)
[sliceutil]
Added usage examples
[strutil]
Added methodsHasPrefixAny
andHasSuffixAny
for checking multiple prefixes or suffixes at once
[path]
Fixed stubs for Windows
[options]
MethodParse
now returns arguments asArguments
struct with additional methods for working with them[strutil]
Added methodsBefore
andAfter
for extracting strings before and after some substring[progress]
Fixed bug with rendering resulting progress bar in some situations[progress]
Using integer instead of floats for progress if total size is less than 1000 andIsSize
set to false
[path]
Added new method for checking Unix-type globs[fsutil]
Fixed stubs for Windows[progress]
Minor UI fix
[usage/completion/bash]
Code refactoring
[spinner]
Added new package for showing spinner animation for long-running tasks[timeutil]
Added high precision mode forShortDuration
[fmtc/lscolors]
Improved environment variable parsing
[fmtc/lscolors]
Added new package for colorizing file names with colors from dircolors
[usage/completion/bash]
Improved completion generation[usage/completion/zsh]
Improved completion generation[usage/completion/bash]
Fixed bug with showing files with autocomplete[usage/completion/zsh]
Fixed bug with showing files with autocomplete
[timeutil]
Added methodPrettyDurationInDays
for rendering pretty duration in days[timeutil]
Code refactoring
[timeutil]
Added checking for parsing errors toParseDuration
method
[req]
Code refactoring
[usage/man]
Added package for generating man pages from usage info
[usage/update]
Disabled update check from CI environments
[knf/validators/system]
Fixed bug with source file naming
[log]
Removed useless return value fromAux
,Debug
,Info
,Warn
,Error
,Crit
andPrint
methods
[knf/validators/regexp]
Added new KNF validator for checking regular expression pattern matching[knf/validators/fs]
Added new KNF validator for checking shell pattern matching[fsutil]
Fixed bug with checking empty dirs on osx[initsystem]
Disabled tests on osx[knf/validators/fs]
Fixed tests on osx[knf/validators/system]
Fixed compatibility with osx[log]
Fixed tests on OSX[system]
Fixed checking user or group existence on OSX[system]
Fixed group lookup on osx[system]
Improved user info fetching on OSX
[path]
Code refactoring[path]
Added more usage examples[timeutil]
Added more usage examples
[timeutil]
Added methodSecondsToDuration
for convertationfloat64
totime.Duration
[timeutil]
DurationToSeconds
now returns the result as a float64 number[hash]
Code refactoring
[system]
Fixed compatibility with Go ≥ 1.15
- License changed from EKOL to Apache-2.0
[req]
Added methodBytes()
for reading response body as byte slice[env]
Fixed tests
[timeutil]
Added methodShortDuration
for duration formatting[timeutil]
Code refactoring
[progress]
Calculate speed and remaining time using Exponentially Weighted Moving Average (EWMA)[progress]
Added pass thru writer
[progress]
Added package for creating terminal progress bar[usage/update]
Increased dial and request timeouts to 3 seconds[fmtutil]
Added possibility to define custom separators inPrettySize
andPrettyNum
methods[passwd]
Increased code coverage (94.9% → 96.8%)[usage/update]
Increased code coverage (92.1% → 100%)[req]
Tests refactoring
[usage/update]
Added update checker for custom storages
[path]
Added methodDirN
for reading N elements from path[pluralize]
MethodsPluralize
andPluralizeSpecial
now return only pluralized word (incompatible changes)[pluralize]
Added methodsP
andPS
for pluralization with custom formatting[pluralize]
Added usage examples
[usage]
Added more examples
[cron]
Added usage examples
[system]
Fixed bug with parsing group info inid
output
[usage]
Added support of raw examples (without prefix with command name)
[errutil]
Fixed panic inAdd
if given Errors struct is nil
[color]
Fixed compatibility with ARM[fmtutil]
Fixed compatibility with ARM[system]
Fixed compatibility with ARM
[signal]
Added methodGetByName
for getting signal by its name[signal]
Added methodGetByCode
for getting signal by its code
[fsutil]
Added methodValidatePerms
for permissions validation[system]
Improved current user info caching mechanic[fsutil]
Increased code coverage (98.0% → 98.8%)
[initsystem]
Fixed stubs for Windows
[log]
Logger is now more concurrency friendly
[log]
Default color for debug messages set to light gray
[cache]
Added data removal from cache with disabled janitor
[cache]
Added methodHas
for checking item existence[cache]
Janitor thread will not run if the cleaning interval is equal to 0
[pid]
Added methodRead
for reading PID files without any configuration
[knf]
Minor documentation fixes
[fsutil]
GetPerms
renamed toGetMode
[fsutil]
Added support of checking for character and block devices (C
andB
)[knf]
Validators moved to sub-package (incompatible changes)[knf]
Added more validators[knf]
Removed useless dependencies[fsutil]
Increased code coverage (97.4% → 98.0%)[kv]
Package removed
[strutil]
Fixed bug inSubstr
method for a situation when the index of start symbol is greater than the length of the string[strutil]
Fixed bug inSubstring
method for a situation when the index of start symbol is greater than the length of the string
[knf]
Addedno
as a valid boolean value forGetB
[knf]
Added new validators for property type validation[knf]
Code refactoring
[cache]
Added package which provides simple in-memory key:value store
[timeutil]
Added support of short durations (milliseconds, microseconds or nanoseconds) toPrettyDuration
method
[log]
Added support of ANSI colors in the output[log]
Usinguint8
for level codes instead ofint
[version]
Added methodIsZero
for checking empty version struct
[errutil]
MethodAdd
now allows adding slices with errors
[errutil]
Added possibility to limit the number of errors to store[errutil]
MethodAdd
now allows adding errors from other Errors struct[sliceutil]
Using in-place deduplication inDeduplicate
method
[req]
Changed default user-agent togo-ek-req/10
[usage]
Fixed bug with formatting options without short name
[req]
Added methodPostFile
for multipart file uploading
[fsutil]
Fixed bug with filtering listing data
[pid]
Added methodIsProcessWorks
for checking process state by PID[pid]
Improved process state check[pid]
Improved Mac OS X support
[terminal]
Reading user input now is more stdin friendly (you can pass the input through the stdin)
[usage]
Fixed bug with formatting options[fmtutil/table]
More copy&paste friendly table rendering
[emoji]
New package for working with emojis
[usage/completion/bash]
Improved bash completion generation
[usage/completion/bash]
Added bash completion generator[usage/completion/zsh]
Added zsh completion generator[usage/completion/fish]
Added fish completion generator[usage]
Added methodinfo.BoundOptions
for linking command with options[csv]
Added methodreader.ReadTo
for reading CSV data into slice[strutil]
Fixed bug inFields
method[initsystem]
Added caching for initsystem usage status[initsystem]
Improved service state search for SysV scripts on systems with Systemd[usage]
Code refactoring
[strutil]
Added methodExclude
as the faster replacement forstrings.ReplaceAll
[fmtutil]
Fixed bug with formatting small float numbers usingPrettySize
method
[jsonutil]
AddedWrite
as alias forEncodeToFile
[jsonutil]
AddedRead
as alias forDecodeFile
[jsonutil]
AddedWriteGz
for writing gzipped JSON data[jsonutil]
AddedReadGz
for reading gzipped JSON data
[strutil]
Improved parsing logic for theFields
method[strutil]
Added additional supported quotation marks types
[initsystem]
Fixed bug with parsing systemd'sfailed
ActiveState status[initsystem]
Added tests for output parsers[initsystem]
Code refactoring
[fmtc]
Added new methodsLPrintf
,LPrintln
,TLPrintf
andTLPrintln
[fmtc]
Fixed bug with parsing reset and modification tags (found by go-fuzz)[fmtc]
Code refactoring
[fmtc]
Improved work with temporary output (TPrintf
,TPrintln
)
[fsutil]
Added methodIsReadableByUser
for checking read permission for some user[fsutil]
Added methodIsWritableByUser
for checking write permission for some user[fsutil]
Added methodIsExecutableByUser
for checking execution permission for some user
[version]
Added methodSimple()
which returns simple version[version]
More usage examples added
[system]
Improved OS version search[tmp]
Package refactoring
[system]
Added methodGetCPUInfo
for fetching info about CPUs from procfs[fmtutil/table]
Added global variableMaxWidth
for configuration of maximum table width[system]
FSInfo
now isFSUsage
(incompatible changes)[system]
MemInfo
now isMemUsage
(incompatible changes)[system]
CPUInfo
now isCPUUsage
(incompatible changes)[system]
InterfaceInfo
now isInterfaceStats
(incompatible changes)[system]
GetFSInfo()
now isGetFSUsage()
(incompatible changes)[system]
GetMemInfo()
now isGetMemUsage()
(incompatible changes)[system]
GetCPUInfo()
now isGetCPUUsage()
(incompatible changes)[system]
GetInterfacesInfo()
now isGetInterfacesStats()
(incompatible changes)[initsystem]
HasService()
now isIsPresent()
(incompatible changes)[initsystem]
IsServiceWorks()
now isIsWorks()
(incompatible changes)[system]
Fixed bug with parsing CPU stats data (found by go-fuzz)[fmtc]
Fixed bug with parsing reset and modification tags (found by go-fuzz)[initsystem]
Fixed examples[fmtc]
Fixed examples[system]
Added fuzz testing[cron]
Code refactoring[timeutil]
Code refactoring[fmtutil]
Increased code coverage (97.9% → 100.0%)[fmtutil/table]
Increased code coverage (99.4% → 100.0%)[knf]
Increased code coverage (99.6% → 100.0%)[req]
Increased code coverage (97.1% → 100.0%)[pid]
Increased code coverage (97.4% → 100.0%)[system]
Increased code coverage (73.8% → 79.0%)
[initsystem]
Improved application state checking in systemd[system]
Fixed typo in json tag forCPUInfo.Average
[system]
Improved memory usage calculation[system]
AddedShmem
andSReclaimable
values toMemInfo
struct[system]
Fixed typo in json tag forMemInfo.SwapCached
[system]
Improved tests
[system/sensors]
Added package for collecting sensors data[strutil]
Added methodSubstring
for safe substring extraction[strutil]
Added methodExtract
for safe substring extraction[strutil]
Fixed tests and example forSubstr
method[strutil]
Improved tests[strutil]
Code refactoring
[strutil]
Optimization and improvements forReadField
method[easing]
Code refactoring[fmtutil]
Code refactoring[knf]
Code refactoring[log]
Code refactoring[options]
Code refactoring[pid]
Code refactoring[req]
Code refactoring[sliceutil]
Code refactoring[strutil]
Code refactoring[system]
Code refactoring[terminal]
Code refactoring[timeutil]
Code refactoring[uuid]
Code refactoring
[fmtc]
Fixed bug with parsing{}
and{-}
as valid color tags[fmtc]
Added fuzz testing
[fmtutil/table]
Fixed bug with rendering data using not-configured table
[sliceutil]
Added methodIndex
which return index of given item in slice
[fmtutil]
Improved size parser
[fmtutil]
Fixed various bugs with processing NaN values
[req]
Added constants with status codes
[req]
Added methodString
forQuery
struct for query encoding
[log]
Added wrapper for compatibility with stdlib logger[log]
Fixed race condition issue
[usage]
Fixed bug with aligning option info with Unicode symbols[options]
Guess option type by default value type[options]
Added check for unsupported default value type
[system/process]
Fixed windows stubs
[fsutil]
ImprovedCopyDir
method
[fsutil]
Added methodCopyDir
for recursive directories copying[fsutil]
Removed useless methodCurrent
[fsutil]
Tests refactoring[fsutil]
Code refactoring
[system/process]
Added new typeProcSample
as a lightweight analog of ProcInfo for CPU usage calculation[system/process]
Code refactoring[system/process]
Increased code coverage (75.5% → 82.4%)[system]
Code refactoring
[fmtutil]
Added methodPrettyPerc
for formatting values in percentages
[fmtc]
Added methodsPrint
andSprintln
for better compatibility withfmt
package[fmtutil/table]
Fixed minor bug with output formatting[options]
Code refactoring
[directio]
Added sub-packagedirectio
for writing/reading data with using direct IO[fmtc]
256 colors support with new tags (foreground:{#000}
, background:{%000}
)[fmtc]
Added methodIs256ColorsSupported
for checking support of 256 color output[fmtc]
Improved color tags syntax[fmtc]
Added tags for resetting modificators (e.g.{!*}
)[fmtc]
Removed color tags overriding (i.e. now{*}{r} == {r*}
)[color]
Added methodRGB2Term
for converting RGB colors to terminal color codes
[system]
Fixed bug with extra new line symbol in userShell
field
[fmtc]
Temporary output feature moved from T struct toTPrintf
andTPrintln
- Dependencies now download with initial
go get
command
[options]
Fixed bug with usingBound
orConflict
fields for options (thx to @gongled)[netutil]
Code refactoring[netutil]
Increased code coverage (78.8% → 87.9%)
[netutil]
Improved main IP search
[strutil]
Added usage example forCopy
method[system/procname]
Added usage examples
[netutil]
Ignore TUN/TAP interfaces while searching main IP address[initsystem]
Added methodIsEnabled
which return info about service autostart[initsystem]
MethodGetServiceState
renamed toIsServiceWorks
[strutil]
Added methodCopy
for forced copying of strings
[strutil]
ImprovedFields
parsing[fmtutil/table]
Added methodRenderHeaders
for forced headers rendering
[strutil]
Added ellipsis suffix customization[strutil]
Added support of custom separators forReadField
[req]
Closing response body after parsing data[system]
Fixed bug with parsingid
command output with empty group names[system]
Fixed bug with calculating transferred bytes on active interfaces[system]
Improvedid
andgetent
commands output parsing[system]
Code refactoring
[terminal]
Fixed bug with empty title output
[system]
Code refactoring
[initsystem]
Fixed bug with checking service state in systemd
[system]
Fixed windows stubs[system]
Fixed bug with unclosed file descriptor
[initsystem]
Fixed bug in SysV service state determination
[strutil]
Added new methodReadField
for reading space/tab separated fields from given data[system]
Code refactoring
[system]
Improved CPU usage calculation[system/process]
Code refactoring[system]
Code refactoring
[knf]
Added new validators:NotLen
,NotPrefix
andNotSuffix
[knf]
Validators code refactoring
[system/process]
Fixed bug with parsing CPU data[system/process]
Increased code coverage (0.0% → 87.5%)[usage/update]
Increased code coverage (0.0% → 80.0%)
[system/process]
Improved error handling inGetInfo
[system]
Improved IO utilization calculation[system]
Improved network speed calculation
[system]
Added methodGetCPUStats
which return basic CPU info from/proc/stat
[system]
Improved IO utilization calculation
[initsystem]
Added stubs for windows
- Code refactoring
[system]
Improved disk usage calculation (now it similar todf
command output)
[initsystem]
New package for working with different init systems (sysv, upstart, systemd)
[fmtc]
Improved utf8 support in temporary messages
[fmtc]
Added methodNewT
which creates a new struct for working with the temporary output[fmtc]
More docs about color tags[knf]
Removing trailing spaces from property values
[system/procname]
Added methodReplace
which replace just one argument in process command
[knf]
Added new gettersGetU
,GetU64
andGetI64
[usage]
Improved API forNewInfo
method
[options]
Added support of mixed options (string / bool)
[terminal]
Improved title rendering forReadAnswer
method[terminal]
Simplified API forReadAnswer
method
[fmtutil]
Improved floating numbers formatting withPrettyNum
[fmtutil/table]
Fixed bug with color tags in headers when colors is disabled
[timeutil]
Fixed bug with formatting milliseconds[timeutil]
Improved tests
[terminal]
Fixed bug with masking password in tmux
[fmtutil/table]
Fixed bug with rendering data with color tags
[version]
Fixed bug with version comparison[version]
Added methodInt()
which return version as integer
- Package
args
renamed tooptions
(incompatible changes) [fmtutil/table]
Added new package for rendering data as a table[fmtutil]
Added support of separator symbol configuration[usage]
Improved output about a newer version[usage]
Increased code coverage (0.0% → 100%)[usage]
Code refactoring
[usage]
Improved options and commands info rendering
- Overall documentation improvements
[system/process]
Fixed windows stubs[system]
Package refactoring[fsutil]
Fixed checking empty directory on FreeBSD[pid]
Fixed checking process state on FreeBSD
[system/process]
Added methodGetMemInfo
for obtaining information about memory consumption by process.[system/process]
Added methodGetInfo
which return partial info from/proc/[PID]/stat
.[system/process]
Added methodCalculateCPUUsage
which can be used for process CPU usage calculation.[system]
Methods for executing commands moved tosystem/exec
package (incompatible changes)[system]
Methods for changing process name moved tosystem/procname
package (incompatible changes)[system]
Minor improvements[system]
Code refactoring[system]
Increased code coverage (0.0% → 79.5%)
[errutil]
Implemented error interface (added methodError() string
)[errutil]
Minor improvements[system]
Fixed windows stubs
[fmtutil]
Added flagSeparatorFullscreen
which enable full size separator[terminal/window]
Window size detection code moved fromterminal
toterminal/window
package[terminal/window]
Fixed bug with unclosed TTY file descriptor[fsutil]
Fixed bug withfsutil.IsLink
(method returns true for symlinks)[fsutil]
Fixed bug withfsutil.GetSize
(method returns 0 for non-existent files)[fsutil]
Improved input arguments checks infsutil.CopyFile
[fsutil]
Added input arguments checks tofsutil.MoveFile
[fsutil]
Increased code coverage (49.8% → 97.9%)[knf]
Increased code coverage (99.2% → 99.6%)[jsonutil]
Increased code coverage (92.3% → 100%)
[sortutil]
Added methodsNatualLess
andStringsNatual
for natural ordering[jsonutil]
Added optional argument toEncodeToFile
method with file permissions (0644 by default)[jsonutil]
Code refactoring[jsonutil]
Improved tests[jsonutil]
Added usage examples
[knf]
Return default value for the property even if config struct is nil
[system]
Added methodsCalculateNetworkSpeed
andCalculateIOUtil
for metrics calculation without blocking main thread[system]
Code and examples refactoring
[passwd]
Fixed panic inCheck
for some rare cases[fsutil]
Fixed typo[pid]
Fixed typo[system]
Fixed typo[tmp]
Fixed typo[knf]
Increased code coverage
[version]
Fixed bug with version comparison[version]
Improved version data storing model[usage]
Fixed bug with new application version checking mechanics
[fsutil]
Fixed windows stubs for compatibility with latest changes
[usage]
Added interface for different ways to check application updates[usage]
Added Github update checker[usage]
MovedCommandsColorTag
,OptionsColorTag
,Breadcrumbs
toInfo
struct (incompatible changes)[fsutil]
NowListingFilter
must be passed as value instead of pointer (incompatible changes)[fsutil]
Added support of filtering by size forListingFilter
[version]
NowParse
return value instead of pointer[cron]
Improved expressions parsing[version]
Added fuzz testing[cron]
Added fuzz testing[knf]
Added fuzz testing
[usage]
Improved working with GitHub API
[netutil]
Now GetIP return primary IPv4 address[netutil]
Added methodGetIP6
which return main IPv6 address[usage]
Showing info about latest available release on GitHub
[knf]
Added tabs support in indentation[timeutil]
Added new sequences%n
(new line symbol) and%K
(milliseconds)[timeutil]
Code refactoring
[passwd]
Much secure hash generation (now with sha512, bcrypt, and AES)[system]
Improved changing process and arguments names[system/process]
Fixed windows stubs
[usage]
Improved build info output[system]
Improved OS version search process
[system/process]
GetTree
now can return tree for custom root process[system/process]
Fixed threads marking[fmtutil]
Added methodCountDigits
for counting the number of digits in integer[terminal]
NowPrintWarnMessage
andPrintErrorMessage
prints messages to stderr[usage]
Added support for optional arguments in commands
[system]
AddedDistribution
andVersion
info toSystemInfo
struct[arg]
Added bound arguments support[arg]
Added conflicts arguments support[arg]
Added methodQ
for merging several arguments to string (useful forAlias
,Bound
andConflicts
)
[system]
Added methodCurrentTTY
which return path to current tty[system]
Code refactoring
[fmtc]
Fixed bug with parsing tags
[usage]
Changed color for arguments from dark gray to light gray[usage]
Added breadcrumbs output for commands and options[fmtutil]
Fixed special symbols colorization inColorizePassword
[fmtutil]
Added methodColorizePassword
for password colorization[passwd]
Improved password generation and strength check
[log]
Code refactoring[tmp]
Added permissions customization for each temp struct
[terminal]
Added password mask symbol color customization[terminal]
go-linenoise updated to v3
[req]
ImprovedEngine
initialization routine[terminal]
Fixed bug in windows stub with error variable name
[req]
ImprovedSetUserAgent
method for appending subpackages versions
[usage]
Fixed examples header
[req]
Fixed major bug with setting method through helper methods[req]
Multi-client feature (usereq.Engine
insteadreq.Request
struct methods)[crypto]
Package divided into multiple packages (hash
,passwd
,uuid
)[uuid]
Added UUID generation based on SHA-1 hash of namespace UUID and name (version 5)[req]
Added different types support forQuery
[knf]
AddedNotContains
validator which checks if given config property contains any value from given slice[kv]
Using values instead pointers[system]
Added custom duration support forGetNetworkSpeed
andGetIOUtil
[version]
Improved version parsing[system]
More logicalRunAsUser
arguments naming[terminal]
Minor fixes in windows stubs[netutil]
Added tests[system]
Code refactoring- Added usage examples
[usage]
Using dark gray color for license and copyright[fmtutil]
Added global variableSeparatorColorTag
for separator color customization[fmtutil]
Added global variableSeparatorTitleColorTag
for separator title color customization
[terminal]
Using forked go.linenoise package instead original[terminal]
Added hints support from new version ofgo.linenoise
[fmtc]
Light colors tag (-
) support[usage]
Using dark gray color for option values and example description[tmp]
AddedDefaultDirPerms
andDefaultFilePerms
global variables for permissions customization[tmp]
Improved error handling
[strutil]
Fixed bug with overflowing int inTail
method
[terminal]
Improved reading user input
[httputil]
AddedGetRequestAddr
,GetRemoteAddr
,GetRemoteHost
,GetRemotePort
methods
[usage]
Fixed bug with rendering command groups[terminal]
Small fixes in windows stubs
[system/process]
Added new package for getting information about active system processes[terminal]
Fixed bug with title formating inReadAnswer
method
[terminal]
Fixed bug with title formating inReadUI
method
[req]
Added content types constants
[knf]
Fixed typo in tests[strutil]
Removed unreachable code
[strutil]
Added methodLen
which returns number of symbols in string[strutil]
UTF-8 support forSubstr
,Tail
,Head
andEllipsis
methods[strutil]
Added some benchmarks to tests[fsutil]
FixedGetPerm
stub for Windows[fsutil]
Fixed package description
[req]
RequestTimeout
set to 0 (disabled) by default
[terminal]
Fixed bug with source name file conventions[system]
Fixed bug with appending real user info on MacOS X
[req]
Small fixes in Request struct fields types
[req]
Lazy transport initialization[req]
AddedDialTimeout
andRequestTimeout
variables for timeouts control
[system]
Removed debug output
- Added makefile with some helpful commands (
fmt
,deps
,test
) - Small fixes in docs
[sliceutil]
Code refactoring[knf]
Typo fixed[terminal]
Typo fixed- Some minor changes
[fmtutil]
Pluralization moved fromfmtutil
to separate packagepluralize
(incompatible changes)[pluralize]
Brand new pluralization package with more than 140 languages support[timeutil]
ImprovedPrettyDuration
output[system]
NowSessionInfo
contnains full user info (Info
struct) instead username (incompatible changes)[timeutil]
Code refactoring[system]
Code refactoring[log]
Code refactoring[arg]
Code refactoring
[pid]
Added methodIsWorks
which return true if process with PID from PID file is active[pid]
Increased code coverage
[terminal]
Fixed bugs with Windows stubs[signal]
Fixed bugs with Windows stubs
[color]
New package for working with colors[usage]
Added color tags support for description[terminal]
Improved reading y/n answers (incompatible changes)[strutil]
Added methodFields
for "smart" string splitting[system]
MethodsGetUsername
andGetGroupname
deprecated[system]
Added methodGroupList
for user struct which returns slice with user groups names[jsonutil]
Code refactoring[usage]
Code refactoring
[signal]
Added methodSend
for sending signal to process
[log]
Fixed bug with logging empty strings
[sortutil]
Added methodVersionCompare
which can be used for custom version sorting
[sortutil]
Added case insensitive strings sorting[sliceutil]
AddedDeduplicate
method[strutil]
AddedReplaceAll
method[terminal]
methodfmtutil.GetTermSize
moved toterminal.GetSize
[timeutil]
Added methodParseDuration
which parses duration in1w2d3h5m6s
format
[terminal]
Custom prompt support[terminal]
Custom masking symbols support[terminal]
Code refactoring
[fsutil]
Fixed bug inList
method with filtering output[fsutil]
Fixed bug withNotPerms
filtering
[env]
Added methods for getting env vars as string, int, and float
[usage]
Added docs for exported fields in About struct
[fsutils]
Added fs walker (bashpushd
/popd
analog)
[fsutil]
MethodListAbsolute
ranamed toListToAbsolute
[errutil]
Added method Chain
[log]
Improved min level changing
[fsutil]
Fixed major bug with closing file descriptor after directory listing[fsutil]
Fixed major bug with closing file descriptor after counting lines in file[fsutil]
Fixed major bug with closing file descriptor after checking number of files in directory
[fsutil]
Improved docs[fsutil]
Added method (wrapper) for moving files
[path]
Added method IsDotfile for checking dotfile names
[strutil]
Added methods PrefixSize and SuffixSize
[fsutil]
Improved working with paths[fsutil]
Added method ProperPath to windows stub
[path]
Fixed windows stub
[path]
Added package for working with paths
[knf]
Fixed bug in HasProp method which returns true for unset properties
[tmp]
Improved error handling[tmp]
Changed name pattern of temporary files and directories
[pid]
Fixed bug with PID file creation[pid]
Increased coverage
[errutil]
Added method Num which returns number of errors
[errutil]
Improved Add method
[fsutil]
Added methodProperPath
which return first proper path from given slice
[fsutil]
Added partial FreeBSD support[system]
Added partial FreeBSD support[log]
Some minor fixes in tests
[kv]
Added package with simple key-value structs
[strutil]
Fixed bug in Tail method
[strutil]
Added method Head for subtraction first symbols from the string[strutil]
Added method Tail for subtraction last symbols from the string
- Improved TravisCI build script for support pkg.re
- Added pkg.re usage
[system]
Fixed major bug with OS X compatibility[fmtutil]
Fixed tests for OS X
[req]
Added flag for marking connection to close
[crypto]
Small improvements in hash generation[csv]
Increased code coverage[easing]
Increased code coverage[fmtc]
Increased code coverage[httputil]
Increased code coverage[jsonutil]
Increased code coverage[pid]
Increased code coverage[req]
Increased code coverage[req]
Increased default timeout to 10 seconds[strutil]
Increased code coverage[timeutil]
Increased code coverage
[log]
Now buffered I/O must be enabled manually[log]
Auto flushing for bufio
[system]
Added JSON tags for User, Group and SessionInfo structs[usage]
Info now can use os.Args[0]
for info rendering[version]
Added package for working with version in semver notation
[arg]
Changed default fail values (int -1 → 0, float -1.0 → 0.0)[arg]
Increased code coverage[arg]
Many minor fixes[cron]
Fixed rare bug[cron]
Increased code coverage[crypto]
Increased code coverage[easing]
Increased code coverage[errutil]
Increased code coverage[fmtc]
Increased code coverage[fmtutil]
Increased code coverage[jsonutil]
Increased code coverage[knf]
Fixed bug in Reload method for global config[knf]
Improved Reload method[knf]
Increased code coverage[log]
Increased code coverage[mathutil]
Increased code coverage[pid]
Increased code coverage[rand]
Increased code coverage[req]
Fixed bug with Accept header[req]
Increased code coverage[sliceutil]
Increased code coverage[sortutil]
Increased code coverage[spellcheck]
Increased code coverage[strutil]
Increased code coverage[system]
Added method system.SetProcName for changing process name[timeutil]
Fixed bug in PrettyDuration method[timeutil]
Increased code coverage[tmp]
Increased code coverage
[system]
Fixed bug in fs usage calculation[usage]
Improved new Info struct creation
Initial public release