Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 29, 2024

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@rspack/cli (source) 0.3.6 -> 1.6.7 age confidence

Release Notes

web-infra-dev/rspack (@​rspack/cli)

v1.6.7

Compare Source

Highlights 💡

🎉 Support for import.meta.filename, import.meta.dirname, and import.meta.resolve

Rspack now supports the import.meta.filename, import.meta.dirname, and import.meta.resolve meta properties in ESM modules.
These properties provide a standardized way to access file and directory paths in ES modules, similar to the CommonJS __filename and __dirname variables:

// Get the absolute path of the current module file
console.log(import.meta.filename);
// e.g., "/path/to/project/src/index.js"

// Get the directory path of the current module
console.log(import.meta.dirname);
// e.g., "/path/to/project/src"

// Resolve a module specifier to an absolute URL
const resolvedPath = import.meta.resolve('./utils.js');

Thanks to @​magic-akari for this contribution!

What's Changed

New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Other Changes

Full Changelog: web-infra-dev/rspack@v1.6.6...v1.6.7

v1.6.6

Compare Source

Highlights 💡
Compact module factories

Rspack now generates a more compact module factory format that trims the wrapper function. Benchmarks show this reduces bundle size by about 1% before gzip.

image
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.6.5...v1.6.6

v1.6.5

Compare Source

What's Changed

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

Full Changelog: web-infra-dev/rspack@v1.6.4...v1.6.5

v1.6.4

Compare Source

What's Changed

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

Full Changelog: web-infra-dev/rspack@v1.6.3...v1.6.4

v1.6.3

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.6.2...v1.6.3

v1.6.2

Compare Source

What's Changed

Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Other Changes

Full Changelog: web-infra-dev/rspack@v1.6.1...v1.6.2

v1.6.1

Compare Source

What's Changed

Highlights 💡

In Rspack 1.6.1, the source map implementation in the rspack-sources crate has been optimized, improving source map generation performance by roughly 30%.

image
Performance Improvements ⚡
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.6.0...v1.6.1

v1.6.0

Compare Source

🎉 See Announcing Rspack 1.6 for more details.

What's Changed

Performance Improvements ⚡
New Features 🎉

Configuration

📅 Schedule: Branch creation - "before 7am" in timezone Europe/Madrid, 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.


  • 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 enabled auto-merge (rebase) October 29, 2024 04:54
@relativeci
Copy link

relativeci bot commented Oct 29, 2024

#302 Bundle Size — 839B (-99.94%).

ee33ffe(current) vs 2b8b117 master#300(baseline)

Note

Bundle removed 3 duplicate packages – View changed duplicate packages

Bundle metrics  Change 10 changes Improvement 5 improvements
                 Current
#302
     Baseline
#300
Improvement  Initial JS 839B(-99.86%) 591.31KiB
Improvement  Initial CSS 0B(-100%) 539.71KiB
Change  Cache Invalidation 100% 0%
Change  Chunks 1(-87.5%) 8
Change  Assets 1(-90%) 10
Change  Modules 3(-99.82%) 1708
Improvement  Duplicate Modules 0(-100%) 4
Change  Duplicate Code 0%(-100%) 0.04%
Improvement  Packages 0(-100%) 119
Improvement  Duplicate Packages 0(-100%) 3
Bundle size by type  Change 4 changes Improvement 4 improvements
                 Current
#302
     Baseline
#300
Improvement  JS 839B (-99.89%) 763.58KiB
Improvement  CSS 0B (-100%) 539.86KiB
Improvement  IMG 0B (-100%) 2.7KiB
Improvement  HTML 0B (-100%) 294B

Bundle analysis reportBranch renovate-major-rspack-monorepoProject dashboard


Generated by RelativeCIDocumentationReport issue

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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