Skip to content

chore: upgrade preact#1436

Merged
colinaaa merged 2 commits intolynx-family:mainfrom
hzy:p/hzy/upgrade_preact_export_process
Aug 6, 2025
Merged

chore: upgrade preact#1436
colinaaa merged 2 commits intolynx-family:mainfrom
hzy:p/hzy/upgrade_preact_export_process

Conversation

@hzy
Copy link
Copy Markdown
Collaborator

@hzy hzy commented Aug 5, 2025

Export process, a function which flushes renderQueue when called.
To compare: preactjs/preact@10.24.0...hzy:preact:lynx/v10.24.x

Summary by CodeRabbit

  • Chores
    • Updated the version of the "preact" dependency used by the application.

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).

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Aug 5, 2025

⚠️ No Changeset found

Latest commit: a36e067

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Aug 5, 2025

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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

📝 Walkthrough

Walkthrough

The "preact" dependency in the packages/react/package.json file was updated to a new version. No other changes were made to the file or project.

Changes

Cohort / File(s) Change Summary
Preact Dependency Update
packages/react/package.json
Updated "preact" dependency version in package.json.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested labels

framework:React

Suggested reviewers

  • colinaaa

Poem

A hop, a jump, a version bump,
Preact’s new code now takes the jump!
With package.json neat and spry,
This rabbit waves as updates fly.
Just a nibble, nothing more—
Dependencies fresh, let’s hop to explore! 🐇✨

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Export `process`, a function which flushes `renderQueue` when called.
To compare: preactjs/preact@10.24.0...hzy:preact:lynx/v10.24.x
@hzy hzy force-pushed the p/hzy/upgrade_preact_export_process branch from f7721d4 to 7b9ca80 Compare August 5, 2025 13:12
@hzy hzy changed the title p/hzy/upgrade preact export process chore: upgrade preact Aug 5, 2025
@hzy hzy marked this pull request as ready for review August 5, 2025 13:14
Copilot AI review requested due to automatic review settings August 5, 2025 13:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the preact dependency to a newer version and pins the Node.js version in CI to resolve build issues.

  • Upgrades preact from version 10.24.0-27dc9d8f to 10.24.0-00213bad
  • Pins Node.js version to v22.17 in CI configuration (mentioned in description but not shown in diff)
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Aug 5, 2025

CodSpeed Performance Report

Merging #1436 will not alter performance

Comparing hzy:p/hzy/upgrade_preact_export_process (a36e067) with main (08d972e)

Summary

✅ 10 untouched benchmarks

@relativeci
Copy link
Copy Markdown

relativeci bot commented Aug 5, 2025

Web Explorer

#3742 Bundle Size — 342.36KiB (0%).

a36e067(current) vs 08d972e main#3732(baseline)

Bundle metrics  no changes
                 Current
#3742
     Baseline
#3732
No change  Initial JS 142.05KiB 142.05KiB
No change  Initial CSS 31.84KiB 31.84KiB
No change  Cache Invalidation 0% 0%
No change  Chunks 7 7
No change  Assets 7 7
No change  Modules 212 212
No change  Duplicate Modules 17 17
No change  Duplicate Code 3.96% 3.96%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#3742
     Baseline
#3732
No change  JS 227.57KiB 227.57KiB
No change  Other 82.95KiB 82.95KiB
No change  CSS 31.84KiB 31.84KiB

Bundle analysis reportBranch hzy:p/hzy/upgrade_preact_export_...Project dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci bot commented Aug 5, 2025

React Example

#3751 Bundle Size — 235.26KiB (0%).

a36e067(current) vs 08d972e main#3741(baseline)

Bundle metrics  no changes
                 Current
#3751
     Baseline
#3741
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 159 159
No change  Duplicate Modules 64 64
No change  Duplicate Code 45.81% 45.81%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#3751
     Baseline
#3741
No change  IMG 145.76KiB 145.76KiB
No change  Other 89.5KiB 89.5KiB

Bundle analysis reportBranch hzy:p/hzy/upgrade_preact_export_...Project dashboard


Generated by RelativeCIDocumentationReport issue

@colinaaa colinaaa merged commit 5b6cdc3 into lynx-family:main Aug 6, 2025
40 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Jan 8, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants