Skip to main content

支持政策

社区维护

🌐 Community Maintenance

Ionic 框架自一开始就完全开源(MIT 许可证),并且将永远保持开源。开发者可以通过 Ionic 的社区维护策略来确保 Ionic 是他们跨平台应用的正确选择。Ionic 团队会定期发布新版本、修复 bug,并且非常欢迎社区的拉取请求。

🌐 The Ionic Framework has been 100% open source (MIT) since the very beginning, and always will be. Developers can ensure Ionic is the right choice for their cross-platform apps through Ionic’s community maintenance strategy. The Ionic team regularly ships new releases, bug fixes, and is very welcoming to community pull requests.

框架维护和支持状态

🌐 Framework Maintenance and Support Status

鉴于时间和资源的限制以及希望在前端开发字段持续创新的现实,随着时间的推移,Ionic 团队需要将重点转向框架的新版本。然而,Ionic 将尽一切努力使向新版本的过渡尽可能顺利。Ionic 团队建议更新到最新版本的 Ionic 框架,以获取最新功能、改进和稳定性更新。

🌐 Given the reality of time and resource constraints as well as the desire to keep innovating in the frontend development space, over time it becomes necessary for the Ionic team to shift focus to newer versions of the Framework. However, Ionic will do everything it can to make the transition to newer versions as smooth as possible. The Ionic team recommends updating to the newest version of the Ionic Framework for the latest features, improvements and stability updates.

每个 Ionic Framework 版本的当前状态是:

🌐 The current status of each Ionic Framework version is:

版本状态发布日期维护结束扩展支持结束
V8活跃2024年4月17日待定待定
V7支持结束2023年3月29日2024年10月17日2025年4月17日
V6支持结束2021年12月8日2023年9月29日2024年3月29日
V5支持结束2020年2月11日2022年6月8日2022年12月8日
V4支持结束2019年1月23日2020年8月11日2022年9月30日
V3支持结束2017年4月5日2019年10月30日2020年8月11日
V2支持结束2017年1月25日2017年4月5日2017年4月5日
V1支持结束2015年5月12日2017年1月25日2017年1月25日
  • 维护:仅限关键错误和安全修复。不进行重大功能改进。
  • 扩展支持:对于需要额外长期维护支持的团队和组织,Ionic 提供扩展支持选项。要了解更多信息,请参阅我们的 企业产品

兼容性建议

🌐 Compatibility Recommendations

Ionic 团队整理了一套使用 Ionic 框架与其他上下文相关软件结合的建议。这并非一个全面的列表,但涵盖了许多常见的兼容性问题。Ionic 团队强烈建议每季度审查一次项目依赖,以跟踪新版本、功能和错误修复情况。

🌐 The Ionic team has compiled a set of recommendations for using the Ionic Framework in conjunction with other contextually-relevant software. This is not meant to be a comprehensive list, but covers many common compatibility questions. The Ionic team strongly recommends reviewing your project dependencies once each quarter to keep track of new releases, features and bug fixes.

核心依赖

🌐 Core Dependencies

Ionic Angular

框架最低 Angular 版本最高 Angular 版本TypeScript
v8v16v20.x14.9.3+
v7v14v17.x24.6+
v6v12v15.x34.0+
v5v8.2v12.x3.5+
v4v8.2v11.x3.5+
v3v5.2.11v5.2.112.6.2

在旧版本 iOS 上支持 Angular 13+

Angular 对 iOS 的支持策略是最近两个主要版本。这意味着在 iOS 13 上使用 Ionic Angular v4-v6 可能需要对你的 Angular 项目进行更改。要支持 iOS 13,请将 tsconfig.json 中 compilerOptions 指定的项目 target 更改为 es5。如果不进行此更改,iOS 13 上应用启动时将出现 Unexpected token '.' in promiseReactionJob 错误。

🌐 Angular's support policy for iOS is the two most recent major versions. This means that changes to your Angular project may be necessary to use Ionic Angular v4-v6 on iOS 13. To support iOS 13, change the project target specified in compilerOptions in the tsconfig.json to es5. Without this change an error of Unexpected token '.' in promiseReactionJob will occur on app startup in iOS 13.

请注意,Ionic 的较新版本不支持 iOS 13;请参见此处的移动支持表

🌐 Note that later versions of Ionic do not support iOS 13; see mobile support table here.

Ionic React

框架所需 React 版本TypeScript
v8v17+3.7+
v7v17+3.7+
v6v17+3.7+
v5v16.8+3.7+
v4v16.8+3.7+

Ionic Vue

框架所需 Vue 版本TypeScript
v8v3.0.6+3.9+
v7v3.0.6+3.9+
v6v3.0.6+3.9+
v5v3.0+3.9+

原生桥梁

🌐 Native Bridges

框架CordovaCapacitor
V5 - Angularcordova-android 8.X, cordova-ios 5.X最新 2.X
V5 - React不支持最新 2.X
V5 - Vue不支持最新 2.X
V4 - Angularcordova-android 8.X, cordova-ios 5.X最新 2.X
V4 - React不支持最新 2.X
V3cordova-android 8.X, cordova-ios 5.X官方不支持
  • 随着 iOS 和 Android(以及相关工具)的更新,你可以期待 Cordova 和 Capacitor 的更多更新,因此建议保留 Cordova 和 Capacitor 的最新版本。

Ionic 平台和产品

🌐 Ionic Platform & Products

框架AppflowIonic Native 高级插件*
V5 - Angular@ionic/angular 5.X使用最新版本
V5 - React@ionic/react 5.X使用最新版本
V4 - Angular@ionic/angular 4.X使用最新版本
V4 - React@ionic/react 4.X使用最新版本
V3ionic-angular 3.9.X使用最新版本;可能需要特殊配置

Ionic 平台和产品(续)

🌐 Ionic Platform & Products (Cont.)

框架Ionic 工作室Ionic Native 社区插件*
V5 - 棱角“@ionic/angular” 5.X@awesome-cordova-plugins 5.X
V5 - React目前不支持@awesome-cordova-plugins 5.X*
V4 - 棱角'@ionic/angular' 5.X@awesome-cordova-plugins 5.X
V4 - React目前不支持@awesome-cordova-plugins 5.X*
V3目前不支持@awesome-cordova-plugins 4.X
  • 封装器(及其相关插件)由社区维护。
  • *可以使用 vanilla JavaScript 实现 来通过 Ionic Native 和 @ionic/react 实现 Cordova 插件支持

Footnotes

  1. Angular 18.x supported starting in Ionic v8.2.0.

  2. Angular 17.x supported starting in Ionic v7.5.4.

  3. Angular 14.x supported starting in Ionic v6.1.9. Angular 15.x supported starting in Ionic v6.3.6.