@atlaskit/analytics-next 9.3.0 → 9.3.2

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