1e41f4b71Sopenharmony_ci# ArkUI Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.arkui.1 Method Name Changes in NavPathStack 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci**Key API/Component Changes** 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci[NavPathStack](../../../application-dev/reference/arkui-ts/ts-basic-components-navigation.md#navpathstack10) 8e41f4b71Sopenharmony_ci| Before Change | After Change | 9e41f4b71Sopenharmony_ci| ---- | ---- | 10e41f4b71Sopenharmony_ci| push | pushPath | 11e41f4b71Sopenharmony_ci| pushName | pushNameByPath | 12e41f4b71Sopenharmony_ci| popTo| PopToName | 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci**Change Impact** 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ciAfter the SDK is updated to 4.0.10.x, if any of the old method names is used in the code, a compilation error will be reported. 17e41f4b71Sopenharmony_ciProperty 'push' does not exist on type 'NavPathStack'. 18e41f4b71Sopenharmony_ciProperty 'pushName' does not exist on type 'NavPathStack'. 19e41f4b71Sopenharmony_ciProperty 'pop' does not exist on type 'NavPathStack'. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**Adaptation Guide** 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ciUpdate the code to use the new method names. 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci```ts 26e41f4b71Sopenharmony_cinavPathStack = new NavPathStack(); 27e41f4b71Sopenharmony_cithis.navPathStack.push(...) 28e41f4b71Sopenharmony_cithis.navPathStack.pushPath(...) 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_cithis.navPathStack.pushName('navidesnation_add',this.value) 31e41f4b71Sopenharmony_cithis.navPathStack.pushPathByName('navidesnation_add',this.value) 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_cithis.navPathStack.pop('navidesnation_add') 34e41f4b71Sopenharmony_cithis.navPathStack.popToName('navidesnation_add') 35e41f4b71Sopenharmony_ci``` 36