Skip to content

Conversation

@ErKeLost
Copy link
Member

Farm will gradually start releasing nightly versions and begin to be compatible with other third-party ecosystems.

@changeset-bot
Copy link

changeset-bot bot commented Mar 25, 2025

⚠️ No Changeset found

Latest commit: b19664b

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.

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

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "farm-docs" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@coderabbitai
Copy link

coderabbitai bot commented Mar 25, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. 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.


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.
    • Generate unit testing code for this file.
    • 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 generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • 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 generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

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 resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @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.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

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.

@ErKeLost ErKeLost requested a review from wre232114 March 25, 2025 23:08
@ErKeLost ErKeLost merged commit e880162 into farm-fe:v2-dev Apr 2, 2025
18 of 23 checks passed
wre232114 added a commit that referenced this pull request Aug 30, 2025
* chore: optimize compiler code set

* refactor: change moduleResolution and module type remove all js type

* chore: remove unless code

* chore: remove js suffix name

* chore: add workflow

* chore: Withdraw tsc logic code

* chore: update lock json

* chore: update lock json

* chore: skip some tasks

* chore: update rust test error

* chore: update rust test error

* chore: update rust test error

* chore: update rust test error

* chore: update rust test error

* chore: update rust test error

* chore: update biome lint rules

* fix: cargo test

* chore: update ts lint

* chore: update ts lint

* chore: update ts lint and ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update private ci

* chore: update private ci

* chore: update private ci

* chore: update private ci

* chore: update private ci

* chore: bump nightly version

* chore: bump nightly version

* chore: bump nightly version

* chore: update deps

* chore: update base branch in changeset config

