@xh/hoist 67.0.0-SNAPSHOT.1725396437331 → 67.0.0-SNAPSHOT.1725400941388

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,6 @@
1
1
  # Changelog
2
2
 
3
- ## 67.0.0-SNAPSHOT - unreleased
3
+ ## 67.0.0 - 2024-09-03
4
4
 
5
5
  ### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - Hoist Core update only)
6
6
 
@@ -47,6 +47,7 @@
47
47
  ### 📚 Libraries
48
48
 
49
49
  * short-unique-id `added @ 5.2`
50
+ * hoist-core 21.0`
50
51
 
51
52
  ## 66.1.1 - 2024-08-01
52
53
 
@@ -11,7 +11,7 @@ import { ToastModel } from '../appcontainer/ToastModel';
11
11
  import '../styles/XH.scss';
12
12
  import { AppSpec, AppState, AppSuspendData, BannerSpec, ExceptionHandler, ExceptionHandlerOptions, HoistAppModel, HoistException, HoistService, HoistServiceClass, HoistUser, MessageSpec, PageState, PlainObject, SizingMode, TaskObserver, Theme, ToastSpec, TrackOptions } from './';
13
13
  import { HoistModel, ModelSelector, RefreshContextModel } from './model';
14
- export declare const MIN_HOIST_CORE_VERSION = "18.0";
14
+ export declare const MIN_HOIST_CORE_VERSION = "21.0";
15
15
  /**
16
16
  * Top-level Singleton model for Hoist. This is the main entry point for the API.
17
17
  *
@@ -321,7 +321,6 @@ export declare class XHApi {
321
321
  * @param options - provides further control over how the exception is shown and/or logged.
322
322
  */
323
323
  handleException(exception: unknown, options?: ExceptionHandlerOptions): void;
324
- showException(exception: unknown, options?: ExceptionHandlerOptions): void;
325
324
  /**
326
325
  * Create a new exception - See {@link Exception}.
327
326
  *
package/core/XH.ts CHANGED
@@ -29,7 +29,6 @@ import {
29
29
  TrackService,
30
30
  WebSocketService
31
31
  } from '@xh/hoist/svc';
32
- import {apiDeprecated} from '@xh/hoist/utils/js';
33
32
  import {camelCase, flatten, isString, uniqueId} from 'lodash';
34
33
  import {Router, State} from 'router5';
35
34
  import {CancelFn} from 'router5/types/types/base';
@@ -64,7 +63,7 @@ import {installServicesAsync} from './impl/InstallServices';
64
63
  import {instanceManager} from './impl/InstanceManager';
65
64
  import {HoistModel, ModelSelector, RefreshContextModel} from './model';
66
65
 
67
- export const MIN_HOIST_CORE_VERSION = '18.0';
66
+ export const MIN_HOIST_CORE_VERSION = '21.0';
68
67
 
69
68
  declare const xhAppCode: string;
70
69
  declare const xhAppName: string;
@@ -628,14 +627,6 @@ export class XHApi {
628
627
  this.exceptionHandler.handleException(exception, options);
629
628
  }
630
629
 
631
- showException(exception: unknown, options?: ExceptionHandlerOptions) {
632
- apiDeprecated('showException', {
633
- msg: 'Use XH.exceptionHandler.showException instead',
634
- v: '62'
635
- });
636
- this.exceptionHandler.showException(exception, options);
637
- }
638
-
639
630
  /**
640
631
  * Create a new exception - See {@link Exception}.
641
632
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "67.0.0-SNAPSHOT.1725396437331",
3
+ "version": "67.0.0-SNAPSHOT.1725400941388",
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",