@atlaskit/analytics-next 9.3.0 → 9.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +325 -133
- package/afm-jira/tsconfig.json +25 -0
- package/dist/types/components/AnalyticsContext/LegacyAnalyticsContext.d.ts +1 -1
- package/dist/types/components/AnalyticsContext/ModernAnalyticsContext.d.ts +1 -1
- package/dist/types/components/AnalyticsContext/index.d.ts +1 -1
- package/dist/types/components/AnalyticsContext/types.d.ts +1 -1
- package/dist/types/components/AnalyticsErrorBoundary.d.ts +2 -2
- package/dist/types/components/AnalyticsListener/LegacyAnalyticsListener.d.ts +2 -2
- package/dist/types/components/AnalyticsListener/ModernAnalyticsListener.d.ts +1 -1
- package/dist/types/components/AnalyticsListener/index.d.ts +1 -1
- package/dist/types/components/AnalyticsListener/types.d.ts +2 -2
- package/dist/types/events/UIAnalyticsEvent.d.ts +1 -1
- package/dist/types/hocs/withAnalyticsEvents.d.ts +1 -1
- package/dist/types/hooks/useAnalyticsContext.d.ts +1 -1
- package/dist/types/hooks/useAnalyticsEvents.d.ts +1 -1
- package/dist/types/hooks/usePatchedProps.d.ts +1 -1
- package/dist/types/hooks/usePlatformLeafEventHandler.d.ts +1 -1
- package/dist/types/hooks/usePlatformLeafSyntheticEventHandler.d.ts +1 -1
- package/dist/types/hooks/useTrackedRef.d.ts +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/types.d.ts +2 -2
- package/dist/types/utils/createAndFireEvent.d.ts +2 -2
- package/dist/types-ts4.5/components/AnalyticsContext/LegacyAnalyticsContext.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsContext/ModernAnalyticsContext.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsContext/index.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsContext/types.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsErrorBoundary.d.ts +2 -2
- package/dist/types-ts4.5/components/AnalyticsListener/LegacyAnalyticsListener.d.ts +2 -2
- package/dist/types-ts4.5/components/AnalyticsListener/ModernAnalyticsListener.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsListener/index.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsListener/types.d.ts +2 -2
- package/dist/types-ts4.5/events/UIAnalyticsEvent.d.ts +1 -1
- package/dist/types-ts4.5/hocs/withAnalyticsEvents.d.ts +1 -1
- package/dist/types-ts4.5/hooks/useAnalyticsContext.d.ts +1 -1
- package/dist/types-ts4.5/hooks/useAnalyticsEvents.d.ts +1 -1
- package/dist/types-ts4.5/hooks/usePatchedProps.d.ts +1 -1
- package/dist/types-ts4.5/hooks/usePlatformLeafEventHandler.d.ts +1 -1
- package/dist/types-ts4.5/hooks/usePlatformLeafSyntheticEventHandler.d.ts +1 -1
- package/dist/types-ts4.5/hooks/useTrackedRef.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +4 -4
- package/dist/types-ts4.5/types.d.ts +2 -2
- package/dist/types-ts4.5/utils/createAndFireEvent.d.ts +2 -2
- package/docs/0-intro.tsx +17 -17
- package/docs/20-usage-with-presentational-components.tsx +38 -39
- package/docs/40-listeners.tsx +5 -5
- package/docs/50-error-boundary.tsx +5 -5
- package/docs/70-advanced-usage.tsx +21 -21
- package/package.json +98 -100
- package/report.api.md +115 -125
package/CHANGELOG.md
CHANGED
|
@@ -1,194 +1,269 @@
|
|
|
1
1
|
# @atlaskit/analytics-next
|
|
2
2
|
|
|
3
|
+
## 9.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 9.3.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
6
12
|
|
|
7
|
-
- [#92779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92779)
|
|
13
|
+
- [#92779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92779)
|
|
14
|
+
[`3aa3cd8db606`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3aa3cd8db606) -
|
|
15
|
+
Improve compatibility with React 18
|
|
8
16
|
|
|
9
17
|
## 9.2.3
|
|
10
18
|
|
|
11
19
|
### Patch Changes
|
|
12
20
|
|
|
13
|
-
- [#87314](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87314)
|
|
21
|
+
- [#87314](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87314)
|
|
22
|
+
[`36ccb66917fb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/36ccb66917fb) -
|
|
23
|
+
Fix a bug in ModernAnalyticsContext when it's bit late to update data in new React context when
|
|
24
|
+
mounting a component
|
|
14
25
|
|
|
15
26
|
## 9.2.2
|
|
16
27
|
|
|
17
28
|
### Patch Changes
|
|
18
29
|
|
|
19
|
-
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
30
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
31
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
32
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
20
33
|
|
|
21
34
|
## 9.2.1
|
|
22
35
|
|
|
23
36
|
### Patch Changes
|
|
24
37
|
|
|
25
|
-
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
|
|
38
|
+
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
|
|
39
|
+
[`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
|
|
40
|
+
Update usage of `React.FC` to explicity include `children`
|
|
26
41
|
|
|
27
42
|
## 9.2.0
|
|
28
43
|
|
|
29
44
|
### Minor Changes
|
|
30
45
|
|
|
31
|
-
- [#69804](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69804)
|
|
46
|
+
- [#69804](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69804)
|
|
47
|
+
[`0443b2194bd9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0443b2194bd9) -
|
|
48
|
+
Allow using modern react context via platform feature flags
|
|
32
49
|
|
|
33
50
|
## 9.1.4
|
|
34
51
|
|
|
35
52
|
### Patch Changes
|
|
36
53
|
|
|
37
|
-
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
|
|
54
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
|
|
55
|
+
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
|
|
56
|
+
version.json
|
|
38
57
|
|
|
39
58
|
## 9.1.3
|
|
40
59
|
|
|
41
60
|
### Patch Changes
|
|
42
61
|
|
|
43
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
62
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
63
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
64
|
+
legacy types are published for TS 4.5-4.8
|
|
44
65
|
|
|
45
66
|
## 9.1.2
|
|
46
67
|
|
|
47
68
|
### Patch Changes
|
|
48
69
|
|
|
49
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
70
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
71
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
72
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
50
73
|
|
|
51
74
|
## 9.1.1
|
|
52
75
|
|
|
53
76
|
### Patch Changes
|
|
54
77
|
|
|
55
|
-
- [#33292](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33292)
|
|
78
|
+
- [#33292](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33292)
|
|
79
|
+
[`7cc1e8f18ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7cc1e8f18ec) - Move
|
|
80
|
+
analytics-next to maintenance mode
|
|
56
81
|
|
|
57
82
|
## 9.1.0
|
|
58
83
|
|
|
59
84
|
### Minor Changes
|
|
60
85
|
|
|
61
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
86
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
87
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
88
|
+
minor dependency bump
|
|
62
89
|
|
|
63
90
|
## 9.0.2
|
|
64
91
|
|
|
65
92
|
### Patch Changes
|
|
66
93
|
|
|
67
|
-
- [#33013](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33013)
|
|
94
|
+
- [#33013](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33013)
|
|
95
|
+
[`7caf968e4cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7caf968e4cf) - Move
|
|
96
|
+
analytics-next to maintenance mode
|
|
68
97
|
|
|
69
98
|
## 9.0.1
|
|
70
99
|
|
|
71
100
|
### Patch Changes
|
|
72
101
|
|
|
73
|
-
- [#32312](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32312)
|
|
102
|
+
- [#32312](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32312)
|
|
103
|
+
[`fbff320b423`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbff320b423) - Move
|
|
104
|
+
package to continuous model and to push model consumption
|
|
74
105
|
|
|
75
106
|
## 9.0.0
|
|
76
107
|
|
|
77
108
|
### Major Changes
|
|
78
109
|
|
|
79
|
-
- [#29470](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29470)
|
|
110
|
+
- [#29470](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29470)
|
|
111
|
+
[`cf21f06ff72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf21f06ff72) - Bugfix,
|
|
112
|
+
removed sending event fn and deprecated AnalyticErrorBoundary
|
|
80
113
|
|
|
81
114
|
## 8.3.5
|
|
82
115
|
|
|
83
116
|
### Patch Changes
|
|
84
117
|
|
|
85
|
-
- [#26436](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26436)
|
|
118
|
+
- [#26436](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26436)
|
|
119
|
+
[`ccdc8e150f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccdc8e150f9) - AFO-771
|
|
120
|
+
Analytics next - fix node process check
|
|
86
121
|
|
|
87
122
|
## 8.3.4
|
|
88
123
|
|
|
89
124
|
### Patch Changes
|
|
90
125
|
|
|
91
|
-
- [#26220](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26220)
|
|
126
|
+
- [#26220](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26220)
|
|
127
|
+
[`2cbb787f8b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2cbb787f8b3) - AFO-711
|
|
128
|
+
Analytics-next: nullable check for context
|
|
92
129
|
|
|
93
130
|
## 8.3.3
|
|
94
131
|
|
|
95
132
|
### Patch Changes
|
|
96
133
|
|
|
97
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
134
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
135
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
136
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
98
137
|
|
|
99
138
|
## 8.3.2
|
|
100
139
|
|
|
101
140
|
### Patch Changes
|
|
102
141
|
|
|
103
|
-
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
142
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
143
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
144
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
104
145
|
|
|
105
146
|
## 8.3.1
|
|
106
147
|
|
|
107
148
|
### Patch Changes
|
|
108
149
|
|
|
109
|
-
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
150
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
151
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
152
|
+
to TypeScript 4.2.4
|
|
110
153
|
|
|
111
154
|
## 8.3.0
|
|
112
155
|
|
|
113
156
|
### Minor Changes
|
|
114
157
|
|
|
115
|
-
- [#14012](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14012)
|
|
158
|
+
- [#14012](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14012)
|
|
159
|
+
[`37fd554209e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37fd554209e) - Add
|
|
160
|
+
instance checks for analytics events in analytics-next. Update check in mpt-analytics for events
|
|
161
|
+
too.
|
|
116
162
|
|
|
117
163
|
## 8.2.1
|
|
118
164
|
|
|
119
165
|
### Patch Changes
|
|
120
166
|
|
|
121
|
-
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
167
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
168
|
+
[`a4420ad5104`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a4420ad5104) - Improves
|
|
169
|
+
referential stability of analytics-next wrapped callbacks
|
|
122
170
|
|
|
123
171
|
## 8.2.0
|
|
124
172
|
|
|
125
173
|
### Minor Changes
|
|
126
174
|
|
|
127
|
-
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
|
|
175
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
|
|
176
|
+
[`0dbf0427287`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0dbf0427287) - [ux]
|
|
177
|
+
Added new optional props to allow executing on catching error and rendering an error screen on
|
|
178
|
+
error
|
|
128
179
|
|
|
129
180
|
## 8.1.4
|
|
130
181
|
|
|
131
182
|
### Patch Changes
|
|
132
183
|
|
|
133
|
-
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
184
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
185
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
|
|
186
|
+
to development dependency `storybook-addon-performance`
|
|
134
187
|
|
|
135
188
|
## 8.1.3
|
|
136
189
|
|
|
137
190
|
### Patch Changes
|
|
138
191
|
|
|
139
|
-
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
|
|
192
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
|
|
193
|
+
[`5a9b102eef0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a9b102eef0) - Add
|
|
194
|
+
optional actionSubject parameter to usePlatformLeafHandlerHook
|
|
140
195
|
|
|
141
196
|
## 8.1.2
|
|
142
197
|
|
|
143
198
|
### Patch Changes
|
|
144
199
|
|
|
145
|
-
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
200
|
+
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
201
|
+
[`b290f591719`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b290f591719) - Add
|
|
202
|
+
process type check in analytics next
|
|
146
203
|
|
|
147
204
|
## 8.1.1
|
|
148
205
|
|
|
149
206
|
### Patch Changes
|
|
150
207
|
|
|
151
|
-
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
208
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
209
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
210
|
+
packages using babel rather than tsc
|
|
152
211
|
|
|
153
212
|
## 8.1.0
|
|
154
213
|
|
|
155
214
|
### Minor Changes
|
|
156
215
|
|
|
157
|
-
- [#5693](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5693)
|
|
216
|
+
- [#5693](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5693)
|
|
217
|
+
[`4eb71695b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eb71695b5) - Added
|
|
218
|
+
usePlatformLeafSyntheticEventHandler, which acts similarly to usePlatformLeafEventHandler but is
|
|
219
|
+
used for synthetic events where the event handler takes no `value` prop
|
|
158
220
|
|
|
159
221
|
## 8.0.2
|
|
160
222
|
|
|
161
223
|
### Patch Changes
|
|
162
224
|
|
|
163
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
164
|
-
|
|
165
|
-
|
|
225
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
226
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
227
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
228
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
229
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
230
|
+
`devDependencies` to denote version that the package was built with.
|
|
166
231
|
|
|
167
232
|
## 8.0.1
|
|
168
233
|
|
|
169
234
|
### Patch Changes
|
|
170
235
|
|
|
171
|
-
- [#5412](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5412)
|
|
236
|
+
- [#5412](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5412)
|
|
237
|
+
[`b6af9198dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6af9198dd) -
|
|
238
|
+
Restructure back to original lite mode file structure
|
|
172
239
|
|
|
173
240
|
## 8.0.0
|
|
174
241
|
|
|
175
242
|
### Major Changes
|
|
176
243
|
|
|
177
|
-
- [#5344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5344)
|
|
244
|
+
- [#5344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5344)
|
|
245
|
+
[`b485472340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b485472340) - Export
|
|
246
|
+
WithContextProps type to prevent deep import path references in dependent packages declaration
|
|
247
|
+
output.
|
|
178
248
|
|
|
179
|
-
Released as a major to prevent existing Atlaskit dependencies that use analytics-next from
|
|
249
|
+
Released as a major to prevent existing Atlaskit dependencies that use analytics-next from
|
|
250
|
+
breaking when analytics-next file structure changes in the future.
|
|
180
251
|
|
|
181
252
|
## 7.1.1
|
|
182
253
|
|
|
183
254
|
### Patch Changes
|
|
184
255
|
|
|
185
|
-
- [#5164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5164)
|
|
256
|
+
- [#5164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5164)
|
|
257
|
+
[`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo
|
|
258
|
+
analytics-next file restructure to allow external ts definitions to continue working
|
|
186
259
|
|
|
187
260
|
## 7.1.0
|
|
188
261
|
|
|
189
262
|
### Minor Changes
|
|
190
263
|
|
|
191
|
-
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
264
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
265
|
+
[`0e2a914932`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e2a914932) - ###
|
|
266
|
+
Additions
|
|
192
267
|
|
|
193
268
|
- Added a new hook `useAnalyticsEventHandler` for sole use in Atlaskit components
|
|
194
269
|
|
|
@@ -213,40 +288,50 @@
|
|
|
213
288
|
|
|
214
289
|
### IMPORTANT: Note on React Context changes
|
|
215
290
|
|
|
216
|
-
(Legacy React context)[https://reactjs.org/docs/legacy-context.html] will be removed in a future
|
|
291
|
+
(Legacy React context)[https://reactjs.org/docs/legacy-context.html] will be removed in a future
|
|
292
|
+
version of React.
|
|
217
293
|
|
|
218
|
-
In addition its presence can be (problematic for
|
|
294
|
+
In addition its presence can be (problematic for
|
|
295
|
+
performance)[https://twitter.com/dan_abramov/status/1064559184010723330].
|
|
219
296
|
|
|
220
|
-
As a result, we have taken steps to migrate away from it and use the new (React Context
|
|
297
|
+
As a result, we have taken steps to migrate away from it and use the new (React Context
|
|
298
|
+
API)[https://reactjs.org/docs/context.html].
|
|
221
299
|
|
|
222
300
|
To achieve this we are rolling the drop out in 2 phases:
|
|
223
301
|
|
|
224
302
|
#### Phase I (this release)
|
|
225
303
|
|
|
226
|
-
We have changed analytics components to receive modern context. Listeners and the Context layer
|
|
304
|
+
We have changed analytics components to receive modern context. Listeners and the Context layer
|
|
305
|
+
will provide both modern and legacy context by default.
|
|
227
306
|
|
|
228
|
-
At their own risk, package consumers can opt in to no longer supply legacy context by using the
|
|
229
|
-
ANALYTICS_NEXT_MODERN_CONTEXT=true.
|
|
307
|
+
At their own risk, package consumers can opt in to no longer supply legacy context by using the
|
|
308
|
+
environment variable ANALYTICS_NEXT_MODERN_CONTEXT=true.
|
|
230
309
|
|
|
231
|
-
When doing so, any analytics consumers that rely on legacy context will not receive any, and
|
|
310
|
+
When doing so, any analytics consumers that rely on legacy context will not receive any, and
|
|
311
|
+
events may be lost! This would happen when using old atlaskit packages that consume a version of
|
|
312
|
+
@atlaskit/analytics-next before this version.
|
|
232
313
|
|
|
233
314
|
#### Phase II (future major)
|
|
234
315
|
|
|
235
|
-
In a future release (TBA) we will remove all legacy context support and clean up the branching
|
|
236
|
-
After this point, @atlaskit/analytics-next will not work
|
|
316
|
+
In a future release (TBA) we will remove all legacy context support and clean up the branching
|
|
317
|
+
around ANALYTICS_NEXT_MODERN_CONTEXT. After this point, @atlaskit/analytics-next will not work
|
|
318
|
+
with components that use a version prior to this one.
|
|
237
319
|
|
|
238
320
|
### Patch Changes
|
|
239
321
|
|
|
240
|
-
- [`967279b3f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/967279b3f8) - Fix for
|
|
322
|
+
- [`967279b3f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/967279b3f8) - Fix for
|
|
323
|
+
type names that ship with new hook
|
|
241
324
|
|
|
242
325
|
## 7.0.3
|
|
243
326
|
|
|
244
327
|
### Patch Changes
|
|
245
328
|
|
|
246
|
-
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
329
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
330
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
331
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
247
332
|
|
|
248
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
249
|
-
to prevent duplicates of tslib being bundled.
|
|
333
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
334
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
250
335
|
|
|
251
336
|
- Updated dependencies
|
|
252
337
|
|
|
@@ -254,20 +339,28 @@
|
|
|
254
339
|
|
|
255
340
|
### Patch Changes
|
|
256
341
|
|
|
257
|
-
- [#4344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4344)
|
|
342
|
+
- [#4344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4344)
|
|
343
|
+
[`723a322186`](https://bitbucket.org/atlassian/atlassian-frontend/commits/723a322186) - Hotfix to
|
|
344
|
+
have a stable react context across multiple versions of @atlaskit/analytics-next
|
|
258
345
|
|
|
259
346
|
## 7.0.1
|
|
260
347
|
|
|
261
348
|
### Patch Changes
|
|
262
349
|
|
|
263
|
-
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
350
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
351
|
+
[`bff2f273bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bff2f273bf) -
|
|
352
|
+
useAnalyticsEvents will no longer log errors when used without an AnalyticsListerner or
|
|
353
|
+
AnalyticsContext
|
|
264
354
|
|
|
265
355
|
## 7.0.0
|
|
266
356
|
|
|
267
357
|
### Major Changes
|
|
268
358
|
|
|
269
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
270
|
-
|
|
359
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
360
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
361
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
362
|
+
IE11. For more information see:
|
|
363
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
271
364
|
|
|
272
365
|
## 6.3.6
|
|
273
366
|
|
|
@@ -275,9 +368,12 @@
|
|
|
275
368
|
|
|
276
369
|
- [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
277
370
|
|
|
278
|
-
Deletes internal package @atlaskit/type-helpers and removes all usages. @atlaskit/type-helpers has
|
|
371
|
+
Deletes internal package @atlaskit/type-helpers and removes all usages. @atlaskit/type-helpers has
|
|
372
|
+
been superseded by native typescript helper utilities.- Updated dependencies
|
|
373
|
+
[168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
|
|
279
374
|
|
|
280
|
-
- Updated dependencies
|
|
375
|
+
- Updated dependencies
|
|
376
|
+
[109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
281
377
|
- @atlaskit/docs@8.5.1
|
|
282
378
|
- @atlaskit/button@13.3.10
|
|
283
379
|
|
|
@@ -287,7 +383,8 @@
|
|
|
287
383
|
|
|
288
384
|
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
289
385
|
|
|
290
|
-
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
386
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
387
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
291
388
|
|
|
292
389
|
- @atlaskit/docs@8.3.2
|
|
293
390
|
- @atlaskit/button@13.3.7
|
|
@@ -308,9 +405,11 @@
|
|
|
308
405
|
|
|
309
406
|
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
310
407
|
|
|
311
|
-
Fixes useAnalyticsEvents() not having a stable function reference.-
|
|
408
|
+
Fixes useAnalyticsEvents() not having a stable function reference.-
|
|
409
|
+
[patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
312
410
|
|
|
313
|
-
Fixes data type to Object- Updated dependencies
|
|
411
|
+
Fixes data type to Object- Updated dependencies
|
|
412
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
314
413
|
|
|
315
414
|
- @atlaskit/field-text@9.0.14
|
|
316
415
|
|
|
@@ -336,7 +435,9 @@
|
|
|
336
435
|
|
|
337
436
|
- [minor][2252a7a999](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2252a7a999):
|
|
338
437
|
|
|
339
|
-
Bug fix for using the hook with nested contexts, performance improvements, new
|
|
438
|
+
Bug fix for using the hook with nested contexts, performance improvements, new
|
|
439
|
+
`useAnalyticsEventsCallback` hook to provide a performance enhanced-abstraction for firing events
|
|
440
|
+
with a callback.
|
|
340
441
|
|
|
341
442
|
## 6.2.0
|
|
342
443
|
|
|
@@ -344,7 +445,11 @@
|
|
|
344
445
|
|
|
345
446
|
- [minor][42fd897e16](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/42fd897e16):
|
|
346
447
|
|
|
347
|
-
- Introduces a new custom React hook, `useAnalyticsEvents_experimental`, for creating analytics
|
|
448
|
+
- Introduces a new custom React hook, `useAnalyticsEvents_experimental`, for creating analytics
|
|
449
|
+
events within functional components. This hook replaces the need for the `withAnalyticsEvents`
|
|
450
|
+
HOC. See the
|
|
451
|
+
[Reference documentation](https://atlaskit.atlassian.com/packages/core/analytics-next/docs/reference)
|
|
452
|
+
for details on how to use this new hook.
|
|
348
453
|
|
|
349
454
|
## 6.1.0
|
|
350
455
|
|
|
@@ -363,7 +468,8 @@
|
|
|
363
468
|
|
|
364
469
|
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
365
470
|
|
|
366
|
-
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
471
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
472
|
+
non-relative imports as relative imports
|
|
367
473
|
|
|
368
474
|
## 6.0.2
|
|
369
475
|
|
|
@@ -387,7 +493,8 @@
|
|
|
387
493
|
|
|
388
494
|
- [major][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
389
495
|
|
|
390
|
-
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
|
|
496
|
+
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
|
|
497
|
+
safety. Flow types are no longer provided. No behavioural changes.
|
|
391
498
|
|
|
392
499
|
**Breaking changes**
|
|
393
500
|
|
|
@@ -396,11 +503,16 @@
|
|
|
396
503
|
|
|
397
504
|
**Breaking changes to TypeScript annotations**
|
|
398
505
|
|
|
399
|
-
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
400
|
-
|
|
401
|
-
-
|
|
402
|
-
|
|
403
|
-
- Type `
|
|
506
|
+
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
507
|
+
props as a generic type.
|
|
508
|
+
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
509
|
+
props as a generic type.
|
|
510
|
+
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source
|
|
511
|
+
code
|
|
512
|
+
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
|
|
513
|
+
source code
|
|
514
|
+
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match
|
|
515
|
+
source code
|
|
404
516
|
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
|
|
405
517
|
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
|
|
406
518
|
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
|
|
@@ -460,7 +572,9 @@
|
|
|
460
572
|
Notes on new API:
|
|
461
573
|
|
|
462
574
|
- Plug-and-play component. As soon and it's wrapping a component it's fully integrated.
|
|
463
|
-
- It has Analytics context and events integrated already. Keep in mind it requires
|
|
575
|
+
- It has Analytics context and events integrated already. Keep in mind it requires
|
|
576
|
+
`AnalyticsListener` as a top level component to work properly, otherwise it won't trigger
|
|
577
|
+
analytics events.
|
|
464
578
|
|
|
465
579
|
## 5.3.1
|
|
466
580
|
|
|
@@ -508,7 +622,8 @@
|
|
|
508
622
|
|
|
509
623
|
- [patch][6ea9bb7873](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6ea9bb7873):
|
|
510
624
|
|
|
511
|
-
analytics-next now exports an ambient module declaration which resolves an issue with types being
|
|
625
|
+
analytics-next now exports an ambient module declaration which resolves an issue with types being
|
|
626
|
+
required via relative imports
|
|
512
627
|
|
|
513
628
|
## 5.1.0
|
|
514
629
|
|
|
@@ -516,7 +631,9 @@
|
|
|
516
631
|
|
|
517
632
|
- [minor][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
518
633
|
|
|
519
|
-
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props
|
|
634
|
+
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props
|
|
635
|
+
as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps
|
|
636
|
+
of the returned component.
|
|
520
637
|
|
|
521
638
|
Before:
|
|
522
639
|
|
|
@@ -550,13 +667,15 @@
|
|
|
550
667
|
|
|
551
668
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
552
669
|
|
|
553
|
-
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
670
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
671
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
554
672
|
|
|
555
673
|
## 4.0.5
|
|
556
674
|
|
|
557
675
|
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
558
676
|
|
|
559
|
-
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
|
|
677
|
+
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
|
|
678
|
+
supplied from itself.
|
|
560
679
|
|
|
561
680
|
## 4.0.4
|
|
562
681
|
|
|
@@ -566,7 +685,8 @@
|
|
|
566
685
|
|
|
567
686
|
## 4.0.3
|
|
568
687
|
|
|
569
|
-
- Updated dependencies
|
|
688
|
+
- Updated dependencies
|
|
689
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
570
690
|
- @atlaskit/docs@7.0.2
|
|
571
691
|
- @atlaskit/field-text@8.0.2
|
|
572
692
|
- @atlaskit/button@12.0.0
|
|
@@ -579,7 +699,8 @@
|
|
|
579
699
|
|
|
580
700
|
## 4.0.1
|
|
581
701
|
|
|
582
|
-
- Updated dependencies
|
|
702
|
+
- Updated dependencies
|
|
703
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
583
704
|
- @atlaskit/docs@7.0.1
|
|
584
705
|
- @atlaskit/field-text@8.0.1
|
|
585
706
|
- @atlaskit/button@11.0.0
|
|
@@ -592,8 +713,9 @@
|
|
|
592
713
|
|
|
593
714
|
### Dropping CJS support in all @atlaskit packages
|
|
594
715
|
|
|
595
|
-
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
596
|
-
|
|
716
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
717
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
718
|
+
`import` and `export` declarations.
|
|
597
719
|
|
|
598
720
|
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
599
721
|
|
|
@@ -607,15 +729,26 @@
|
|
|
607
729
|
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
608
730
|
```
|
|
609
731
|
|
|
610
|
-
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
|
|
732
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
|
|
733
|
+
we have to worry about how consumers might be using things that aren't _actually_ supposed to be
|
|
734
|
+
used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
|
|
735
|
+
packages bundling all of theme, just to use a single color, especially in situations where tree
|
|
736
|
+
shaking fails.
|
|
611
737
|
|
|
612
|
-
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
738
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
739
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
740
|
+
internal dependencies.
|
|
613
741
|
|
|
614
|
-
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
742
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
743
|
+
environments.
|
|
615
744
|
|
|
616
|
-
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
745
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
746
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
747
|
+
saner API's and simpler package architecture.
|
|
617
748
|
|
|
618
|
-
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
749
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
750
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
751
|
+
external) if you have any questions or queries about this.
|
|
619
752
|
|
|
620
753
|
## 3.2.1
|
|
621
754
|
|
|
@@ -647,12 +780,17 @@
|
|
|
647
780
|
|
|
648
781
|
- [minor][cffeed0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cffeed0):
|
|
649
782
|
|
|
650
|
-
- Type `withAnalyticsEvents` and `withAnalyticsContext` HOCs so that they do not lose flow types
|
|
783
|
+
- Type `withAnalyticsEvents` and `withAnalyticsContext` HOCs so that they do not lose flow types
|
|
784
|
+
of the components they wrap when chained together.
|
|
651
785
|
|
|
652
|
-
This will fix flow types not flowing through all of the components that we have instrumented
|
|
653
|
-
|
|
786
|
+
This will fix flow types not flowing through all of the components that we have instrumented
|
|
787
|
+
with analytics as they are typically wrapped with both HOCs. To get flow types flowing through
|
|
788
|
+
your components again, upgrade them to the latest version and also update their
|
|
789
|
+
@atlaskit/analytics-next dependency to the latest version.
|
|
654
790
|
|
|
655
|
-
We also now export `AnalyticsContextWrappedComp` and `AnalyticsEventsWrappedComp` parameterised
|
|
791
|
+
We also now export `AnalyticsContextWrappedComp` and `AnalyticsEventsWrappedComp` parameterised
|
|
792
|
+
types that allow you to explicitly type components wrapped with these HOCs which is necessary in
|
|
793
|
+
cases where the HOC wrapping is extracted into another function.
|
|
656
794
|
|
|
657
795
|
## 3.0.11
|
|
658
796
|
|
|
@@ -662,189 +800,243 @@
|
|
|
662
800
|
|
|
663
801
|
## 3.0.10
|
|
664
802
|
|
|
665
|
-
- [patch] Adds missing implicit @babel/runtime dependency
|
|
803
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
804
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
666
805
|
|
|
667
806
|
## 3.0.9
|
|
668
807
|
|
|
669
|
-
- [patch] adds missing babel-runtime dependency to package json
|
|
808
|
+
- [patch] adds missing babel-runtime dependency to package json
|
|
809
|
+
[93b031a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93b031a)
|
|
670
810
|
|
|
671
811
|
## 3.0.8
|
|
672
812
|
|
|
673
|
-
- [patch] Fixing analytics events for checkbox/radio/select
|
|
813
|
+
- [patch] Fixing analytics events for checkbox/radio/select
|
|
814
|
+
[3e428e3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e428e3)
|
|
674
815
|
|
|
675
816
|
## 3.0.7
|
|
676
817
|
|
|
677
|
-
- [patch] Loosen AnalyticsEventPayload type to cater for Screen events
|
|
818
|
+
- [patch] Loosen AnalyticsEventPayload type to cater for Screen events
|
|
819
|
+
[2d4b52e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2d4b52e)
|
|
678
820
|
|
|
679
821
|
## 3.0.5
|
|
680
822
|
|
|
681
|
-
- [patch] Loosen AnalyticsEventCreator return type
|
|
682
|
-
|
|
823
|
+
- [patch] Loosen AnalyticsEventCreator return type
|
|
824
|
+
[f7432a2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f7432a2)
|
|
825
|
+
- [none] Updated dependencies
|
|
826
|
+
[f7432a2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f7432a2)
|
|
683
827
|
|
|
684
828
|
## 3.0.4
|
|
685
829
|
|
|
686
|
-
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
687
|
-
|
|
830
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
831
|
+
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
|
|
832
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
833
|
+
- [none] Updated dependencies
|
|
834
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
688
835
|
- @atlaskit/field-text@7.0.4
|
|
689
836
|
- @atlaskit/button@9.0.5
|
|
690
837
|
|
|
691
838
|
## 3.0.3
|
|
692
839
|
|
|
693
|
-
- [patch] Updated dependencies
|
|
840
|
+
- [patch] Updated dependencies
|
|
841
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
694
842
|
- @atlaskit/button@9.0.4
|
|
695
843
|
- @atlaskit/field-text@7.0.3
|
|
696
844
|
- @atlaskit/docs@5.0.2
|
|
697
845
|
|
|
698
846
|
## 3.0.2
|
|
699
847
|
|
|
700
|
-
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
701
|
-
|
|
848
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
849
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
850
|
+
- [none] Updated dependencies
|
|
851
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
702
852
|
- @atlaskit/field-text@7.0.2
|
|
703
853
|
- @atlaskit/button@9.0.3
|
|
704
854
|
|
|
705
855
|
## 3.0.1
|
|
706
856
|
|
|
707
|
-
- [patch] Move analytics tests and replace elements to core
|
|
708
|
-
|
|
857
|
+
- [patch] Move analytics tests and replace elements to core
|
|
858
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
859
|
+
- [none] Updated dependencies
|
|
860
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
709
861
|
- @atlaskit/field-text@7.0.1
|
|
710
862
|
- @atlaskit/button@9.0.2
|
|
711
863
|
- @atlaskit/docs@5.0.1
|
|
712
864
|
|
|
713
865
|
## 3.0.0
|
|
714
866
|
|
|
715
|
-
- [major] Updates to React ^16.4.0
|
|
716
|
-
|
|
867
|
+
- [major] Updates to React ^16.4.0
|
|
868
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
869
|
+
- [major] Updated dependencies
|
|
870
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
717
871
|
- @atlaskit/field-text@7.0.0
|
|
718
872
|
- @atlaskit/button@9.0.0
|
|
719
873
|
- @atlaskit/docs@5.0.0
|
|
720
|
-
- [major] Updated dependencies
|
|
874
|
+
- [major] Updated dependencies
|
|
875
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
721
876
|
- @atlaskit/field-text@7.0.0
|
|
722
877
|
- @atlaskit/button@9.0.0
|
|
723
878
|
- @atlaskit/docs@5.0.0
|
|
724
879
|
|
|
725
880
|
## 2.1.9
|
|
726
881
|
|
|
727
|
-
- [patch] removes requirement of children to be a single React node
|
|
728
|
-
|
|
882
|
+
- [patch] removes requirement of children to be a single React node
|
|
883
|
+
[53cba6b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/53cba6b)
|
|
884
|
+
- [none] Updated dependencies
|
|
885
|
+
[53cba6b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/53cba6b)
|
|
729
886
|
|
|
730
887
|
## 2.1.8
|
|
731
888
|
|
|
732
|
-
- [patch] Update changelogs to remove duplicate
|
|
733
|
-
|
|
889
|
+
- [patch] Update changelogs to remove duplicate
|
|
890
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
891
|
+
- [none] Updated dependencies
|
|
892
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
734
893
|
- @atlaskit/button@8.1.1
|
|
735
894
|
- @atlaskit/docs@4.1.1
|
|
736
895
|
|
|
737
896
|
## 2.1.7
|
|
738
897
|
|
|
739
|
-
- [none] Updated dependencies
|
|
898
|
+
- [none] Updated dependencies
|
|
899
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
740
900
|
- @atlaskit/docs@4.1.0
|
|
741
901
|
- @atlaskit/field-text@6.0.2
|
|
742
902
|
- @atlaskit/button@8.1.0
|
|
743
903
|
|
|
744
904
|
## 2.1.6
|
|
745
905
|
|
|
746
|
-
- [patch] Unpublish fake TS declaration file
|
|
747
|
-
|
|
906
|
+
- [patch] Unpublish fake TS declaration file
|
|
907
|
+
[ec9f11f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ec9f11f)
|
|
908
|
+
- [none] Updated dependencies
|
|
909
|
+
[ec9f11f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ec9f11f)
|
|
748
910
|
|
|
749
911
|
## 2.1.5
|
|
750
912
|
|
|
751
913
|
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
752
|
-
- [patch] Updated dependencies
|
|
914
|
+
- [patch] Updated dependencies
|
|
915
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
753
916
|
- @atlaskit/field-text@6.0.1
|
|
754
917
|
- @atlaskit/button@8.0.1
|
|
755
918
|
- @atlaskit/docs@4.0.1
|
|
756
919
|
|
|
757
920
|
## 2.1.4
|
|
758
921
|
|
|
759
|
-
- [patch] Updated dependencies
|
|
922
|
+
- [patch] Updated dependencies
|
|
923
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
760
924
|
- @atlaskit/field-text@6.0.0
|
|
761
925
|
- @atlaskit/button@8.0.0
|
|
762
926
|
- @atlaskit/docs@4.0.0
|
|
763
927
|
|
|
764
928
|
## 2.1.3
|
|
765
929
|
|
|
766
|
-
- [patch] Removed ambient typescript type declaration file from analytics-next - this may be a
|
|
767
|
-
|
|
930
|
+
- [patch] Removed ambient typescript type declaration file from analytics-next - this may be a
|
|
931
|
+
breaking change for typescript consumers
|
|
932
|
+
[290d804](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/290d804)
|
|
933
|
+
- [none] Updated dependencies
|
|
934
|
+
[290d804](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/290d804)
|
|
768
935
|
|
|
769
936
|
## 2.1.2
|
|
770
937
|
|
|
771
|
-
- [patch] Fix prop callbacks specified in the create event map to not change reference values each
|
|
772
|
-
|
|
938
|
+
- [patch] Fix prop callbacks specified in the create event map to not change reference values each
|
|
939
|
+
render and instead only update when the original prop callback changes
|
|
940
|
+
[586a80c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/586a80c)
|
|
941
|
+
- [none] Updated dependencies
|
|
942
|
+
[586a80c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/586a80c)
|
|
773
943
|
|
|
774
944
|
## 2.1.1
|
|
775
945
|
|
|
776
|
-
- [patch] Updated dependencies
|
|
946
|
+
- [patch] Updated dependencies
|
|
947
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
777
948
|
- @atlaskit/field-text@5.0.3
|
|
778
949
|
- @atlaskit/button@7.2.5
|
|
779
950
|
- @atlaskit/docs@3.0.4
|
|
780
951
|
|
|
781
952
|
## 2.1.0
|
|
782
953
|
|
|
783
|
-
- [minor] Export cleanProps function that can be used to strip analytics props provided by our HOCs,
|
|
954
|
+
- [minor] Export cleanProps function that can be used to strip analytics props provided by our HOCs,
|
|
955
|
+
useful when spreading props to a child element
|
|
956
|
+
[973d6ea](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/973d6ea)
|
|
784
957
|
|
|
785
958
|
## 2.0.0
|
|
786
959
|
|
|
787
|
-
- [major] Bump to React 16.3.
|
|
960
|
+
- [major] Bump to React 16.3.
|
|
961
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
788
962
|
|
|
789
963
|
## 1.1.10
|
|
790
964
|
|
|
791
|
-
- [patch] Adjusted exports to prevent attempted exporting of flow types in built code.
|
|
965
|
+
- [patch] Adjusted exports to prevent attempted exporting of flow types in built code.
|
|
966
|
+
[183ee96](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/183ee96)
|
|
792
967
|
|
|
793
968
|
## 1.1.9
|
|
794
969
|
|
|
795
|
-
- [patch] Updates flow types of withAnalyticsEvents and withAnalyticsContext HOCs
|
|
796
|
-
|
|
970
|
+
- [patch] Updates flow types of withAnalyticsEvents and withAnalyticsContext HOCs
|
|
971
|
+
[26778bc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/26778bc)
|
|
972
|
+
- [patch] Uses element config flow type with button deprecation warnings hoc
|
|
973
|
+
[a9aa90a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a9aa90a)
|
|
797
974
|
|
|
798
975
|
## 1.1.8
|
|
799
976
|
|
|
800
|
-
- [patch] Add "sideEffects: false" to AKM2 packages to allow consumer's to tree-shake
|
|
977
|
+
- [patch] Add "sideEffects: false" to AKM2 packages to allow consumer's to tree-shake
|
|
978
|
+
[c3b018a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3b018a)
|
|
801
979
|
|
|
802
980
|
## 1.1.7
|
|
803
981
|
|
|
804
|
-
- [patch] Fix/revert TS TDs in analytics-next
|
|
982
|
+
- [patch] Fix/revert TS TDs in analytics-next
|
|
983
|
+
[1284d32](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1284d32)
|
|
805
984
|
|
|
806
985
|
## 1.1.6
|
|
807
986
|
|
|
808
|
-
- [patch] Fix analytics-next TS type definition
|
|
809
|
-
|
|
987
|
+
- [patch] Fix analytics-next TS type definition
|
|
988
|
+
[9faaa5f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9faaa5f)
|
|
989
|
+
- [patch] Fix analytics-next TS type definition
|
|
990
|
+
[7e26229](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e26229)
|
|
810
991
|
|
|
811
992
|
## 1.1.5
|
|
812
993
|
|
|
813
|
-
- [patch] Add analytics events for click and show actions of media-card
|
|
814
|
-
|
|
994
|
+
- [patch] Add analytics events for click and show actions of media-card
|
|
995
|
+
[031d5da](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/031d5da)
|
|
996
|
+
- [patch] Add analytics events for click and show actions of media-card
|
|
997
|
+
[b361185](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b361185)
|
|
815
998
|
|
|
816
999
|
## 1.1.4
|
|
817
1000
|
|
|
818
|
-
- [patch] fixes problem with withAnalyticsEvents HOC passing old function props to wrapped component
|
|
1001
|
+
- [patch] fixes problem with withAnalyticsEvents HOC passing old function props to wrapped component
|
|
1002
|
+
[c88b030](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c88b030)
|
|
819
1003
|
|
|
820
1004
|
## 1.1.3
|
|
821
1005
|
|
|
822
|
-
- [patch] adds displayName to analytics HOCs
|
|
1006
|
+
- [patch] adds displayName to analytics HOCs
|
|
1007
|
+
[f69ccad](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f69ccad)
|
|
823
1008
|
|
|
824
1009
|
## 1.1.2
|
|
825
1010
|
|
|
826
|
-
- [patch] Re-releasing due to potentially broken babel release
|
|
1011
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1012
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
827
1013
|
|
|
828
1014
|
## 1.1.1
|
|
829
1015
|
|
|
830
|
-
- [patch] Remove min requirement of node 8 for analytics-next
|
|
1016
|
+
- [patch] Remove min requirement of node 8 for analytics-next
|
|
1017
|
+
[c864671](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c864671)
|
|
831
1018
|
|
|
832
1019
|
## 1.1.0
|
|
833
1020
|
|
|
834
|
-
- [minor] adds createAndFireEvent utility method and updates docs
|
|
1021
|
+
- [minor] adds createAndFireEvent utility method and updates docs
|
|
1022
|
+
[24a93fc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24a93fc)
|
|
835
1023
|
|
|
836
1024
|
## 1.0.3
|
|
837
1025
|
|
|
838
|
-
- [patch] fixes flow type problem with wrapping stateless functional components in
|
|
1026
|
+
- [patch] fixes flow type problem with wrapping stateless functional components in
|
|
1027
|
+
withAnalyticsEvents [8344ffb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8344ffb)
|
|
839
1028
|
|
|
840
1029
|
## 1.0.2
|
|
841
1030
|
|
|
842
|
-
- [patch] Adds action key to analytics payload type
|
|
1031
|
+
- [patch] Adds action key to analytics payload type
|
|
1032
|
+
[7deeaef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7deeaef)
|
|
843
1033
|
|
|
844
1034
|
## 1.0.1
|
|
845
1035
|
|
|
846
|
-
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
1036
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
1037
|
+
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
847
1038
|
|
|
848
1039
|
## 1.0.0
|
|
849
1040
|
|
|
850
|
-
- [major] release @atlaskit/analytics-next package
|
|
1041
|
+
- [major] release @atlaskit/analytics-next package
|
|
1042
|
+
[80695ea](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80695ea)
|