Skip to main content

支持政策

社区维护

¥Community Maintenance

Ionic 框架从一开始就是 100% 开源 (MIT),并且永远都是。开发者可以通过 Ionic 的社区维护策略确保 Ionic 是其跨平台应用的正确选择。Ionic 团队定期发布新版本、修复错误,并且非常欢迎社区拉取请求。

¥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 日TBDTBD
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 日
  • 维护:仅修复严重错误和安全问题。没有重大功能改进。

    ¥Maintenance: Only critical bug and security fixes. No major feature improvements.

  • 扩展支持:对于需要额外长期维护支持的团队和组织,Ionic 提供了扩展支持选项。要了解更多信息,请参阅我们的 企业产品

    ¥Extended Support: For teams and organizations that require additional long term maintenance support, Ionic has extended support options available. To learn more, see our Enterprise offerings.

兼容性建议

¥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

框架最小角度版本最大角度版本TypeScript
v8v16v17.x4.9.3+
v7v14v17.x14.6+
v6v12v15.x24.0+
v5v8.2v12.x3.5+
v4v8.2v11.x3.5+
v3v5.2.11v5.2.112.6.2

旧版 iOS 上的 Angular 13+ 支持

¥Angular 13+ Support On Older Versions of iOS

Angular 对 iOS 的支持政策是最新的两个主要版本。这意味着可能需要对 Angular 项目进行更改才能在 iOS 13 上使用 Ionic Angular v4-v6。为了支持 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

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

Ionic 视觉

¥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 的最新版本。

    ¥As iOS and Android (and related tools) are updated, you can expect more updates for Cordova and Capacitor, so it is recommended to stay on the latest version(s) of Cordova and Capacitor.

Ionic 平台和产品

¥Ionic Platform & Products

框架应用流程Ionic Native Premier 插件*
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 原生社区插件*
V5 - Angular@ionic/angular 5.X@awesome-cordova-plugins 5.X
V5 - React目前不支持@awesome-cordova-plugins 5.X*
V4 - Angular@ionic/angular 5.X@awesome-cordova-plugins 5.X
V4 - React目前不支持@awesome-cordova-plugins 5.X*
V3目前不支持@awesome-cordova-plugins 4.X
  • 封装器(及其相关插件)由社区维护。

    ¥Wrappers (and their associated plugins) are community maintained.

  • *可以使用 原生 JavaScript 实现 实现对 Ionic Native 和 @ionic/react 的 Cordova 插件支持

    ¥*Cordova plugin support with Ionic Native and @ionic/react can be achieved using the vanilla JavaScript implementation

Footnotes

  1. 从 Ionic v7.5.4 开始支持 Angular 17.x。

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

  2. 从 Ionic v6.1.9 开始支持 Angular 14.x。从 Ionic v6.3.6 开始支持 Angular 15.x。

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