1e41f4b71Sopenharmony_ci# ArkCompiler Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.ArkCompiler.1 Change of Default Compiler to es2abc in Type Compilation 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ciIn the SDK, ArkCompiler has two compilers that support ets/ts/js compilation: ts2abc compiler and es2abc compiler. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ciIntroduction to compilation modes: 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci- Non-type compilation: converts ArkTS/TS source code into JS source code, and uses the ArkCompiler compiler es2abc to generate bytecode. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci- Type compilation: converts ArkTS/TS source code into TS source code, and uses the ArkCompiler compiler ts2abc (in earlier versions)/es2abc (enabled in this version) to generate bytecode. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ciYou can check the hvigor version of the application project in the following fields: 14e41f4b71Sopenharmony_ci**hvigorVersion** field and **@ohos/hvigor-ohos-plugin** field under **dependencies** in the **hvigor-config.json5** file in the **hvigor** directory of the application project 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ciEnable type compilation: 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ciIf the hvigor version is 2.6.0-rc.9.s or later, the type compilation mode is enabled by default. You can also manually enable this mode by setting **aotCompileMode** to **type** under the **buildOption** tag in the **build-profile.json5** file at the same level directory as the application source code (**src** directory). 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ciWhen type compilation is enabled and the SDK of this version is used, the ArkCompiler compiler es2abc is used by default. The earlier version SDK with ts2abc enabled is not recommended for type compilation. 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci**Change Impact** 23e41f4b71Sopenharmony_ciIn DevEco Studio, when the type compilation mode is enabled and the SDK of this version is used, the change in the compilation mode and ArkCompiler compiler may result in application compilation failures and runtime crashes. 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci**Key API/Component Changes** 26e41f4b71Sopenharmony_ciIn type compilation mode, the ArkCompiler compiler es2abc is used by default. 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci**Adaptation Guide** 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_ciIf the hvigor version is 2.6.0-rc.9.s or later, to switch to the original compilation mode (non-type), you need to set **aotCompileMode** in the **build-profile.json5** file.