Skip to content

chore(deps): update rstack toolchain - #156

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rstack
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rstack

Conversation

@renovate

@renovate renovate Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@rsbuild/core (source) ~2.3.7 → ~2.3.8 age confidence
@rslib/core (source) ^1.1.0 → ^1.1.1 age confidence
@rslint/core ^0.10.1 → ^0.11.0 age confidence
@rslint/core 0.10.1 → 0.11.0 age confidence

Release Notes

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

v2.3.8

Compare Source

Highlights

buildCache now uses Rspack’s new cache implementation

If you use performance.buildCache, Rsbuild now uses Rspack’s newCache implementation by default. In Rspack’s benchmarks, the new cache used about 79% less disk space and reduced peak memory usage during cold builds by about 16%.

➡️ Read about Rspack’s cache improvements

If you run into any issues, you can switch back to the previous cache implementation by setting tools.rspack.experiments.newCache to false, or report the issue on GitHub.

import { defineConfig } from '@rsbuild/core';

export default defineConfig({
  performance: {
    buildCache: true,
  },
  tools: {
    rspack: {
      experiments: {
        newCache: false,
      },
    },
  },
});

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes

[Full changelog from v2.3.7 to v2.3.8](web-infra-dev/rsbuild@v2.3.7...1564bd6)

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

v1.1.1

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rslib@v1.1.0...v1.1.1

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

v0.11.0

Compare Source

Highlights

Run type-aware third-party ESLint plugins

Third-party and custom JavaScript ESLint plugins can now run type-aware rules on Rslint's Go TypeScript engine. Whether you rely on a community plugin that isn't built into Rslint (such as @tanstack/eslint-plugin-query) or custom typed rules in your own repo, they can read TypeScript type information through context.sourceCode.parserServices.

// rslint.config.ts
import { defineConfig } from '@rslint/core';
import pluginQuery from '@tanstack/eslint-plugin-query';

export default defineConfig([
  {
    languageOptions: {
      parserOptions: { projectService: true },
    },
    plugins: {
      '@tanstack/query': pluginQuery,
    },
    rules: {
      // Type-aware rule: checks queryFn's return type
      '@tanstack/query/no-void-query-fn': 'error',
    },
  },
]);

