Releases: xh/hoist-core
Releases Β· xh/hoist-core
v5.1.0
π 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.
v5.0.4
π Bug Fixes
- Avoids the use of (sometimes) reserved SQL word
level
in theLogLevel
config object. Remapped tolog_level
column.
v5.0.3
π₯ 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 fromBaseRoleService
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 requiredRoleService
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.
v4.3.0
π New Features
- Server-side Excel export supports
LONG_TEXT
format with wrapped multi-line cells.
π Bug Fixes
- Objects extending
JSONFormat
withcacheJSON
enabled can be rendered at the top-level of a return.
v4.2.1
- Added support for
activeOnly
argument toUserAdminController
- required for xh/hoist-react#567
v4.2.0
v4.1.0
v4.0.0
π₯ Breaking Changes
- Relevant
HoistImplController
endpoints now require aclientUsername
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)
v3.1.2
π 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)
v3.1.1
π 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