@xh/hoist 75.0.0-SNAPSHOT.1753474244586 → 75.0.0-SNAPSHOT.1753486175346
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -8
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,16 +12,15 @@
|
|
|
12
12
|
* A new `ExpandToLevelButton` menu component is also available for both desktop and mobile.
|
|
13
13
|
Provides easier discoverability on desktop and supports this feature on mobile, where we
|
|
14
14
|
don't have context menus.
|
|
15
|
+
* Enhanced `FilterChooser` to better handle filters with different `op`s on the same field.
|
|
16
|
+
* Multiple "inclusive" ops (e.g. `=`, `like`) will be OR'ed together.
|
|
17
|
+
* Multiple "exclusive" ops (e.g. `!=`, `not like`) will be AND'ed together.
|
|
18
|
+
* Range ops (e.g. `<`, `>` ) use a heuristic to avoid creating a filter that could never match.
|
|
19
|
+
* This behavior is consistent with current behavior and user intuition and should maximize the
|
|
20
|
+
ability to create useful queries using this component.
|
|
21
|
+
* Deprecated the `RelativeTimestamp.options` prop - all the same options are now top-level props.
|
|
15
22
|
* Added new `GroupingChooserModel.sortDimensions` config. Set to `false` to respect the order in
|
|
16
23
|
which `dimensions` are provided to the model.
|
|
17
|
-
* The usage of the `RelativeTimestamp` component has been streamlined by deprecating the `options`
|
|
18
|
-
prop. All `RelativeTimestampOptions` are now supported by this component as top-level props.
|
|
19
|
-
* `FilterChooserModel` has been enhanced to better handle multiple simultaneous filters with
|
|
20
|
-
different `op`s on the same field. "Inclusive" ops (e.g. `=`, `like`) will be OR'ed together,
|
|
21
|
-
"Exclusive" ops (e.g. `!=`, `not like`) will be AND'ed together and range ops (e.g. `<`, `>` )
|
|
22
|
-
will use a heuristic to create a meaningful query that will actually return results. This
|
|
23
|
-
behavior is consistent with current behavior and user intuition, and should maximize the ability
|
|
24
|
-
to create useful queries.
|
|
25
24
|
|
|
26
25
|
### 🐞 Bug Fixes
|
|
27
26
|
|
|
@@ -34,6 +33,14 @@
|
|
|
34
33
|
* Fixed framework components that bind to grids (e.g. `ColChooserButton`, `ColAutosizeButton`,
|
|
35
34
|
`GridFindField`), ensuring they automatically rebind to a new observable `GridModel` via context.
|
|
36
35
|
|
|
36
|
+
### ⚙️ Technical
|
|
37
|
+
|
|
38
|
+
* Hoist now sets a reference to an app's singleton `AuthModel` on a static `instance` property of
|
|
39
|
+
the app-specified class. App developers can declare a typed static `instance` property on their
|
|
40
|
+
model class and use it to access the singleton with its proper type, vs. `XH.authModel`.
|
|
41
|
+
* The `XH.authModel` property is still set and available - this is a non-breaking change.
|
|
42
|
+
* This approach was already (and continues to be) used for services and the `AppModel` singleton.
|
|
43
|
+
|
|
37
44
|
## v74.1.2 - 2025-07-03
|
|
38
45
|
|
|
39
46
|
### 🐞 Bug Fixes
|
package/README.md
CHANGED
|
@@ -289,7 +289,7 @@ available to application code, use the`XH.installServicesAsync()` method. This m
|
|
|
289
289
|
construct, initialize, and install the services as a property on the XH object. Note that there is a
|
|
290
290
|
strict expectation that service classes will be named ending with the word 'Service', e.g.
|
|
291
291
|
`MyCustomService.`. The installed instance in this case would then be made available to application
|
|
292
|
-
code as `XH.myCustomService
|
|
292
|
+
code as `XH.myCustomService`.
|
|
293
293
|
|
|
294
294
|
Many core Hoist features are exposed on the client via services such as `PrefService`,
|
|
295
295
|
`ConfigService`, and `IdentityService`. See these examples for a better understanding of the kind of
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "75.0.0-SNAPSHOT.
|
|
3
|
+
"version": "75.0.0-SNAPSHOT.1753486175346",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|