Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2025

This PR contains the following updates:

Package Change Age Confidence
@rsbuild/core (source) 1.5.2 -> 1.5.4 age confidence

Release Notes

web-infra-dev/rsbuild (@​rsbuild/core)

v1.5.4

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rsbuild@v1.5.3...v1.5.4

v1.5.3

Compare Source

What's Changed
New Features 🎉
Performance 🚀
  • perf: optimize pick function by replacing reduce with for...of loop by @​Copilot in #​6022
  • perf: optimize isPlainObject with Object.prototype caching by @​Copilot in #​6021
  • perf: optimize Object.values() call in nonce plugin to avoid redundant array conversion by @​Copilot in #​6023
Bug Fixes 🐞
  • fix: eliminate redundant getPlugin() call in plugin dependency sorting by @​Copilot in #​6002
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rsbuild@v1.5.2...v1.5.3


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the bot:renovate This is from bot 'renovate' label Sep 1, 2025
@changeset-bot
Copy link

changeset-bot bot commented Sep 1, 2025

🦋 Changeset detected

Latest commit: b880211

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@lynx-js/rspeedy Patch
create-rspeedy Patch
upgrade-rspeedy Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 1, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Sep 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@relativeci
Copy link

relativeci bot commented Sep 1, 2025

Web Explorer

#4942 Bundle Size — 367.39KiB (~-0.01%).

b880211(current) vs e905d36 main#4941(baseline)

Bundle metrics  Change 2 changes Improvement 1 improvement
                 Current
#4942
     Baseline
#4941
Improvement  Initial JS 144.22KiB(-0.01%) 144.23KiB
No change  Initial CSS 31.84KiB 31.84KiB
Change  Cache Invalidation 55.29% 0%
No change  Chunks 8 8
No change  Assets 8 8
No change  Modules 219 219
No change  Duplicate Modules 16 16
No change  Duplicate Code 3.33% 3.33%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Improvement 1 improvement
                 Current
#4942
     Baseline
#4941
Improvement  JS 235.39KiB (-0.01%) 235.43KiB
No change  Other 100.16KiB 100.16KiB
No change  CSS 31.84KiB 31.84KiB

Bundle analysis reportBranch renovate/rsbuild-core-1.xProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link

relativeci bot commented Sep 1, 2025

React Example

#4950 Bundle Size — 238.2KiB (-0.02%).

b880211(current) vs e905d36 main#4949(baseline)

Bundle metrics  Change 4 changes Improvement 1 improvement
                 Current
#4950
     Baseline
#4949
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
Change  Cache Invalidation 38.82% 0%
No change  Chunks 0 0
No change  Assets 4 4
Change  Modules 163(-0.61%) 164
Improvement  Duplicate Modules 67(-1.47%) 68
Change  Duplicate Code 46.88%(-0.11%) 46.93%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Improvement 1 improvement
                 Current
#4950
     Baseline
#4949
No change  IMG 145.76KiB 145.76KiB
Improvement  Other 92.45KiB (-0.06%) 92.5KiB

Bundle analysis reportBranch renovate/rsbuild-core-1.xProject dashboard


Generated by RelativeCIDocumentationReport issue

@codspeed-hq
Copy link

codspeed-hq bot commented Sep 1, 2025

CodSpeed Performance Report

Merging #1644 will degrade performances by 10.93%

Comparing renovate/rsbuild-core-1.x (b880211) with main (e905d36)

Summary

⚡ 1 improvements
❌ 1 regressions
✅ 41 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
basic-performance-nest-level-100 6.6 ms 6 ms +10.1%
basic-performance-small-css 6.7 ms 7.5 ms -10.93%

@renovate renovate bot force-pushed the renovate/rsbuild-core-1.x branch from 2eef3c7 to 02854b3 Compare September 5, 2025 07:09
@renovate renovate bot changed the title chore(deps): update dependency @rsbuild/core to v1.5.3 chore(deps): update dependency @rsbuild/core to v1.5.4 Sep 5, 2025
@renovate renovate bot force-pushed the renovate/rsbuild-core-1.x branch from 02854b3 to c34e827 Compare September 8, 2025 17:44
@renovate renovate bot force-pushed the renovate/rsbuild-core-1.x branch from c34e827 to 0b0d140 Compare September 9, 2025 06:31
@colinaaa colinaaa self-requested a review as a code owner September 9, 2025 07:34
@colinaaa colinaaa merged commit 8ec4537 into main Sep 9, 2025
42 of 43 checks passed
@colinaaa colinaaa deleted the renovate/rsbuild-core-1.x branch September 9, 2025 07:55
colinaaa pushed a commit that referenced this pull request Sep 15, 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/[email protected]

### Minor Changes

