Skip to content

Releases: xh/hoist-core

v17.2.0

17 Aug 12:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: v17.1.0...v17.2.0

v17.1.0

08 Aug 21:46
Compare
Choose a tag to compare

What's Changed

  • Simplify LogSupport to better support java/groovy cross compilation by @lbwexler in #304
  • Admin log viewer log root path by @leogretz2 in #306

Full Changelog: v17.0.0...v17.1.0

v16.4.1

13 Jul 19:21
Compare
Choose a tag to compare

What's Changed

  • Ensure targetUser is in list searched by impersonationTargetsForUser by @cnrudd in #300

Full Changelog: v16.4.0...v16.4.1

v16.4.0

07 Jul 18:57
Compare
Choose a tag to compare

What's Changed

Full Changelog: v16.3.0...v16.4.0

v16.3.0

20 Jun 19:03
Compare
Choose a tag to compare

What's Changed

Full Changelog: v16.2.0...v16.3.0

v16.2.0

26 May 12:59
Compare
Choose a tag to compare

What's Changed

  • Suppress client error/client error email service with disableTrackLog instance config by @PeteDarinzo in #285
  • Log reader regex by @leogretz2 in #286
  • New h2Config() convenience method to config in-memory H2 DB by @cnrudd in #288
  • Append environment to xhAlertBanner JSON blob name in non-prod envs by @lbwexler in #287
  • Read and enforce new xhExpectedServerTimeZone config in Bootstrap by @amcclain in #290
  • Fix culling of memory monitoring snapshots by @lbwexler in #291

New Contributors

Full Changelog: v16.1.0...v16.2.0

v16.1.0

14 Apr 18:11
Compare
Choose a tag to compare

What's Changed

Full Changelog: v16.0.1...v16.1.0

v16.0.1

29 Mar 19:45
Compare
Choose a tag to compare

Full Changelog: v16.0.0...v16.0.1

v16.0.0

24 Mar 22:28
Compare
Choose a tag to compare

🎁 New Features

  • EmailService.sendEmail() now supports the attachments argument, for attaching one or more
    files to the email.
  • A new xhActivityTrackingConfig soft-configuration entry will be automatically created to control
    the behavior of built-in Activity Tracking (via TrackService).
    • Most notably, the size of any data objects included with track log entries will be
      constrained by this config, primarily to constrain memory usage when querying and serializing
      large numbers of log entries for the Admin Console.
    • Any track requests with data objects exceeding this length will be persisted, but without the
      requested data.

πŸ’₯ Breaking Changes

  • Removed support for "local" preferences - any existing prefs previously marked as local will now
    work like all others, with their values persisted on the server.
    • Apps upgrading to this Core release should simultaneously upgrade to Hoist React v56, which
      will automatically post any existing local preference values to the server.
    • Alternatively, update client-side code to use browser local storage for persisting user state
      that should remain tightly bound to a particular computer.
  • Grails has been updated to 5.3.2. While this change did not itself introduce any breaking
    changes, applications should update their Grails version within gradle.properties to match.

🐞 Bugfixes

  • Client Error timestamps will now correctly reflect the exact time the error was received on the
    server rather than the time the error was bulk processed by the server.

πŸ“š Libraries

  • grails 5.2.1 -> 5.3.2

v15.0.0

05 Dec 22:48
Compare
Choose a tag to compare

What's Changed

🎁 New Features

Version 15 includes changes to support more flexible logging of structured data:

  • The bulk of Hoist conventions around log formatting have been moved from LogSupport to a new
    log converter -- LogSupportConverter. This allows applications to more easily and fully
    customize their log formats by specifying custom converters.
  • LogSupport should still be the main entry point for most application logging. This class
    provides the support for enhanced meta data-handling as well as some important APIs -
    e.g. withDebug() and withInfo().
  • Applications are now encouraged to provide LogSupport methods with data in Map form. Provided
    converters will serialize these maps as appropriate for target logs.
  • Hoist's LogSupportConverter is intended for easy reading by humans, allows specifying
    keys that should disappear in the final output with an _ prefix. This is useful for keys that
    are obvious, e.g. [_status: 'completed', rows: 100] logs as 'completed' | rows=100.
  • Alternatively, applications may now specify custom converters that preserve all keys and are
    more appropriate for automatic processing (e.g. splunk). An example of such a converter is
    CustomLogSupportConverter which can be found in the Toolbox project.
  • By default, Hoist now also logs the time in millis when a log message occurred.

Full Changelog: v14.4.2...v15.0.0