Skip to content

Commit

Permalink
Changelog / formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amcclain committed Jan 23, 2025
1 parent eb09d62 commit f1d8ec2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
28 changes: 18 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,27 @@

### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - requires Java 17 and Hoist React 72.x)

* Requires Java 17.
* Requires `hoist-react >= 72`
* Minor/patch updates to Groovy, Grails, and Hazelcast (see versions below).

### 🎁 New Features

* Added support for conditional persisting of activity tracking messages based on `TrackSeverity`.
By default all messages continue to have severity `INFO`, which is the default active level.
Make tracking more or less verbose by adding an entry to the new `levels` property in
`TrackService.xhActivityTrackingConfig`. See TrackService for more info.
By default, all messages continue to have severity `INFO`, which is the default active level.
Make tracking more or less verbose by adding an entry to the new `levels` property of the
`xhActivityTrackingConfig` app config. See `TrackService.groovy` for more info.

### 🐞 Bug Fixes

* Fixed `JsonBlob` unique name validation which also affected `Views`.
* Fixed unique name validation for `JSONBlob` (and therefore saved View Manager views).

### ⚙️ Technical
* Minor Grails upgrades
* Hazelcast upgrade 5.3.7 -> 5.5.0
### 📚 Libraries

* Grails + Grails Gradle plugin `6.2.0 → 6.2.3`
* GORM `8.1.0 → 8.1.2`
* Groovy `3.0.21 → 3.0.23`
* Hazelcast `5.3.7 → 5.5.0`

## 27.0.0 - 2025-01-08

Expand Down Expand Up @@ -50,9 +58,9 @@ Make tracking more or less verbose by adding an entry to the new `levels` proper

* Removed support for dynamic configuration of distributed Hazelcast objects. All configuration
must be in place before an instance is started, per Hazelcast documentation.
* Removed `ClusterService.configureXXX` methods, replaced by support for specifying a static
`ClusterService.configureCluster` closure.
* Not expected to impact any existing applications.
* Removed `ClusterService.configureXXX` methods, replaced by support for specifying a static
`ClusterService.configureCluster` closure.
* Not expected to impact any existing applications.

### 🐞 Bug Fixes

Expand Down
9 changes: 5 additions & 4 deletions grails-app/services/io/xh/hoist/track/TrackService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ import static java.lang.System.currentTimeMillis
*
* The `xhActivityTrackingConfig` soft-config can be used to configure this service, including
* disabling it completely. Use the 'levels' property in this config to set the minimal severity for
* persisting any particular message. Entries in this list will be of the following form, where
* persisting any particular message. Entries in this list will be of the following form, where
* the first matching entry for a message will determine the currently active severity to persist:
*
* levels: [
* [
* username: ['*' or comma-delimited list of usernames],
Expand All @@ -44,9 +45,9 @@ import static java.lang.System.currentTimeMillis
* ...
* ]
*
* Separately, the `disableTrackLog` *instance* config can be used to
* disable only the *persistence* of new track logs while leaving logging and the admin client UI
* active / accessible (intended for local development environments).
* Separately, the `disableTrackLog` *instance* config can be used to disable only the *persistence*
* of new track logs while leaving logging and the admin client UI active / accessible (intended for
* local development environments).
*/
@CompileStatic
class TrackService extends BaseService {
Expand Down

0 comments on commit f1d8ec2

Please sign in to comment.