[pull] main from rolldown:main#452
Merged
pull[bot] merged 5 commits intoStars1233:mainfrom Nov 17, 2025
Merged
Conversation
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [oxlint-tsgolint](https://redirect.github.com/oxc-project/tsgolint) | [`0.6.0` -> `0.7.0`](https://renovatebot.com/diffs/npm/oxlint-tsgolint/0.6.0/0.7.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/tsgolint (oxlint-tsgolint)</summary> ### [`v0.7.0`](https://redirect.github.com/oxc-project/tsgolint/releases/tag/v0.7.0) [Compare Source](https://redirect.github.com/oxc-project/tsgolint/compare/v0.6.0...v0.7.0) #### What's Changed - feat: add options schema for `promise-function-async` by [@​camchenry](https://redirect.github.com/camchenry) in [#​410](https://redirect.github.com/oxc-project/tsgolint/pull/410) - feat: add options schema for `require-array-sort-compare` by [@​camchenry](https://redirect.github.com/camchenry) in [#​411](https://redirect.github.com/oxc-project/tsgolint/pull/411) - feat: add options schema for `restrict-plus-operands` by [@​camchenry](https://redirect.github.com/camchenry) in [#​412](https://redirect.github.com/oxc-project/tsgolint/pull/412) - feat: add options schema for `restrict-template-expressions` by [@​camchenry](https://redirect.github.com/camchenry) in [#​413](https://redirect.github.com/oxc-project/tsgolint/pull/413) - fix(prefer-return-this-type): nil pointer dereference by [@​camc314](https://redirect.github.com/camc314) in [#​415](https://redirect.github.com/oxc-project/tsgolint/pull/415) - feat: add options schema for `return-await` by [@​camchenry](https://redirect.github.com/camchenry) in [#​414](https://redirect.github.com/oxc-project/tsgolint/pull/414) - feat: add options schema for `strict-boolean-expressions` by [@​camchenry](https://redirect.github.com/camchenry) in [#​416](https://redirect.github.com/oxc-project/tsgolint/pull/416) - feat: add options schema for `switch-exhaustiveness-check` by [@​camchenry](https://redirect.github.com/camchenry) in [#​417](https://redirect.github.com/oxc-project/tsgolint/pull/417) - feat: add options schema for `unbound-method` by [@​camchenry](https://redirect.github.com/camchenry) in [#​418](https://redirect.github.com/oxc-project/tsgolint/pull/418) - chore(deps): update crate-ci/typos action to v1.39.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​419](https://redirect.github.com/oxc-project/tsgolint/pull/419) - docs: add reference to non-type-aware TypeScript rules in oxlint by [@​Boshen](https://redirect.github.com/Boshen) in [#​420](https://redirect.github.com/oxc-project/tsgolint/pull/420) - chore(deps): update typescript-go digest to [`8fdec88`](https://redirect.github.com/oxc-project/tsgolint/commit/8fdec88) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​400](https://redirect.github.com/oxc-project/tsgolint/pull/400) - chore(deps): update crate-ci/typos action to v1.39.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​422](https://redirect.github.com/oxc-project/tsgolint/pull/422) - chore(deps): update typescript-go digest to [`dedfbd9`](https://redirect.github.com/oxc-project/tsgolint/commit/dedfbd9) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​421](https://redirect.github.com/oxc-project/tsgolint/pull/421) - feat: implement prefer-includes rule by [@​andrewgonzales](https://redirect.github.com/andrewgonzales) in [#​373](https://redirect.github.com/oxc-project/tsgolint/pull/373) - chore: fix typo in test case by [@​camc314](https://redirect.github.com/camc314) in [#​423](https://redirect.github.com/oxc-project/tsgolint/pull/423) - chore(deps): update typescript-go digest to [`cea534e`](https://redirect.github.com/oxc-project/tsgolint/commit/cea534e) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​424](https://redirect.github.com/oxc-project/tsgolint/pull/424) - chore(deps): update dependency vitest>vite to v7.2.5 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​426](https://redirect.github.com/oxc-project/tsgolint/pull/426) - chore(deps): update typescript-go digest to [`05f4d69`](https://redirect.github.com/oxc-project/tsgolint/commit/05f4d69) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​427](https://redirect.github.com/oxc-project/tsgolint/pull/427) - chore(deps): update gomod by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​431](https://redirect.github.com/oxc-project/tsgolint/pull/431) - chore(deps): update npm packages by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​429](https://redirect.github.com/oxc-project/tsgolint/pull/429) - chore(deps): update taiki-e/install-action action to v2.62.51 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​430](https://redirect.github.com/oxc-project/tsgolint/pull/430) #### New Contributors - [@​andrewgonzales](https://redirect.github.com/andrewgonzales) made their first contribution in [#​373](https://redirect.github.com/oxc-project/tsgolint/pull/373) **Full Changelog**: <oxc-project/tsgolint@v0.6.0...v0.7.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/rolldown/rolldown). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: shulaoda <[email protected]>
…#6872) closed #4790 --------- Signed-off-by: IWANABETHATGUY <[email protected]> Co-authored-by: hyf0 <[email protected]> Co-authored-by: Copilot <[email protected]>
Related to #7042 I noticed that some users, including `tsdown`, rely on the Vite-specific plugins `importGlobPlugin` and `dynamicImportVarsPlugin`. This caused issues when I tried to upgrade `rolldown-vite`, so I’m keeping these aliases for now to preserve compatibility. --------- Signed-off-by: dalaoshu <[email protected]> Co-authored-by: 翠 <[email protected]>
Addresses feedback to extract hardcoded JavaScript/TypeScript extension checks into a reusable constant.
**Changes:**
- Extracted `COMMON_JS_EXTENSIONS` constant at module level
- Refactored match statement to use `.as_deref()` with `.contains()` instead of long conditional chain
- Removed now-unfulfilled `clippy::too_many_lines` lint expectation
**Before:**
```rust
match ext {
Some(ext)
if ext == "js"
|| ext == "jsx"
|| ext == "mjs"
// ... 5 more conditions
{
relative_path
}
Some(ext) if !ext.is_empty() => {
format!("{relative_path}.{ext}")
}
_ => relative_path,
}
```
**After:**
```rust
const COMMON_JS_EXTENSIONS: &[&str] = &["js", "jsx", "mjs", "cjs", "ts", "tsx", "mts", "cts"];
match ext.as_deref() {
Some(e) if COMMON_JS_EXTENSIONS.contains(&e) => relative_path,
Some(e) if !e.is_empty() => format!("{relative_path}.{e}"),
_ => relative_path,
}
```
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by cubic
Fix preserveModules chunk names to keep directory structure (e.g. components/button/index), improving [name] and hook behavior. Also adds Vite plugin aliases and automates weekly beta releases.
Bug Fixes
entryFileNamesFunction parameterPreRenderedChunk.nameis different from rollup rolldown/rolldown#4790.New Features
Written for commit 4d02f2d. Summary will update automatically on new commits.