@itwin/core-electron 5.1.0-dev.9 → 5.2.0-dev.2

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,71 @@
1
1
  # Change Log - @itwin/core-electron
2
2
 
3
- This log was last generated on Wed, 30 Apr 2025 13:16:15 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 06 Aug 2025 15:37:23 GMT and should not be manually modified.
4
+
5
+ ## 5.0.5
6
+ Wed, 06 Aug 2025 15:34:15 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 5.0.4
11
+ Wed, 16 Jul 2025 14:59:59 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 5.0.3
16
+ Fri, 11 Jul 2025 00:56:56 GMT
17
+
18
+ _Version update only_
19
+
20
+ ## 5.0.2
21
+ Thu, 26 Jun 2025 22:16:01 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 5.0.1
26
+ Tue, 17 Jun 2025 18:33:52 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 5.0.0
31
+ Fri, 13 Jun 2025 20:25:38 GMT
32
+
33
+ ### Updates
34
+
35
+ - Deprecate `DialogModuleMethod`
36
+ - Dropped support for Node 18
37
+ - Dropped support for Electron 32 and older
38
+ - Upgrade to Electron 34, drop support for Electron 33
39
+ - Bumped `username` to `7.0.0`
40
+ - Removed `ElectronHost.getWindowSizeSetting` and `ElectronApp.callDialog` methods
41
+ - Upgrade to Electron 35, drop support for Electron 34
42
+ - Add support for Electron 36
43
+ - Change core peer dependencies to strict version.
44
+
45
+ ## 4.11.6
46
+ Mon, 16 Jun 2025 15:00:15 GMT
47
+
48
+ _Version update only_
49
+
50
+ ## 4.11.5
51
+ Fri, 06 Jun 2025 13:41:18 GMT
52
+
53
+ _Version update only_
54
+
55
+ ## 4.11.4
56
+ Tue, 03 Jun 2025 16:15:19 GMT
57
+
58
+ _Version update only_
59
+
60
+ ## 4.11.3
61
+ Wed, 28 May 2025 13:56:22 GMT
62
+
63
+ _Version update only_
64
+
65
+ ## 4.11.2
66
+ Tue, 20 May 2025 20:14:45 GMT
67
+
68
+ _Version update only_
4
69
 
5
70
  ## 4.11.1
6
71
  Wed, 30 Apr 2025 13:13:21 GMT
@@ -8,7 +8,7 @@ export declare const electronIpcStrings: {
8
8
  };
9
9
  /** Asynchronous methods of dialog module in an Electron app.
10
10
  * @beta
11
- * @deprecated in 5.0. Use `Electron.Dialog` from `electron` instead.
11
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `Electron.Dialog` from `electron` instead.
12
12
  */
13
13
  export type DialogModuleMethod = AsyncMethodsOf<Electron.Dialog>;
14
14
  //# sourceMappingURL=ElectronIpcInterface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ElectronIpcInterface.js","sourceRoot":"","sources":["../../../src/common/ElectronIpcInterface.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,gBAAgB;AACH,QAAA,kBAAkB,GAAG;IAChC,aAAa,EAAE,yBAAyB;CAChC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module RpcInterface\n */\n\nimport { AsyncMethodsOf } from \"@itwin/core-bentley\";\n\n/** @internal */\nexport const electronIpcStrings = {\n dialogChannel: \"itwinjs-electron/dialog\",\n} as const;\n\n/** Asynchronous methods of dialog module in an Electron app.\n * @beta\n * @deprecated in 5.0. Use `Electron.Dialog` from `electron` instead.\n */\nexport type DialogModuleMethod = AsyncMethodsOf<Electron.Dialog>;\n"]}
