@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 CHANGED
@@ -1,10 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## 79.0.0-SNAPSHOT - unreleased
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
- * Remove deprecated `useUTC: false` config from highchart implementation. Replace with `timezone: undefined` to preserve existing behavior.
12
+ * Allow cross-tab persistence of client log levels
13
+
14
+
8
15
 
9
16
  ## 78.1.0 - 2025-12-02
10
17
 
@@ -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 until the page is refreshed. Optionally persist
189
- * this adjustment to sessionStorage to maintain for the lifetime of the browser tab.
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 adjust your app's log level while troubleshooting.
196
+ * Hint: call this method from the console to show more verbose data while troubleshooting.
192
197
  */
193
- setLogLevel(level: LogLevel, persistInSessionStorage?: boolean): void;
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 sessionStorage to maintain for the lifetime of the browser tab.
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, persistInSessionStorage?: boolean): void;
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 until the page is refreshed. Optionally persist
374
- * this adjustment to sessionStorage to maintain for the lifetime of the browser tab.
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 adjust your app's log level while troubleshooting.
384
+ * Hint: call this method from the console to show more verbose data while troubleshooting.
377
385
  */
378
- setLogLevel(level: LogLevel, persistInSessionStorage: boolean = false) {
379
- setLogLevel(level, persistInSessionStorage);
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.1764791109018",
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",