1# ArkUI Subsystem Changelog
2
3## cl.arkui.1 Method Name Changes in NavPathStack
4
5**Key API/Component Changes**
6
7[NavPathStack](../../../application-dev/reference/arkui-ts/ts-basic-components-navigation.md#navpathstack10)
8|  Before Change  | After Change |
9|  ----  | ----  |
10| push  | pushPath |
11| pushName  | pushNameByPath |
12| popTo| PopToName |
13
14**Change Impact**
15
16After 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.
17Property 'push' does not exist on type 'NavPathStack'.
18Property 'pushName' does not exist on type 'NavPathStack'.
19Property 'pop' does not exist on type 'NavPathStack'.
20
21**Adaptation Guide**
22
23Update the code to use the new method names.
24
25```ts
26navPathStack = new NavPathStack();
27this.navPathStack.push(...)
28this.navPathStack.pushPath(...)
29
30this.navPathStack.pushName('navidesnation_add',this.value)
31this.navPathStack.pushPathByName('navidesnation_add',this.value)
32
33this.navPathStack.pop('navidesnation_add')
34this.navPathStack.popToName('navidesnation_add')
35```
36