(Third-party plugin guide · #​2517 · #​2648)

Turn on stricter rules without fixing every legacy error first

Adopting a strict rule on an existing codebase no longer requires cleaning up hundreds of old violations in one giant PR. You can now record your current error counts into rslint-suppressions.json and commit it alongside your config. Existing violations up to the recorded count stay silenced, while any new violation fails CI immediately.

# Baseline current errors for specific rules, or for every error-level rule
rslint --suppress-rule no-var
rslint --suppress-all

# Shrink or remove entries as you clean up legacy code
rslint --prune-suppressions

The file format is compatible with ESLint's bulk suppressions, so you can reuse an existing eslint-suppressions.json directly via --suppressions-location. (Bulk suppressions guide · #​2618)

32 new built-in Unicorn rules

This release adds 32 new built-in unicorn/* rules—including prefer-at, prefer-math-min-max, numeric-separators-style, no-useless-undefined, no-useless-else, consistent-assert, and more—and updates unicornPlugin.configs.recommended and promisePlugin.configs.recommended to match upstream presets (see upgrade notes below). (#​2659)

Lower memory spikes and faster runs on large workspaces

Linting large monorepos and memory-constrained CI containers now uses less peak memory and finishes faster:

  • Memory-aware project loading: Adapts how many TypeScript projects load concurrently to your machine's or container's available RAM, preventing memory spikes. (#​2655 · #​2666 · #​2667)
  • Lighter standalone files & JS plugins: Processes files outside tsconfig.json in smaller batches instead of all at once, and scales JavaScript plugin workers only when needed. (#​2656 · #​2654 · #​2664)
  • Faster hot rules: Cuts redundant type-checker work in no-unsafe-assignment, no-unsafe-return, no-unsafe-argument, no-floating-promises, and import/no-cycle. (#​2635 · #​2637 · #​2638 · #​2640)

Breaking Changes & Upgrade Notes

File-wide inline disable comments must use /* ... */

Inline rslint-disable / eslint-disable and rslint-enable / eslint-enable comments now match ESLint's exact syntax rules:

  • No more // for file-wide disables. Single-line // rslint-disable or // eslint-disable comments are no longer treated as file-wide or range disables—switch them to /* ... */ block comments (or use // rslint-disable-next-line if you only meant one line).
  • Line directives stay on one line. Multiline /* rslint-disable-line ... */ comments are now ignored, and a multiline /* rslint-disable-next-line ... */ comment suppresses the line right after its closing */.
  • No * wildcard. Leave the rule list empty (/* rslint-disable */) to disable all rules; a literal * is now treated as a rule name.
  • Spaces around -- for descriptions. Write /* rslint-disable no-console -- legacy logging */ with whitespace on both sides of --.
// Before (no longer disables the rest of the file)
// rslint-disable no-console

// After: disable the rest of the file
/* rslint-disable no-console */

// Or disable just the next line
// rslint-disable-next-line no-console

(Inline directives guide · #​2604)

Expect new lint errors if you use the Unicorn recommended preset

unicornPlugin.configs.recommended now enables 53 additional unicorn/* rules at error severity (including both rules added in this release and previously available rules that were not yet enabled in the preset). It also turns off core ESLint's no-nested-ternary so unicorn/no-nested-ternary takes over, and promisePlugin.configs.recommended now explicitly sets 'promise/no-native': 'off'.

If upgrading fails CI with new Unicorn errors, you can either put rule overrides after the preset in your config, or run rslint --suppress-all to record the existing violations as a baseline and fix them over time. (Unicorn preset · #​2659)

Existing rules that may report new or different findings
  • @typescript-eslint/no-unused-vars now checks files without TypeScript type info. Previously, this rule silently skipped files outside tsconfig.json and any config using parserOptions: { project: false }. It no longer requires a TypeScript program, so expect real unused-variable errors to show up in standalone JS/TS files and config scripts that weren't checked before. (#​2672 · #​2676)
  • no-restricted-imports patterns now follow .gitignore rules. In no-restricted-imports and @typescript-eslint/no-restricted-imports, patterns[].group now uses .gitignore matching (matching ESLint). For example, shared/lib/** now matches shared/lib/internal but no longer matches shared/lib itself; trailing / directory patterns and ! negations also follow .gitignore semantics. Double-check your restricted import patterns after upgrading. (#​2670)
  • import/order treats aliased assets and workspace self-imports as internal. Non-TS assets mapped via tsconfig.json paths (such as ~assets/icon.svg) and symlinked package self-references in workspaces (such as pnpm monorepos) are now classified as internal instead of unknown or external. Run rslint --fix if import/order asks to reorder these imports. (#​2662 · #​2663)
  • no-restricted-syntax now matches TypeScript AST nodes. Selectors targeting TypeScript syntax (such as TSAsExpression, TSEnumDeclaration, or TSInterfaceDeclaration) were previously skipped and now match as expected, which may surface new findings if your config already contains those selectors. (#​2650 · #​2629)
  • Custom JavaScript rules should guard parserServices?.program. For files outside a configured TypeScript project (or with project: false), context.sourceCode.parserServices is now still populated with AST node maps while parserServices.program is null. Check parserServices?.program before making type queries. (#​2648)
  • Diagnostic wording and snapshot tests. @typescript-eslint/no-unsafe-call now matches typescript-eslint v8.74.0 wording and reports fn instead of (fn) for parenthesized calls like (fn)() (#​2677). no-class-assign, no-debugger, no-template-curly-in-string, and no-namespace also align their message IDs, wording, and ranges with upstream ESLint (#​2553).

What's Changed

Breaking Changes 🍭
New Features 🎉
Performance 🚀
  • perf(import): reuse prepared options in shared module resolution by @​elecmonkey in #​2487
  • perf: replace x/text/collate with generated ASCII collation tables by @​elecmonkey in #​2544
  • perf(no-unsafe-assignment): skip type queries for guaranteed safe senders by @​fansenze in #​2638
  • perf(typescript/no-floating-promises): eliminate redundant type queries by @​fansenze in #​2640
  • perf(vfs): track source BOM during ReadFile and preserve BOMSource by @​fansenze in #​2641
  • perf(utils): cache TypeScriptProjectDiscovery ancestor chains and project references by @​fansenze in #​2644
  • perf(loader): add lock-free identity fast path to frozenFileSystem by @​fansenze in #​2643
  • perf(import/no-cycle): cache Program source lookups, exact-size ModuleGraph refs, and explore SCCs on demand by @​fansenze in #​2635
  • perf(typescript): avoid redundant type and signature resolution in no-unsafe-return and no-unsafe-argument by @​fansenze in #​2637
  • perf(linter,loader): schedule weighted Programs LPT with backfill and release load snapshots by @​fansenze in #​2655
  • perf(loader,config): stream unbound source-only roots in bounded batches when cross-file AST rules are inactive by @​fansenze in #​2656
  • perf(plugin,ipc): scale JS plugin worker pool by backlog and right-size shared memory by @​fansenze in #​2654
  • perf(linter,plugin,ipc): decouple post-native scheduling, spread typed sessions, and LPT-window JS plugins by @​fansenze in #​2664
  • perf(loader,plugin): shard frozen-FS caches and overlap CLI plugin worker prewarm by @​fansenze in #​2665
  • perf(program,linter): right-size one-shot checker pools and reclaim non-anchor checkers by @​fansenze in #​2667
  • perf(linter): scale Program admission memory budget to host and container limits by @​fansenze in #​2666
Bug Fixes 🐞
  • fix: align rule diagnostics and port missing upstream JS suites by @​elecmonkey in #​2553
  • fix(unicorn): handle typed operands in prefer-math-min-max by @​fansenze in #​2557
  • fix: fix no-constant-condition behavior gaps and port upstream test suites by @​elecmonkey in #​2563
  • fix: fix no-await-in-loop behavior gaps and port upstream test suites by @​elecmonkey in #​2567
  • fix: fix constructor-super behavior gaps and port upstream test suites by @​elecmonkey in #​2554
  • fix(typescript): fix no-base-to-string behavior gaps and port upstream test suite by @​elecmonkey in #​2569
  • fix(typescript): fix prefer-promise-reject-errors behavior gaps and port upstream test suite by @​elecmonkey in #​2571
  • fix(typescript): fix no-var-requires behavior gaps and port upstream test suite by @​elecmonkey in #​2578
  • fix(typescript): fix consistent-return behavior gaps and port upstream test suite by @​elecmonkey in #​2586
  • fix: fix array-callback-return behavior gaps and port upstream test suite by @​elecmonkey in #​2568
  • fix(eslint): no-unused-vars recognize implicit classic JSX factory usage by @​elecmonkey in #​2590
  • fix(typescript): fix consistent-generic-constructors behavior gaps and port upstream test suite by @​elecmonkey in #​2583
  • fix(typescript): fix use-unknown-in-catch-callback-variable behavior gaps and port upstream test suite by @​elecmonkey in #​2585
  • fix(typescript): fix no-confusing-void-expression behavior gaps and port upstream test suite by @​elecmonkey in #​2599
  • fix(typescript): fix prefer-nullish-coalescing behavior gaps and port upstream test suite by @​elecmonkey in #​2606
  • fix(typescript): no-unnecessary-condition false positive on ?. after literal index access in optional chain by @​zatteo in #​2627
  • fix(no-restricted-syntax): match TypeScript assertion expression selectors by @​zatteo in #​2629
  • fix(typescript): reduce no-unnecessary-condition false positives by @​fansenze in #​2634
  • fix(no-restricted-syntax): resolve import specifier parent as ImportDeclaration by @​fansenze in #​2646
  • fix(no-restricted-syntax): evaluate selectors against in-memory estree.Tree by @​fansenze in #​2650
  • fix(typecheck): collect program diagnostics before native lint by @​fansenze in #​2653
  • fix(jest,rstest): reject non-identifier receivers when parsing call chains by @​fansenze in #​2647
  • fix(estree): support source-authored JSDoc types, import, and non-literal import() by @​fansenze in #​2668
  • fix(import): use ImportResolver in import/order for non-TS assets and resolver settings by @​fansenze in #​2662
  • fix(no-restricted-imports): match group patterns with gitignore semantics by @​richardwellgood-byte in #​2670
  • fix(import): classify symlinked self-references as internal in import/order by @​fansenze in #​2663
  • fix(typescript): drop type-info requirement from no-unused-vars by @​fansenze in #​2672
  • fix(unicorn): ignore return undefined in getters for no-useless-undefined by @​fansenze in #​2678
  • fix(typescript-eslint): align no-unsafe-call with upstream v8.74.0 by @​fansenze in #​2677
  • fix(unicorn): align prefer-math-min-max with upstream v80.0.0 by @​fansenze in #​2679
  • fix(no-unsafe-assignment): preserve contextual typing in sender fast path by @​fansenze in #​2680
  • fix(scope,typescript): ignore JSDoc-reparsed syntax in scope builder and no-unused-vars by @​fansenze in #​2676
  • fix(utils): bind ParseCache ASTs before publish and ensure script kind by @​fansenze in #​2683
Refactor 🔨
Document 📖
Other Changes

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 force-pushed the renovate/rstack branch from ac6fc24 to 384b143 Compare December 4, 2026 07:13
@renovate renovate Bot changed the title chore(deps): update dependency @rsbuild/core to ~2.3.8 chore(deps): update rstack toolchain Dec 4, 2026
@renovate
renovate Bot force-pushed the renovate/rstack branch from 384b143 to 6f778b7 Compare December 4, 2026 12:05

This branch has not been deployed

No deployments
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.

0 participants