Skip to content

Releases: xh/hoist-core

v5.1.0

31 Oct 15:55
Compare
Choose a tag to compare

🎁 New Features

  • InstanceConfigUtils can now read bootstrap configuration values from a directory of files, each containing a single config, in addition to the previous support for yaml files. This supports reading low-level configuration from Docker/Kubernetes configs and secrets, which are mounted to the container filesystem as a directory.

🐞 Bug Fixes

  • An admin client that happens to be polling for a non-existent log file (e.g. one that has just been archived) will no longer spam the logs with stracktraces.

:octocat: Commit Log

v5.0.4

16 Oct 19:03
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Avoids the use of (sometimes) reserved SQL word level in the LogLevel config object. Remapped to log_level column.

⚠️ Note that this will require a schema update if Grails is not configured to do so automatically, and will result in existing overrides having a null level (which is supported and means "no override").

:octocat: Commit Log

v5.0.3

15 Oct 19:26
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

This release includes several core API changes to how users and their roles (permissions) are loaded. (Note that the breaking changes below will typically be handled by updates to a custom enterprise plugin and not require individual app changes.)

  • Applications (or enterprise plugins) must implement a new RoleService extending from BaseRoleService to provide a map of users to their app-specific roles. Roles continue to be modelled as simple strings for use both on server and client.
  • The HoistUser superclass no longer holds / caches its roles directly, but instead calls into the new required RoleService dynamically when asked.
  • Boilerplate around auth whitelists and resources has been better consolidated into the plugin, helping to clean up some repeated application-level AuthenticationService code.
  • Hoist implementation endpoints have moved from /hoistImpl/ -> /xh/ for brevity / clarity. Client-side plugins will be updated to use this new path. The implementation APIs used to login/logout and confirm auth / roles have changed, but again are handled by Hoist client plugin updates and do not require application-level changes.

:octocat: Commit Log

v4.3.0

06 Oct 22:24
Compare
Choose a tag to compare

🎁 New Features

  • Server-side Excel export supports LONG_TEXT format with wrapped multi-line cells.

🐞 Bug Fixes

  • Objects extending JSONFormat with cacheJSON enabled can be rendered at the top-level of a return.

:octocat: Commit Log

v4.2.1

18 Sep 13:19
Compare
Choose a tag to compare
  • Added support for activeOnly argument to UserAdminController - required for xh/hoist-react#567

:octocat: Commit Log

v4.2.0

07 Sep 20:24
7e8daf9
Compare
Choose a tag to compare

🎁 New Features

  • Added support for PUT, PATCH, DELETE to BaseProxyService.

:octocat: Commit Log

v4.1.0

21 Aug 23:11
Compare
Choose a tag to compare

πŸ“š Libraries

  • Grails 3.3.5 -> 3.3.8

:octocat: Commit Log

v4.0.0

16 Jul 20:07
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

  • Relevant HoistImplController endpoints now require a clientUsername param to ensure the client and server are in sync re. the currently active user. This resolves edge-case bugs around impersonation and preference, dashboard changes flushing changes on unload to the wrong server-side user. (#46)

:octocat: Commit Log

v3.1.2

11 Jul 18:20
Compare
Choose a tag to compare

🐞 Bug Fixes

  • The xhEmailDefaultDomain config no longer needs a leading (and confusing) @ - EmailService will prepend this automatically.
    • ⚠️ Note app-level configs with a leading @ in place will need to be adjusted. (#43)

:octocat: Commit Log

v3.1.1

20 Jun 17:41
Compare
Choose a tag to compare

🐞 Bug Fixes

  • IdentityService.getUser() should not throw when called outside context of a request -- just return null. Important when e.g. looking for a username within service calls that might be triggered by a controller-based web request or a timer-based thread. 4130a9a

:octocat: Commit Log