Skip to content

chore: Release 2025-04-18 10:59:22#536

Merged
colinaaa merged 1 commit intomainfrom
changeset-release/main
Apr 21, 2025
Merged

chore: Release 2025-04-18 10:59:22#536
colinaaa merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Apr 14, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@lynx-js/web-core@0.12.0

Minor Changes

  • feat: improve compatibility for chrome 108 & support linear-gradient for nested x-text (#590)

    This is a breaking change

    • Please upgrade your @lynx-js/web-elements to >=0.6.0
    • Please upgrade your @lynx-js/web-core to >=0.12.0
    • The compiled lynx template json won't be impacted.

    On chrome 108, the -webkit-background-clip:text cannot be computed by a var(--css-var-value-text)

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

    <text style="color:linear-gradient()">
      <text>
      <text>
    </text>
    

Patch Changes

  • feat: allow user to implement custom template load function (#587)

    lynxView.customTemplateLoader = (url) => {
      return (await (await fetch(url, {
        method: 'GET',
      })).json());
    };
  • feat: support mts event with target methods (#564)

    After this commit, developers are allowed to invoke event.target.setStyleProperty in mts handler

  • fix: crash on removing a id attribute (#582)

  • Updated dependencies [f1ca29b]:

    • @lynx-js/web-worker-runtime@0.12.0
    • @lynx-js/web-constants@0.12.0
    • @lynx-js/web-worker-rpc@0.12.0

@lynx-js/web-elements@0.6.0

Minor Changes

  • fix: When list-type is not specified, it is treated as single formatting. (#535)

  • feat: improve compatibility for chrome 108 & support linear-gradient for nested x-text (#590)

    This is a breaking change

    • Please upgrade your @lynx-js/web-elements to >=0.6.0
    • Please upgrade your @lynx-js/web-core to >=0.12.0
    • The compiled lynx template json won't be impacted.

    On chrome 108, the -webkit-background-clip:text cannot be computed by a var(--css-var-value-text)

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

    <text style="color:linear-gradient()">
      <text>
      <text>
    </text>
    

Patch Changes

  • feat: fully support MTS (#569)

    Now use support the following usage

    • mainthread event
    • mainthread ref
    • runOnMainThread/runOnBackground
    • ref.current.xx
  • feat: support layoutchange event for x-overlay-ng (#519)

  • fix: position:fixed not work in scroll-view (#580)

  • fix: x-list may cause error: 'Resizeobserver loop completed with undelivered notifications'. (#541)

  • fix: refactor foldview slot offset logic (#575)

  • fix: improve x-foldview-ng (#513)

    • support fling for touch event driven scrolling
    • allow the height of x-foldview-slot-ng + x-foldview-toolbar-ng > x-foldview-ng
    • do not prevent horizontal gesture. After this commit we only allow one direction gesture for one touch (start -> end)
  • feat: add list with waterfall (#331)

@lynx-js/web-style-transformer@0.3.0

Minor Changes

  • feat: improve compatibility for chrome 108 & support linear-gradient for nested x-text (#590)

    This is a breaking change

    • Please upgrade your @lynx-js/web-elements to >=0.6.0
    • Please upgrade your @lynx-js/web-core to >=0.12.0
    • The compiled lynx template json won't be impacted.

    On chrome 108, the -webkit-background-clip:text cannot be computed by a var(--css-var-value-text)

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

    <text style="color:linear-gradient()">
      <text>
      <text>
    </text>
    

@lynx-js/react@0.106.5

Patch Changes

  • Fix lynx.loadLazyBundle is not a function (#568)

  • fix: flushDelayedLifecycleEvents stack overflow error (#540)

@lynx-js/rspeedy@0.9.2

Patch Changes

  • Support cli option --no-env to disable loading of .env files (#483)

  • Bump Rsbuild v1.3.8 with Rspack v1.3.5. (#579)

@lynx-js/react-rsbuild-plugin@0.9.7

Patch Changes

  • Support overriding SWC configuration. (#563)

    Now you can override configuration like useDefineForClassFields using tools.swc.

    import { defineConfig } from "@lynx-js/rspeedy";
    
    export default defineConfig({
      tools: {
        swc: {
          jsc: {
            transform: {
              useDefineForClassFields: true,
            },
          },
        },
      },
    });
  • Updated dependencies [f1ca29b]:

    • @lynx-js/react-webpack-plugin@0.6.11
    • @lynx-js/react-alias-rsbuild-plugin@0.9.7
    • @lynx-js/react-refresh-webpack-plugin@0.3.2
    • @lynx-js/web-webpack-plugin@0.6.5

@lynx-js/web-constants@0.12.0

Patch Changes

  • feat: fully support MTS (#569)

    Now use support the following usage

    • mainthread event
    • mainthread ref
    • runOnMainThread/runOnBackground
    • ref.current.xx
  • Updated dependencies []:

    • @lynx-js/web-worker-rpc@0.12.0

@lynx-js/web-explorer@0.0.5

Patch Changes

  • fix: create a new lynx-view for lynxjs.org (#566)

  • fix: blank screen issue for 0.0.4 (#543)

@lynx-js/web-mainthread-apis@0.12.0

Patch Changes

  • feat: fully support MTS (#569)

    Now use support the following usage

    • mainthread event
    • mainthread ref
    • runOnMainThread/runOnBackground
    • ref.current.xx
  • feat: support mts event with target methods (#564)

    After this commit, developers are allowed to invoke event.target.setStyleProperty in mts handler

  • fix: crash on removing a id attribute (#582)

  • Updated dependencies [f1ca29b, 7edf478]:

    • @lynx-js/web-constants@0.12.0
    • @lynx-js/web-style-transformer@0.3.0

@lynx-js/web-worker-runtime@0.12.0

Patch Changes

  • feat: fully support MTS (#569)

    Now use support the following usage

    • mainthread event
    • mainthread ref
    • runOnMainThread/runOnBackground
    • ref.current.xx
  • Updated dependencies [f1ca29b, 8ca9fcb, efe6fd7]:

    • @lynx-js/web-mainthread-apis@0.12.0
    • @lynx-js/web-constants@0.12.0
    • @lynx-js/web-worker-rpc@0.12.0

@lynx-js/react-webpack-plugin@0.6.11

Patch Changes

  • feat: fully support MTS (#569)

    Now use support the following usage

    • mainthread event
    • mainthread ref
    • runOnMainThread/runOnBackground
    • ref.current.xx

@lynx-js/web-webpack-plugin@0.6.5

Patch Changes

  • Updated dependencies [7edf478]:
    • @lynx-js/web-style-transformer@0.3.0

create-rspeedy@0.9.2

@lynx-js/react-alias-rsbuild-plugin@0.9.7

upgrade-rspeedy@0.9.2

@lynx-js/web-worker-rpc@0.12.0

@github-actions github-actions bot requested a review from colinaaa as a code owner April 14, 2025 08:40
@github-actions github-actions bot changed the title chore: Release 2025-04-14 08:40:24 chore: Release 2025-04-14 10:18:03 Apr 14, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2c249c8 to 106cb6a Compare April 14, 2025 10:18
@github-actions github-actions bot requested a review from PupilTong as a code owner April 14, 2025 10:18
@github-actions github-actions bot changed the title chore: Release 2025-04-14 10:18:03 chore: Release 2025-04-14 11:59:44 Apr 14, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 106cb6a to b053b9b Compare April 14, 2025 11:59
@github-actions github-actions bot changed the title chore: Release 2025-04-14 11:59:44 chore: Release 2025-04-14 15:44:55 Apr 14, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from b053b9b to e80bc19 Compare April 14, 2025 15:45
@github-actions github-actions bot changed the title chore: Release 2025-04-14 15:44:55 chore: Release 2025-04-15 05:38:04 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from e80bc19 to 63cca1f Compare April 15, 2025 05:38
@github-actions github-actions bot changed the title chore: Release 2025-04-15 05:38:04 chore: Release 2025-04-15 07:09:50 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 63cca1f to 2fbf295 Compare April 15, 2025 07:10
@github-actions github-actions bot changed the title chore: Release 2025-04-15 07:09:50 chore: Release 2025-04-15 07:50:17 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2fbf295 to 3b94672 Compare April 15, 2025 07:50
@github-actions github-actions bot changed the title chore: Release 2025-04-15 07:50:17 chore: Release 2025-04-15 08:52:07 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 3b94672 to e28931e Compare April 15, 2025 08:52
@github-actions github-actions bot changed the title chore: Release 2025-04-15 08:52:07 chore: Release 2025-04-15 09:27:52 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from e28931e to 1780e9b Compare April 15, 2025 09:28
@github-actions github-actions bot changed the title chore: Release 2025-04-15 09:27:52 chore: Release 2025-04-15 12:59:40 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1780e9b to b5fd1d7 Compare April 15, 2025 12:59
@github-actions github-actions bot changed the title chore: Release 2025-04-15 12:59:40 chore: Release 2025-04-15 13:09:58 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from b5fd1d7 to b649b81 Compare April 15, 2025 13:10
@github-actions github-actions bot changed the title chore: Release 2025-04-15 13:09:58 chore: Release 2025-04-15 14:59:45 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from b649b81 to 36d1b76 Compare April 15, 2025 14:59
@github-actions github-actions bot changed the title chore: Release 2025-04-15 14:59:45 chore: Release 2025-04-15 15:18:26 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 36d1b76 to 772f377 Compare April 15, 2025 15:18
@github-actions github-actions bot changed the title chore: Release 2025-04-15 15:18:26 chore: Release 2025-04-15 16:58:24 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 772f377 to 6c79eae Compare April 15, 2025 16:58
@github-actions github-actions bot changed the title chore: Release 2025-04-15 16:58:24 chore: Release 2025-04-15 17:21:54 Apr 15, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 6c79eae to b06550a Compare April 15, 2025 17:22
@github-actions github-actions bot changed the title chore: Release 2025-04-17 06:49:40 chore: Release 2025-04-17 08:59:17 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from fdd02f5 to dd3cfa0 Compare April 17, 2025 08:59
@github-actions github-actions bot changed the title chore: Release 2025-04-17 08:59:17 chore: Release 2025-04-17 09:54:01 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from dd3cfa0 to 427c66d Compare April 17, 2025 09:54
@github-actions github-actions bot changed the title chore: Release 2025-04-17 09:54:01 chore: Release 2025-04-17 09:55:51 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 427c66d to 41d7f90 Compare April 17, 2025 09:56
@github-actions github-actions bot changed the title chore: Release 2025-04-17 09:55:51 chore: Release 2025-04-17 10:49:40 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 41d7f90 to 45059a8 Compare April 17, 2025 10:49
@github-actions github-actions bot changed the title chore: Release 2025-04-17 10:49:40 chore: Release 2025-04-17 11:44:04 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 45059a8 to 4086c76 Compare April 17, 2025 11:44
@github-actions github-actions bot changed the title chore: Release 2025-04-17 11:44:04 chore: Release 2025-04-17 11:59:04 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 4086c76 to 6632e1d Compare April 17, 2025 11:59
@github-actions github-actions bot changed the title chore: Release 2025-04-17 11:59:04 chore: Release 2025-04-17 12:28:50 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 6632e1d to 2d016ba Compare April 17, 2025 12:29
@github-actions github-actions bot changed the title chore: Release 2025-04-17 12:28:50 chore: Release 2025-04-17 13:50:24 Apr 17, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2d016ba to 2f31057 Compare April 17, 2025 13:50
@github-actions github-actions bot changed the title chore: Release 2025-04-17 13:50:24 chore: Release 2025-04-18 04:08:26 Apr 18, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2f31057 to 5ebd132 Compare April 18, 2025 04:08
@github-actions github-actions bot changed the title chore: Release 2025-04-18 04:08:26 chore: Release 2025-04-18 09:07:53 Apr 18, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5ebd132 to f9d0dca Compare April 18, 2025 09:08
@github-actions github-actions bot changed the title chore: Release 2025-04-18 09:07:53 chore: Release 2025-04-18 10:42:30 Apr 18, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from f9d0dca to 4ec2924 Compare April 18, 2025 10:42
@github-actions github-actions bot changed the title chore: Release 2025-04-18 10:42:30 chore: Release 2025-04-18 10:59:22 Apr 18, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch from 4ec2924 to 4c8ccd8 Compare April 18, 2025 10:59
@colinaaa colinaaa merged commit 02f3f13 into main Apr 21, 2025
1 check passed
@colinaaa colinaaa deleted the changeset-release/main branch April 21, 2025 02:56
upupming pushed a commit to upupming/lynx-stack that referenced this pull request Apr 22, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @lynx-js/web-core@0.12.0

### Minor Changes

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([lynx-family#590](lynx-family#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

### Patch Changes

- feat: allow user to implement custom template load function
([lynx-family#587](lynx-family#587))

    ```js
    lynxView.customTemplateLoader = (url) => {
      return (await (await fetch(url, {
        method: 'GET',
      })).json());
    };
    ```

- feat: support mts event with target methods
([lynx-family#564](lynx-family#564))

After this commit, developers are allowed to invoke
`event.target.setStyleProperty` in mts handler

- fix: crash on removing a id attribute
([lynx-family#582](lynx-family#582))

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b)]:
    -   @lynx-js/web-worker-runtime@0.12.0
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/web-elements@0.6.0

### Minor Changes

- fix: When list-type is not specified, it is treated as single
formatting. ([lynx-family#535](lynx-family#535))

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([lynx-family#590](lynx-family#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- feat: support `layoutchange` event for x-overlay-ng
([lynx-family#519](lynx-family#519))

- fix: position:fixed not work in scroll-view
([lynx-family#580](lynx-family#580))

- fix: x-list may cause error: 'Resizeobserver loop completed with
undelivered notifications'.
([lynx-family#541](lynx-family#541))

- fix: refactor foldview slot offset logic
([lynx-family#575](lynx-family#575))

- fix: improve x-foldview-ng
([lynx-family#513](lynx-family#513))

    -   support fling for touch event driven scrolling
- allow the height of `x-foldview-slot-ng` + `x-foldview-toolbar-ng` >
`x-foldview-ng`
- do not prevent horizontal gesture. After this commit we only allow one
direction gesture for one touch (start -> end)

- feat: add list with waterfall
([lynx-family#331](lynx-family#331))

## @lynx-js/web-style-transformer@0.3.0

### Minor Changes

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([lynx-family#590](lynx-family#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

## @lynx-js/react@0.106.5

### Patch Changes

- Fix `lynx.loadLazyBundle` is not a function
([lynx-family#568](lynx-family#568))

- fix: flushDelayedLifecycleEvents stack overflow error
([lynx-family#540](lynx-family#540))

## @lynx-js/rspeedy@0.9.2

### Patch Changes

- Support cli option `--no-env` to disable loading of .env files
([lynx-family#483](lynx-family#483))

- Bump Rsbuild v1.3.8 with Rspack v1.3.5.
([lynx-family#579](lynx-family#579))

## @lynx-js/react-rsbuild-plugin@0.9.7

### Patch Changes

- Support overriding SWC configuration.
([lynx-family#563](lynx-family#563))

Now you can override configuration like `useDefineForClassFields` using
`tools.swc`.

    ```js
    import { defineConfig } from "@lynx-js/rspeedy";

    export default defineConfig({
      tools: {
        swc: {
          jsc: {
            transform: {
              useDefineForClassFields: true,
            },
          },
        },
      },
    });
    ```

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b)]:
    -   @lynx-js/react-webpack-plugin@0.6.11
    -   @lynx-js/react-alias-rsbuild-plugin@0.9.7
    -   @lynx-js/react-refresh-webpack-plugin@0.3.2
    -   @lynx-js/web-webpack-plugin@0.6.5

## @lynx-js/web-constants@0.12.0

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

-   Updated dependencies \[]:
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/web-explorer@0.0.5

### Patch Changes

- fix: create a new lynx-view for lynxjs.org
([lynx-family#566](lynx-family#566))

- fix: blank screen issue for 0.0.4
([lynx-family#543](lynx-family#543))

## @lynx-js/web-mainthread-apis@0.12.0

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- feat: support mts event with target methods
([lynx-family#564](lynx-family#564))

After this commit, developers are allowed to invoke
`event.target.setStyleProperty` in mts handler

- fix: crash on removing a id attribute
([lynx-family#582](lynx-family#582))

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b),
[`7edf478`](lynx-family@7edf478)]:
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-style-transformer@0.3.0

## @lynx-js/web-worker-runtime@0.12.0

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b),
[`8ca9fcb`](lynx-family@8ca9fcb),
[`efe6fd7`](lynx-family@efe6fd7)]:
    -   @lynx-js/web-mainthread-apis@0.12.0
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/react-webpack-plugin@0.6.11

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

## @lynx-js/web-webpack-plugin@0.6.5

### Patch Changes

- Updated dependencies
\[[`7edf478`](lynx-family@7edf478)]:
    -   @lynx-js/web-style-transformer@0.3.0

## create-rspeedy@0.9.2



## @lynx-js/react-alias-rsbuild-plugin@0.9.7



## upgrade-rspeedy@0.9.2



## @lynx-js/web-worker-rpc@0.12.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
colinaaa pushed a commit that referenced this pull request Apr 24, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @lynx-js/web-core@0.12.0

### Minor Changes

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([#590](#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

### Patch Changes

- feat: allow user to implement custom template load function
([#587](#587))

    ```js
    lynxView.customTemplateLoader = (url) => {
      return (await (await fetch(url, {
        method: 'GET',
      })).json());
    };
    ```

- feat: support mts event with target methods
([#564](#564))

After this commit, developers are allowed to invoke
`event.target.setStyleProperty` in mts handler

- fix: crash on removing a id attribute
([#582](#582))

- Updated dependencies
\[[`f1ca29b`](f1ca29b)]:
    -   @lynx-js/web-worker-runtime@0.12.0
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/web-elements@0.6.0

### Minor Changes

- fix: When list-type is not specified, it is treated as single
formatting. ([#535](#535))

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([#590](#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

### Patch Changes

- feat: fully support MTS
([#569](#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- feat: support `layoutchange` event for x-overlay-ng
([#519](#519))

- fix: position:fixed not work in scroll-view
([#580](#580))

- fix: x-list may cause error: 'Resizeobserver loop completed with
undelivered notifications'.
([#541](#541))

- fix: refactor foldview slot offset logic
([#575](#575))

- fix: improve x-foldview-ng
([#513](#513))

    -   support fling for touch event driven scrolling
- allow the height of `x-foldview-slot-ng` + `x-foldview-toolbar-ng` >
`x-foldview-ng`
- do not prevent horizontal gesture. After this commit we only allow one
direction gesture for one touch (start -> end)

- feat: add list with waterfall
([#331](#331))

## @lynx-js/web-style-transformer@0.3.0

### Minor Changes

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([#590](#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

## @lynx-js/react@0.106.5

### Patch Changes

- Fix `lynx.loadLazyBundle` is not a function
([#568](#568))

- fix: flushDelayedLifecycleEvents stack overflow error
([#540](#540))

## @lynx-js/rspeedy@0.9.2

### Patch Changes

- Support cli option `--no-env` to disable loading of .env files
([#483](#483))

- Bump Rsbuild v1.3.8 with Rspack v1.3.5.
([#579](#579))

## @lynx-js/react-rsbuild-plugin@0.9.7

### Patch Changes

- Support overriding SWC configuration.
([#563](#563))

Now you can override configuration like `useDefineForClassFields` using
`tools.swc`.

    ```js
    import { defineConfig } from "@lynx-js/rspeedy";

    export default defineConfig({
      tools: {
        swc: {
          jsc: {
            transform: {
              useDefineForClassFields: true,
            },
          },
        },
      },
    });
    ```

- Updated dependencies
\[[`f1ca29b`](f1ca29b)]:
    -   @lynx-js/react-webpack-plugin@0.6.11
    -   @lynx-js/react-alias-rsbuild-plugin@0.9.7
    -   @lynx-js/react-refresh-webpack-plugin@0.3.2
    -   @lynx-js/web-webpack-plugin@0.6.5

## @lynx-js/web-constants@0.12.0

### Patch Changes

- feat: fully support MTS
([#569](#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

-   Updated dependencies \[]:
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/web-explorer@0.0.5

### Patch Changes

- fix: create a new lynx-view for lynxjs.org
([#566](#566))

- fix: blank screen issue for 0.0.4
([#543](#543))

## @lynx-js/web-mainthread-apis@0.12.0

### Patch Changes

- feat: fully support MTS
([#569](#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- feat: support mts event with target methods
([#564](#564))

After this commit, developers are allowed to invoke
`event.target.setStyleProperty` in mts handler

- fix: crash on removing a id attribute
([#582](#582))

- Updated dependencies
\[[`f1ca29b`](f1ca29b),
[`7edf478`](7edf478)]:
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-style-transformer@0.3.0

## @lynx-js/web-worker-runtime@0.12.0

### Patch Changes

- feat: fully support MTS
([#569](#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- Updated dependencies
\[[`f1ca29b`](f1ca29b),
[`8ca9fcb`](8ca9fcb),
[`efe6fd7`](efe6fd7)]:
    -   @lynx-js/web-mainthread-apis@0.12.0
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/react-webpack-plugin@0.6.11

### Patch Changes

- feat: fully support MTS
([#569](#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

## @lynx-js/web-webpack-plugin@0.6.5

### Patch Changes

- Updated dependencies
\[[`7edf478`](7edf478)]:
    -   @lynx-js/web-style-transformer@0.3.0

## create-rspeedy@0.9.2



## @lynx-js/react-alias-rsbuild-plugin@0.9.7



## upgrade-rspeedy@0.9.2



## @lynx-js/web-worker-rpc@0.12.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
colinaaa pushed a commit to colinaaa/lynx-stack that referenced this pull request Apr 24, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @lynx-js/web-core@0.12.0

### Minor Changes

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([lynx-family#590](lynx-family#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

### Patch Changes

- feat: allow user to implement custom template load function
([lynx-family#587](lynx-family#587))

    ```js
    lynxView.customTemplateLoader = (url) => {
      return (await (await fetch(url, {
        method: 'GET',
      })).json());
    };
    ```

- feat: support mts event with target methods
([lynx-family#564](lynx-family#564))

After this commit, developers are allowed to invoke
`event.target.setStyleProperty` in mts handler

- fix: crash on removing a id attribute
([lynx-family#582](lynx-family#582))

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b)]:
    -   @lynx-js/web-worker-runtime@0.12.0
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/web-elements@0.6.0

### Minor Changes

- fix: When list-type is not specified, it is treated as single
formatting. ([lynx-family#535](lynx-family#535))

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([lynx-family#590](lynx-family#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- feat: support `layoutchange` event for x-overlay-ng
([lynx-family#519](lynx-family#519))

- fix: position:fixed not work in scroll-view
([lynx-family#580](lynx-family#580))

- fix: x-list may cause error: 'Resizeobserver loop completed with
undelivered notifications'.
([lynx-family#541](lynx-family#541))

- fix: refactor foldview slot offset logic
([lynx-family#575](lynx-family#575))

- fix: improve x-foldview-ng
([#513](lynx-family#513))

    -   support fling for touch event driven scrolling
- allow the height of `x-foldview-slot-ng` + `x-foldview-toolbar-ng` >
`x-foldview-ng`
- do not prevent horizontal gesture. After this commit we only allow one
direction gesture for one touch (start -> end)

- feat: add list with waterfall
([#331](lynx-family#331))

## @lynx-js/web-style-transformer@0.3.0

### Minor Changes

- feat: improve compatibility for chrome 108 & support linear-gradient
for nested x-text
([lynx-family#590](lynx-family#590))

    **This is a breaking change**

    -   Please upgrade your `@lynx-js/web-elements` to >=0.6.0
    -   Please upgrade your `@lynx-js/web-core` to >=0.12.0
    -   The compiled lynx template json won't be impacted.

On chrome 108, the `-webkit-background-clip:text` cannot be computed by
a `var(--css-var-value-text)`

    Therefore we move the logic into style transformation logic.

    Now the following status is supported

        <text style="color:linear-gradient()">
          <text>
          <text>
        </text>

## @lynx-js/react@0.106.5

### Patch Changes

- Fix `lynx.loadLazyBundle` is not a function
([lynx-family#568](lynx-family#568))

- fix: flushDelayedLifecycleEvents stack overflow error
([lynx-family#540](lynx-family#540))

## @lynx-js/rspeedy@0.9.2

### Patch Changes

- Support cli option `--no-env` to disable loading of .env files
([#483](lynx-family#483))

- Bump Rsbuild v1.3.8 with Rspack v1.3.5.
([lynx-family#579](lynx-family#579))

## @lynx-js/react-rsbuild-plugin@0.9.7

### Patch Changes

- Support overriding SWC configuration.
([lynx-family#563](lynx-family#563))

Now you can override configuration like `useDefineForClassFields` using
`tools.swc`.

    ```js
    import { defineConfig } from "@lynx-js/rspeedy";

    export default defineConfig({
      tools: {
        swc: {
          jsc: {
            transform: {
              useDefineForClassFields: true,
            },
          },
        },
      },
    });
    ```

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b)]:
    -   @lynx-js/react-webpack-plugin@0.6.11
    -   @lynx-js/react-alias-rsbuild-plugin@0.9.7
    -   @lynx-js/react-refresh-webpack-plugin@0.3.2
    -   @lynx-js/web-webpack-plugin@0.6.5

## @lynx-js/web-constants@0.12.0

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

-   Updated dependencies \[]:
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/web-explorer@0.0.5

### Patch Changes

- fix: create a new lynx-view for lynxjs.org
([lynx-family#566](lynx-family#566))

- fix: blank screen issue for 0.0.4
([lynx-family#543](lynx-family#543))

## @lynx-js/web-mainthread-apis@0.12.0

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- feat: support mts event with target methods
([lynx-family#564](lynx-family#564))

After this commit, developers are allowed to invoke
`event.target.setStyleProperty` in mts handler

- fix: crash on removing a id attribute
([lynx-family#582](lynx-family#582))

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b),
[`7edf478`](lynx-family@7edf478)]:
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-style-transformer@0.3.0

## @lynx-js/web-worker-runtime@0.12.0

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

- Updated dependencies
\[[`f1ca29b`](lynx-family@f1ca29b),
[`8ca9fcb`](lynx-family@8ca9fcb),
[`efe6fd7`](lynx-family@efe6fd7)]:
    -   @lynx-js/web-mainthread-apis@0.12.0
    -   @lynx-js/web-constants@0.12.0
    -   @lynx-js/web-worker-rpc@0.12.0

## @lynx-js/react-webpack-plugin@0.6.11

### Patch Changes

- feat: fully support MTS
([lynx-family#569](lynx-family#569))

    Now use support the following usage

    -   mainthread event
    -   mainthread ref
    -   runOnMainThread/runOnBackground
    -   ref.current.xx

## @lynx-js/web-webpack-plugin@0.6.5

### Patch Changes

- Updated dependencies
\[[`7edf478`](lynx-family@7edf478)]:
    -   @lynx-js/web-style-transformer@0.3.0

## create-rspeedy@0.9.2



## @lynx-js/react-alias-rsbuild-plugin@0.9.7



## upgrade-rspeedy@0.9.2



## @lynx-js/web-worker-rpc@0.12.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant