@atlaskit/analytics-next 9.2.3 → 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 +330 -132
- package/afm-jira/tsconfig.json +25 -0
- package/dist/cjs/hocs/withAnalyticsContext.js +1 -5
- package/dist/cjs/hocs/withAnalyticsEvents.js +1 -5
- package/dist/es2019/hocs/withAnalyticsContext.js +1 -5
- package/dist/es2019/hocs/withAnalyticsEvents.js +1 -5
- package/dist/esm/hocs/withAnalyticsContext.js +1 -5
- package/dist/esm/hocs/withAnalyticsEvents.js +1 -5
- 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/withAnalyticsContext.d.ts +1 -1
- package/dist/types/hocs/withAnalyticsEvents.d.ts +2 -2
- 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/withAnalyticsContext.d.ts +1 -1
- package/dist/types-ts4.5/hocs/withAnalyticsEvents.d.ts +2 -2
- 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,188 +1,269 @@
|
|
|
1
1
|
# @atlaskit/analytics-next
|
|
2
2
|
|
|
3
|
+
## 9.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
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
|
|
16
|
+
|
|
3
17
|
## 9.2.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
6
20
|
|
|
7
|
-
- [#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
|
|
8
25
|
|
|
9
26
|
## 9.2.2
|
|
10
27
|
|
|
11
28
|
### Patch Changes
|
|
12
29
|
|
|
13
|
-
- [#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`
|
|
14
33
|
|
|
15
34
|
## 9.2.1
|
|
16
35
|
|
|
17
36
|
### Patch Changes
|
|
18
37
|
|
|
19
|
-
- [#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`
|
|
20
41
|
|
|
21
42
|
## 9.2.0
|
|
22
43
|
|
|
23
44
|
### Minor Changes
|
|
24
45
|
|
|
25
|
-
- [#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
|
|
26
49
|
|
|
27
50
|
## 9.1.4
|
|
28
51
|
|
|
29
52
|
### Patch Changes
|
|
30
53
|
|
|
31
|
-
- [#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
|
|
32
57
|
|
|
33
58
|
## 9.1.3
|
|
34
59
|
|
|
35
60
|
### Patch Changes
|
|
36
61
|
|
|
37
|
-
- [#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
|
|
38
65
|
|
|
39
66
|
## 9.1.2
|
|
40
67
|
|
|
41
68
|
### Patch Changes
|
|
42
69
|
|
|
43
|
-
- [#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`
|
|
44
73
|
|
|
45
74
|
## 9.1.1
|
|
46
75
|
|
|
47
76
|
### Patch Changes
|
|
48
77
|
|
|
49
|
-
- [#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
|
|
50
81
|
|
|
51
82
|
## 9.1.0
|
|
52
83
|
|
|
53
84
|
### Minor Changes
|
|
54
85
|
|
|
55
|
-
- [#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
|
|
56
89
|
|
|
57
90
|
## 9.0.2
|
|
58
91
|
|
|
59
92
|
### Patch Changes
|
|
60
93
|
|
|
61
|
-
- [#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
|
|
62
97
|
|
|
63
98
|
## 9.0.1
|
|
64
99
|
|
|
65
100
|
### Patch Changes
|
|
66
101
|
|
|
67
|
-
- [#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
|
|
68
105
|
|
|
69
106
|
## 9.0.0
|
|
70
107
|
|
|
71
108
|
### Major Changes
|
|
72
109
|
|
|
73
|
-
- [#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
|
|
74
113
|
|
|
75
114
|
## 8.3.5
|
|
76
115
|
|
|
77
116
|
### Patch Changes
|
|
78
117
|
|
|
79
|
-
- [#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
|
|
80
121
|
|
|
81
122
|
## 8.3.4
|
|
82
123
|
|
|
83
124
|
### Patch Changes
|
|
84
125
|
|
|
85
|
-
- [#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
|
|
86
129
|
|
|
87
130
|
## 8.3.3
|
|
88
131
|
|
|
89
132
|
### Patch Changes
|
|
90
133
|
|
|
91
|
-
- [#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`
|
|
92
137
|
|
|
93
138
|
## 8.3.2
|
|
94
139
|
|
|
95
140
|
### Patch Changes
|
|
96
141
|
|
|
97
|
-
- [#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`.
|
|
98
145
|
|
|
99
146
|
## 8.3.1
|
|
100
147
|
|
|
101
148
|
### Patch Changes
|
|
102
149
|
|
|
103
|
-
- [#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
|
|
104
153
|
|
|
105
154
|
## 8.3.0
|
|
106
155
|
|
|
107
156
|
### Minor Changes
|
|
108
157
|
|
|
109
|
-
- [#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.
|
|
110
162
|
|
|
111
163
|
## 8.2.1
|
|
112
164
|
|
|
113
165
|
### Patch Changes
|
|
114
166
|
|
|
115
|
-
- [#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
|
|
116
170
|
|
|
117
171
|
## 8.2.0
|
|
118
172
|
|
|
119
173
|
### Minor Changes
|
|
120
174
|
|
|
121
|
-
- [#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
|
|
122
179
|
|
|
123
180
|
## 8.1.4
|
|
124
181
|
|
|
125
182
|
### Patch Changes
|
|
126
183
|
|
|
127
|
-
- [#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`
|
|
128
187
|
|
|
129
188
|
## 8.1.3
|
|
130
189
|
|
|
131
190
|
### Patch Changes
|
|
132
191
|
|
|
133
|
-
- [#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
|
|
134
195
|
|
|
135
196
|
## 8.1.2
|
|
136
197
|
|
|
137
198
|
### Patch Changes
|
|
138
199
|
|
|
139
|
-
- [#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
|
|
140
203
|
|
|
141
204
|
## 8.1.1
|
|
142
205
|
|
|
143
206
|
### Patch Changes
|
|
144
207
|
|
|
145
|
-
- [#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
|
|
146
211
|
|
|
147
212
|
## 8.1.0
|
|
148
213
|
|
|
149
214
|
### Minor Changes
|
|
150
215
|
|
|
151
|
-
- [#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
|
|
152
220
|
|
|
153
221
|
## 8.0.2
|
|
154
222
|
|
|
155
223
|
### Patch Changes
|
|
156
224
|
|
|
157
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
158
|
-
|
|
159
|
-
|
|
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.
|
|
160
231
|
|
|
161
232
|
## 8.0.1
|
|
162
233
|
|
|
163
234
|
### Patch Changes
|
|
164
235
|
|
|
165
|
-
- [#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
|
|
166
239
|
|
|
167
240
|
## 8.0.0
|
|
168
241
|
|
|
169
242
|
### Major Changes
|
|
170
243
|
|
|
171
|
-
- [#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.
|
|
172
248
|
|
|
173
|
-
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.
|
|
174
251
|
|
|
175
252
|
## 7.1.1
|
|
176
253
|
|
|
177
254
|
### Patch Changes
|
|
178
255
|
|
|
179
|
-
- [#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
|
|
180
259
|
|
|
181
260
|
## 7.1.0
|
|
182
261
|
|
|
183
262
|
### Minor Changes
|
|
184
263
|
|
|
185
|
-
- [#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
|
|
186
267
|
|
|
187
268
|
- Added a new hook `useAnalyticsEventHandler` for sole use in Atlaskit components
|
|
188
269
|
|
|
@@ -207,40 +288,50 @@
|
|
|
207
288
|
|
|
208
289
|
### IMPORTANT: Note on React Context changes
|
|
209
290
|
|
|
210
|
-
(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.
|
|
211
293
|
|
|
212
|
-
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].
|
|
213
296
|
|
|
214
|
-
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].
|
|
215
299
|
|
|
216
300
|
To achieve this we are rolling the drop out in 2 phases:
|
|
217
301
|
|
|
218
302
|
#### Phase I (this release)
|
|
219
303
|
|
|
220
|
-
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.
|
|
221
306
|
|
|
222
|
-
At their own risk, package consumers can opt in to no longer supply legacy context by using the
|
|
223
|
-
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.
|
|
224
309
|
|
|
225
|
-
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.
|
|
226
313
|
|
|
227
314
|
#### Phase II (future major)
|
|
228
315
|
|
|
229
|
-
In a future release (TBA) we will remove all legacy context support and clean up the branching
|
|
230
|
-
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.
|
|
231
319
|
|
|
232
320
|
### Patch Changes
|
|
233
321
|
|
|
234
|
-
- [`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
|
|
235
324
|
|
|
236
325
|
## 7.0.3
|
|
237
326
|
|
|
238
327
|
### Patch Changes
|
|
239
328
|
|
|
240
|
-
- [#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
|
|
241
332
|
|
|
242
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
243
|
-
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.
|
|
244
335
|
|
|
245
336
|
- Updated dependencies
|
|
246
337
|
|
|
@@ -248,20 +339,28 @@
|
|
|
248
339
|
|
|
249
340
|
### Patch Changes
|
|
250
341
|
|
|
251
|
-
- [#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
|
|
252
345
|
|
|
253
346
|
## 7.0.1
|
|
254
347
|
|
|
255
348
|
### Patch Changes
|
|
256
349
|
|
|
257
|
-
- [#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
|
|
258
354
|
|
|
259
355
|
## 7.0.0
|
|
260
356
|
|
|
261
357
|
### Major Changes
|
|
262
358
|
|
|
263
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
264
|
-
|
|
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
|
|
265
364
|
|
|
266
365
|
## 6.3.6
|
|
267
366
|
|
|
@@ -269,9 +368,12 @@
|
|
|
269
368
|
|
|
270
369
|
- [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
271
370
|
|
|
272
|
-
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):
|
|
273
374
|
|
|
274
|
-
- Updated dependencies
|
|
375
|
+
- Updated dependencies
|
|
376
|
+
[109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
275
377
|
- @atlaskit/docs@8.5.1
|
|
276
378
|
- @atlaskit/button@13.3.10
|
|
277
379
|
|
|
@@ -281,7 +383,8 @@
|
|
|
281
383
|
|
|
282
384
|
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
283
385
|
|
|
284
|
-
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):
|
|
285
388
|
|
|
286
389
|
- @atlaskit/docs@8.3.2
|
|
287
390
|
- @atlaskit/button@13.3.7
|
|
@@ -302,9 +405,11 @@
|
|
|
302
405
|
|
|
303
406
|
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
304
407
|
|
|
305
|
-
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):
|
|
306
410
|
|
|
307
|
-
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):
|
|
308
413
|
|
|
309
414
|
- @atlaskit/field-text@9.0.14
|
|
310
415
|
|
|
@@ -330,7 +435,9 @@
|
|
|
330
435
|
|
|
331
436
|
- [minor][2252a7a999](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2252a7a999):
|
|
332
437
|
|
|
333
|
-
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.
|
|
334
441
|
|
|
335
442
|
## 6.2.0
|
|
336
443
|
|
|
@@ -338,7 +445,11 @@
|
|
|
338
445
|
|
|
339
446
|
- [minor][42fd897e16](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/42fd897e16):
|
|
340
447
|
|
|
341
|
-
- 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.
|
|
342
453
|
|
|
343
454
|
## 6.1.0
|
|
344
455
|
|
|
@@ -357,7 +468,8 @@
|
|
|
357
468
|
|
|
358
469
|
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
359
470
|
|
|
360
|
-
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
|
|
361
473
|
|
|
362
474
|
## 6.0.2
|
|
363
475
|
|
|
@@ -381,7 +493,8 @@
|
|
|
381
493
|
|
|
382
494
|
- [major][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
383
495
|
|
|
384
|
-
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.
|
|
385
498
|
|
|
386
499
|
**Breaking changes**
|
|
387
500
|
|
|
@@ -390,11 +503,16 @@
|
|
|
390
503
|
|
|
391
504
|
**Breaking changes to TypeScript annotations**
|
|
392
505
|
|
|
393
|
-
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
394
|
-
|
|
395
|
-
-
|
|
396
|
-
|
|
397
|
-
- 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
|
|
398
516
|
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
|
|
399
517
|
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
|
|
400
518
|
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
|
|
@@ -454,7 +572,9 @@
|
|
|
454
572
|
Notes on new API:
|
|
455
573
|
|
|
456
574
|
- Plug-and-play component. As soon and it's wrapping a component it's fully integrated.
|
|
457
|
-
- 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.
|
|
458
578
|
|
|
459
579
|
## 5.3.1
|
|
460
580
|
|
|
@@ -502,7 +622,8 @@
|
|
|
502
622
|
|
|
503
623
|
- [patch][6ea9bb7873](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6ea9bb7873):
|
|
504
624
|
|
|
505
|
-
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
|
|
506
627
|
|
|
507
628
|
## 5.1.0
|
|
508
629
|
|
|
@@ -510,7 +631,9 @@
|
|
|
510
631
|
|
|
511
632
|
- [minor][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
512
633
|
|
|
513
|
-
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.
|
|
514
637
|
|
|
515
638
|
Before:
|
|
516
639
|
|
|
@@ -544,13 +667,15 @@
|
|
|
544
667
|
|
|
545
668
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
546
669
|
|
|
547
|
-
- 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.
|
|
548
672
|
|
|
549
673
|
## 4.0.5
|
|
550
674
|
|
|
551
675
|
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
552
676
|
|
|
553
|
-
- @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.
|
|
554
679
|
|
|
555
680
|
## 4.0.4
|
|
556
681
|
|
|
@@ -560,7 +685,8 @@
|
|
|
560
685
|
|
|
561
686
|
## 4.0.3
|
|
562
687
|
|
|
563
|
-
- Updated dependencies
|
|
688
|
+
- Updated dependencies
|
|
689
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
564
690
|
- @atlaskit/docs@7.0.2
|
|
565
691
|
- @atlaskit/field-text@8.0.2
|
|
566
692
|
- @atlaskit/button@12.0.0
|
|
@@ -573,7 +699,8 @@
|
|
|
573
699
|
|
|
574
700
|
## 4.0.1
|
|
575
701
|
|
|
576
|
-
- Updated dependencies
|
|
702
|
+
- Updated dependencies
|
|
703
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
577
704
|
- @atlaskit/docs@7.0.1
|
|
578
705
|
- @atlaskit/field-text@8.0.1
|
|
579
706
|
- @atlaskit/button@11.0.0
|
|
@@ -586,8 +713,9 @@
|
|
|
586
713
|
|
|
587
714
|
### Dropping CJS support in all @atlaskit packages
|
|
588
715
|
|
|
589
|
-
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
590
|
-
|
|
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.
|
|
591
719
|
|
|
592
720
|
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
593
721
|
|
|
@@ -601,15 +729,26 @@
|
|
|
601
729
|
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
602
730
|
```
|
|
603
731
|
|
|
604
|
-
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.
|
|
605
737
|
|
|
606
|
-
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.
|
|
607
741
|
|
|
608
|
-
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.
|
|
609
744
|
|
|
610
|
-
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.
|
|
611
748
|
|
|
612
|
-
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.
|
|
613
752
|
|
|
614
753
|
## 3.2.1
|
|
615
754
|
|
|
@@ -641,12 +780,17 @@
|
|
|
641
780
|
|
|
642
781
|
- [minor][cffeed0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cffeed0):
|
|
643
782
|
|
|
644
|
-
- 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.
|
|
645
785
|
|
|
646
|
-
This will fix flow types not flowing through all of the components that we have instrumented
|
|
647
|
-
|
|
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.
|
|
648
790
|
|
|
649
|
-
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.
|
|
650
794
|
|
|
651
795
|
## 3.0.11
|
|
652
796
|
|
|
@@ -656,189 +800,243 @@
|
|
|
656
800
|
|
|
657
801
|
## 3.0.10
|
|
658
802
|
|
|
659
|
-
- [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)
|
|
660
805
|
|
|
661
806
|
## 3.0.9
|
|
662
807
|
|
|
663
|
-
- [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)
|
|
664
810
|
|
|
665
811
|
## 3.0.8
|
|
666
812
|
|
|
667
|
-
- [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)
|
|
668
815
|
|
|
669
816
|
## 3.0.7
|
|
670
817
|
|
|
671
|
-
- [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)
|
|
672
820
|
|
|
673
821
|
## 3.0.5
|
|
674
822
|
|
|
675
|
-
- [patch] Loosen AnalyticsEventCreator return type
|
|
676
|
-
|
|
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)
|
|
677
827
|
|
|
678
828
|
## 3.0.4
|
|
679
829
|
|
|
680
|
-
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
681
|
-
|
|
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)
|
|
682
835
|
- @atlaskit/field-text@7.0.4
|
|
683
836
|
- @atlaskit/button@9.0.5
|
|
684
837
|
|
|
685
838
|
## 3.0.3
|
|
686
839
|
|
|
687
|
-
- [patch] Updated dependencies
|
|
840
|
+
- [patch] Updated dependencies
|
|
841
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
688
842
|
- @atlaskit/button@9.0.4
|
|
689
843
|
- @atlaskit/field-text@7.0.3
|
|
690
844
|
- @atlaskit/docs@5.0.2
|
|
691
845
|
|
|
692
846
|
## 3.0.2
|
|
693
847
|
|
|
694
|
-
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
695
|
-
|
|
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)
|
|
696
852
|
- @atlaskit/field-text@7.0.2
|
|
697
853
|
- @atlaskit/button@9.0.3
|
|
698
854
|
|
|
699
855
|
## 3.0.1
|
|
700
856
|
|
|
701
|
-
- [patch] Move analytics tests and replace elements to core
|
|
702
|
-
|
|
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)
|
|
703
861
|
- @atlaskit/field-text@7.0.1
|
|
704
862
|
- @atlaskit/button@9.0.2
|
|
705
863
|
- @atlaskit/docs@5.0.1
|
|
706
864
|
|
|
707
865
|
## 3.0.0
|
|
708
866
|
|
|
709
|
-
- [major] Updates to React ^16.4.0
|
|
710
|
-
|
|
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)
|
|
711
871
|
- @atlaskit/field-text@7.0.0
|
|
712
872
|
- @atlaskit/button@9.0.0
|
|
713
873
|
- @atlaskit/docs@5.0.0
|
|
714
|
-
- [major] Updated dependencies
|
|
874
|
+
- [major] Updated dependencies
|
|
875
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
715
876
|
- @atlaskit/field-text@7.0.0
|
|
716
877
|
- @atlaskit/button@9.0.0
|
|
717
878
|
- @atlaskit/docs@5.0.0
|
|
718
879
|
|
|
719
880
|
## 2.1.9
|
|
720
881
|
|
|
721
|
-
- [patch] removes requirement of children to be a single React node
|
|
722
|
-
|
|
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)
|
|
723
886
|
|
|
724
887
|
## 2.1.8
|
|
725
888
|
|
|
726
|
-
- [patch] Update changelogs to remove duplicate
|
|
727
|
-
|
|
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)
|
|
728
893
|
- @atlaskit/button@8.1.1
|
|
729
894
|
- @atlaskit/docs@4.1.1
|
|
730
895
|
|
|
731
896
|
## 2.1.7
|
|
732
897
|
|
|
733
|
-
- [none] Updated dependencies
|
|
898
|
+
- [none] Updated dependencies
|
|
899
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
734
900
|
- @atlaskit/docs@4.1.0
|
|
735
901
|
- @atlaskit/field-text@6.0.2
|
|
736
902
|
- @atlaskit/button@8.1.0
|
|
737
903
|
|
|
738
904
|
## 2.1.6
|
|
739
905
|
|
|
740
|
-
- [patch] Unpublish fake TS declaration file
|
|
741
|
-
|
|
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)
|
|
742
910
|
|
|
743
911
|
## 2.1.5
|
|
744
912
|
|
|
745
913
|
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
746
|
-
- [patch] Updated dependencies
|
|
914
|
+
- [patch] Updated dependencies
|
|
915
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
747
916
|
- @atlaskit/field-text@6.0.1
|
|
748
917
|
- @atlaskit/button@8.0.1
|
|
749
918
|
- @atlaskit/docs@4.0.1
|
|
750
919
|
|
|
751
920
|
## 2.1.4
|
|
752
921
|
|
|
753
|
-
- [patch] Updated dependencies
|
|
922
|
+
- [patch] Updated dependencies
|
|
923
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
754
924
|
- @atlaskit/field-text@6.0.0
|
|
755
925
|
- @atlaskit/button@8.0.0
|
|
756
926
|
- @atlaskit/docs@4.0.0
|
|
757
927
|
|
|
758
928
|
## 2.1.3
|
|
759
929
|
|
|
760
|
-
- [patch] Removed ambient typescript type declaration file from analytics-next - this may be a
|
|
761
|
-
|
|
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)
|
|
762
935
|
|
|
763
936
|
## 2.1.2
|
|
764
937
|
|
|
765
|
-
- [patch] Fix prop callbacks specified in the create event map to not change reference values each
|
|
766
|
-
|
|
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)
|
|
767
943
|
|
|
768
944
|
## 2.1.1
|
|
769
945
|
|
|
770
|
-
- [patch] Updated dependencies
|
|
946
|
+
- [patch] Updated dependencies
|
|
947
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
771
948
|
- @atlaskit/field-text@5.0.3
|
|
772
949
|
- @atlaskit/button@7.2.5
|
|
773
950
|
- @atlaskit/docs@3.0.4
|
|
774
951
|
|
|
775
952
|
## 2.1.0
|
|
776
953
|
|
|
777
|
-
- [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)
|
|
778
957
|
|
|
779
958
|
## 2.0.0
|
|
780
959
|
|
|
781
|
-
- [major] Bump to React 16.3.
|
|
960
|
+
- [major] Bump to React 16.3.
|
|
961
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
782
962
|
|
|
783
963
|
## 1.1.10
|
|
784
964
|
|
|
785
|
-
- [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)
|
|
786
967
|
|
|
787
968
|
## 1.1.9
|
|
788
969
|
|
|
789
|
-
- [patch] Updates flow types of withAnalyticsEvents and withAnalyticsContext HOCs
|
|
790
|
-
|
|
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)
|
|
791
974
|
|
|
792
975
|
## 1.1.8
|
|
793
976
|
|
|
794
|
-
- [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)
|
|
795
979
|
|
|
796
980
|
## 1.1.7
|
|
797
981
|
|
|
798
|
-
- [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)
|
|
799
984
|
|
|
800
985
|
## 1.1.6
|
|
801
986
|
|
|
802
|
-
- [patch] Fix analytics-next TS type definition
|
|
803
|
-
|
|
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)
|
|
804
991
|
|
|
805
992
|
## 1.1.5
|
|
806
993
|
|
|
807
|
-
- [patch] Add analytics events for click and show actions of media-card
|
|
808
|
-
|
|
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)
|
|
809
998
|
|
|
810
999
|
## 1.1.4
|
|
811
1000
|
|
|
812
|
-
- [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)
|
|
813
1003
|
|
|
814
1004
|
## 1.1.3
|
|
815
1005
|
|
|
816
|
-
- [patch] adds displayName to analytics HOCs
|
|
1006
|
+
- [patch] adds displayName to analytics HOCs
|
|
1007
|
+
[f69ccad](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f69ccad)
|
|
817
1008
|
|
|
818
1009
|
## 1.1.2
|
|
819
1010
|
|
|
820
|
-
- [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)
|
|
821
1013
|
|
|
822
1014
|
## 1.1.1
|
|
823
1015
|
|
|
824
|
-
- [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)
|
|
825
1018
|
|
|
826
1019
|
## 1.1.0
|
|
827
1020
|
|
|
828
|
-
- [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)
|
|
829
1023
|
|
|
830
1024
|
## 1.0.3
|
|
831
1025
|
|
|
832
|
-
- [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)
|
|
833
1028
|
|
|
834
1029
|
## 1.0.2
|
|
835
1030
|
|
|
836
|
-
- [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)
|
|
837
1033
|
|
|
838
1034
|
## 1.0.1
|
|
839
1035
|
|
|
840
|
-
- [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)
|
|
841
1038
|
|
|
842
1039
|
## 1.0.0
|
|
843
1040
|
|
|
844
|
-
- [major] release @atlaskit/analytics-next package
|
|
1041
|
+
- [major] release @atlaskit/analytics-next package
|
|
1042
|
+
[80695ea](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80695ea)
|