Repository navigation
fix: Deprecated useAppConfig in favour of getAppConfig - #2487
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Updated logger usage to use wxt.logger instead of logger.
nishu-murmu
left a comment
There was a problem hiding this comment.
@fkatsuhiro
Use wxt logger instead of consola logger.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2487 +/- ##
==========================================
+ Coverage 79.32% 79.46% +0.13%
==========================================
Files 134 134
Lines 4005 4007 +2
Branches 910 911 +1
==========================================
+ Hits 3177 3184 +7
+ Misses 737 732 -5
Partials 91 91 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Thank you for your revewing and updating! |
aklinker1
left a comment
There was a problem hiding this comment.
Checks are failing because we imported the wxt object into a runtime API. For runtime warnings, use console.warn("[wxt] ...").
useAppConfig in favour of getAppConfig
@wxt-dev/analytics
@wxt-dev/auto-icons
@wxt-dev/browser
@wxt-dev/i18n
@wxt-dev/is-background
@wxt-dev/module-react
@wxt-dev/module-solid
@wxt-dev/module-svelte
@wxt-dev/module-vue
@wxt-dev/runner
@wxt-dev/storage
@wxt-dev/unocss
@wxt-dev/webextension-polyfill
wxt
commit: |
|
Thanks for helping make WXT better! |
Overview
Follow up to #1911. This PR marks the old
useAppConfigfunction as deprecated to prepare for its complete removal in v1.0.Since
getAppConfighas already been introduced as an alias in #2144, this change ensures users are properly warned to migrate their code before the v1.0 major release.@deprecatedJSDoc tag touseAppConfigto display linting warnings and strikethroughs in IDEs.console.warn(omitted in production environments).Manual Testing
Related Issue
This PR fixes #2145