Skip to content

Latest commit

 

History

History
90 lines (71 loc) · 4.26 KB

CHANGELOG.md

File metadata and controls

90 lines (71 loc) · 4.26 KB

v0.10.0 [tbd]

What's new?

  • Add helpers.AppendSliceUnique. (#86)

v0.9.0 [2023-12-18]

What's new?

  • Add ListFilesWithContext function to handle context cancellations.(#70)
  • Add AnySliceToTypedSlice and ToTypedSlice functions.(#78)
  • Add TrimBlankLine function.(#79)
  • Add StringSliceEqualIgnoreOrder function to handle string slices comparison ignoring order. (#741)
  • Add type check functions.

v0.8.1 [2023-09-14]

Bug fixes

  • Fixes issue with RotatingLogWriter where it panics when starting up.(#67)

v0.8.0 [2023-09-13]

What's new?

  • Adds FilterMap.(#59)
  • Adds RotatingLogWriter.(#63)

Bug fixes

  • Remove UpgradeRWMutex, which had a potential race condition.(#60)

v0.7.0 [2023-06-08]

What's new?

  • Adds flag in 'ListFiles' to skip over empty directories. (#53)

v0.6.0 [2023-06-05]

What's new?

  • Add UpgradeRWMutex. (#42)
  • Optimise list files to recursively traverse directories only if there's a match. (#49)
  • Add utilities to work with golang maps. (#50)
  • Add MaxResults to ListOptions type to limit number of files listing. (#45)

v0.5.0 [2022-11-30]

What's new?

  • Add file watcher. (#26)
  • Adds helper functions for strings and hashes. (#29)
  • Add DirectoryExists.
  • Add GlobRoot.
  • Add SplitPath.
  • Deprecate Tildefy and FileExists in helpers package and add to files package.

v0.4.0 [2022-06-21]

What's new?

  • Update RemoveFromStringSlice to accepts multiple values to remove. Add additional string slice function unit tests. (#24)
  • Add LintName function to helpers. (#15)
  • Add EscapePropertyName and UnescapePropertyName functions to escape dots in property names. (#21)

Bug fixes

  • Fix GetNestedFieldValueFromInterface returning nil, if a column name contains dot. (Update GetFieldValueFromInterface and GetNestedFieldValueFromInterface to use UnescapePropertyName to support names with dots.) (#23)
  • Fix StringSliceDistinct not returning all the distinct items, instead removing the duplicate one from output. (#20)
  • v0.3.0 [2021-10-08]

What's new?

  • Add CombineErrors and CombineErrorsWithPrefix. (#12)
  • Add IsNil. (#18)
  • Add TabifyStringSlice. (#13)
  • Add StringSliceDistinct and StringSliceHasDuplicates. (#14)
  • Update TruncateString to take newlines into account. (#16)

v0.2.1 [2021-05-14]

  • Fix length bug in TruncateString.

v0.2.0 [2021-05-13]

What's new?

  • Add ListFiles. (#9)
  • Add Tabify. (#9)
  • Add TruncateString. (#9)

Bug fixes

  • Handle null pointers in ToBool

v0.1.3 [2021-03-17]

Bug fixes

  • Handle null pointers in ToBool

v0.1.2 [2021-03-15]

What's new?

  • Add ToBoolPtr to convert interface to a bool pointer. If the value is nil, or there is a conversion error, return nil. (#3)

v0.1.1 [2021-02-11]

What's new?

  • Add type conversion function CastString, which casts an interface to a string. This is the same as SafeString except it also returns a success flag.