Migrate Framework7 from v1.7.1 to v8.3.4 #1561
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR migrates the project from Framework7 v1.7.1 (released in 2018) to the latest version v8.3.4 (released in September 2024), bringing modern ES module support and updated APIs.
Changes Made
Package Updates
framework7dependency from1.7.1to8.3.45.0.5Code Modernization
ES Module Support (
src/Scripts/framework7.ts):CSS Import Updates (
src/Scripts/ui/newMobilePaneIosFrame.ts):API Modernization:
addView()calls as views auto-initialize in v8)app.hidePreloader()/app.showPreloader()toapp.preloader.hide()/app.preloader.show()app.showProgressbar()toapp.progressbar.show()app.alert()toapp.dialog.alert()Benefits
Testing
Breaking Changes
None for end users. This is an internal dependency upgrade that maintains the same user-facing functionality while using the modernized Framework7 v8 APIs under the hood.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
js.monitor.azure.com/usr/local/bin/node /home/REDACTED/work/MHA/MHA/node_modules/jest-REDACTED/node_modules/jest-worker/build/processChild.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.