1
2# Distributed Data Management Subsystem Changelog
3
4## cl.distributeddatamgr.1 Change of the Parameters in data.DistributedObject.on
5
6**Change Impact**
7
8The change has no impact on applications.
9
10**Key API/Component Changes**
11
12Changed the parameters of two **on()** methods.
13
14Before change:
15
16 ```ts
17 on(type: 'change', callback: Callback<{ sessionId: string, fields: Array<string> }>): void;
18 on(
19   type: 'status',
20   callback: Callback<{ sessionId: string, networkId: string, status: 'online' | 'offline' }>
21 ): void;
22
23 ```
24
25After change:
26
27 ```ts
28 on(type: 'change', callback: (sessionId: string, fields: Array<string>) => void): void;
29 on(
30    type: 'status',
31    callback: (sessionId: string, networkId: string, status: 'online' | 'offline' ) => void
32 ): void;
33 ```
34
35**Adaptation Guide**
36
37N/A.
38
39
40
41## cl.distributeddatamgr.2 Change of the Parameters in data.DistributedObject.off
42
43**Change Impact**
44
45The change has no impact on applications.
46
47**Key API/Component Changes**
48
49Changed the parameters of two **off()** methods.
50
51Before change:
52
53 ```ts
54off(type: 'change', callback?: Callback<{ sessionId: string, fields: Array<string> }>): void;
55off(
56  type: 'status',
57  callback?: Callback<{ sessionId: string, networkId: string, status: 'online' | 'offline' }>
58): void;
59
60 ```
61
62After change:
63
64 ```ts
65off(type: 'change', callback?: (sessionId: string, fields: Array<string>) => void): void;
66off(
67   type: 'status',
68   callback?: (sessionId: string, networkId: string, status: 'online' | 'offline' ) => void
69): void;
70 ```
71
72**Adaptation Guide**
73
74N/A.
75
76
77
78## cl.distributeddatamgr.3 Change of Parameters in data.DataObject.on
79
80**Change Impact**
81
82The change has no impact on applications.
83
84**Key API/Component Changes**
85
86Changed the parameters of two **on()** methods.
87
88Before change:
89
90 ```ts
91on(type: 'change', callback: Callback<{ sessionId: string, fields: Array<string> }>): void;
92on(
93  type: 'status',
94  callback: Callback<{ sessionId: string, networkId: string, status: 'online' | 'offline' }>
95): void;
96
97 ```
98
99After change:
100
101 ```ts
102on(type: 'change', callback: (sessionId: string, fields: Array<string>) => void): void;
103on(
104   type: 'status',
105   callback: (sessionId: string, networkId: string, status: 'online' | 'offline' ) => void
106): void;
107 ```
108
109**Adaptation Guide**
110
111N/A.
112
113
114
115## cl.distributeddatamgr.4 Change of Parameters in data.DataObject.off
116
117**Change Impact**
118
119The change has no impact on applications.
120
121**Key API/Component Changes**
122
123Changed the parameters of two **off()** methods.
124
125Before change:
126
127 ```ts
128off(type: 'change', callback?: Callback<{ sessionId: string, fields: Array<string> }>): void;
129off(
130  type: 'status',
131  callback?: Callback<{ sessionId: string, networkId: string, status: 'online' | 'offline' }>
132): void;
133
134 ```
135
136After change:
137
138 ```ts
139off(type: 'change', callback?: (sessionId: string, fields: Array<string>) => void): void;
140off(
141   type: 'status',
142   callback?: (sessionId: string, networkId: string, status: 'online' | 'offline' ) => void
143): void;
144 ```
145
146**Adaptation Guide**
147
148N/A.
149
150
151
152## cl.distributeddatamgr.5 Change of Parameters in data.preferences.on
153
154**Change Impact**
155
156The change has no impact on applications.
157
158**Key API/Component Changes**
159
160Before change:
161
162 ```ts
163on(type: 'multiProcessChange', callback: Callback<{ key : string }>): void
164on(type: 'change', callback: Callback<{ key : string }>): void
165 ```
166
167After change:
168
169 ```ts
170on(type: 'multiProcessChange', callback: ( key : string ) => void): void
171on(type: 'change', callback: ( key : string ) => void): void
172 ```
173
174**Adaptation Guide**
175
176N/A.
177
178
179
180## cl.distributeddatamgr.6 Change of Parameters in data.preferences.off
181
182**Change Impact**
183
184The change has no impact on applications.
185
186**Key API/Component Changes**
187
188Before change:
189
190 ```ts
191off(type: 'multiProcessChange', callback?: Callback<{ key : string }>): void
192off(type: 'change', callback?: Callback<{ key : string }>): void
193 ```
194
195After change:
196
197 ```ts
198off(type: 'multiProcessChange', callback?: ( key : string ) => void): void
199off(type: 'change', callback?: ( key : string ) => void): void
200 ```
201
202**Adaptation Guide**
203
204N/A.
205