Skip to content

feat(rspeedy): Support server.compress#1799

Merged
colinaaa merged 5 commits intolynx-family:mainfrom
babu-ch:rs_server_comp
Sep 22, 2025
Merged

feat(rspeedy): Support server.compress#1799
colinaaa merged 5 commits intolynx-family:mainfrom
babu-ch:rs_server_comp

Conversation

@babu-ch
Copy link
Copy Markdown
Contributor

@babu-ch babu-ch commented Sep 20, 2025

#1691

@coderabbitai summary

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
  • Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).

@babu-ch babu-ch requested a review from colinaaa as a code owner September 20, 2025 09:20
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 20, 2025

🦋 Changeset detected

Latest commit: 308d0cc

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

Comment thread .changeset/evil-pigs-doubt.md Outdated
Comment thread packages/rspeedy/core/src/config/rsbuild/index.ts Outdated
Comment thread packages/rspeedy/core/test/config/rsbuild.test.ts
babu-ch and others added 3 commits September 21, 2025 19:58
Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com>
Signed-off-by: bab <mashirohira@gmail.com>
@colinaaa colinaaa linked an issue Sep 22, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@colinaaa colinaaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Comment thread packages/rspeedy/core/test/config/rsbuild.test.ts
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@relativeci
Copy link
Copy Markdown

relativeci bot commented Sep 22, 2025

Web Explorer

#5425 Bundle Size — 365.49KiB (0%).

308d0cc(current) vs 1202b32 main#5424(baseline)

Bundle metrics  Change 1 change
                 Current
#5425
     Baseline
#5424
No change  Initial JS 145.66KiB 145.66KiB
No change  Initial CSS 32KiB 32KiB
No change  Cache Invalidation 0% 0%
No change  Chunks 8 8
No change  Assets 8 8
Change  Modules 218(-0.46%) 219
No change  Duplicate Modules 16 16
No change  Duplicate Code 3.37% 3.37%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#5425
     Baseline
#5424
No change  JS 239.48KiB 239.48KiB
No change  Other 94.02KiB 94.02KiB
No change  CSS 32KiB 32KiB

Bundle analysis reportBranch babu-ch:rs_server_compProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci bot commented Sep 22, 2025

React Example

#5432 Bundle Size — 237.65KiB (0%).

308d0cc(current) vs 1202b32 main#5431(baseline)

Bundle metrics  no changes
                 Current
#5432
     Baseline
#5431
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 0 0
No change  Assets 4 4
No change  Modules 165 165
No change  Duplicate Modules 67 67
No change  Duplicate Code 46.76% 46.76%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#5432
     Baseline
#5431
No change  IMG 145.76KiB 145.76KiB
No change  Other 91.89KiB 91.89KiB

Bundle analysis reportBranch babu-ch:rs_server_compProject dashboard


Generated by RelativeCIDocumentationReport issue

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Sep 22, 2025

CodSpeed Performance Report

Merging #1799 will improve performances by 8.15%

Comparing babu-ch:rs_server_comp (308d0cc) with main (d0ef559)

Summary

⚡ 2 improvements
✅ 51 untouched
⏩ 3 skipped1

Benchmarks breakdown

Benchmark BASE HEAD Change
basic-performance-nest-level-100 6.5 ms 6 ms +8.15%
basic-performance-small-css 7.5 ms 7 ms +6.89%

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@colinaaa colinaaa changed the title feat(rspeedy): Support server.compress feat(rspeedy): Support server.compress Sep 22, 2025
@colinaaa colinaaa merged commit b26b928 into lynx-family:main Sep 22, 2025
49 checks passed
colinaaa pushed a commit that referenced this pull request Sep 27, 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/rspeedy@0.11.4

### Patch Changes

- Bump Rsbuild v1.5.12 with Rspack v1.5.7.
([#1708](#1708))

- Fix the "lynx.getJSModule is not a function" error on Web platform
([#1830](#1830))

- Support `server.compress`
([#1799](#1799))

- Support `server.cors`
([#1808](#1808))

## @lynx-js/qrcode-rsbuild-plugin@0.4.2

### Patch Changes

- Bump @clack/prompts v1.0.0-alpha.5.
([#1809](#1809))

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

### Patch Changes

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

## @lynx-js/web-core@0.17.1

### Patch Changes

-   Updated dependencies \[]:
    -   @lynx-js/web-constants@0.17.1
    -   @lynx-js/web-mainthread-apis@0.17.1
    -   @lynx-js/web-worker-rpc@0.17.1
    -   @lynx-js/web-worker-runtime@0.17.1

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

### Patch Changes

-   Updated dependencies \[]:
    -   @lynx-js/web-constants@0.17.1
    -   @lynx-js/web-style-transformer@0.17.1

## @lynx-js/web-rsbuild-server-middleware@0.17.1

### Patch Changes

- chore: initial release with current version web platform
([#1807](#1807))

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

### Patch Changes

-   Updated dependencies \[]:
    -   @lynx-js/web-constants@0.17.1
    -   @lynx-js/web-mainthread-apis@0.17.1
    -   @lynx-js/web-worker-rpc@0.17.1

## create-rspeedy@0.11.4



## upgrade-rspeedy@0.11.4



## @lynx-js/web-core-server@0.17.1



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



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

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.

[Feature]: Support server.compress

2 participants