* chore: update swc v1 (#1836)

* chore: update to swc v1

* chore: swc updated

* chore: improve partial bundle group named (#1629)

* feat: support partial bundling groups name as filename

* feat: remove partial bundling group config enforce field

* fix: remove unless code

* fix: update snapshot & node lazy compile e2e-test code

* fix: import sort

* chore: update cache store version

---------

Co-authored-by: brightwu <1521488775@qq.com>

* chore: dynamic bind transform html plugin order

* chore: dynamic bind transform html plugin order

* chore: dynamic bind transform html plugin order

* chore: update ci

* chore: update ci permissions

* chore: change base branch

* chore: remove bench packages

* chore: remove bench packages

* chore: add the baseBranch for release

* chore: update workspace versions

* chore: change solid and vue plugin to private

* chore: update workspace version

* chore: update version

* chore: update v2 changeset base version

* chore: update changeset ignore

* chore: update branch with changeset

* chore: optimize the example for arco-pro

* chore: add '-no-git-tag' flag

* chore: add '-no-git-tag' flag

* Version Packages (#1849)

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: private example

* chore: update deps

* chore: update deps

* chore: update ci

* chore: update nightly cli version

* chore: update deps

* Version Packages (#1851)

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: release cli

* chore: update deps

* chore: update lock file

* Version Packages (#1853)

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: bump version with cli remove @farmfe/core deps

* Version Packages (#1855)

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: update deps

* Version Packages (#1857)

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: update bump version

* chore: remove lightCyan colors

* Version Packages (#1861)

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: bump runtime nightly version

* Version Packages (#1863)

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: update code

* chore: update ci workflow base branch on pull request

* chore: update ci when push v2-dev

* fix(nightly): support node 16 downgraded execa version (#1866)

* fix: support node 16 downgraded execa version

* chore: bump version

* chore: bump deps lock

* feat: add replace-dirname plugin

* chore: bump replace dirname plugin version

* Version Packages (#1870)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(nightly): fix targetEnv schema (#1868)

* chore(nightly): fix targetEnv schema

* fix: optional targetEnv

* fix: add type check func

* fix: remove logger imports

* refactor(schema): use `nativeEnum` instead

---------

Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>

* fix(nightly): temporarily resolve spa reload issues (#1876)

fix: reload page 404

* feat(nightly): add `@farmfe/plugin-relace-dirname` rust plugin (#1874)

chore: finish plugins

* Version Packages (#1878)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: 404 spa reload error

* Version Packages (#1879)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(nightly): update docs with nightly warning (#1882)

chore: update docs with nightly warning

* chore(nightly): optimize scripts when start project (#1886)

* chore: update script spinner log

* chore: update script

* fix(v2): build js plugins scirpts error (#1896)

fix: build js plugins error

* perf(v2): use `prismjs` instead of `highlightjs` to improve runtime compilation performance (#1895)

* chore: use prism instead of highlightjs

* chore: remove prism core

* chore(v2): Integrate middleware and htmlfallback middlewear usage (#1891)

* chore: collect htmlFallBackMiddleware

* chore: collect htmlFallBackMiddleware

* chore: bump version

---------

Co-authored-by: 苏向夜 <46275354+fu050409@users.noreply.github.com>

* Version Packages (#1894)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>

* Version Packages (#1899)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* refactor(v2): optimize scripts code  (#1892)

* refactor: redefine schema in 2.0

* chore: optimize scripts

* chore: update scripts code

* chore: update scripts code

* chore: fix server restart not display resolveUrls

* chore: upgrade swc and setup ci (#1913)

* chore: upgrade swc and setup ci

* fix: issues

* chore: v2 branch opens biome (#1907)

* chore: v2 branch opens biome

* chore: v2 branch opens biome

* chore: v2 branch opens biome

* chore: v2 branch opens biome

* chore: remove benchmark ci

* chore: optimize overlay page (#1908)

* chore: optimize overlay page

* chore: update unless code

* chore: remove benchmark ci

* chore: bump runtime version

* fix(test): e2e issues (#1914)

chore: disable failed e2e tests for now

* fix: server restart not display resolveUrls (#1911) (#1915)

Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>

* chore(doc): add new Contribution Guide page (#1909)

* chore(doc): add new Contribution Guide page

* chore(doc): add new Contribution Guide page

* chore: update docs

* chore: update docs

* chore: update page

* chore: remove timeUnit option in config

* chore: update cspell

* chore: ts lint (#1924)

chore: update tsconfig to solve overwrite type error

* chore: export loadenv api (#1920)

* chore: export loadEnv api

* chore: export loadEnv api

* fix: Should show resolveUrls at the end of the service readiness (#1922)

* fix: server restart not display resolveUrls (#1911)

* fix: Should show resolveUrls at the end of the service readiness

---------

Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>

* chore: withdrawal buidl cjs scripts (#1925)

* chore: withdrawal build cjs scripts

* chore: update build cjs ci

* chore: update ci

* chore: redefine watch options (#1927)

* chore: redefine watch options

* chore: redefine watch options

* chore: test port restart

* feat(wip): Optimize library bundle to support multiple bundle (#1740)

* feat: record1

* feat: support esm and cjs module system generate

* feat: module decl relation

* feat: module relation analyze order & improve polyfill & improve commonjs declaration

* feat: improve esm generate

* feat: imporve import/export generate

* fix: export order & namespace uniq

* refactor: import/export compress & fix MemberProp name failed

* chore: try support scope hoisting

* feat: bundle shareBundle support option & support group

* chore: stash code

* chore: support concatenate modules

* fix: BundleGroup metadata maybe from ModuleGraph

* fix: BundleGroup import relation & generate

* fix: ShareBundle hash module_id path

* fix: module reexport

* fix: test snapshot

* fix: namespace reexport

* fix: pass visit after swc upgrade

* fix: react refresh when concatenateModules enable

* feat: update snapshot

* chore: change config for unit test

* feat: disable concatenateModules with development mode

---------

Co-authored-by: shulandmimi <sshuang141@163.com>

* fix: short name display on windows (#1944)

* feat: improve module import compress (#1953)

* feat: improve module import compress

* fix: update test case & jsx for module concatenation example

* fix: bootstrap sort rust plugins error (#1955)

chore: bootstrap sort rust plugins error

* chore: fix format error

* chore: plugin-tools should be built before core.  And add an ignore for the idea config folder `.idea` (#1958)

chore: `plugin-tools` should be built before core builds & .gitignore add idea config folder

* refactor: Using zod to reconstruct the js plugin parsing process (#1906)

* refactor: Using zod to reconstruct the js plugin parsing process

* chore: update js plugin hooks schema

* chore: update js plugin hooks schema

* chore: update js plugin schema

* chore: update code

* fix: zod type

* chore: update schema

* chore: redefine server options (#1930)

* chore: optimize server options

* chore: update config

* chore: remove hmr channel type with vite

* chore: remove origin

* chore: remove unless code

* chore: update https type

* refactor(v2): rewrite preview-server (#1773)

* chore: update changes

* chore: sync changes

* refactor: partially migrated preview server

* refactor: partially middlewared preview

* chore: add docstring for `distDir`

* chore: update docstring

* refactor: add `cors` and `open` options

* refactor: remove `middlewareMode`

* fix: fix open types

* refactor: refactor preview options resolver

* feat: preview server

* chore: remove useless codes

* fix: fix server urls resolver

* refactor: implements strict/open/cors

* refactor: resolve https options first

* fix: cli config resolve

* fix: https options

* fix(types): logger type

* revert: public resource middleware

* fix: server middleware

* feat(fs): check dist dir

* chore(sirv): bump sirv to v3.0.0

* fix: set `isPreview` to `true`

* feat: add check for spa

* feat(middleware): add not found middleware

* feat(close): support terminate preview server

* chore: update annotation

* docs: add doc string

* fix(resolver): fix config resolver when preview config is not undefined

* fix(server): fix server term signal

* chore: lint config

* refactor(config): refactor configs

* refactor(config): refactor configs

* feat: optimize middlewares

* refactor: remove preview from this options

* refactor(config): refactor cli configs

* feat: support base middleware

* refactor: use `isDev` instead

* chore: refactor func

* feat(proxy): support proxy middleware

* fix(default): set default to undefined for proxy

* chore: mark http2 as types

* chore: remove useless optional

* chore: code lint

* feat: optimize outputs

---------

Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>

* chore(bootstrap): optimize bootstrap script (#1968)

* chore(bootstrap): optimize bootstrap script

* chore(bootstrap): install for unknown linux

* chore: normalize cache logic (#1967)

* chore: normalize cache

* chore: update code

* chore: update type

* refactor(v2): use faster hasher to optimize (#1941)

* refactor(v2): use faster hasher to optimize

* chore: add depends

* chore: code lint

* perf(compiler): optimize module cache

* chore: remove useless import

* perf: optimize module update

* perf: optimize hashmaps

* feat: refactor boundaries to `FxHashMap`

* perf: optimize compiler

* refactor: use faster hashmap to improve performance

* refactor: re-export rustc hash

* refactor: hash set

* refactor: hash

* refactor: hashmap

* refactor: use hashmap instead

* fix: fix unit test

* fix: ts types

* feat: refactor dashmap

* chore: remove useless dependency

* refactor: migrate to faster hashmap

* fix: fix code lint

---------

Co-authored-by: brightwu <1521488775@qq.com>

* chore: optimize server SIGTERM listener (#1969)

* chore: optimize server SIGTERM listener

* chore: update terminateServerFn

* chore: update terminateServerFn

* chore: format code

* fix: some bugs (#1991)

* fix: some bugs

* chore: update code

* chore:  v2 normalize config logic (#1993)

* chore: optimize resolveConfig methods

* chore: optimize normalizeConfig

* chore: optimize normalizeConfig

* chore: add two new mode (#1998)

* chore: optimize node side code (#2004)

chore: optimize code

* chore: optimize proxy middleware (#2010)

* chore: optimize proxy middleware

* chore: test swc ast

* chore: optimize server middlewares

* chore: update TODO

* chore: update TODO

* chore: optimize server middleware

* chore: remove unless code

* chore: optimize server middlewares (#2011)

* chore: optimize server middlewares

* chore: update TODO

* chore: update TODO

* chore: optimize server middleware

* chore: remove unless code

* chore: update test code

* refactor: v2 watcher (#2020)

refactor: watcher

Co-authored-by: 苏向夜 <46275354+fu050409@users.noreply.github.com>

* feat: add command and isProduction options (#2018)

* refactor: server.origin add type (#2021)

* refactor: server.origin add type

* chore: update origin logic

* chore: update origin logic

* chore: update lock

* chore: update lock

* chore: update code

* chore: Add origin schema and optimize server resolvedUserconfig renaming (#2023)

* fix: origin schema

* fix: origin schema

* chore: update app.config

* chore: update example

* chore: add context parameters to updateModules hook (#2026)

* chore: Add context parameters to updateModules hook

* chore: test context

* chore: update updateModules

* chore: update moduleGraph

* chore: update types

* chore: update deps

* chore: update deps

* chore: update deps

* chore: split resource middlewares (#2031)

* chore: optimize code (#2043)

* chore: add command type in resolvedUserConfig (#2042)

* chore: docs update block component (#2047)

* fix: fix panic on irrelevant file deletion (#2055)

* fix: #2062 (#2063)

* fix: #2062

* fix: #2062

* chore: optimize `replace_dirname plugin` enhance code robustness (#2072)

* chore: optimize script enhance code robustness

* chore: update qrcode

* feat: add `@farmfe/plugin-dts` (#1933)

* feat: add @farmfe/plugin-dts

* feat: add @farmfe/plugin-dts

* chore: update example

* chore: update deps

* chore: update filter

* chore: update lock

* chore: update lock

* chore: test swc ast

* chore: success finish dts plugins

* chore: update colors

* chore: add some VisitMut ast

* chore: test tailwind dts compile

* chore: test tailwind dts compile

* chore: test import src and import.raw

* chore: base functions has been completed

* chore: update deps

* chore: update changeset

* chore: update deps

* chore: format time unit (#2077)

* chore: print network url by default (#2078)

* chore: print network url by default

* chore: update test code

* fix: updateModules hooks zod type set optional (#2079)

* fix: updateModules hooks zod type set optional

* chore: update ci

* feat(compiler): use rust to write resources in parallel (#2051)

* feat(compiler): use rust to write resources in parallel

* chore: fix clippy

* chore: fix rust code lint

* feat(wip): support source map codegen when merge module ast (#1904)

* feat: support ast merge sourcemap generation

* chore(refactor): custom moudle meta data

* chore: stash code

* chore: bundle adapting ast merge

* feat: bundle support merge sourceMap & comment

* fix: type issue

* chore: stash code

* feat: support dynamic input

* feat: refactor runtime

* chore: stash code

* chore: support dynamic entries bundle

* chore: support generate dynamic entry resource pots

* feat: full support dynamic entry

* chore: stash code

* chore: stash code

* chore: script entry example test passed

* feat: arco pro dev available

---------

Co-authored-by: shulandmimi <sshuang141@163.com>
Co-authored-by: 苏向夜 <46275354+fu050409@users.noreply.github.com>
Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>

* fix(core): incorrect schema valiation (#2084)

* fix: build rust plugins scripts add @farmfe/plugin-dts (#2087)

* fix: build rust plugins scripts add @farmfe/plugin-dts

* chore: update biome

* docs: update config types annotation (#2088)

* chore: remove `eslint` (#2094)

* chore: remove eslint

* chore: remove packageManager

* chore(bootstrap): optimize script display (#2095)

* fix: clippy issue (#2085)

* fix: clippy issue

* fix: example panic when start

* fix: runtime should not be emitted twice for a single bundle

* fix: tree shake, hmr  and sourcemap issues (#2096)

fix: tree shake, HMR and source map issues

* fix(schema): invalid server schema with types (#2090)

* fix(schema): invalid server schema with types

* chore: optimize types and schema

---------

Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>

* feat: add freeze_module hooks (#2092)

* feat: add js plugin freeze_modules hooks

* chore: remove unless code

* chore: update code

* chore: remove format

* chore: update code

* chore: update types

* chore: update code

* chore: update code

* chore: update code

* chore: update code

* chore: add module_hook_common

* feat: write generate resource and some utils (#2081)

* chore: write generate resource moves into rust side

* chore: update generate resource write

* feat: add rust plugin file size

* chore: update file-size plugins

* chore: update file-size plugins

* chore: update code

* chore: update code

* chore: rewrite writeResourceToDisk

* chore: remove unless file

* chore: remove file size in farm crate

* chore: remove file size in farm crate

* chore: remove file size in farm crate

* chore: add schema

* chore: remove not exists core dependencies (#2101)

* fix: module concatenation issues (#2136)

* fix: module concatenation issues

* fix: ci issues

* fix: conflicts

* chore: update release nightly ci (#2134)

* fix: pnpm version ci error (#2143)

* fix: tree shake type issue

* fix: unit test and argo stuck issue

* fix: set `assetsFilename` options get not found resource (#2140)

* fix: assets_filename_error

* fix: resolve server resource use regex split identifier

* fix: resolve server resource use regex split identifier

* fix: ci error and aliasItem enum syntax error (#2144)

* fix: ci error and aliasItem enum syntax error

* fix: ci error and aliasItem enum syntax error

* fix: ci error and aliasItem enum syntax error

* fix: ci error and aliasItem enum syntax error

* fix: ci error and aliasItem enum syntax error

* fix: ci error and aliasItem enum syntax error

* fix: ci error and aliasItem enum syntax error

* chore: update new snap

* chore: update partial bundling snapshot

* fix: cargo test

* fix: ignore changeset packages

* fix: ignore changeset packages (#2148)

* Version Packages (#2138)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: ignore print fileSize in compile config file (#2150)

* fix: ignore print fileSize in compile config file

* fix: ignore print fileSize in compile config file

* Version Packages (#2151)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: add src folder with publish runtime packages (#2152)

* Version Packages (#2153)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: add apt-get update before installing protobuf-compiler in CI (#2177)

* fix: delete map file when conifg is 'inline' or 'all-inline' (#2175)

fix: delete the map file when config is 'inilne' or 'all-inline'

* feat: fully support concatenate modules (#2155)

* feat: resolver by resolve kind (#2154)

* feat: resolver by resolve kind

* fix: breaking change

* Version Packages (#2156)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: try fix ci linux gnu build (#2163)

* fix: resolve the relative path of projects (#2161)

* fix: resolve the relative path of projects

* Create js-plugin-sass.md

add changeset

---------

Co-authored-by: brightwu <1521488775@qq.com>

* Version Packages (#2164)

* Version Packages

* chore: remove ubuntu-20

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: brightwu <1521488775@qq.com>

* fix: tree shake issue when handling cross module top level variables … (#2166)

fix: tree shake issue when handling cross module top level variables writing

* Version Packages (#2167)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: handle Windows long path issue in base64_decode function (#2182)

* fix: handle Windows long path issue in base64_decode function

- Replace unwrap() with proper error handling in base64_decode
- Return safe string representation when base64 decode fails
- Fixes InvalidLength panic on Windows with long file paths
- Addresses issue where Farm crashes on Windows due to path length limits

* fix: address CoderabbitAI feedback - use decoded bytes for UTF-8 conversion

- Use decoded bytes instead of original input for UTF-8 lossy conversion
- This ensures we process the actual decoded data when UTF-8 conversion fails
- Addresses AI review feedback for more accurate error handling

---------

Co-authored-by: q1600822305 <q1600822305@noreply.gitcode.com>

* chore: resolve typo (#2185)

Co-authored-by: leo.kang <leo.kang@gooseott.com>

* fix(core): Add origin check to the HMR server (#2173)

* Add origin check to the HMR server

* Add type declarations

* Update ws.ts

* Add changeset

* Update changeset

* Fox format and use American English

* Fix format

* Fix format for real this time

* Hopefully for the last time, fix format

* Remove trailing spaces from some lines

---------

Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>
Co-authored-by: brightwu <1521488775@qq.com>

* chore: update readme (#2187)

* chore: update readme

* fix: lint issue

* chore: test hmr host check (#2190)

* chore: test hmr host check

* fix: #2188 lazy compilation should respect publicPath

* fix: #2176  does not work

* fix: hmr origin check

* fix: hmr issue

* Version Packages (#2186)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: incorrect publicPath when isolating farm runtime (#2193)

* fix: incorrect publicPath when isolating farm runtime

* chore: lock cargo-xwin to 0.18.6

* fix: resolve extension compatible with . or direct file suffix (#2192)

* fix: resolve extension compatible with . or direct file suffix

* fix: resolve extension compatible with . or direct file suffix

* chore: update test

---------

Co-authored-by: brightwu <1521488775@qq.com>

* Version Packages (#2194)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* feat: browser mode, resolve mainFiled without import kind (#2197)

* feat: browser mode, resolve mainFiled without import kind

* chore: add changefile

* Version Packages (#2198)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: support output.asciiOnly (#2200)

* chore: support output.asciiOnly

* fix: escape css unicode by padding 6 hex digits

* Version Packages (#2201)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* feat: fully support concatenate modules

* chore: update test snapshot

* chore: fully support mangle exports

* feat: support library cjs

* feat: all rust test cases passed

* chore: all existing tests passed

* chore: add js plugins hooks tests

* fix: cjs require

* chore: all existing test cases passed

* fix: windows test

* fix: mangle exports panic

* fix: argo pro concatenate modules issue

* fix: clippy issue

---------

Co-authored-by: shulan <sshuang141@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: xiaoliyooo <73976311+18845778092@users.noreply.github.com>
Co-authored-by: 1600822305 <161661698+1600822305@users.noreply.github.com>
Co-authored-by: q1600822305 <q1600822305@noreply.gitcode.com>
Co-authored-by: 小康 <leokang2828@gmail.com>
Co-authored-by: leo.kang <leo.kang@gooseott.com>
Co-authored-by: Radman Siddiki <61620631+R4356th@users.noreply.github.com>
Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>
Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>

* fix(v2): concatenate modules bugs and upgrade swc and napi-rs (#2209)

* feat: upgrade swc and rkyv

* fix: concatenate modules issues

* chore: update test snapshots

* fix: ci build

* chore: update napi-rs/cli of create farm pacakge

* fix: ci issues

* fix: ci issues

* fix: build without config file

* chore: all example build success

---------

Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>

* Version Packages (#2206)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: concatenate modules issues (#2212)

* fix: concatenate module issues

* chore: remove setup zig

* chore: replace zig setup action

* fix: tree shake useless ident

* fix: reexport ident map are not removed when tree shaking

* fix: mangle exports issue

* fix: example build error

---------

Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>

* feat: cache module metadata & cacheable deserialize (#2082)

* feat: support ast merge sourcemap generation

* chore(refactor): custom moudle meta data

* chore: stash code

* chore: bundle adapting ast merge

* feat: bundle support merge sourceMap & comment

* fix: type issue

* chore: stash code

* feat: support dynamic input

* feat: refactor runtime

* chore: stash code

* chore: support dynamic entries bundle

* chore: support generate dynamic entry resource pots

* feat: full support dynamic entry

* chore: stash code

* chore: stash code

* chore: script entry example test passed

* feat: arco pro dev available

* feat: cache module metadata & cachable deserialize

* feat: improve cache api

* feat: write cache

* feat: combine cache item to files

* feat: conflict & clippy

* chore: stash code

* feat: stash code

* feat: use matedate api for plugin

* feat: improve matedata

* feat: improve cache write

* chore: remove not exists dependent

* feat: remove unnecessary code

* feat: optimize deserialize usage

* chore: ci pnpm version unified version

* fix: cspell & mangle_export test case fix

* fix: lint

---------

Co-authored-by: brightwu <1521488775@qq.com>
Co-authored-by: 苏向夜 <46275354+fu050409@users.noreply.github.com>
Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>

* fix: windows ts test issue (#2217)

* fix: windows ts test issue

* fix: plugin resolvePath normalize

* fix: windows example build

* fix: windows example build

* fix: publicPath

* fix: e2e test issues

* fix: tests

---------

Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>

* fix: cache restore dead lock (#2220)

fix cache restore dead lock

* chore: set stdout to block (#2219)

* chore: set stdout to block

* chore: update swc and support node lazy compilation

* fix: solid plugin

* fix: example test issues

* fix: statement ctxt reanalyze & optimize cache perf

* fix: package read & optimize read perf

* fix: concatenate module issues

* fix: tests

* fix: test issues

* chore: update playwright-chromium

* fix: all e2e cases passed at local

* chore: revert cache store to v1

* fix: ci issues

* fix: github ci

* fix: windows e2e issue

* fix: e2e test env

---------

Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>
Co-authored-by: shulandmimi <sshuang141@163.com>

* chore: release v2 nightly (#2224)

chore: release v2 nightlty

Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>

* Version Packages (#2218)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: update ci scripts

* fix: e2e test issue

* fix: e2e tests

* fix: solid-ssr e2e test

* fix: runtime polyfill

* fix: tests

* fix: tests

* chore: e2e env snapshot

---------

Co-authored-by: erkelost <1256029807@qq.com>
Co-authored-by: ADNY <66500121+ErKeLost@users.noreply.github.com>
Co-authored-by: shulan <sshuang141@gmail.com>
Co-authored-by: Nirvana-Jie <1357711537@qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: 苏向夜 <46275354+fu050409@users.noreply.github.com>
Co-authored-by: Jobin <425605679@qq.com>
Co-authored-by: shulandmimi <sshuang141@163.com>
Co-authored-by: K0nnyaku <k0nnyaku@163.com>
Co-authored-by: wumingliang <wumingliang.9801@bytedance.com>
Co-authored-by: kanno <812137533@qq.com>
Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com>
Co-authored-by: xiaoliyooo <73976311+18845778092@users.noreply.github.com>
Co-authored-by: 1600822305 <161661698+1600822305@users.noreply.github.com>
Co-authored-by: q1600822305 <q1600822305@noreply.gitcode.com>
Co-authored-by: 小康 <leokang2828@gmail.com>
Co-authored-by: leo.kang <leo.kang@gooseott.com>
Co-authored-by: Radman Siddiki <61620631+R4356th@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.

2 participants