Skip to content

Releases: smartprix/sm-utils

v2.15.3

21 Sep 10:11
Compare
Choose a tag to compare
  • Str.tryStringifyJson method to stringify only if the input is not a string (complements Str.tryParseJson)
  • Fix logOnLocalWrite to log deep changes

v2.15.2

21 Sep 10:09
Compare
Choose a tag to compare
  • logOnLocalWrite option in RedisCache to log local cache mutations
  • Str.tryParseJson now parses the input if it is a string, otherwise returns the input itself

v2.15.0

30 Aug 16:45
Compare
Choose a tag to compare
  • improved documentation and types
  • index.d.ts file for better typing information
  • remove longjohn from d (shouldn't affect anyone, async stack traces might not be visible in console)
  • Make exception handler in d optional
    • New methods: d.enableUncaughtHandler and d.disableUncaughtHandler
  • Option to bypass RedisCache
    • New methods: RedisCache.bypass and RedisCache.isBypassed

v2.14.5

14 Aug 07:33
Compare
Choose a tag to compare
  • System.gracefulServerExit function to gracefully shut down http server.

v2.14.4

14 Aug 07:35
Compare
Choose a tag to compare
  • Str.stripTags
  • Str.escapeRegex