@xh/hoist 79.0.0-SNAPSHOT.1764791109018 → 79.0.0-SNAPSHOT.1764801665504
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 +9 -2
- package/build/types/core/XH.d.ts +9 -4
- package/build/types/utils/js/LogUtils.d.ts +2 -2
- package/core/XH.ts +13 -5
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/utils/js/LogUtils.ts +12 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 78.1.2 - 2025-12-03
|
|
4
|
+
|
|
5
|
+
### 🐞 Bug Fixes
|
|
6
|
+
* Fix to Highchart timezone handling regression from version 77. Applications should note that
|
|
7
|
+
Highcharts has deprecated the `time.useUTC` option and its functioning seem suspect. Apps
|
|
8
|
+
should set `time.timezone` instead. See https://api.highcharts.com/highcharts/time.useUTC.
|
|
4
9
|
|
|
5
10
|
### ⚙️ Technical
|
|
6
11
|
|
|
7
|
-
*
|
|
12
|
+
* Allow cross-tab persistence of client log levels
|
|
13
|
+
|
|
14
|
+
|
|
8
15
|
|
|
9
16
|
## 78.1.0 - 2025-12-02
|
|
10
17
|
|
package/build/types/core/XH.d.ts
CHANGED
|
@@ -185,12 +185,17 @@ export declare class XHApi {
|
|
|
185
185
|
*/
|
|
186
186
|
get logLevel(): LogLevel;
|
|
187
187
|
/**
|
|
188
|
-
* Set the minimum severity for Hoist log utils
|
|
189
|
-
* this adjustment
|
|
188
|
+
* Set the minimum severity for Hoist log utils.
|
|
189
|
+
* Optionally persist this adjustment for up to 1440 minutes in local storage.
|
|
190
|
+
*/
|
|
191
|
+
setLogLevel(level: LogLevel, persistMins?: number): void;
|
|
192
|
+
/**
|
|
193
|
+
* Short cut to enable client-side logging at level `debug`.
|
|
194
|
+
* Optionally persist this adjustment for up to 1440 minutes in local storage.
|
|
190
195
|
*
|
|
191
|
-
* Hint: call this method from the console to
|
|
196
|
+
* Hint: call this method from the console to show more verbose data while troubleshooting.
|
|
192
197
|
*/
|
|
193
|
-
|
|
198
|
+
enableDebugLogging(persistMins?: number): void;
|
|
194
199
|
/**
|
|
195
200
|
* Main entry point to start the client app - initializes and renders application code.
|
|
196
201
|
* Call from the app's entry-point file within your project's `/client-app/src/apps/` folder.
|
|
@@ -44,11 +44,11 @@ export interface APIWarnOptions {
|
|
|
44
44
|
export declare function getLogLevel(): LogLevel;
|
|
45
45
|
/**
|
|
46
46
|
* Set the minimum severity for Hoist log utils until the page is refreshed. Optionally persist
|
|
47
|
-
* this adjustment to
|
|
47
|
+
* this adjustment to localStorage for up to 24 hours.
|
|
48
48
|
*
|
|
49
49
|
* @internal - use public `XH.setLogLevel()`.
|
|
50
50
|
*/
|
|
51
|
-
export declare function setLogLevel(level: LogLevel,
|
|
51
|
+
export declare function setLogLevel(level: LogLevel, persistMins?: number): void;
|
|
52
52
|
/**
|
|
53
53
|
* Time and log execution of a function to `console.info()`.
|
|
54
54
|
*
|
package/core/XH.ts
CHANGED
|
@@ -370,13 +370,21 @@ export class XHApi {
|
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
/**
|
|
373
|
-
* Set the minimum severity for Hoist log utils
|
|
374
|
-
* this adjustment
|
|
373
|
+
* Set the minimum severity for Hoist log utils.
|
|
374
|
+
* Optionally persist this adjustment for up to 1440 minutes in local storage.
|
|
375
|
+
*/
|
|
376
|
+
setLogLevel(level: LogLevel, persistMins: number = -1) {
|
|
377
|
+
setLogLevel(level, persistMins);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Short cut to enable client-side logging at level `debug`.
|
|
382
|
+
* Optionally persist this adjustment for up to 1440 minutes in local storage.
|
|
375
383
|
*
|
|
376
|
-
* Hint: call this method from the console to
|
|
384
|
+
* Hint: call this method from the console to show more verbose data while troubleshooting.
|
|
377
385
|
*/
|
|
378
|
-
|
|
379
|
-
setLogLevel(
|
|
386
|
+
enableDebugLogging(persistMins: number = -1) {
|
|
387
|
+
setLogLevel('debug', persistMins);
|
|
380
388
|
}
|
|
381
389
|
|
|
382
390
|
//----------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "79.0.0-SNAPSHOT.
|
|
3
|
+
"version": "79.0.0-SNAPSHOT.1764801665504",
|
|
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",
|