@xh/hoist 79.0.0-SNAPSHOT.1764714198901 → 79.0.0-SNAPSHOT.1764799476521

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,6 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## 79.0.0-SNAPSHOT - unreleased
3
+ ## 78.1.1 - 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.
9
+
10
+ ### ⚙️ Technical
11
+
12
+ * Allow cross-tab persistence of client log levels
13
+
14
+
4
15
 
5
16
  ## 78.1.0 - 2025-12-02
6
17
 
@@ -186,11 +186,11 @@ export declare class XHApi {
186
186
  get logLevel(): LogLevel;
187
187
  /**
188
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.
189
+ * this adjustment for up to 1440 minutes in local storage.
190
190
  *
191
191
  * Hint: call this method from the console to adjust your app's log level while troubleshooting.
192
192
  */
193
- setLogLevel(level: LogLevel, persistInSessionStorage?: boolean): void;
193
+ setLogLevel(level: LogLevel, persistMins?: number): void;
194
194
  /**
195
195
  * Main entry point to start the client app - initializes and renders application code.
196
196
  * 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
@@ -371,12 +371,12 @@ export class XHApi {
371
371
 
372
372
  /**
373
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.
374
+ * this adjustment for up to 1440 minutes in local storage.
375
375
  *
376
376
  * Hint: call this method from the console to adjust your app's log level while troubleshooting.
377
377
  */
378
- setLogLevel(level: LogLevel, persistInSessionStorage: boolean = false) {
379
- setLogLevel(level, persistInSessionStorage);
378
+ setLogLevel(level: LogLevel, persistMins: number = -1) {
379
+ setLogLevel(level, persistMins);
380
380
  }
381
381
 
382
382
  //----------------------
@@ -27,8 +27,8 @@ export function installHighcharts(HighchartsImpl) {
27
27
  }
28
28
 
29
29
  HighchartsImpl.setOptions({
30
- global: {
31
- useUTC: false
30
+ time: {
31
+ timezone: undefined
32
32
  },
33
33
  lang: {
34
34
  thousandsSep: ','
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "79.0.0-SNAPSHOT.1764714198901",
3
+ "version": "79.0.0-SNAPSHOT.1764799476521",
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",