Skip to content

fix: Deprecate the url: import feature#2465

Open
nishu-murmu wants to merge 9 commits into
mainfrom
chore/deprecate-url-import-feature
Open

fix: Deprecate the url: import feature#2465
nishu-murmu wants to merge 9 commits into
mainfrom
chore/deprecate-url-import-feature

Conversation

@nishu-murmu

Copy link
Copy Markdown
Collaborator

Overview

Currently showing the deprecation warning in the docs for url: import feature until the major branch is merged.

Manual Testing

  1. Run command bun docs:gen and bun docs:dev.

Related Issue

This PR doesn't closes #2262 is a part of that issue.

@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 215bc5c
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6a48b7bf9448d300080d6ac5
😎 Deploy Preview https://deploy-preview-2465--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@github-actions github-actions Bot added the pkg/wxt Includes changes to the `packages/wxt` directory label Jun 30, 2026
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.35%. Comparing base (40c6c19) to head (215bc5c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2465      +/-   ##
==========================================
+ Coverage   79.32%   79.35%   +0.03%     
==========================================
  Files         134      134              
  Lines        4005     4006       +1     
  Branches      910      910              
==========================================
+ Hits         3177     3179       +2     
- Misses        736      737       +1     
+ Partials       92       90       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nishu-murmu nishu-murmu changed the title chore(docs): showing deprecation warning for url import feature. chore(docs): showing deprecation warning for url import feature Jun 30, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2465

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2465

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2465

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2465

@wxt-dev/is-background

npm i https://pkg.pr.new/@wxt-dev/is-background@2465

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2465

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2465

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2465

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2465

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2465

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2465

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2465

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2465

wxt

npm i https://pkg.pr.new/wxt@2465

commit: 215bc5c

@nishu-murmu

Copy link
Copy Markdown
Collaborator Author

@aklinker1 Can I directly merge this PR?
I see an Enable auto-merge (squash) button, is this the way I can merge PRs in future?

@aklinker1 aklinker1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add a warning when the vite plugin sees a URL import?

handler(id) {
const url = id.replace('\0url:', '');
return fetchCached(url, config);
},

That way people using it get a warning in dev mode and during builds.

Comment thread docs/guide/essentials/remote-code.md Outdated
@aklinker1

Copy link
Copy Markdown
Member

You shouldn't be able to merge your own PRs, an approval from someone other than the author is required.

You can enable auto-merge, that way when it gets approved it's merged immediately after all checks are passing and it has approval.

@nishu-murmu nishu-murmu enabled auto-merge (squash) July 1, 2026 06:53
@PatrykKuniczak

Copy link
Copy Markdown
Collaborator

@nishu-murmu If you write closes #2262 in description, the issue will be closed immediately after this PR will be merged.

@PatrykKuniczak

Copy link
Copy Markdown
Collaborator

@nishu-murmu If you're eager, you can join us on Discord

Comment thread packages/wxt/src/core/builders/vite/plugins/download.ts Outdated
@aklinker1 aklinker1 changed the title chore(docs): showing deprecation warning for url import feature fix: Deprecate the url: import feature Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/wxt Includes changes to the `packages/wxt` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the url: import feature

3 participants