Skip to content

Latest commit

 

History

History
229 lines (229 loc) · 5.86 KB

File metadata and controls

229 lines (229 loc) · 5.86 KB
  • 0.0.1
    • Initial Commit
  • 0.9.0
    • Function update
  • 0.9.1
    • Fix git command args
  • v0.9.1
    • Add prefix v for version number
  • v0.9.2
    • Fix MyCmdRunWg() missing wgP.Done()
  • v0.9.3
    • ReportTStringP():
      • fix using wrong var when handling *[]byte
      • add []byte case
  • v0.9.4
    • Report support SingleLine mode
  • v0.9.5
    • Fix ReportT.SpringP() output
  • v0.9.6
    • Fix ReportT.SpringP() skip empty output
  • v0.9.8
    • Fix ReportT.SpringP() logical bug
    • Add report_test.go
  • v0.9.9
    • Add workPath support for gitCmd and myCmd
    • Add GitRoot(), GitRootSubmodule(), GitExecExist(), GitExecPath()
    • Add test
  • v1.0.0
    • file.go
      • Add FullPath()
      • All func return *string
    • gitCmd.go
      • GitPush() correct optionP param type
    • myCmd.go
      • MyCmd.Run() improve debug output
      • MyCmdInit() use full path for WorkDir
    • report.go
      • ReportT.StringP()
        • Add *[]string case
        • case []string, *[]string
          • fix bug only print last line
          • no longer remove empty line
    • string.go
      • StrArrayPtrRemoveEmpty() return new array
      • StrPToArrayP no longer remove empty line
      • func name StrPToArrayP -> StrPtrToArrayPtr
  • v1.0.1
    • Improve comment for godoc
  • v1.1.1
    • Add Git(), GitBranchCurrent(), GitClone(), GitPull()
  • v1.1.2
    • Add IsRegularFile(), IsDir(), SameDir()
    • Add StrPtrToJsonIndentSp(), StrToJsonIndentSp(), AnyToJsonMarshalIndentSp()
    • Add basic error type
    • Add warning type
    • If !Debug, short circuit ReportDebug() ReportSpDebug()
    • Report() support error type
  • v1.1.3
    • Add ErrsType.Empty(), ErrsType.Clear()
    • Add FullPathStr(), FileRemoveExt(), FileInDir(), FileSimplifyName(), FileHasExt()
    • Add MyCmd.Reset(), MyCmd.Init()
    • Add number types/pointers support in ReportT.StringP()
    • Fix #6 - ReportT().StringP add space after title ":"
    • Fix BoxSealAnonymous() decoding length checking
  • v1.1.4
    • ReportT.StringP() handle nil *[]string
  • v1.1.5
    • Go 1.20
  • v1.1.6
    • MyCmd struct
      • Add ExitCode
      • Run() will handle exit code properly
      • Update test cases
  • v1.1.7
    • Use proper receiver var
  • v1.1.8
    • Add TildeEnvExpand()
  • v1.1.9
    • Add error, *error type support in ReportT.StringP()
  • v1.1.10
    • Added
      • ErrsQueue()
      • FileStrArrRead()
      • FileStrArrWrite()
      • NumToStr()
  • v2.0.0
    • Cleanup
  • v2.1.0
    • Add strany
  • v2.2.0
    • add ezlog, str.Any
  • v2.2.1
    • Remove array.go
    • cmd.go
      • Cmd struct is now exported
      • Add package level functions
    • str.Any
      • New() will enable indent
      • Add []error and *[]error support
  • v2.3.0
    • ezlog
      • improve json indent output support
      • add byte support
    • rename err->errs, as err is too commonly used for var
    • errs - add Clean()
  • v2.3.1
    • str - strIn use *string
  • v2.3.2
    • ezlog.Sp() takes rune instead of any
    • JsonIndent() will trim "\n"
  • v2.3.3
    • add array
    • strany - move to folder, to enable package level usage
    • ezlog
      • add trim support
      • add log level prefix
      • add shorthand L(), Ln(), N(), NLn(), N(), NLn(), S(). T(), Tab(), TxtEnd(), TxtStart()
      • breaking: change Sp() to accept rune (previous any)
  • v2.3.4
    • ezlog
      • add shorthand Mn(), Nn()
  • v2.4.0
    • add basestruct
    • StrAny add unquote support
  • v2.4.1
    • ezlog
      • fix ezlog.Sp() error
      • move example to /example folder
  • v2.4.2
    • ezlog
      • shorten log level name
      • expose EzLog
      • add LogL()
  • v2.4.3
    • add ver
    • add README for all packages
  • v2.5.0
    • add version const
    • split most packages into pkg, struct files
    • err use array.Array
    • strany
      • add debug output support for Any
      • fix output for array.Array[any], array.Array[error]
  • v2.5.1
    • ezlog
      • add OK(), Success(), YesNo() shorthand
  • v2.5.2
    • errs
      • add New
    • ezlog
      • add SetSkipEmpty, Se/SkipEmpty, Dump, LogPrefix
      • add all struct functions to package level
      • remove NLn, MLn, Ln
      • rename
        • Disabled -> DISABLED
        • Level -> ExLogLevel
        • Sp -> C
    • file
      • ArrayRead, ArrayWrite use *[]string instead of []string
    • str
      • add case sensitive support for ArrayContains, ArrayContainsSubString, ContainsAnySubStrings, ContainsAnySubStringsBool
      • add nil check
      • remove ArrayPrintLn
  • v2.5.3
    • str - add Ok, Success and YesNo
  • v2.5.4
    • file - Add and standardize read, write, append functions name for byte, str and strArray
  • v2.5.5
    • file - add GetDirFile, FileFile
  • v2.6.0
    • cmd
      • add Log()
    • ezlog
      • breaking
        • remove Mn(), Nn()
      • add Lm(), Ml(), Ln(), Nl(), Trim()
  • v2.6.1
    • ezlog
      • add EnableTime()
      • update Dump()
      • package expose logger.StrAny
    • str: fix processByteArray(), JsonIndent()
    • strAny: add Get*()
  • v2.6.2
    • ezlog
      • fix: Dump() use its own ezlog instance
      • msg part: "null" is treated as empty
  • v2.6.3
    • cmd
      • Run(): remove default output
      • Log(): Stdout, Stderr to string
    • ezlog
      • Get/Set SkipEmpty
  • v2.6.4
    • ezlog
      • add Dump() to package level
      • add StrAny json indent wrapper
      • add name postfix customization
      • cleanup functions
      • update Dump()
  • v2.6.5
    • errs: add TypeErrs
  • v2.6.6
    • ezlog: global, msg level indent and unquote control
  • v2.6.7
    • ezlog: msg default true for indent, unquote
    • strany: add indent, unquote debug message
  • v2.6.8
    • ezlog
      • fix Dump() missing Log()
      • fix and consolidate log level Clear() logic
      • fix msgEmpty logic
  • v2.6.9
    • fix msgEmpty check
  • v2.6.10
    • Cmd.New() improve cleanup
  • v2.6.11
    • ezlog: fix build() empty message detection
    • strany: fix processStrIndent nil return
  • v2.7.0
    • state: initial commit
  • v2.7.1
    • base: Base.LogLevel int -> uint8
    • state: fix runState() OnErr logic
  • v2.7.2
    • cmd: add basestruct
    • strany: processByteArray() use local string to prevent returning nil pointer
  • v2.7.3
    • update go version