@lynx-js/web-core-canary 0.15.7-canary-20250826-bc7f532b → 0.15.8-canary-20250826-1777bb4b

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,16 +1,30 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.15.7-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
3
+ ## 0.15.8-canary-20250826060301-1777bb4bc1d031b0d30d5e2c079fc04cd72e402e
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: remove multi-thread mts heating ([#1597](https://github.com/lynx-family/lynx-stack/pull/1597))
8
+
9
+ The default rendering mode is "all-on-ui". Therefore the preheating for "multi-thread" will be removed.
10
+
11
+ - Updated dependencies []:
12
+ - @lynx-js/web-constants@0.15.8-canary-20250826060301-1777bb4bc1d031b0d30d5e2c079fc04cd72e402e
13
+ - @lynx-js/web-mainthread-apis@0.15.8-canary-20250826060301-1777bb4bc1d031b0d30d5e2c079fc04cd72e402e
14
+ - @lynx-js/web-worker-rpc@0.15.8-canary-20250826060301-1777bb4bc1d031b0d30d5e2c079fc04cd72e402e
15
+ - @lynx-js/web-worker-runtime@0.15.8-canary-20250826060301-1777bb4bc1d031b0d30d5e2c079fc04cd72e402e
16
+
17
+ ## 0.15.7
4
18
 
5
19
  ### Patch Changes
6
20
 
7
21
  - fix: fake uidisappear event ([#1539](https://github.com/lynx-family/lynx-stack/pull/1539))
8
22
 
9
23
  - Updated dependencies [[`70863fb`](https://github.com/lynx-family/lynx-stack/commit/70863fbc311d8885ebda40855668097b0631f521)]:
10
- - @lynx-js/web-mainthread-apis@0.15.7-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
11
- - @lynx-js/web-constants@0.15.7-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
12
- - @lynx-js/web-worker-runtime@0.15.7-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
13
- - @lynx-js/web-worker-rpc@0.15.7-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
24
+ - @lynx-js/web-mainthread-apis@0.15.7
25
+ - @lynx-js/web-constants@0.15.7
26
+ - @lynx-js/web-worker-runtime@0.15.7
27
+ - @lynx-js/web-worker-rpc@0.15.7
14
28
 
15
29
  ## 0.15.6
16
30
 
@@ -4,15 +4,13 @@
4
4
  import { Rpc } from '@lynx-js/web-worker-rpc';
5
5
  const backgroundWorkerContextCount = [];
6
6
  const contextIdToBackgroundWorker = [];
7
- let preHeatedMainWorker = createMainWorker();
8
7
  export function bootWorkers(lynxGroupId, allOnUI) {
9
8
  let curMainWorker;
10
9
  if (allOnUI) {
11
10
  curMainWorker = createUIChannel();
12
11
  }
13
12
  else {
14
- curMainWorker = preHeatedMainWorker;
15
- preHeatedMainWorker = createMainWorker();
13
+ curMainWorker = createMainWorker();
16
14
  }
17
15
  const curBackgroundWorker = createBackgroundWorker(lynxGroupId, curMainWorker.channelMainThreadWithBackground);
18
16
  if (lynxGroupId !== undefined) {
@@ -95,7 +93,12 @@ function createBackgroundWorker(lynxGroupId, channelMainThreadWithBackground) {
95
93
  return { backgroundRpc, backgroundThreadWorker };
96
94
  }
97
95
  function createWebWorker(name) {
98
- return new Worker(new URL('@lynx-js/web-worker-runtime', import.meta.url), {
96
+ return new Worker(
97
+ /* webpackFetchPriority: "high" */
98
+ /* webpackChunkName: "web-core-worker-runtime" */
99
+ /* webpackPrefetch: true */
100
+ /* webpackPreload: true */
101
+ new URL('@lynx-js/web-worker-runtime', import.meta.url), {
99
102
  type: 'module',
100
103
  name,
101
104
  });
@@ -5,7 +5,13 @@ import { i18nResourceMissedEventName, I18nResources, lynxUniqueIdAttribute, } fr
5
5
  import { Rpc } from '@lynx-js/web-worker-rpc';
6
6
  import { dispatchLynxViewEvent } from '../utils/dispatchLynxViewEvent.js';
7
7
  import { createExposureMonitor } from './crossThreadHandlers/createExposureMonitor.js';
8
- const { prepareMainThreadAPIs, } = await import('@lynx-js/web-mainthread-apis');
8
+ const { prepareMainThreadAPIs, } = await import(
9
+ /* webpackChunkName: "web-core-main-thread-apis" */
10
+ /* webpackMode: "lazy-once" */
11
+ /* webpackPreload: true */
12
+ /* webpackPrefetch: true */
13
+ /* webpackFetchPriority: "high" */
14
+ '@lynx-js/web-mainthread-apis');
9
15
  export function createRenderAllOnUI(mainToBackgroundRpc, shadowRoot, markTimingInternal, flushMarkTimingInternal, callbacks, ssrDumpInfo) {
10
16
  if (!globalThis.module) {
11
17
  Object.assign(globalThis, { module: {} });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.15.7-canary-20250826-bc7f532b",
3
+ "version": "0.15.8-canary-20250826-1777bb4b",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -25,10 +25,10 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.3",
28
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.7-canary-20250826-bc7f532b",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.7-canary-20250826-bc7f532b",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.7-canary-20250826-bc7f532b",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.15.7-canary-20250826-bc7f532b"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.8-canary-20250826-1777bb4b",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.8-canary-20250826-1777bb4b",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.8-canary-20250826-1777bb4b",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.15.8-canary-20250826-1777bb4b"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",