Skip to content

chore(deps): update dependency @rslib/core to v0.19.0 (main)#8093

Merged
caohuilin merged 2 commits intomainfrom
renovate/main-rslib-core-0.x
Dec 30, 2025
Merged

chore(deps): update dependency @rslib/core to v0.19.0 (main)#8093
caohuilin merged 2 commits intomainfrom
renovate/main-rslib-core-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 27, 2025

This PR contains the following updates:

Package Change Age Confidence
@rslib/core (source) 0.18.5 -> 0.19.0 age confidence

Release Notes

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

v0.19.0

Compare Source

Highlights 💡

New JavaScript API

This release introduces a new, comprehensive JavaScript API for Rslib.

[!CAUTION]
This is a Breaking Change. The previously exposed informal API has been removed. You can switch to the new JavaScript API and refer to the docs below to re-integrate.

See the API docs for details:

Usage
  1. Install Rslib: install the @rslib/core package:
npm add @​rslib/core -D
  1. Create an Rslib instance: call the createRslib method to create an Rslib instance:
import { createRslib } from '@​rslib/core';

const rslib = await createRslib();
  1. Call Rslib instance methods: use the rslib.build method which will build production outputs:
await rslib.build();
Advanced ESM Output

In previous versions, Rslib integrated Rspack's EsmLibraryPlugin through an experimental configuration of experiments.advancedEsm, aiming to optimize the quality of ESM outputs. Now, we are pleased to announce that this plugin has been stabilized.

In this release, the EsmLibraryPlugin is enabled by default by setting experiments.advancedEsm to true in bundle mode. Developers can directly obtain ESM output that is high-quality, more friendly to static analysis, and supports code splitting without any additional configuration.

Better Rstest Integration

Rslib now supports seamless integration with Rstest.

By using the official @​rstest/adapter-rslib, you can directly reuse your Rslib build configurations (such as resolve.alias and source.define) within Rstest. This enables zero-config testing for Rslib projects, ensuring your test environment perfectly mirrors your build environment while eliminating the overhead of maintaining duplicate configurations.

// rstest.config.ts
import { defineConfig } from '@​rstest/core';
import { withRslibConfig } from '@​rstest/adapter-rslib';

export default defineConfig({
  extends: withRslibConfig({}),
  // Additional Rstest-specific configurations
  // ...
});

More details: https://rstest.rs/guide/integration/rslib

What's Changed

New Features 🎉
Other Changes

Full Changelog: web-infra-dev/rslib@v0.18.6...v0.19.0

v0.18.6

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.18.5...v0.18.6


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented Dec 27, 2025

⚠️ No Changeset found

Latest commit: bfd8def

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

@netlify
Copy link

netlify bot commented Dec 27, 2025

Deploy Preview for modernjs-v3 ready!

Name Link
🔨 Latest commit bfd8def
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-v3/deploys/69533f2de299ab0008c1763c
😎 Deploy Preview https://deploy-preview-8093--modernjs-v3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate renovate bot force-pushed the renovate/main-rslib-core-0.x branch from 62c0e43 to 23df69a Compare December 29, 2025 07:56
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to v0.18.6 (main) chore(deps): update dependency @rslib/core to v0.19.0 (main) Dec 29, 2025
@renovate renovate bot force-pushed the renovate/main-rslib-core-0.x branch from 3c2a4a0 to bf956f5 Compare December 30, 2025 02:48
@caohuilin caohuilin enabled auto-merge (squash) December 30, 2025 02:56
@caohuilin caohuilin merged commit cbd7726 into main Dec 30, 2025
13 checks passed
@caohuilin caohuilin deleted the renovate/main-rslib-core-0.x branch December 30, 2025 02:59
@github-actions
Copy link
Contributor

Rsdoctor Bundle Diff Analysis

📊 Quick Summary
Project Total Size Change
bundle-diff 495.8 KB 0

Generated by Rsdoctor GitHub Action

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.

1 participant