1
+ {"version":3,"file":"ElectronIpcInterface.js","sourceRoot":"","sources":["../../../src/common/ElectronIpcInterface.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,gBAAgB;AACH,QAAA,kBAAkB,GAAG;IAChC,aAAa,EAAE,yBAAyB;CAChC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module RpcInterface\n */\n\nimport { AsyncMethodsOf } from \"@itwin/core-bentley\";\n\n/** @internal */\nexport const electronIpcStrings = {\n dialogChannel: \"itwinjs-electron/dialog\",\n} as const;\n\n/** Asynchronous methods of dialog module in an Electron app.\n * @beta\n * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `Electron.Dialog` from `electron` instead.\n */\nexport type DialogModuleMethod = AsyncMethodsOf<Electron.Dialog>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/core-electron",
3
- "version": "5.1.0-dev.9",
3
+ "version": "5.2.0-dev.2",
4
4
  "description": "iTwin.js ElectronHost and ElectronApp",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -21,21 +21,21 @@
21
21
  "url": "http://www.bentley.com"
22
22
  },
23
23
  "peerDependencies": {
24
- "electron": "^35.0.0",
25
- "@itwin/core-backend": "5.1.0-dev.9",
26
- "@itwin/core-frontend": "5.1.0-dev.9",
27
- "@itwin/core-common": "5.1.0-dev.9",
28
- "@itwin/core-bentley": "5.1.0-dev.9"
24
+ "electron": "^35.0.0 || ^36.0.0 || ^37.0.0",
25
+ "@itwin/core-backend": "5.2.0-dev.2",
26
+ "@itwin/core-bentley": "5.2.0-dev.2",
27
+ "@itwin/core-common": "5.2.0-dev.2",
28
+ "@itwin/core-frontend": "5.2.0-dev.2"
29
29
  },
30
30
  "devDependencies": {
31
- "@itwin/eslint-plugin": "5.0.0-dev.1",
31
+ "@itwin/eslint-plugin": "5.2.2-dev.2",
32
32
  "@types/chai": "4.3.1",
33
33
  "@types/mocha": "^10.0.6",
34
34
  "@types/node": "~20.17.0",
35
35
  "chai": "^4.3.10",
36
36
  "cpx2": "^8.0.0",
37
- "electron": "^35.0.0",
38
- "eslint": "^9.13.0",
37
+ "electron": "^37.2.0",
38
+ "eslint": "^9.31.0",
39
39
  "glob": "^10.3.12",
40
40
  "mocha": "^11.1.0",
41
41
  "rimraf": "^6.0.1",
@@ -43,15 +43,15 @@
43
43
  "typescript": "~5.6.2",
44
44
  "webpack": "^5.97.1",
45
45
  "webpack-cli": "^5.0.1",
46
- "@itwin/build-tools": "5.1.0-dev.9",
47
- "@itwin/core-backend": "5.1.0-dev.9",
48
- "@itwin/core-bentley": "5.1.0-dev.9",
49
- "@itwin/core-common": "5.1.0-dev.9",
50
- "@itwin/core-frontend": "5.1.0-dev.9",
51
- "@itwin/certa": "5.1.0-dev.9"
46
+ "@itwin/build-tools": "5.2.0-dev.2",
47
+ "@itwin/core-frontend": "5.2.0-dev.2",
48
+ "@itwin/certa": "5.2.0-dev.2",
49
+ "@itwin/core-bentley": "5.2.0-dev.2",
50
+ "@itwin/core-backend": "5.2.0-dev.2",
51
+ "@itwin/core-common": "5.2.0-dev.2"
52
52
  },
53
53
  "dependencies": {
54
- "@openid/appauth": "^1.2.6",
54
+ "@openid/appauth": "^1.3.2",
55
55
  "open": "^7.0.0",
56
56
  "username": "^7.0.0"
57
57
  },
@@ -63,6 +63,7 @@
63
63
  "docs": "betools docs --json=../../generated-docs/core/core-electron/file.json --tsIndexFile=./core-electron.ts --onlyJson",
64
64
  "extract-api": "betools extract-api --entry=core-electron",
65
65
  "lint": "eslint \"./src/**/*.ts\" 1>&2",
66
+ "lint-deprecation": "eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \"./src/**/*.ts\"",
66
67
  "test": "",
67
68
  "test:integration": "npm run test:integration:backend && npm run test:integration:frontend",
68
69
  "test:integration:backend": "mocha --config src/test/backend/.mocharc.json",