- fix: Delay execution of `runOnMainThread()` during initial render
([#1667](#1667))

When called during the initial render, `runOnMainThread()` would execute
before the `main-thread:ref` was hydrated, causing it to be incorrectly
set to null.

This change delays the function's execution to ensure the ref is
available and correctly assigned.

### Patch Changes

- Fix "TypeError: cannot read property '0' of undefined" in deferred
list-item scenarios.
([#1692](#1692))

Deferred `componentAtIndex` causes nodes that quickly appear/disappear
to be enqueued without `__elements`. Update `signMap` before
`__FlushElementTree` to resolve the issue.

- Keep the same `<page/>` element when calling `rerender` in testing
library. ([#1656](#1656))

- Bump `swc_core` to `39.0.3`.
([#1721](#1721))

## @lynx-js/[email protected]

### Minor Changes

- Added `group-*`, `peer-*`, and `parent-*` modifiers (ancestor,
sibling, and direct-parent scopes) for `uiVariants` plugin.
([#1741](#1741))

Fixed prefix handling in prefixed projects — `ui-*` state markers are
not prefixed, while scope markers (`.group`/`.peer`) honor
`config('prefix')`.

**BREAKING**: Removed slash-based naming modifiers on self
(non-standard); slash modifiers remain supported for scoped markers
(e.g. `group/menu`, `peer/tab`).

Bumped peer dependency to `tailwindcss@^3.4.0` (required for use of
internal features).

## @lynx-js/[email protected]

### Minor Changes

- Remove `@lynx-js/react` from peerDependencies.
([#1711](#1711))

- Add a new required option `workletRuntimePath`.
([#1711](#1711))

## @lynx-js/[email protected]

### Patch Changes

- Support `server.proxy`.
([#1745](#1745))

- Support `command` and `env` parameters in the function exported by
`lynx.config.js`.
([#1669](#1669))

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

    export default defineConfig(({ command, env }) => {
      const isBuild = command === "build";
      const isTest = env === "test";

      return {
        output: {
          minify: !isTest,
        },
        performance: {
          buildCache: isBuild,
        },
      };
    });
    ```

- Support `resolve.dedupe`.
([#1671](#1671))

This is useful when having multiple duplicated packages in the bundle:

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

    export default defineConfig({
      resolve: {
        dedupe: ["tslib"],
      },
    });
    ```

- Support `resolve.aliasStrategy` for controlling priority between
`tsconfig.json` paths and `resolve.alias`
([#1722](#1722))

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

    export default defineConfig({
      resolve: {
        alias: {
          "@": "./src",
        },
// 'prefer-tsconfig' (default): tsconfig.json paths take priority
        // 'prefer-alias': resolve.alias takes priority
        aliasStrategy: "prefer-alias",
      },
    });
    ```

- Bump Rsbuild v1.5.4 with Rspack v1.5.2.
([#1644](#1644))

- Updated dependencies
\[[`d7c5da3`](d7c5da3)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- Fix using wrong version of `@lynx-js/react/worklet-runtime`.
([#1711](#1711))

- Be compat with `@lynx-js/react` v0.113.0
([#1667](#1667))

- Disable `builtin:lightningcss-loader` for `environments.web`.
([#1732](#1732))

- Updated dependencies
\[[`5ad38e6`](5ad38e6),
[`69b3ae0`](69b3ae0),
[`69b3ae0`](69b3ae0),
[`c2f90bd`](c2f90bd)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- Allow customization of the react$ alias.
([#1653](#1653))

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

    export default defineConfig({
      resolve: {
        alias: {
          react$: "@lynx-js/react/compat",
        },
      },
    });
    ```

## @lynx-js/[email protected]

### Patch Changes

- feat: supports lazy bundle. (This feature requires `@lynx-js/lynx-core
>= 0.1.3`)
([#1235](#1235))

-   Updated dependencies \[]:
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- refactor: improve chunk loading
([#1703](#1703))

- feat: supports lazy bundle. (This feature requires `@lynx-js/lynx-core
>= 0.1.3`)
([#1235](#1235))

- Updated dependencies
\[[`608f375`](608f375)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- refactor: improve chunk loading
([#1703](#1703))

- feat: supports lazy bundle. (This feature requires `@lynx-js/lynx-core
>= 0.1.3`)
([#1235](#1235))

## @lynx-js/[email protected]

### Patch Changes

- fix: 1. svg use image tag to render, to differentiate background-image
styles ([#1668](#1668))

    1.  use blob instead of raw data-uri

    > Not using data-uri(data:image/svg+xml;utf8,${props.content})
    > since it has follow limitations:
    >
    > &lt; and > must be encoded to %3C and %3E.
    > Double quotes must be converted to single quotes.
> Colors must use a non-hex format because # will not work inside
data-uri.
    > See: <https://codepen.io/zvuc/pen/BWNLJL>
> Instead, we use modern Blob API to create SVG URL that have the same
support

- Updated dependencies
\[[`d618304`](d618304),
[`1d97fce`](1d97fce)]:
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- x-overlay-ng prevent page scroll when visible
([#1499](#1499))

- fix: 1. svg use image tag to render, to differentiate background-image
styles ([#1668](#1668))

    1.  use blob instead of raw data-uri

    > Not using data-uri(data:image/svg+xml;utf8,${props.content})
    > since it has follow limitations:
    >
    > &lt; and > must be encoded to %3C and %3E.
    > Double quotes must be converted to single quotes.
> Colors must use a non-hex format because # will not work inside
data-uri.
    > See: <https://codepen.io/zvuc/pen/BWNLJL>
> Instead, we use modern Blob API to create SVG URL that have the same
support

## @lynx-js/[email protected]

### Patch Changes

- feat: supports lazy bundle. (This feature requires `@lynx-js/lynx-core
>= 0.1.3`)
([#1235](#1235))

- Updated dependencies
\[[`608f375`](608f375)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- feat: supports lazy bundle. (This feature requires `@lynx-js/lynx-core
>= 0.1.3`)
([#1235](#1235))

- Updated dependencies
\[[`608f375`](608f375)]:
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]
    -   @lynx-js/[email protected]

## @lynx-js/[email protected]

### Patch Changes

- Fix unmet peer dependency "@rspack/core@'^1.3.10".
([#1660](#1660))

## @lynx-js/[email protected]

### Patch Changes

- fix: add appType field for lazy bundle for web
([#1738](#1738))

## [email protected]



## [email protected]



## @lynx-js/[email protected]



## @lynx-js/[email protected]

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

bot:renovate This is from bot 'renovate'

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants