@atlaskit/media-client 26.3.0 → 27.0.0

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 (63) hide show
  1. package/CHANGELOG.md +1044 -683
  2. package/dist/cjs/client/file-fetcher/index.js +2 -1
  3. package/dist/es2019/client/file-fetcher/index.js +2 -1
  4. package/dist/esm/client/file-fetcher/index.js +2 -1
  5. package/dist/types/client/file-fetcher/index.d.ts +11 -11
  6. package/dist/types-ts4.5/client/file-fetcher/index.d.ts +11 -11
  7. package/example-helpers/styles.ts +73 -74
  8. package/package.json +11 -4
  9. package/dist/cjs/test-helpers/MockedMediaApi/MockedMediaApi.js +0 -455
  10. package/dist/cjs/test-helpers/MockedMediaApi/helpers.js +0 -184
  11. package/dist/cjs/test-helpers/MockedMediaApi/index.js +0 -55
  12. package/dist/cjs/test-helpers/_numbers.js +0 -9
  13. package/dist/cjs/test-helpers/authProvider.js +0 -70
  14. package/dist/cjs/test-helpers/collectionNames.js +0 -11
  15. package/dist/cjs/test-helpers/exampleMediaItems.js +0 -274
  16. package/dist/cjs/test-helpers/fakeMediaClient.js +0 -75
  17. package/dist/cjs/test-helpers/index.js +0 -422
  18. package/dist/cjs/test-helpers/mediaClientProvider.js +0 -54
  19. package/dist/cjs/test-helpers/mediaPickerAuthProvider.js +0 -92
  20. package/dist/es2019/test-helpers/MockedMediaApi/MockedMediaApi.js +0 -166
  21. package/dist/es2019/test-helpers/MockedMediaApi/helpers.js +0 -167
  22. package/dist/es2019/test-helpers/MockedMediaApi/index.js +0 -2
  23. package/dist/es2019/test-helpers/_numbers.js +0 -3
  24. package/dist/es2019/test-helpers/authProvider.js +0 -34
  25. package/dist/es2019/test-helpers/collectionNames.js +0 -5
  26. package/dist/es2019/test-helpers/exampleMediaItems.js +0 -268
  27. package/dist/es2019/test-helpers/fakeMediaClient.js +0 -63
  28. package/dist/es2019/test-helpers/index.js +0 -8
  29. package/dist/es2019/test-helpers/mediaClientProvider.js +0 -42
  30. package/dist/es2019/test-helpers/mediaPickerAuthProvider.js +0 -56
  31. package/dist/esm/test-helpers/MockedMediaApi/MockedMediaApi.js +0 -448
  32. package/dist/esm/test-helpers/MockedMediaApi/helpers.js +0 -177
  33. package/dist/esm/test-helpers/MockedMediaApi/index.js +0 -2
  34. package/dist/esm/test-helpers/_numbers.js +0 -3
  35. package/dist/esm/test-helpers/authProvider.js +0 -63
  36. package/dist/esm/test-helpers/collectionNames.js +0 -5
  37. package/dist/esm/test-helpers/exampleMediaItems.js +0 -268
  38. package/dist/esm/test-helpers/fakeMediaClient.js +0 -69
  39. package/dist/esm/test-helpers/index.js +0 -8
  40. package/dist/esm/test-helpers/mediaClientProvider.js +0 -48
  41. package/dist/esm/test-helpers/mediaPickerAuthProvider.js +0 -85
  42. package/dist/types/test-helpers/MockedMediaApi/MockedMediaApi.d.ts +0 -16
  43. package/dist/types/test-helpers/MockedMediaApi/helpers.d.ts +0 -23
  44. package/dist/types/test-helpers/MockedMediaApi/index.d.ts +0 -3
  45. package/dist/types/test-helpers/_numbers.d.ts +0 -1
  46. package/dist/types/test-helpers/authProvider.d.ts +0 -6
  47. package/dist/types/test-helpers/collectionNames.d.ts +0 -5
  48. package/dist/types/test-helpers/exampleMediaItems.d.ts +0 -53
  49. package/dist/types/test-helpers/fakeMediaClient.d.ts +0 -4
  50. package/dist/types/test-helpers/index.d.ts +0 -9
  51. package/dist/types/test-helpers/mediaClientProvider.d.ts +0 -23
  52. package/dist/types/test-helpers/mediaPickerAuthProvider.d.ts +0 -5
  53. package/dist/types-ts4.5/test-helpers/MockedMediaApi/MockedMediaApi.d.ts +0 -16
  54. package/dist/types-ts4.5/test-helpers/MockedMediaApi/helpers.d.ts +0 -23
  55. package/dist/types-ts4.5/test-helpers/MockedMediaApi/index.d.ts +0 -3
  56. package/dist/types-ts4.5/test-helpers/_numbers.d.ts +0 -1
  57. package/dist/types-ts4.5/test-helpers/authProvider.d.ts +0 -6
  58. package/dist/types-ts4.5/test-helpers/collectionNames.d.ts +0 -5
  59. package/dist/types-ts4.5/test-helpers/exampleMediaItems.d.ts +0 -53
  60. package/dist/types-ts4.5/test-helpers/fakeMediaClient.d.ts +0 -4
  61. package/dist/types-ts4.5/test-helpers/index.d.ts +0 -9
  62. package/dist/types-ts4.5/test-helpers/mediaClientProvider.d.ts +0 -23
  63. package/dist/types-ts4.5/test-helpers/mediaPickerAuthProvider.d.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -1,1223 +1,1562 @@
1
1
  # @atlaskit/media-client
2
2
 
3
+ ## 27.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#97923](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97923)
8
+ [`81075dd79e7f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/81075dd79e7f) -
9
+ BREAKING CHANGE: Attribute `preview` (used for local previews during file upload) is now set
10
+ unnconditionally in the file state. No longer when it's supported by the broswer. If your
11
+ application relies on this attribute, check the file mimetype to ensure that you are using it
12
+ properly.
13
+
3
14
  ## 26.3.0
4
15
 
5
16
  ### Minor Changes
6
17
 
7
- - [#87494](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87494) [`050f1e462e17`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/050f1e462e17) - Added Get Binary endpoint to Media API class
18
+ - [#87494](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87494)
19
+ [`050f1e462e17`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/050f1e462e17) -
20
+ Added Get Binary endpoint to Media API class
8
21
 
9
22
  ## 26.2.3
10
23
 
11
24
  ### Patch Changes
12
25
 
13
- - [#86762](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86762) [`f3d1602fa574`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3d1602fa574) - CXP-2655 Implemented a change to an endpoint for Mocked Media API
26
+ - [#86762](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86762)
27
+ [`f3d1602fa574`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3d1602fa574) -
28
+ CXP-2655 Implemented a change to an endpoint for Mocked Media API
14
29
 
15
30
  ## 26.2.2
16
31
 
17
32
  ### Patch Changes
18
33
 
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`
34
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
35
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
36
+ Upgrade Typescript from `4.9.5` to `5.4.2`
20
37
 
21
38
  ## 26.2.1
22
39
 
23
40
  ### Patch Changes
24
41
 
25
- - [#77668](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77668) [`c8a08df51a9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c8a08df51a9f) - Add password protected pdf support for media viewer
42
+ - [#77668](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77668)
43
+ [`c8a08df51a9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c8a08df51a9f) -
44
+ Add password protected pdf support for media viewer
26
45
 
27
46
  ## 26.2.0
28
47
 
29
48
  ### Minor Changes
30
49
 
31
- - [#70414](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70414) [`2125e318f970`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2125e318f970) - Adding the option to use SHA256 for file uploads to ensure Media is FedRAMP compliant. If not specified the system will default to SHA1 to preserve backwards compatibiilty.
50
+ - [#70414](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70414)
51
+ [`2125e318f970`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2125e318f970) -
52
+ Adding the option to use SHA256 for file uploads to ensure Media is FedRAMP compliant. If not
53
+ specified the system will default to SHA1 to preserve backwards compatibiilty.
32
54
 
33
55
  ### Patch Changes
34
56
 
35
- - Updated dependencies
57
+ - Updated dependencies
36
58
 
37
59
  ## 26.1.2
38
60
 
39
61
  ### Patch Changes
40
62
 
41
- - [#71336](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71336) [`9abd05a91e25`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9abd05a91e25) - Fixed image load performance issue where setting max age in getFileImageURL params to undefined would override the default
63
+ - [#71336](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71336)
64
+ [`9abd05a91e25`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9abd05a91e25) -
65
+ Fixed image load performance issue where setting max age in getFileImageURL params to undefined
66
+ would override the default
42
67
 
43
68
  ## 26.1.1
44
69
 
45
70
  ### Patch Changes
46
71
 
47
- - [#65817](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65817) [`3be0ec786219`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3be0ec786219) - Updated mocked Media Api mothod
72
+ - [#65817](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65817)
73
+ [`3be0ec786219`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3be0ec786219) -
74
+ Updated mocked Media Api mothod
48
75
 
49
76
  ## 26.1.0
50
77
 
51
78
  ### Minor Changes
52
79
 
53
- - [#60253](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60253) [`2d535695b891`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2d535695b891) - Exposed MediaApi type
54
- - [#60253](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60253) [`662b6d273ec0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/662b6d273ec0) - Breaking change: Updated interface for Test Helper "createMockedMediaApi". This is not a production-code breaking change
80
+ - [#60253](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60253)
81
+ [`2d535695b891`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2d535695b891) -
82
+ Exposed MediaApi type
83
+ - [#60253](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60253)
84
+ [`662b6d273ec0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/662b6d273ec0) -
85
+ Breaking change: Updated interface for Test Helper "createMockedMediaApi". This is not a
86
+ production-code breaking change
55
87
 
56
88
  ## 26.0.0
57
89
 
58
90
  ### Major Changes
59
91
 
60
- - [#60352](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60352) [`ff9488b450dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff9488b450dd) - WHAT: Media has removed the ability to probe for existing file chunks.
61
- WHY: This is to support the work to deprecate SHA1 usage and make the Media Platform comply with FedRAMP moderate controls.
62
- HOW: Remove any calls you have directly to probing, instead upload all files directly. If you upload files via MediaPicker no changes are required.
92
+ - [#60352](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60352)
93
+ [`ff9488b450dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff9488b450dd) -
94
+ WHAT: Media has removed the ability to probe for existing file chunks.
95
+ WHY: This is to support the work to deprecate SHA1 usage and make the Media Platform comply with
96
+ FedRAMP moderate controls. HOW: Remove any calls you have directly to probing, instead upload
97
+ all files directly. If you upload files via MediaPicker no changes are required.
63
98
 
64
99
  ### Patch Changes
65
100
 
66
- - Updated dependencies
101
+ - Updated dependencies
67
102
 
68
103
  ## 25.1.0
69
104
 
70
105
  ### Minor Changes
71
106
 
72
- - [#43817](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43817) [`048aca70499`](https://bitbucket.org/atlassian/atlassian-frontend/commits/048aca70499) - new Mocked Media Api utility for tests
107
+ - [#43817](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43817)
108
+ [`048aca70499`](https://bitbucket.org/atlassian/atlassian-frontend/commits/048aca70499) - new
109
+ Mocked Media Api utility for tests
73
110
 
74
111
  ## 25.0.3
75
112
 
76
113
  ### Patch Changes
77
114
 
78
- - [#43076](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43076) [`43317a91142`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43317a91142) - Added new internal interface MediaApi
115
+ - [#43076](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43076)
116
+ [`43317a91142`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43317a91142) - Added
117
+ new internal interface MediaApi
79
118
 
80
119
  ## 25.0.2
81
120
 
82
121
  ### Patch Changes
83
122
 
84
- - Updated dependencies
123
+ - Updated dependencies
85
124
 
86
125
  ## 25.0.1
87
126
 
88
127
  ### Patch Changes
89
128
 
90
- - Updated dependencies
129
+ - Updated dependencies
91
130
 
92
131
  ## 25.0.0
93
132
 
94
133
  ### Major Changes
95
134
 
96
- - [#41659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41659) [`a0c97a19dba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0c97a19dba) - Remove unused utils and depreciated exports in mediaClient.
135
+ - [#41659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41659)
136
+ [`a0c97a19dba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0c97a19dba) - Remove
137
+ unused utils and depreciated exports in mediaClient.
97
138
 
98
139
  ## 24.0.3
99
140
 
100
141
  ### Patch Changes
101
142
 
102
- - [#41932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41932) [`756dd90f1a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/756dd90f1a3) - 1. Deprecate withMediaClient HOC in media-client and migrated it to media-client-react 2. clean up deprecated imports from media-client
143
+ - [#41932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41932)
144
+ [`756dd90f1a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/756dd90f1a3) - 1.
145
+ Deprecate withMediaClient HOC in media-client and migrated it to media-client-react 2. clean up
146
+ deprecated imports from media-client
103
147
 
104
148
  ## 24.0.2
105
149
 
106
150
  ### Patch Changes
107
151
 
108
- - [#41501](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41501) [`b3cb749dc67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3cb749dc67) - Fix TS errors in AFM
152
+ - [#41501](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41501)
153
+ [`b3cb749dc67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3cb749dc67) - Fix TS
154
+ errors in AFM
109
155
 
110
156
  ## 24.0.1
111
157
 
112
158
  ### Patch Changes
113
159
 
114
- - [#41371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41371) [`a5766038a35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5766038a35) - Fix TS errors in AFM
160
+ - [#41371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41371)
161
+ [`a5766038a35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5766038a35) - Fix TS
162
+ errors in AFM
115
163
 
116
164
  ## 24.0.0
117
165
 
118
166
  ### Major Changes
119
167
 
120
- - [#38532](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38532) [`7b6a2c6671b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b6a2c6671b) - Introducing 'media-state' for handling media internal file state.
121
- Introducing 'media-client-react' to provide hooks for seamless media-client integration with React.
122
- Introducing 'MediaCardV2' with a feature flag to replace rxjs based fileState subscription with 'useFileState' hook.
123
- Removed unused feature flags APIs from 'media-client' and its helper functions from 'media-common'.
168
+ - [#38532](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38532)
169
+ [`7b6a2c6671b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b6a2c6671b) -
170
+ Introducing 'media-state' for handling media internal file state. Introducing
171
+ 'media-client-react' to provide hooks for seamless media-client integration with React.
172
+ Introducing 'MediaCardV2' with a feature flag to replace rxjs based fileState subscription with
173
+ 'useFileState' hook. Removed unused feature flags APIs from 'media-client' and its helper
174
+ functions from 'media-common'.
124
175
 
125
176
  ### Patch Changes
126
177
 
127
- - Updated dependencies
178
+ - Updated dependencies
128
179
 
129
180
  ## 23.2.0
130
181
 
131
182
  ### Minor Changes
132
183
 
133
- - [#39255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39255) [`ede6ee7aaab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ede6ee7aaab) - Updated tests, examples and moving towards /test-helper export in packages to prevent circular dependancies
184
+ - [#39255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39255)
185
+ [`ede6ee7aaab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ede6ee7aaab) -
186
+ Updated tests, examples and moving towards /test-helper export in packages to prevent circular
187
+ dependancies
134
188
 
135
189
  ### Patch Changes
136
190
 
137
- - Updated dependencies
191
+ - Updated dependencies
138
192
 
139
193
  ## 23.1.3
140
194
 
141
195
  ### Patch Changes
142
196
 
143
- - Updated dependencies
197
+ - Updated dependencies
144
198
 
145
199
  ## 23.1.2
146
200
 
147
201
  ### Patch Changes
148
202
 
149
- - [#37340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37340) [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
203
+ - [#37340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37340)
204
+ [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt
205
+ out of peer dependency enforcement
150
206
 
151
207
  ## 23.1.1
152
208
 
153
209
  ### Patch Changes
154
210
 
155
- - [#36757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36757) [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
211
+ - [#36757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36757)
212
+ [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add
213
+ postinstall check to enforce internal peer dependencies
156
214
 
157
215
  ## 23.1.0
158
216
 
159
217
  ### Minor Changes
160
218
 
161
- - [#35121](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35121) [`195c473dd37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/195c473dd37) - Exposed helper to create Request errors externally
219
+ - [#35121](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35121)
220
+ [`195c473dd37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/195c473dd37) -
221
+ Exposed helper to create Request errors externally
162
222
 
163
223
  ## 23.0.2
164
224
 
165
225
  ### Patch Changes
166
226
 
167
- - [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728) [`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
227
+ - [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728)
228
+ [`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) -
229
+ Internal change to enforce token usage for spacing properties. There is no expected visual or
230
+ behaviour change.
168
231
 
169
232
  ## 23.0.1
170
233
 
171
234
  ### Patch Changes
172
235
 
173
- - Updated dependencies
236
+ - Updated dependencies
174
237
 
175
238
  ## 23.0.0
176
239
 
177
240
  ### Major Changes
178
241
 
179
- - [#34887](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34887) [`eedf90fbaa9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eedf90fbaa9) - 'isPreviewableType' no longer requires feature flags to be passed as an argument since we are removing the new card experience feature flag
242
+ - [#34887](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34887)
243
+ [`eedf90fbaa9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eedf90fbaa9) -
244
+ 'isPreviewableType' no longer requires feature flags to be passed as an argument since we are
245
+ removing the new card experience feature flag
180
246
 
181
247
  ### Patch Changes
182
248
 
183
- - Updated dependencies
249
+ - Updated dependencies
184
250
 
185
251
  ## 22.0.5
186
252
 
187
253
  ### Patch Changes
188
254
 
189
- - [#34814](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34814) [`a7281dbb78f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7281dbb78f) - Moved onFileRejection prop to Upload params and added file-size-limit API changes to /upload endpoint
255
+ - [#34814](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34814)
256
+ [`a7281dbb78f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7281dbb78f) - Moved
257
+ onFileRejection prop to Upload params and added file-size-limit API changes to /upload endpoint
190
258
 
191
259
  ## 22.0.4
192
260
 
193
261
  ### Patch Changes
194
262
 
195
- - [#34644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34644) [`4d139e63f12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d139e63f12) - [ux] As part of migrating from the classic card experience to the new card experience, media of type 'doc' displays a preview by default
263
+ - [#34644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34644)
264
+ [`4d139e63f12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d139e63f12) - [ux]
265
+ As part of migrating from the classic card experience to the new card experience, media of type
266
+ 'doc' displays a preview by default
196
267
 
197
268
  ## 22.0.3
198
269
 
199
270
  ### Patch Changes
200
271
 
201
- - [#34192](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34192) [`b098a252236`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b098a252236) - Add emptyFileName as a reason to FileFetcherError.
202
- - [`e725edbb0d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e725edbb0d9) - Media Client now fetch remote file state regardless of file browser support (removed feature flag, permanent change)
203
- - [`9425ed86eb7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9425ed86eb7) - File size limit is now verified in the backend, no longer the frontend
204
- - Updated dependencies
272
+ - [#34192](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34192)
273
+ [`b098a252236`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b098a252236) - Add
274
+ emptyFileName as a reason to FileFetcherError.
275
+ - [`e725edbb0d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e725edbb0d9) - Media
276
+ Client now fetch remote file state regardless of file browser support (removed feature flag,
277
+ permanent change)
278
+ - [`9425ed86eb7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9425ed86eb7) - File
279
+ size limit is now verified in the backend, no longer the frontend
280
+ - Updated dependencies
205
281
 
206
282
  ## 22.0.2
207
283
 
208
284
  ### Patch Changes
209
285
 
210
- - [#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
211
- - Updated dependencies
286
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
287
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
288
+ legacy types are published for TS 4.5-4.8
289
+ - Updated dependencies
212
290
 
213
291
  ## 22.0.1
214
292
 
215
293
  ### Patch Changes
216
294
 
217
- - [#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`
218
- - Updated dependencies
295
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
296
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
297
+ Upgrade Typescript from `4.5.5` to `4.9.5`
298
+ - Updated dependencies
219
299
 
220
300
  ## 22.0.0
221
301
 
222
302
  ### Minor Changes
223
303
 
224
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
304
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
305
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
306
+ minor dependency bump
225
307
 
226
308
  ### Patch Changes
227
309
 
228
- - Updated dependencies
310
+ - Updated dependencies
229
311
 
230
312
  ## 21.1.0
231
313
 
232
314
  ### Minor Changes
233
315
 
234
- - [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004) [`1df7534fc12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1df7534fc12) - [ux] Introduce file size limits when uploading
316
+ - [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
317
+ [`1df7534fc12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1df7534fc12) - [ux]
318
+ Introduce file size limits when uploading
235
319
 
236
320
  ## 21.0.0
237
321
 
238
322
  ### Major Changes
239
323
 
240
- - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`0f99ed9df35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f99ed9df35) - BREAKING CHANGES:
324
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
325
+ [`0f99ed9df35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f99ed9df35) -
326
+ BREAKING CHANGES:
241
327
 
242
- - Media Store class no longer exposes getCollectionItems method
328
+ - Media Store class no longer exposes getCollectionItems method
243
329
 
244
- - `MediaClient.collection.removeFile` method is now accessible through the replacement method `MediaClient.removeFileFromCollection`
330
+ - `MediaClient.collection.removeFile` method is now accessible through the replacement method
331
+ `MediaClient.removeFileFromCollection`
245
332
 
246
- - `MediaClient.collection` has been fully removed. The following classes, types and utils have been also removed:
333
+ - `MediaClient.collection` has been fully removed. The following classes, types and utils have
334
+ been also removed:
247
335
 
248
- - MediaCollection
249
- - MediaCollectionItem
250
- - MediaCollectionItems
251
- - MediaCollectionItemDetails
252
- - MediaCollectionItemMinimalDetails
253
- - isMediaCollectionItemFullDetails
336
+ - MediaCollection
337
+ - MediaCollectionItem
338
+ - MediaCollectionItems
339
+ - MediaCollectionItemDetails
340
+ - MediaCollectionItemMinimalDetails
341
+ - isMediaCollectionItemFullDetails
254
342
 
255
- - Renamed type `MediaCollectionItemFullDetails` to `MediaItemDetails`
343
+ - Renamed type `MediaCollectionItemFullDetails` to `MediaItemDetails`
256
344
 
257
- - `MediaSubscribable` is no longer be a generic type. It now only works with `FileState`.
345
+ - `MediaSubscribable` is no longer be a generic type. It now only works with `FileState`.
258
346
 
259
- - Removed `MediaSubscribableItem` type
347
+ - Removed `MediaSubscribableItem` type
260
348
 
261
349
  ### Patch Changes
262
350
 
263
- - Updated dependencies
351
+ - Updated dependencies
264
352
 
265
353
  ## 20.2.1
266
354
 
267
355
  ### Patch Changes
268
356
 
269
- - Updated dependencies
357
+ - Updated dependencies
270
358
 
271
359
  ## 20.2.0
272
360
 
273
361
  ### Minor Changes
274
362
 
275
- - [#31582](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31582) [`0e2981295ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e2981295ce) - Media Client accepts a feature flags object in the upload method overriding internal flags
363
+ - [#31582](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31582)
364
+ [`0e2981295ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e2981295ce) - Media
365
+ Client accepts a feature flags object in the upload method overriding internal flags
276
366
 
277
367
  ## 20.1.0
278
368
 
279
369
  ### Minor Changes
280
370
 
281
- - [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248) [`894e1910ed4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/894e1910ed4) - Deprecation notice: Media Client and Media Store classes will no longer expose collection items listing methods. They will be removed in the next release
371
+ - [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
372
+ [`894e1910ed4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/894e1910ed4) -
373
+ Deprecation notice: Media Client and Media Store classes will no longer expose collection items
374
+ listing methods. They will be removed in the next release
282
375
 
283
376
  ### Patch Changes
284
377
 
285
- - Updated dependencies
378
+ - Updated dependencies
286
379
 
287
380
  ## 20.0.3
288
381
 
289
382
  ### Patch Changes
290
383
 
291
- - [#31194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31194) [`4fdaa8a4645`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fdaa8a4645) - update default chunk size from 4mb to 5mb
384
+ - [#31194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31194)
385
+ [`4fdaa8a4645`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fdaa8a4645) - update
386
+ default chunk size from 4mb to 5mb
292
387
 
293
388
  ## 20.0.2
294
389
 
295
390
  ### Patch Changes
296
391
 
297
- - [#30177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30177) [`cdd0445e5a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdd0445e5a5) - Fixed instantiation logic when feature flags object is passed
392
+ - [#30177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30177)
393
+ [`cdd0445e5a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdd0445e5a5) - Fixed
394
+ instantiation logic when feature flags object is passed
298
395
 
299
396
  ## 20.0.1
300
397
 
301
398
  ### Patch Changes
302
399
 
303
- - [#28932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28932) [`90f6203e794`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90f6203e794) - Media Client now fetch remote file state regardless of file browser support (behind feature flag)
304
- - Updated dependencies
400
+ - [#28932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28932)
401
+ [`90f6203e794`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90f6203e794) - Media
402
+ Client now fetch remote file state regardless of file browser support (behind feature flag)
403
+ - Updated dependencies
305
404
 
306
405
  ## 20.0.0
307
406
 
308
407
  ### Major Changes
309
408
 
310
- - [#28374](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28374) [`2e902a363ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e902a363ad) - MEX-1649 Update uploadChunk and probeChunk functions in mediastore with mandatory params - uploadId and partNumber
409
+ - [#28374](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28374)
410
+ [`2e902a363ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e902a363ad) -
411
+ MEX-1649 Update uploadChunk and probeChunk functions in mediastore with mandatory params -
412
+ uploadId and partNumber
311
413
 
312
414
  ### Patch Changes
313
415
 
314
- - Updated dependencies
416
+ - Updated dependencies
315
417
 
316
418
  ## 19.1.1
317
419
 
318
420
  ### Patch Changes
319
421
 
320
- - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324) [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
422
+ - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
423
+ [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
424
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
425
+ tokens() function and improving performance.
321
426
 
322
427
  ## 19.1.0
323
428
 
324
429
  ### Minor Changes
325
430
 
326
- - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`81573c1dfa7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81573c1dfa7) - Items call creates a batched metadata trace Id
327
- - [`0bccac57db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0bccac57db6) - remove mediaUploadApiV2 Feature flag
431
+ - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
432
+ [`81573c1dfa7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81573c1dfa7) - Items
433
+ call creates a batched metadata trace Id
434
+ - [`0bccac57db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0bccac57db6) - remove
435
+ mediaUploadApiV2 Feature flag
328
436
 
329
437
  ### Patch Changes
330
438
 
331
- - [`a8eeb045e3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a8eeb045e3a) - adding media only callouts to docs
332
- - [`3d40d5e9b37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d40d5e9b37) - Adopt updated version of getRandomHex function for generating traceId
333
- - Updated dependencies
439
+ - [`a8eeb045e3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a8eeb045e3a) - adding
440
+ media only callouts to docs
441
+ - [`3d40d5e9b37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d40d5e9b37) - Adopt
442
+ updated version of getRandomHex function for generating traceId
443
+ - Updated dependencies
334
444
 
335
445
  ## 19.0.0
336
446
 
337
447
  ### Major Changes
338
448
 
339
- - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`5eb06146a4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb06146a4e) - Added support traceContext to be supplied to all request endpoint points.
449
+ - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
450
+ [`5eb06146a4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb06146a4e) - Added
451
+ support traceContext to be supplied to all request endpoint points.
340
452
 
341
453
  ### Patch Changes
342
454
 
343
- - [`358de54a124`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358de54a124) - Allow collection-fetcher endpoints to pass traceContext
455
+ - [`358de54a124`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358de54a124) - Allow
456
+ collection-fetcher endpoints to pass traceContext
344
457
 
345
458
  ## 18.1.0
346
459
 
347
460
  ### Minor Changes
348
461
 
349
- - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`2c402e87213`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c402e87213) - [Experimental] Add traceId in media card get image request.
462
+ - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
463
+ [`2c402e87213`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c402e87213) -
464
+ [Experimental] Add traceId in media card get image request.
350
465
 
351
466
  ### Patch Changes
352
467
 
353
- - [`bf8302c838a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf8302c838a) - Implemented internal functionality to create local video preview.
354
- - Updated dependencies
468
+ - [`bf8302c838a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf8302c838a) -
469
+ Implemented internal functionality to create local video preview.
470
+ - Updated dependencies
355
471
 
356
472
  ## 18.0.0
357
473
 
358
474
  ### Major Changes
359
475
 
360
- - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`37ff149ab87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ff149ab87) - Remove exposing StreamsCache class
476
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
477
+ [`37ff149ab87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ff149ab87) - Remove
478
+ exposing StreamsCache class
361
479
 
362
480
  ### Patch Changes
363
481
 
364
- - [`153829bfcb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153829bfcb3) - Upgrade caching algorithm library lru-fast to lru_map.
365
- - Updated dependencies
482
+ - [`153829bfcb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153829bfcb3) -
483
+ Upgrade caching algorithm library lru-fast to lru_map.
484
+ - Updated dependencies
366
485
 
367
486
  ## 17.1.3
368
487
 
369
488
  ### Patch Changes
370
489
 
371
- - [#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`
372
- - Updated dependencies
490
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
491
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
492
+ Upgrade Typescript from `4.3.5` to `4.5.5`
493
+ - Updated dependencies
373
494
 
374
495
  ## 17.1.2
375
496
 
376
497
  ### Patch Changes
377
498
 
378
- - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`45b6d35ea96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45b6d35ea96) - [ME-1327] Added new upload methods to editor mobile bridge to support previews and progress for media cards.
499
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
500
+ [`45b6d35ea96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45b6d35ea96) -
501
+ [ME-1327] Added new upload methods to editor mobile bridge to support previews and progress for
502
+ media cards.
379
503
 
380
504
  ## 17.1.1
381
505
 
382
506
  ### Patch Changes
383
507
 
384
- - [#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`.
385
- - Updated dependencies
508
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
509
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
510
+ Upgrade Typescript from `4.2.4` to `4.3.5`.
511
+ - Updated dependencies
386
512
 
387
513
  ## 17.1.0
388
514
 
389
515
  ### Minor Changes
390
516
 
391
- - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`c07a8176ddf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c07a8176ddf) - New BlobType SlicedBlob that includes partnumber introduced and used for uploading chunks
392
- - [`a2e6bd37426`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2e6bd37426) - add uploadId to prob function to support new media upload api
517
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
518
+ [`c07a8176ddf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c07a8176ddf) - New
519
+ BlobType SlicedBlob that includes partnumber introduced and used for uploading chunks
520
+ - [`a2e6bd37426`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2e6bd37426) - add
521
+ uploadId to prob function to support new media upload api
393
522
 
394
523
  ### Patch Changes
395
524
 
396
- - [`e80f52696fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e80f52696fe) - Migrated styled-components to emotion
397
- - [`de9dc9e7cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/de9dc9e7cbd) - Renamed internal helpers and files
398
- - Updated dependencies
525
+ - [`e80f52696fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e80f52696fe) -
526
+ Migrated styled-components to emotion
527
+ - [`de9dc9e7cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/de9dc9e7cbd) -
528
+ Renamed internal helpers and files
529
+ - Updated dependencies
399
530
 
400
531
  ## 17.0.0
401
532
 
402
533
  ### Major Changes
403
534
 
404
- - [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`a718050239e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a718050239e) - Media Client Uploader enforces a hard limit of 2Tb files.
535
+ - [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029)
536
+ [`a718050239e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a718050239e) - Media
537
+ Client Uploader enforces a hard limit of 2Tb files.
405
538
 
406
- To mitigate these changes:
539
+ To mitigate these changes:
407
540
 
408
- - Set the feature flag mediaUploadApiV2 as false or Revert to a previous version for affected consumers and methods;
409
- Media Client uploadFile method.
410
- Media Client File Fetcher upload method.
411
- Media Picker.
541
+ - Set the feature flag mediaUploadApiV2 as false or Revert to a previous version for affected
542
+ consumers and methods; Media Client uploadFile method. Media Client File Fetcher upload
543
+ method. Media Picker.
412
544
 
413
- - [`e4d0b89cd8b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4d0b89cd8b) - Additional parameters and changes to the way parameters are passed to MediaStore.uploadChunk and MediaStore.probeChunks.
414
- - [`d07442a7ff7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d07442a7ff7) - Breaking change to media-client uploadFile method, chunkSize and processingBatchSize as parameters removed from uploadFile.
545
+ - [`e4d0b89cd8b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4d0b89cd8b) -
546
+ Additional parameters and changes to the way parameters are passed to MediaStore.uploadChunk and
547
+ MediaStore.probeChunks.
548
+ - [`d07442a7ff7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d07442a7ff7) -
549
+ Breaking change to media-client uploadFile method, chunkSize and processingBatchSize as
550
+ parameters removed from uploadFile.
415
551
 
416
552
  ### Patch Changes
417
553
 
418
- - [`61cf857a95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cf857a95a) - A util function for dynamically calculating chunkSizes.
419
- - Updated dependencies
554
+ - [`61cf857a95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cf857a95a) - A util
555
+ function for dynamically calculating chunkSizes.
556
+ - Updated dependencies
420
557
 
421
558
  ## 16.0.1
422
559
 
423
560
  ### Patch Changes
424
561
 
425
- - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`12d0af77572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d0af77572) - Store media environment in session storage
426
- - [`325e210e59f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/325e210e59f) - Revert changes made in MEX-1638-revert-update-media-store-class-with-new-endpoint-parameters
427
- - [`b73f20ed703`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73f20ed703) - EDM-3073: Fix collab for media inline and copy-paste regression
428
- - [`c2ede50a80a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ede50a80a) - Add media region and environment returned from media API response into failed analytic events.
429
- - Updated dependencies
562
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
563
+ [`12d0af77572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d0af77572) - Store
564
+ media environment in session storage
565
+ - [`325e210e59f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/325e210e59f) - Revert
566
+ changes made in MEX-1638-revert-update-media-store-class-with-new-endpoint-parameters
567
+ - [`b73f20ed703`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73f20ed703) -
568
+ EDM-3073: Fix collab for media inline and copy-paste regression
569
+ - [`c2ede50a80a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ede50a80a) - Add
570
+ media region and environment returned from media API response into failed analytic events.
571
+ - Updated dependencies
430
572
 
431
573
  ## 16.0.0
432
574
 
433
575
  ### Major Changes
434
576
 
435
- - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`b6d47de3fd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6d47de3fd9) - [MEX-1417] remove access to media file streams cache
577
+ - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
578
+ [`b6d47de3fd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6d47de3fd9) -
579
+ [MEX-1417] remove access to media file streams cache
436
580
 
437
581
  ### Minor Changes
438
582
 
439
- - [`5e249d1ad05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e249d1ad05) - Exposed media environment
583
+ - [`5e249d1ad05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e249d1ad05) -
584
+ Exposed media environment
440
585
 
441
586
  ### Patch Changes
442
587
 
443
- - [`bde94d1a336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bde94d1a336) - When chunkinator has multiple processing batches of chunks, file will only be finalised uploading for once.
444
- - [`567b33b2eeb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/567b33b2eeb) - stripe out null and undefined params when calling media server
445
- - [`c4c75f5a769`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c4c75f5a769) - Removed query string from media client
446
- - Updated dependencies
588
+ - [`bde94d1a336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bde94d1a336) - When
589
+ chunkinator has multiple processing batches of chunks, file will only be finalised uploading for
590
+ once.
591
+ - [`567b33b2eeb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/567b33b2eeb) - stripe
592
+ out null and undefined params when calling media server
593
+ - [`c4c75f5a769`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c4c75f5a769) -
594
+ Removed query string from media client
595
+ - Updated dependencies
447
596
 
448
597
  ## 15.1.1
449
598
 
450
599
  ### Patch Changes
451
600
 
452
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
601
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
602
+ [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) -
603
+ Changes to support Node 16 Typescript definitions from `@types/node`.
453
604
 
454
605
  ## 15.1.0
455
606
 
456
607
  ### Minor Changes
457
608
 
458
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Export `WithMediaClient` type to resolve a deep import path d.ts reference
609
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Export
610
+ `WithMediaClient` type to resolve a deep import path d.ts reference
459
611
 
460
612
  ### Patch Changes
461
613
 
462
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
463
- - Updated dependencies
614
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
615
+ Upgrade to TypeScript 4.2.4
616
+ - Updated dependencies
464
617
 
465
618
  ## 15.0.0
466
619
 
467
620
  ### Major Changes
468
621
 
469
- - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`fdc41ee7a0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fdc41ee7a0b) - Stop exposing observableToPromise from media client API.
470
- mediaSubscribableToPromise is used internally.
471
- - [`118f3af101f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/118f3af101f) - Media Client APIs has been updated to use MediaSubscribable which provides subscription functionality (similar to RxJs observables).
472
- It exposes subscribe method that is called with MediaObserver as an argument and returns MediaSubscription.
473
- MediaSubscription exposes unsubscribe method.
622
+ - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
623
+ [`fdc41ee7a0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fdc41ee7a0b) - Stop
624
+ exposing observableToPromise from media client API. mediaSubscribableToPromise is used
625
+ internally.
626
+ - [`118f3af101f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/118f3af101f) - Media
627
+ Client APIs has been updated to use MediaSubscribable which provides subscription functionality
628
+ (similar to RxJs observables). It exposes subscribe method that is called with MediaObserver as
629
+ an argument and returns MediaSubscription. MediaSubscription exposes unsubscribe method.
474
630
 
475
- getFileState:
476
- The returned type of this function has changed from RxJs ReplaySubject to MediaSubscribable.
631
+ getFileState: The returned type of this function has changed from RxJs ReplaySubject to
632
+ MediaSubscribable.
477
633
 
478
- ```
479
- import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
634
+ ```
635
+ import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
480
636
 
481
- const mediaClient = new MediaClient({ authProvider });
637
+ const mediaClient = new MediaClient({ authProvider });
482
638
 
483
- const fileStateSubscribable: MediaSubscribable<FileState> = mediaClient.file.getFileState(id);
639
+ const fileStateSubscribable: MediaSubscribable<FileState> = mediaClient.file.getFileState(id);
484
640
 
485
- const mediaObserver: MediaObserver<FileState> = {
486
- next: (fileState) => {
487
- nextCallback(fileState)
488
- },
489
- error: (error) => {
490
- errorCallback(error)
491
- },
492
- };
641
+ const mediaObserver: MediaObserver<FileState> = {
642
+ next: (fileState) => {
643
+ nextCallback(fileState)
644
+ },
645
+ error: (error) => {
646
+ errorCallback(error)
647
+ },
648
+ };
493
649
 
494
- const subscription: MediaSubscription = fileStateSubscribable.subscribe(mediaObserver);
650
+ const subscription: MediaSubscription = fileStateSubscribable.subscribe(mediaObserver);
495
651
 
496
- subscription.unsubscribe();
497
- ```
652
+ subscription.unsubscribe();
653
+ ```
498
654
 
499
- upload:
500
- The returned type of this function has changed from RxJs ReplaySubject to MediaSubscribable.
655
+ upload: The returned type of this function has changed from RxJs ReplaySubject to
656
+ MediaSubscribable.
501
657
 
502
- ```
503
- import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
658
+ ```
659
+ import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
504
660
 
505
- const mediaClient = new MediaClient({ authProvider });
661
+ const mediaClient = new MediaClient({ authProvider });
506
662
 
507
- const uploadFileSubscribable: MediaSubscribable<FileState> = mediaClient.file.upload(uploadableFile);
663
+ const uploadFileSubscribable: MediaSubscribable<FileState> = mediaClient.file.upload(uploadableFile);
508
664
 
509
- const mediaObserver: MediaObserver<FileState> = {
510
- next: (fileState) => {
511
- nextCallback(fileState)
512
- },
513
- error: (error) => {
514
- errorCallback(error)
515
- },
516
- };
665
+ const mediaObserver: MediaObserver<FileState> = {
666
+ next: (fileState) => {
667
+ nextCallback(fileState)
668
+ },
669
+ error: (error) => {
670
+ errorCallback(error)
671
+ },
672
+ };
517
673
 
518
- const subscription: MediaSubscription = uploadFileSubscribable.subscribe(mediaObserver);
674
+ const subscription: MediaSubscription = uploadFileSubscribable.subscribe(mediaObserver);
519
675
 
520
- subscription.unsubscribe();
521
- ```
676
+ subscription.unsubscribe();
677
+ ```
522
678
 
523
- getItems:
524
- The returned type of this function has changed from RxJs ReplaySubject to MediaSubscribable.
679
+ getItems: The returned type of this function has changed from RxJs ReplaySubject to
680
+ MediaSubscribable.
525
681
 
526
- ```
527
- import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
682
+ ```
683
+ import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
528
684
 
529
- const mediaClient = new MediaClient({ authProvider });
685
+ const mediaClient = new MediaClient({ authProvider });
530
686
 
531
- const collectionItemsSubscribable: MediaSubscribable<MediaCollectionItem[]> = mediaClient.collection.getItems(collectionName);
687
+ const collectionItemsSubscribable: MediaSubscribable<MediaCollectionItem[]> = mediaClient.collection.getItems(collectionName);
532
688
 
533
- const mediaObserver: MediaObserver<MediaCollectionItem[]> = {
534
- next: (items) => {
535
- nextCallback(items)
536
- },
537
- error: (error) => {
538
- errorCallback(error)
539
- },
540
- };
689
+ const mediaObserver: MediaObserver<MediaCollectionItem[]> = {
690
+ next: (items) => {
691
+ nextCallback(items)
692
+ },
693
+ error: (error) => {
694
+ errorCallback(error)
695
+ },
696
+ };
541
697
 
542
- const subscription: MediaSubscription = collectionItemsSubscribable.subscribe(mediaObserver);
698
+ const subscription: MediaSubscription = collectionItemsSubscribable.subscribe(mediaObserver);
543
699
 
544
- subscription.unsubscribe();
545
- ```
700
+ subscription.unsubscribe();
701
+ ```
546
702
 
547
703
  ### Minor Changes
548
704
 
549
- - [`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove RxJs peer dependency
705
+ - [`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove
706
+ RxJs peer dependency
550
707
 
551
708
  ### Patch Changes
552
709
 
553
- - Updated dependencies
710
+ - Updated dependencies
554
711
 
555
712
  ## 14.4.0
556
713
 
557
714
  ### Minor Changes
558
715
 
559
- - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`7d2943a6038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d2943a6038) - Created MediaSubscribable wrapper around RxJs Observable
716
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
717
+ [`7d2943a6038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d2943a6038) -
718
+ Created MediaSubscribable wrapper around RxJs Observable
560
719
 
561
720
  ### Patch Changes
562
721
 
563
- - Updated dependencies
722
+ - Updated dependencies
564
723
 
565
724
  ## 14.3.2
566
725
 
567
726
  ### Patch Changes
568
727
 
569
- - [#17344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17344) [`59a14d364b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59a14d364b1) - Bump query-string@^6.14.1
728
+ - [#17344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17344)
729
+ [`59a14d364b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59a14d364b1) - Bump
730
+ query-string@^6.14.1
570
731
 
571
732
  ## 14.3.1
572
733
 
573
734
  ### Patch Changes
574
735
 
575
- - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass initialAuth to MediaStore
576
- - [`dc1f9d42903`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc1f9d42903) - Updated typeguard
577
- - [`f461edcfd05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f461edcfd05) - Update CardLoader to use react-loadable
578
- Add SSR feature prop to be passed in renderer and media card
579
- - Updated dependencies
736
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
737
+ [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass
738
+ initialAuth to MediaStore
739
+ - [`dc1f9d42903`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc1f9d42903) -
740
+ Updated typeguard
741
+ - [`f461edcfd05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f461edcfd05) - Update
742
+ CardLoader to use react-loadable Add SSR feature prop to be passed in renderer and media card
743
+ - Updated dependencies
580
744
 
581
745
  ## 14.3.0
582
746
 
583
747
  ### Minor Changes
584
748
 
585
- - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`b51fc0a9062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b51fc0a9062) - New helper to convert ImageResizeMode into FileImageMode
586
- - [`269ee940b87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/269ee940b87) - redesign error UI on new media card experience
749
+ - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
750
+ [`b51fc0a9062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b51fc0a9062) - New
751
+ helper to convert ImageResizeMode into FileImageMode
752
+ - [`269ee940b87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/269ee940b87) -
753
+ redesign error UI on new media card experience
587
754
 
588
755
  ### Patch Changes
589
756
 
590
- - [`fe9ced0cd70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe9ced0cd70) - Removed feature flags for polling settings
591
- - Updated dependencies
757
+ - [`fe9ced0cd70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe9ced0cd70) -
758
+ Removed feature flags for polling settings
759
+ - Updated dependencies
592
760
 
593
761
  ## 14.2.0
594
762
 
595
763
  ### Minor Changes
596
764
 
597
- - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`381deea2aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/381deea2aab) - MEX-710 Added mobileUpload API to media-client
765
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
766
+ [`381deea2aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/381deea2aab) -
767
+ MEX-710 Added mobileUpload API to media-client
598
768
 
599
769
  ### Patch Changes
600
770
 
601
- - [`c2ae093a067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ae093a067) - Fixed unit test taking more than 10secs
602
- - Updated dependencies
771
+ - [`c2ae093a067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ae093a067) - Fixed
772
+ unit test taking more than 10secs
773
+ - Updated dependencies
603
774
 
604
775
  ## 14.1.1
605
776
 
606
777
  ### Patch Changes
607
778
 
608
- - [#13973](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13973) [`e6689b61735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6689b61735) - Added a new authProviderTimeout parameter within resolveAuth to control the timeout duration.
779
+ - [#13973](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13973)
780
+ [`e6689b61735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6689b61735) - Added
781
+ a new authProviderTimeout parameter within resolveAuth to control the timeout duration.
609
782
 
610
783
  ## 14.1.0
611
784
 
612
785
  ### Minor Changes
613
786
 
614
- - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`17776bda189`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17776bda189) - - Improve Smart Links providers and batch requests mechanism
615
- - Remove non-functional props that impact reloading
787
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
788
+ [`17776bda189`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17776bda189) - -
789
+ Improve Smart Links providers and batch requests mechanism
790
+ - Remove non-functional props that impact reloading
616
791
 
617
792
  ### Patch Changes
618
793
 
619
- - [`7d869388cfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d869388cfe) - Added timeout to auth provider
794
+ - [`7d869388cfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d869388cfe) - Added
795
+ timeout to auth provider
620
796
 
621
797
  ## 14.0.0
622
798
 
623
799
  ### Minor Changes
624
800
 
625
- - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`531dcf9459d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/531dcf9459d) - Media Client allows sync operations by using initial Auth credentials when the consumer needs it _inmediatelly_ after instantiation (e.g., Server Side Rendering).
626
- MediaClientConfig requires the "initialAuth" attribute to provide an Auth object that does not come from an async Auth provider.
627
- Example:
628
-
629
- ```
630
- const mediaClientConfig = {
631
- authProvider: myAuthProvider,
632
- initialAuth: myAuth
633
- }
634
- const mediaClient = new MediaClient(mediaClientConfig);
635
- const imageUrl = mediaClient.getImageUrlSync(myFileId, myParams);
636
- ```
801
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
802
+ [`531dcf9459d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/531dcf9459d) - Media
803
+ Client allows sync operations by using initial Auth credentials when the consumer needs it
804
+ _inmediatelly_ after instantiation (e.g., Server Side Rendering). MediaClientConfig requires the
805
+ "initialAuth" attribute to provide an Auth object that does not come from an async Auth
806
+ provider. Example:
807
+
808
+ ```
809
+ const mediaClientConfig = {
810
+ authProvider: myAuthProvider,
811
+ initialAuth: myAuth
812
+ }
813
+ const mediaClient = new MediaClient(mediaClientConfig);
814
+ const imageUrl = mediaClient.getImageUrlSync(myFileId, myParams);
815
+ ```
637
816
 
638
817
  ### Patch Changes
639
818
 
640
- - Updated dependencies
819
+ - Updated dependencies
641
820
 
642
821
  ## 13.3.1
643
822
 
644
823
  ### Patch Changes
645
824
 
646
- - [#13080](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13080) [`f50b26327dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f50b26327dd) - Remove Expired check from Media Client
825
+ - [#13080](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13080)
826
+ [`f50b26327dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f50b26327dd) - Remove
827
+ Expired check from Media Client
647
828
 
648
829
  ## 13.3.0
649
830
 
650
831
  ### Minor Changes
651
832
 
652
- - [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`10932f6ae07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10932f6ae07) - SPFE-561: Remove the URLSearchParams polyfill
833
+ - [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
834
+ [`10932f6ae07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10932f6ae07) -
835
+ SPFE-561: Remove the URLSearchParams polyfill
653
836
 
654
837
  ## 13.2.1
655
838
 
656
839
  ### Patch Changes
657
840
 
658
- - [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`8cba1694b5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cba1694b5e) - Remove pollingMaxFailuresExceeded error from implementation and feature flags
659
- - [`50cc05dde71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cc05dde71) - Mark the following members as deprecated:
841
+ - [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
842
+ [`8cba1694b5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cba1694b5e) - Remove
843
+ pollingMaxFailuresExceeded error from implementation and feature flags
844
+ - [`50cc05dde71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cc05dde71) - Mark
845
+ the following members as deprecated:
660
846
 
661
- - getMediaTypeFromMimeType
662
- - isImageMimeTypeSupportedByBrowser
663
- - isDocumentMimeTypeSupportedByBrowser
664
- - isMimeTypeSupportedByBrowser
665
- - isImageMimeTypeSupportedByServer
666
- - isDocumentMimeTypeSupportedByServer
667
- - isAudioMimeTypeSupportedByServer
668
- - isVideoMimeTypeSupportedByServer
669
- - isUnknownMimeTypeSupportedByServer
670
- - isMimeTypeSupportedByServer
847
+ - getMediaTypeFromMimeType
848
+ - isImageMimeTypeSupportedByBrowser
849
+ - isDocumentMimeTypeSupportedByBrowser
850
+ - isMimeTypeSupportedByBrowser
851
+ - isImageMimeTypeSupportedByServer
852
+ - isDocumentMimeTypeSupportedByServer
853
+ - isAudioMimeTypeSupportedByServer
854
+ - isVideoMimeTypeSupportedByServer
855
+ - isUnknownMimeTypeSupportedByServer
856
+ - isMimeTypeSupportedByServer
671
857
 
672
- - Updated dependencies
858
+ - Updated dependencies
673
859
 
674
860
  ## 13.2.0
675
861
 
676
862
  ### Minor Changes
677
863
 
678
- - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`65c76061dc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65c76061dc0) - Verifiy token expiration before performing requests or providing URLs
864
+ - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
865
+ [`65c76061dc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65c76061dc0) -
866
+ Verifiy token expiration before performing requests or providing URLs
679
867
 
680
868
  ### Patch Changes
681
869
 
682
- - [`78125228ee2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78125228ee2) - Fixed token expiration criteria
683
- - [`3cd9ee2d15b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cd9ee2d15b) - Added RxJS compatiblity notice in Media docs
684
- - Updated dependencies
870
+ - [`78125228ee2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78125228ee2) - Fixed
871
+ token expiration criteria
872
+ - [`3cd9ee2d15b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cd9ee2d15b) - Added
873
+ RxJS compatiblity notice in Media docs
874
+ - Updated dependencies
685
875
 
686
876
  ## 13.1.2
687
877
 
688
878
  ### Patch Changes
689
879
 
690
- - [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569) [`8eefb856389`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eefb856389) - Added emptyItems failReason to media-client
880
+ - [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569)
881
+ [`8eefb856389`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eefb856389) - Added
882
+ emptyItems failReason to media-client
691
883
 
692
884
  ## 13.1.1
693
885
 
694
886
  ### Patch Changes
695
887
 
696
- - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`277ed9667b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/277ed9667b2) - Fixed media bundle names following atlassian-frontend linting rules
888
+ - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
889
+ [`277ed9667b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/277ed9667b2) - Fixed
890
+ media bundle names following atlassian-frontend linting rules
697
891
 
698
892
  ## 13.1.0
699
893
 
700
894
  ### Minor Changes
701
895
 
702
- - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`abc38bc9990`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abc38bc9990) - Added request metadata to failed frontend SLIs
896
+ - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
897
+ [`abc38bc9990`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abc38bc9990) - Added
898
+ request metadata to failed frontend SLIs
703
899
 
704
900
  ## 13.0.1
705
901
 
706
902
  ### Patch Changes
707
903
 
708
- - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`d6b31d9713d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6b31d9713d) - Fixed uncaught exceptions when uploading MP4/HEVC
904
+ - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
905
+ [`d6b31d9713d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6b31d9713d) - Fixed
906
+ uncaught exceptions when uploading MP4/HEVC
709
907
 
710
908
  ## 13.0.0
711
909
 
712
910
  ### Major Changes
713
911
 
714
- - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`1a37545d238`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a37545d238) - File Fetcher is now emitting errors from upload/copyFile operations from ReplaySubject instead of creating an ErrorFileState
912
+ - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
913
+ [`1a37545d238`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a37545d238) - File
914
+ Fetcher is now emitting errors from upload/copyFile operations from ReplaySubject instead of
915
+ creating an ErrorFileState
715
916
 
716
917
  ### Minor Changes
717
918
 
718
- - [`1d09c9ed549`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d09c9ed549) - refactor media-viewer for better analytics and error handling
719
- - [`37d4add135f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37d4add135f) - Refactored Media Client Error interface and types
720
- - [`398fee1d575`](https://bitbucket.org/atlassian/atlassian-frontend/commits/398fee1d575) - detect zero version (empty) files in media-client, throw FileFetcherError
919
+ - [`1d09c9ed549`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d09c9ed549) -
920
+ refactor media-viewer for better analytics and error handling
921
+ - [`37d4add135f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37d4add135f) -
922
+ Refactored Media Client Error interface and types
923
+ - [`398fee1d575`](https://bitbucket.org/atlassian/atlassian-frontend/commits/398fee1d575) - detect
924
+ zero version (empty) files in media-client, throw FileFetcherError
721
925
 
722
926
  ### Patch Changes
723
927
 
724
- - [`3a350428814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3a350428814) - Moved request error reason "clientExhaustedRetries" into an attribute to not obscure original error
725
- - [`ce5671da5e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce5671da5e7) - keep media analytics fileAttributes nested in attributes
726
- move FileStatus from media-client to media-common, maintaing export from media-client
727
- - [`6611b6b3975`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6611b6b3975) - Fixed isMediaClientError method to accept any type as input
728
- - Updated dependencies
928
+ - [`3a350428814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3a350428814) - Moved
929
+ request error reason "clientExhaustedRetries" into an attribute to not obscure original error
930
+ - [`ce5671da5e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce5671da5e7) - keep
931
+ media analytics fileAttributes nested in attributes move FileStatus from media-client to
932
+ media-common, maintaing export from media-client
933
+ - [`6611b6b3975`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6611b6b3975) - Fixed
934
+ isMediaClientError method to accept any type as input
935
+ - Updated dependencies
729
936
 
730
937
  ## 12.4.1
731
938
 
732
939
  ### Patch Changes
733
940
 
734
- - [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178) [`dfc79cafa6c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfc79cafa6c) - Fixed failures on /upload/createWithFiles not aborting upload
735
- - Updated dependencies
941
+ - [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
942
+ [`dfc79cafa6c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfc79cafa6c) - Fixed
943
+ failures on /upload/createWithFiles not aborting upload
944
+ - Updated dependencies
736
945
 
737
946
  ## 12.4.0
738
947
 
739
948
  ### Minor Changes
740
949
 
741
- - [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170) [`b37190888c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b37190888c) - ensure polling errors trigger more graceful UX
742
- - [`a26afbd493`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a26afbd493) - Added getMediaClientFailReason() helper
950
+ - [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
951
+ [`b37190888c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b37190888c) - ensure
952
+ polling errors trigger more graceful UX
953
+ - [`a26afbd493`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a26afbd493) - Added
954
+ getMediaClientFailReason() helper
743
955
 
744
956
  ### Patch Changes
745
957
 
746
- - [`758aa08653`](https://bitbucket.org/atlassian/atlassian-frontend/commits/758aa08653) - Polling Fuction throws the inner error instead of wrapping it
747
- - [`7c44d1e585`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c44d1e585) - Fixed cards with non web-friendly MP4/MOV videos not mounting
748
- - [`8dfcc55dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8dfcc55dce) - Refactored error enums to be types for code clarity
749
- - Updated dependencies
958
+ - [`758aa08653`](https://bitbucket.org/atlassian/atlassian-frontend/commits/758aa08653) - Polling
959
+ Fuction throws the inner error instead of wrapping it
960
+ - [`7c44d1e585`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c44d1e585) - Fixed
961
+ cards with non web-friendly MP4/MOV videos not mounting
962
+ - [`8dfcc55dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8dfcc55dce) -
963
+ Refactored error enums to be types for code clarity
964
+ - Updated dependencies
750
965
 
751
966
  ## 12.3.0
752
967
 
753
968
  ### Minor Changes
754
969
 
755
- - [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930) [`56693486a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56693486a3) - [ux] Rate Limited UI for the MediaViewer. Also moved a MediaCard function into MediaClient so that that functionality can be used across multiple packages
970
+ - [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930)
971
+ [`56693486a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56693486a3) - [ux]
972
+ Rate Limited UI for the MediaViewer. Also moved a MediaCard function into MediaClient so that
973
+ that functionality can be used across multiple packages
756
974
 
757
975
  ## 12.2.0
758
976
 
759
977
  ### Minor Changes
760
978
 
761
- - [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571) [`7736346d88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7736346d88) - Added strongly typed errors to Media Client
979
+ - [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571)
980
+ [`7736346d88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7736346d88) - Added
981
+ strongly typed errors to Media Client
762
982
 
763
983
  ### Patch Changes
764
984
 
765
- - [`fa5ef18162`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa5ef18162) - Fixed media client's DataLoader error handling
766
- - [`11b4fc8033`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11b4fc8033) - ensure maximum media poll interval ms is 3.3min not 33min
985
+ - [`fa5ef18162`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa5ef18162) - Fixed
986
+ media client's DataLoader error handling
987
+ - [`11b4fc8033`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11b4fc8033) - ensure
988
+ maximum media poll interval ms is 3.3min not 33min
767
989
 
768
990
  ## 12.1.2
769
991
 
770
992
  ### Patch Changes
771
993
 
772
- - [#6521](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6521) [`956cf2d5ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/956cf2d5ee) - HOT-93465 docs(changeset): ensure maximum media poll interval ms is 3.3min not 33min
994
+ - [#6521](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6521)
995
+ [`956cf2d5ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/956cf2d5ee) -
996
+ HOT-93465 docs(changeset): ensure maximum media poll interval ms is 3.3min not 33min
773
997
 
774
998
  ## 12.1.1
775
999
 
776
1000
  ### Patch Changes
777
1001
 
778
- - [#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
779
- - Updated dependencies
1002
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
1003
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
1004
+ Transpile packages using babel rather than tsc
1005
+ - Updated dependencies
780
1006
 
781
1007
  ## 12.1.0
782
1008
 
783
1009
  ### Minor Changes
784
1010
 
785
- - [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228) [`3c263cb2df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c263cb2df) - Added error handling when calling media client getCurrentState()
1011
+ - [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
1012
+ [`3c263cb2df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c263cb2df) - Added
1013
+ error handling when calling media client getCurrentState()
786
1014
 
787
1015
  ### Patch Changes
788
1016
 
789
- - Updated dependencies
1017
+ - Updated dependencies
790
1018
 
791
1019
  ## 12.0.0
792
1020
 
793
1021
  ### Patch Changes
794
1022
 
795
- - Updated dependencies
1023
+ - Updated dependencies
796
1024
 
797
1025
  ## 11.1.0
798
1026
 
799
1027
  ### Minor Changes
800
1028
 
801
- - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516) [`3f0dd38c9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f0dd38c9d) - BMPT-626 Fixed fetching remote preview for non-supported documents in classic Media Card experience
1029
+ - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
1030
+ [`3f0dd38c9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f0dd38c9d) - BMPT-626
1031
+ Fixed fetching remote preview for non-supported documents in classic Media Card experience
802
1032
 
803
1033
  ### Patch Changes
804
1034
 
805
- - [`bf98a47a0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf98a47a0f) - Enhance polling strategy to limit to finite attempts with timing backoff
806
- - Updated dependencies
1035
+ - [`bf98a47a0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf98a47a0f) - Enhance
1036
+ polling strategy to limit to finite attempts with timing backoff
1037
+ - Updated dependencies
807
1038
 
808
1039
  ## 11.0.1
809
1040
 
810
1041
  ### Patch Changes
811
1042
 
812
- - [#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.
813
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
814
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
815
- - Updated dependencies
1043
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
1044
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
1045
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
1046
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle
1047
+ Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
1048
+ `devDependencies` to denote version that the package was built with.
1049
+ - Updated dependencies
816
1050
 
817
1051
  ## 11.0.0
818
1052
 
819
1053
  ### Minor Changes
820
1054
 
821
- - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
1055
+ - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
1056
+ [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated
1057
+ to declarative entry points
822
1058
 
823
1059
  ### Patch Changes
824
1060
 
825
- - Updated dependencies
1061
+ - Updated dependencies
826
1062
 
827
1063
  ## 10.1.0
828
1064
 
829
1065
  ### Minor Changes
830
1066
 
831
- - [#4769](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4769) [`8687140735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8687140735) - [ux] Fix for file processing blocking pages and tickets from saving.
1067
+ - [#4769](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4769)
1068
+ [`8687140735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8687140735) - [ux] Fix
1069
+ for file processing blocking pages and tickets from saving.
832
1070
 
833
1071
  ## 10.0.0
834
1072
 
835
1073
  ### Major Changes
836
1074
 
837
- - [#4455](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4455) [`2ddfbcd92b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ddfbcd92b) - Removed SVG local previews due to XSS vulnerability
1075
+ - [#4455](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4455)
1076
+ [`2ddfbcd92b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ddfbcd92b) - Removed
1077
+ SVG local previews due to XSS vulnerability
838
1078
 
839
1079
  ## 9.0.3
840
1080
 
841
1081
  ### Patch Changes
842
1082
 
843
- - [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424) [`1434c4e094`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1434c4e094) - Fixed cloud files rendering when publishing page in CF
844
- - [`21b9d3d336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21b9d3d336) - Fixed RAR/non-ZIP files not recognised as archives
1083
+ - [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
1084
+ [`1434c4e094`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1434c4e094) - Fixed
1085
+ cloud files rendering when publishing page in CF
1086
+ - [`21b9d3d336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21b9d3d336) - Fixed
1087
+ RAR/non-ZIP files not recognised as archives
845
1088
 
846
1089
  ## 9.0.2
847
1090
 
848
1091
  ### Patch Changes
849
1092
 
850
- - [#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
1093
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
1094
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
1095
+ to TypeScript 3.9.6 and tslib to 2.0.0
851
1096
 
852
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
853
- to prevent duplicates of tslib being bundled.
1097
+ Since tslib is a dependency for all our packages we recommend that products also follow this
1098
+ tslib upgrade to prevent duplicates of tslib being bundled.
854
1099
 
855
1100
  ## 9.0.1
856
1101
 
857
1102
  ### Patch Changes
858
1103
 
859
- - [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
1104
+ - [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393)
1105
+ [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump
1106
+ required because of conflicts on wadmal release
860
1107
 
861
1108
  ## 9.0.0
862
1109
 
863
1110
  ### Major Changes
864
1111
 
865
- - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`caf46c7c45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caf46c7c45) - Improved remote preview functionality for media-card redesign.
866
- Breaking change: renamed type of argument "SourceFile" to "CopySourceFile" in the method "copyFile" of media-client.
1112
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
1113
+ [`caf46c7c45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caf46c7c45) - Improved
1114
+ remote preview functionality for media-card redesign. Breaking change: renamed type of argument
1115
+ "SourceFile" to "CopySourceFile" in the method "copyFile" of media-client.
867
1116
 
868
1117
  ### Minor Changes
869
1118
 
870
- - [`0c1bb3fa88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c1bb3fa88) - Fixed mocked response for "/file/copy/withToken" in MediaMock. Added isMediaCollectionItemFullDetails() to media-client.
871
- - [`878d4126c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/878d4126c2) - Added mime types supported by Media API file preview
872
- - [`02757a0d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02757a0d09) - Add mediaStore instance as an optional dependency of copyFile to avoid calls to constructor inside the method
873
- - [`2202870181`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2202870181) - Added support for zip previews in media viewer
874
- - [`b8695823e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8695823e3) - Fixed Giphy images display as plain text when inserted into Editor
1119
+ - [`0c1bb3fa88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c1bb3fa88) - Fixed
1120
+ mocked response for "/file/copy/withToken" in MediaMock. Added
1121
+ isMediaCollectionItemFullDetails() to media-client.
1122
+ - [`878d4126c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/878d4126c2) - Added
1123
+ mime types supported by Media API file preview
1124
+ - [`02757a0d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02757a0d09) - Add
1125
+ mediaStore instance as an optional dependency of copyFile to avoid calls to constructor inside
1126
+ the method
1127
+ - [`2202870181`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2202870181) - Added
1128
+ support for zip previews in media viewer
1129
+ - [`b8695823e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8695823e3) - Fixed
1130
+ Giphy images display as plain text when inserted into Editor
875
1131
 
876
1132
  ### Patch Changes
877
1133
 
878
- - [`fa6fb5dfbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa6fb5dfbb) - Removing unused code to be published
879
- - [`87459b57ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87459b57ba) - Fixed insertion failure of processing file from recent files into Editor
880
- - Updated dependencies
1134
+ - [`fa6fb5dfbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa6fb5dfbb) - Removing
1135
+ unused code to be published
1136
+ - [`87459b57ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87459b57ba) - Fixed
1137
+ insertion failure of processing file from recent files into Editor
1138
+ - Updated dependencies
881
1139
 
882
1140
  ## 8.0.1
883
1141
 
884
1142
  ### Patch Changes
885
1143
 
886
- - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`b73317b63c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73317b63c) - Increased polling interval for processing files
887
- - [`4543f920b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4543f920b0) - Disabled previews for redesign; fixed not initially showing a doc icon when uploading a document
1144
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
1145
+ [`b73317b63c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73317b63c) -
1146
+ Increased polling interval for processing files
1147
+ - [`4543f920b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4543f920b0) - Disabled
1148
+ previews for redesign; fixed not initially showing a doc icon when uploading a document
888
1149
 
889
1150
  ## 8.0.0
890
1151
 
891
1152
  ### Major Changes
892
1153
 
893
- - [#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.
894
- For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
1154
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
1155
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
1156
+ Officially dropping IE11 support, from this version onwards there are no warranties of the
1157
+ package working in IE11. For more information see:
1158
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
895
1159
 
896
1160
  ### Patch Changes
897
1161
 
898
- - Updated dependencies
1162
+ - Updated dependencies
899
1163
 
900
1164
  ## 7.0.0
901
1165
 
902
1166
  ### Major Changes
903
1167
 
904
- - [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`6658272d94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6658272d94) - Remove Promise<string> from FileIdentifier to just be string
1168
+ - [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763)
1169
+ [`6658272d94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6658272d94) - Remove
1170
+ Promise<string> from FileIdentifier to just be string
905
1171
 
906
- ## Before
1172
+ ## Before
907
1173
 
908
- ```
909
- FileIdentifier {
910
- id: string | Promise<string>;
911
- }
912
- ```
1174
+ ```
1175
+ FileIdentifier {
1176
+ id: string | Promise<string>;
1177
+ }
1178
+ ```
913
1179
 
914
- ## Now
1180
+ ## Now
915
1181
 
916
- ```
917
- FileIdentifier {
918
- id: string;
919
- }
920
- ```
1182
+ ```
1183
+ FileIdentifier {
1184
+ id: string;
1185
+ }
1186
+ ```
921
1187
 
922
1188
  ## 6.2.3
923
1189
 
924
1190
  ### Patch Changes
925
1191
 
926
- - [#2979](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2979) [`81c6a2fcb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c6a2fcb2) - Fixed potential exception when synchronously accessing uninitialized RxJS subscription.
1192
+ - [#2979](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2979)
1193
+ [`81c6a2fcb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c6a2fcb2) - Fixed
1194
+ potential exception when synchronously accessing uninitialized RxJS subscription.
927
1195
 
928
1196
  ## 6.2.2
929
1197
 
930
1198
  ### Patch Changes
931
1199
 
932
- - [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443) [`328902687e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/328902687e) - Remove stack traces from media analytic events
1200
+ - [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443)
1201
+ [`328902687e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/328902687e) - Remove
1202
+ stack traces from media analytic events
933
1203
 
934
1204
  ## 6.2.1
935
1205
 
936
1206
  ### Patch Changes
937
1207
 
938
- - [#2959](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2959) [`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump dependency query-string to ^5.1.0
1208
+ - [#2959](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2959)
1209
+ [`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump
1210
+ dependency query-string to ^5.1.0
939
1211
 
940
1212
  ## 6.2.0
941
1213
 
942
1214
  ### Minor Changes
943
1215
 
944
- - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`a2ffde361d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2ffde361d) - MPT-131: fetch remote preview for files not supported by the browser
945
- - [`928dd60d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/928dd60d5d) - Add optional createdAt property to FileState interface
946
- - [`c3b799c7eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3b799c7eb) - add optional createdAt field
1216
+ - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
1217
+ [`a2ffde361d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2ffde361d) - MPT-131:
1218
+ fetch remote preview for files not supported by the browser
1219
+ - [`928dd60d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/928dd60d5d) - Add
1220
+ optional createdAt property to FileState interface
1221
+ - [`c3b799c7eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3b799c7eb) - add
1222
+ optional createdAt field
947
1223
 
948
1224
  ### Patch Changes
949
1225
 
950
- - [`0eb38a0ebd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0eb38a0ebd) - minor code styling changes in media-client
951
- - Updated dependencies
1226
+ - [`0eb38a0ebd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0eb38a0ebd) - minor
1227
+ code styling changes in media-client
1228
+ - Updated dependencies
952
1229
 
953
1230
  ## 6.1.0
954
1231
 
955
1232
  ### Minor Changes
956
1233
 
957
- - [minor][11ff95c0f0](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ff95c0f0):
958
-
959
- Using media api region in analytics events
960
-
961
- ### Patch Changes
962
-
963
- - [patch][5f8e3caf72](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f8e3caf72):
964
-
965
- EDM-475: Handle items call error to prevent error cards- [patch][692692ba24](https://bitbucket.org/atlassian/atlassian-frontend/commits/692692ba24):
966
-
967
- Replace Chunkinator- [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
968
-
969
- Deletes internal package @atlaskit/type-helpers and removes all usages. @atlaskit/type-helpers has been superseded by native typescript helper utilities.- [patch][fd782b0705](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd782b0705):
970
-
971
- Fix transition from External to Internal files in Media Viewer- [patch][d80b8e8fdb](https://bitbucket.org/atlassian/atlassian-frontend/commits/d80b8e8fdb):
972
-
973
- Use @atlaskit/media-common- Updated dependencies [6a6a991904](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a6a991904):
974
-
975
- - Updated dependencies [84f82f7015](https://bitbucket.org/atlassian/atlassian-frontend/commits/84f82f7015):
976
- - Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
977
- - Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
978
- - Updated dependencies [e5c869ee31](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5c869ee31):
979
- - Updated dependencies [69b678b38c](https://bitbucket.org/atlassian/atlassian-frontend/commits/69b678b38c):
980
- - Updated dependencies [b2402fc3a2](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2402fc3a2):
981
- - Updated dependencies [d38212e1be](https://bitbucket.org/atlassian/atlassian-frontend/commits/d38212e1be):
982
- - Updated dependencies [bb2fe95478](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb2fe95478):
983
- - Updated dependencies [4aca202534](https://bitbucket.org/atlassian/atlassian-frontend/commits/4aca202534):
984
- - Updated dependencies [12112907b5](https://bitbucket.org/atlassian/atlassian-frontend/commits/12112907b5):
985
- - Updated dependencies [c28ff17fbd](https://bitbucket.org/atlassian/atlassian-frontend/commits/c28ff17fbd):
986
- - Updated dependencies [7e363d5aba](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e363d5aba):
987
- - @atlaskit/media-test-helpers@27.2.0
988
- - @atlaskit/docs@8.5.1
989
- - @atlaskit/button@13.3.10
990
- - @atlaskit/media-card@67.2.0
991
- - @atlaskit/media-common@1.0.1
992
- - @atlaskit/chunkinator@1.1.0
1234
+ - [minor][11ff95c0f0](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ff95c0f0):
1235
+
1236
+ Using media api region in analytics events
1237
+
1238
+ ### Patch Changes
1239
+
1240
+ - [patch][5f8e3caf72](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f8e3caf72):
1241
+
1242
+ EDM-475: Handle items call error to prevent error cards-
1243
+ [patch][692692ba24](https://bitbucket.org/atlassian/atlassian-frontend/commits/692692ba24):
1244
+
1245
+ Replace Chunkinator-
1246
+ [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
1247
+
1248
+ Deletes internal package @atlaskit/type-helpers and removes all usages. @atlaskit/type-helpers
1249
+ has been superseded by native typescript helper utilities.-
1250
+ [patch][fd782b0705](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd782b0705):
1251
+
1252
+ Fix transition from External to Internal files in Media Viewer-
1253
+ [patch][d80b8e8fdb](https://bitbucket.org/atlassian/atlassian-frontend/commits/d80b8e8fdb):
1254
+
1255
+ Use @atlaskit/media-common- Updated dependencies
1256
+ [6a6a991904](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a6a991904):
1257
+
1258
+ - Updated dependencies
1259
+ [84f82f7015](https://bitbucket.org/atlassian/atlassian-frontend/commits/84f82f7015):
1260
+ - Updated dependencies
1261
+ [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
1262
+ - Updated dependencies
1263
+ [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
1264
+ - Updated dependencies
1265
+ [e5c869ee31](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5c869ee31):
1266
+ - Updated dependencies
1267
+ [69b678b38c](https://bitbucket.org/atlassian/atlassian-frontend/commits/69b678b38c):
1268
+ - Updated dependencies
1269
+ [b2402fc3a2](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2402fc3a2):
1270
+ - Updated dependencies
1271
+ [d38212e1be](https://bitbucket.org/atlassian/atlassian-frontend/commits/d38212e1be):
1272
+ - Updated dependencies
1273
+ [bb2fe95478](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb2fe95478):
1274
+ - Updated dependencies
1275
+ [4aca202534](https://bitbucket.org/atlassian/atlassian-frontend/commits/4aca202534):
1276
+ - Updated dependencies
1277
+ [12112907b5](https://bitbucket.org/atlassian/atlassian-frontend/commits/12112907b5):
1278
+ - Updated dependencies
1279
+ [c28ff17fbd](https://bitbucket.org/atlassian/atlassian-frontend/commits/c28ff17fbd):
1280
+ - Updated dependencies
1281
+ [7e363d5aba](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e363d5aba):
1282
+ - @atlaskit/media-test-helpers@27.2.0
1283
+ - @atlaskit/docs@8.5.1
1284
+ - @atlaskit/button@13.3.10
1285
+ - @atlaskit/media-card@67.2.0
1286
+ - @atlaskit/media-common@1.0.1
1287
+ - @atlaskit/chunkinator@1.1.0
993
1288
 
994
1289
  ## 6.0.0
995
1290
 
996
1291
  ### Minor Changes
997
1292
 
998
- - [minor][eb962d2c36](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb962d2c36):
1293
+ - [minor][eb962d2c36](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb962d2c36):
999
1294
 
1000
- - Add MAX_RESOLUTION constant. Can be imported via direct entry point `import { MAX_RESOLUTION } from '@atlaskit/media-client/constants';`
1001
- - `Preview` class (`preview` prop in most `FileState`) now has optional field `origin` that can be either `local` or `remote`- [minor][6dcad31e41](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dcad31e41):
1295
+ - Add MAX_RESOLUTION constant. Can be imported via direct entry point
1296
+ `import { MAX_RESOLUTION } from '@atlaskit/media-client/constants';`
1297
+ - `Preview` class (`preview` prop in most `FileState`) now has optional field `origin` that
1298
+ can be either `local` or `remote`-
1299
+ [minor][6dcad31e41](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dcad31e41):
1002
1300
 
1003
- - Added Stargate integration to MediaPicker popup.
1004
- - Added `useMediaPickerPopup` option to Editor which enables using MediaPicker popup even when userAuthProvider is not provided.
1301
+ - Added Stargate integration to MediaPicker popup.
1302
+ - Added `useMediaPickerPopup` option to Editor which enables using MediaPicker popup even when
1303
+ userAuthProvider is not provided.
1005
1304
 
1006
- ### Using Stargate Integration
1305
+ ### Using Stargate Integration
1007
1306
 
1008
- Stargate integration is enabled by default as long as an `userAuthProvider` is not provided to `MediaClient`.
1307
+ Stargate integration is enabled by default as long as an `userAuthProvider` is not provided to
1308
+ `MediaClient`.
1009
1309
 
1010
- By default it uses the current domain as base URL. If you need to use a different base URL you can provide a `stargateBaseUrl` configuration:
1310
+ By default it uses the current domain as base URL. If you need to use a different base URL you
1311
+ can provide a `stargateBaseUrl` configuration:
1011
1312
 
1012
- ```
1013
- import { MediaClient } from '@atlaskit/media-client';
1014
- const mediaClient = new MediaClient({ authProvider, stargateBaseUrl: 'http://stargate-url' });
1015
- ```
1313
+ ```
1314
+ import { MediaClient } from '@atlaskit/media-client';
1315
+ const mediaClient = new MediaClient({ authProvider, stargateBaseUrl: 'http://stargate-url' });
1316
+ ```
1016
1317
 
1017
- _Note_: Editor default behaviour is falling back to native file upload when `userAuthProvider` is not provided.
1018
- In order to avoid that, and being able to use Stargate, you need to set Media option `useMediaPickerPopup` to true.
1318
+ _Note_: Editor default behaviour is falling back to native file upload when `userAuthProvider`
1319
+ is not provided. In order to avoid that, and being able to use Stargate, you need to set Media
1320
+ option `useMediaPickerPopup` to true.
1019
1321
 
1020
1322
  ### Patch Changes
1021
1323
 
1022
- - [patch][70b68943d1](https://bitbucket.org/atlassian/atlassian-frontend/commits/70b68943d1):
1324
+ - [patch][70b68943d1](https://bitbucket.org/atlassian/atlassian-frontend/commits/70b68943d1):
1023
1325
 
1024
- text/plain files now match media api and return a doc mediaType- Updated dependencies [9d2da865dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d2da865dd):
1326
+ text/plain files now match media api and return a doc mediaType- Updated dependencies
1327
+ [9d2da865dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d2da865dd):
1025
1328
 
1026
- - Updated dependencies [dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82):
1027
- - Updated dependencies [9a93eff8e6](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a93eff8e6):
1028
- - Updated dependencies [d49ebd7c7a](https://bitbucket.org/atlassian/atlassian-frontend/commits/d49ebd7c7a):
1029
- - Updated dependencies [6dcad31e41](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dcad31e41):
1030
- - Updated dependencies [8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6):
1031
- - Updated dependencies [3cbc8a49a2](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cbc8a49a2):
1032
- - @atlaskit/media-card@67.1.1
1033
- - @atlaskit/build-utils@2.6.4
1034
- - @atlaskit/media-test-helpers@27.1.0
1035
- - @atlaskit/media-core@31.1.0
1036
- - @atlaskit/docs@8.5.0
1329
+ - Updated dependencies
1330
+ [dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82):
1331
+ - Updated dependencies
1332
+ [9a93eff8e6](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a93eff8e6):
1333
+ - Updated dependencies
1334
+ [d49ebd7c7a](https://bitbucket.org/atlassian/atlassian-frontend/commits/d49ebd7c7a):
1335
+ - Updated dependencies
1336
+ [6dcad31e41](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dcad31e41):
1337
+ - Updated dependencies
1338
+ [8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6):
1339
+ - Updated dependencies
1340
+ [3cbc8a49a2](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cbc8a49a2):
1341
+ - @atlaskit/media-card@67.1.1
1342
+ - @atlaskit/build-utils@2.6.4
1343
+ - @atlaskit/media-test-helpers@27.1.0
1344
+ - @atlaskit/media-core@31.1.0
1345
+ - @atlaskit/docs@8.5.0
1037
1346
 
1038
1347
  ## 5.0.2
1039
1348
 
1040
1349
  ### Patch Changes
1041
1350
 
1042
- - [patch][b408e050ab](https://bitbucket.org/atlassian/atlassian-frontend/commits/b408e050ab):
1043
-
1044
- Emit ErrorFileState when file has failed to upload- Updated dependencies [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
1045
-
1046
- - Updated dependencies [196500df34](https://bitbucket.org/atlassian/atlassian-frontend/commits/196500df34):
1047
- - Updated dependencies [be57ca3829](https://bitbucket.org/atlassian/atlassian-frontend/commits/be57ca3829):
1048
- - Updated dependencies [d7ed7b1513](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7ed7b1513):
1049
- - Updated dependencies [41a2496393](https://bitbucket.org/atlassian/atlassian-frontend/commits/41a2496393):
1050
- - Updated dependencies [39ee28797d](https://bitbucket.org/atlassian/atlassian-frontend/commits/39ee28797d):
1051
- - Updated dependencies [bbf5eb8824](https://bitbucket.org/atlassian/atlassian-frontend/commits/bbf5eb8824):
1052
- - Updated dependencies [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
1053
- - Updated dependencies [695e1c1c31](https://bitbucket.org/atlassian/atlassian-frontend/commits/695e1c1c31):
1054
- - Updated dependencies [6b06a7baa9](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b06a7baa9):
1055
- - Updated dependencies [8b34c7371d](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b34c7371d):
1056
- - @atlaskit/docs@8.4.0
1057
- - @atlaskit/media-test-helpers@27.0.0
1058
- - @atlaskit/media-card@67.1.0
1059
- - @atlaskit/media-core@31.0.5
1060
- - @atlaskit/button@13.3.9
1351
+ - [patch][b408e050ab](https://bitbucket.org/atlassian/atlassian-frontend/commits/b408e050ab):
1352
+
1353
+ Emit ErrorFileState when file has failed to upload- Updated dependencies
1354
+ [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
1355
+
1356
+ - Updated dependencies
1357
+ [196500df34](https://bitbucket.org/atlassian/atlassian-frontend/commits/196500df34):
1358
+ - Updated dependencies
1359
+ [be57ca3829](https://bitbucket.org/atlassian/atlassian-frontend/commits/be57ca3829):
1360
+ - Updated dependencies
1361
+ [d7ed7b1513](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7ed7b1513):
1362
+ - Updated dependencies
1363
+ [41a2496393](https://bitbucket.org/atlassian/atlassian-frontend/commits/41a2496393):
1364
+ - Updated dependencies
1365
+ [39ee28797d](https://bitbucket.org/atlassian/atlassian-frontend/commits/39ee28797d):
1366
+ - Updated dependencies
1367
+ [bbf5eb8824](https://bitbucket.org/atlassian/atlassian-frontend/commits/bbf5eb8824):
1368
+ - Updated dependencies
1369
+ [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
1370
+ - Updated dependencies
1371
+ [695e1c1c31](https://bitbucket.org/atlassian/atlassian-frontend/commits/695e1c1c31):
1372
+ - Updated dependencies
1373
+ [6b06a7baa9](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b06a7baa9):
1374
+ - Updated dependencies
1375
+ [8b34c7371d](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b34c7371d):
1376
+ - @atlaskit/docs@8.4.0
1377
+ - @atlaskit/media-test-helpers@27.0.0
1378
+ - @atlaskit/media-card@67.1.0
1379
+ - @atlaskit/media-core@31.0.5
1380
+ - @atlaskit/button@13.3.9
1061
1381
 
1062
1382
  ## 5.0.1
1063
1383
 
1064
1384
  ### Patch Changes
1065
1385
 
1066
- - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1386
+ - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1067
1387
 
1068
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1388
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1389
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1069
1390
 
1070
- - @atlaskit/docs@8.3.2
1071
- - @atlaskit/button@13.3.7
1072
- - @atlaskit/type-helpers@4.2.3
1073
- - @atlaskit/media-card@67.0.3
1074
- - @atlaskit/media-core@31.0.4
1075
- - @atlaskit/media-test-helpers@26.1.1
1391
+ - @atlaskit/docs@8.3.2
1392
+ - @atlaskit/button@13.3.7
1393
+ - @atlaskit/type-helpers@4.2.3
1394
+ - @atlaskit/media-card@67.0.3
1395
+ - @atlaskit/media-core@31.0.4
1396
+ - @atlaskit/media-test-helpers@26.1.1
1076
1397
 
1077
1398
  ## 5.0.0
1078
1399
 
1079
1400
  ### Major Changes
1080
1401
 
1081
- - [major][6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
1402
+ - [major][6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
1082
1403
 
1083
- Stream caches in media-client now use ReplaySubjects instead of Observables.
1084
- For the most part, this is just the interface that's being updated, as under the hood ReplaySubject was already getting used. ReplaySubjects better suit our use case because they track 1 version of history of the file state.
1085
- As a consumer, there shouldn't be any necessary code changes. ReplaySubjects extend Observable, so the current usage should continue to work.
1404
+ Stream caches in media-client now use ReplaySubjects instead of Observables. For the most part,
1405
+ this is just the interface that's being updated, as under the hood ReplaySubject was already
1406
+ getting used. ReplaySubjects better suit our use case because they track 1 version of history of
1407
+ the file state. As a consumer, there shouldn't be any necessary code changes. ReplaySubjects
1408
+ extend Observable, so the current usage should continue to work.
1086
1409
 
1087
1410
  ### Patch Changes
1088
1411
 
1089
- - Updated dependencies [5504a7da8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/5504a7da8c):
1090
- - Updated dependencies [966622bd45](https://bitbucket.org/atlassian/atlassian-frontend/commits/966622bd45):
1091
- - Updated dependencies [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
1092
- - Updated dependencies [6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
1093
- - @atlaskit/media-card@67.0.1
1094
- - @atlaskit/media-test-helpers@26.0.0
1095
- - @atlaskit/docs@8.3.0
1096
- - @atlaskit/media-core@31.0.3
1412
+ - Updated dependencies
1413
+ [5504a7da8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/5504a7da8c):
1414
+ - Updated dependencies
1415
+ [966622bd45](https://bitbucket.org/atlassian/atlassian-frontend/commits/966622bd45):
1416
+ - Updated dependencies
1417
+ [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
1418
+ - Updated dependencies
1419
+ [6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
1420
+ - @atlaskit/media-card@67.0.1
1421
+ - @atlaskit/media-test-helpers@26.0.0
1422
+ - @atlaskit/docs@8.3.0
1423
+ - @atlaskit/media-core@31.0.3
1097
1424
 
1098
1425
  ## 4.3.0
1099
1426
 
1100
1427
  ### Minor Changes
1101
1428
 
1102
- - [minor][8c7f8fcf92](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c7f8fcf92):
1429
+ - [minor][8c7f8fcf92](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c7f8fcf92):
1103
1430
 
1104
- Exposes an utilitary function `createFileStateSubject` which can be used to create ReplaySubject objects of type FileState
1431
+ Exposes an utilitary function `createFileStateSubject` which can be used to create ReplaySubject
1432
+ objects of type FileState
1105
1433
 
1106
1434
  ### Patch Changes
1107
1435
 
1108
- - [patch][a47d750b5d](https://bitbucket.org/atlassian/atlassian-frontend/commits/a47d750b5d):
1436
+ - [patch][a47d750b5d](https://bitbucket.org/atlassian/atlassian-frontend/commits/a47d750b5d):
1109
1437
 
1110
- dont make collection a required param in getAttrsFromUrl - @atlaskit/media-test-helpers@25.2.7
1438
+ dont make collection a required param in getAttrsFromUrl - @atlaskit/media-test-helpers@25.2.7
1111
1439
 
1112
1440
  ## 4.2.2
1113
1441
 
1114
1442
  ### Patch Changes
1115
1443
 
1116
- - Updated dependencies [486a5aec29](https://bitbucket.org/atlassian/atlassian-frontend/commits/486a5aec29):
1117
- - Updated dependencies [03c917044e](https://bitbucket.org/atlassian/atlassian-frontend/commits/03c917044e):
1118
- - Updated dependencies [d3f4c97f6a](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3f4c97f6a):
1119
- - Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
1120
- - @atlaskit/media-card@67.0.0
1121
- - @atlaskit/button@13.3.5
1122
- - @atlaskit/media-core@31.0.2
1123
- - @atlaskit/media-test-helpers@25.2.6
1444
+ - Updated dependencies
1445
+ [486a5aec29](https://bitbucket.org/atlassian/atlassian-frontend/commits/486a5aec29):
1446
+ - Updated dependencies
1447
+ [03c917044e](https://bitbucket.org/atlassian/atlassian-frontend/commits/03c917044e):
1448
+ - Updated dependencies
1449
+ [d3f4c97f6a](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3f4c97f6a):
1450
+ - Updated dependencies
1451
+ [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
1452
+ - @atlaskit/media-card@67.0.0
1453
+ - @atlaskit/button@13.3.5
1454
+ - @atlaskit/media-core@31.0.2
1455
+ - @atlaskit/media-test-helpers@25.2.6
1124
1456
 
1125
1457
  ## 4.2.1
1126
1458
 
1127
1459
  ### Patch Changes
1128
1460
 
1129
- - [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
1461
+ - [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
1130
1462
 
1131
- Fix type errors caused when generating declaration files
1463
+ Fix type errors caused when generating declaration files
1132
1464
 
1133
1465
  ## 4.2.0
1134
1466
 
1135
1467
  ### Minor Changes
1136
1468
 
1137
- - [minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1469
+ - [minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1138
1470
 
1139
- fixed media client retrying aborted request- [minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1471
+ fixed media client retrying aborted request-
1472
+ [minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1140
1473
 
1141
- export safeUnsubscribe util to prevent exceptions when unsubscribing from RXJS Subscriptions
1474
+ export safeUnsubscribe util to prevent exceptions when unsubscribing from RXJS Subscriptions
1142
1475
 
1143
1476
  ### Patch Changes
1144
1477
 
1145
- - [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1478
+ - [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1146
1479
 
1147
- Check if the subscription is defined before calling unsubscribe in utils observableToPromise- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1480
+ Check if the subscription is defined before calling unsubscribe in utils observableToPromise-
1481
+ Updated dependencies
1482
+ [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1148
1483
 
1149
- - @atlaskit/media-card@66.1.2
1484
+ - @atlaskit/media-card@66.1.2
1150
1485
 
1151
1486
  ## 4.1.1
1152
1487
 
1153
1488
  ### Patch Changes
1154
1489
 
1155
- - [patch][579779f5aa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/579779f5aa):
1490
+ - [patch][579779f5aa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/579779f5aa):
1156
1491
 
1157
- MS-2423 add retries on 5xx errors and network errors to HTTP calls
1492
+ MS-2423 add retries on 5xx errors and network errors to HTTP calls
1158
1493
 
1159
1494
  ## 4.1.0
1160
1495
 
1161
1496
  ### Minor Changes
1162
1497
 
1163
- - [minor][ed9aafe0e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed9aafe0e2):
1498
+ - [minor][ed9aafe0e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed9aafe0e2):
1164
1499
 
1165
- Fix withMediaClient to allow external files to work when mediaClientConfig is not defined
1500
+ Fix withMediaClient to allow external files to work when mediaClientConfig is not defined
1166
1501
 
1167
1502
  ## 4.0.1
1168
1503
 
1169
1504
  ### Patch Changes
1170
1505
 
1171
- - [patch][c0da69b4dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0da69b4dc):
1506
+ - [patch][c0da69b4dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0da69b4dc):
1172
1507
 
1173
- [MS-2626] Fix objectToQueryString when there is an object using null as value
1508
+ [MS-2626] Fix objectToQueryString when there is an object using null as value
1174
1509
 
1175
1510
  ## 4.0.0
1176
1511
 
1177
1512
  ### Minor Changes
1178
1513
 
1179
- - [minor][cbe5316ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbe5316ac9):
1514
+ - [minor][cbe5316ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbe5316ac9):
1180
1515
 
1181
- http failures now return Error instances rather than the Response- [minor][51dfee6d35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/51dfee6d35):
1516
+ http failures now return Error instances rather than the Response-
1517
+ [minor][51dfee6d35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/51dfee6d35):
1182
1518
 
1183
- Image, Binary and Artifact files will be cached for 30 days
1519
+ Image, Binary and Artifact files will be cached for 30 days
1184
1520
 
1185
1521
  ### Patch Changes
1186
1522
 
1187
- - [patch][436b46929e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/436b46929e):
1523
+ - [patch][436b46929e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/436b46929e):
1188
1524
 
1189
- Removed auth credentials from query params in GET requests. Now they are being sent in the heder to help on browser caching.
1525
+ Removed auth credentials from query params in GET requests. Now they are being sent in the heder
1526
+ to help on browser caching.
1190
1527
 
1191
- - Updated dependencies [24b8ea2667](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24b8ea2667):
1192
- - @atlaskit/media-test-helpers@25.2.2
1193
- - @atlaskit/media-card@66.0.1
1194
- - @atlaskit/media-core@31.0.0
1528
+ - Updated dependencies
1529
+ [24b8ea2667](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24b8ea2667):
1530
+ - @atlaskit/media-test-helpers@25.2.2
1531
+ - @atlaskit/media-card@66.0.1
1532
+ - @atlaskit/media-core@31.0.0
1195
1533
 
1196
1534
  ## 3.0.1
1197
1535
 
1198
1536
  ### Patch Changes
1199
1537
 
1200
- - [patch][f1bbcf3847](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1bbcf3847):
1538
+ - [patch][f1bbcf3847](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1bbcf3847):
1201
1539
 
1202
- dont log id when is not a valid uuid in FileFetcher getFileState
1540
+ dont log id when is not a valid uuid in FileFetcher getFileState
1203
1541
 
1204
1542
  ## 3.0.0
1205
1543
 
1206
1544
  ### Major Changes
1207
1545
 
1208
- - [major][ae4f336a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae4f336a3a):
1546
+ - [major][ae4f336a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae4f336a3a):
1209
1547
 
1210
1548
  **FABDODGEM-13 Editor Damask Release** - [Internal post](http://go.atlassian.com/damask-release)
1211
1549
 
1212
1550
  **BREAKING CHANGES**
1213
1551
 
1214
- - **Media:** Removed deprecated "context" property from media components in favor of "mediaClientConfig". This affects all public media UI components.
1215
- - https://product-fabric.atlassian.net/browse/MS-2038
1216
- - **Tasks & Decisions:** Removed containerAri for task-decisions components.
1217
- - https://product-fabric.atlassian.net/browse/ED-7631
1218
- - **Renderer:** Adapts to task-decision changes.
1219
- - **Editor Mobile Bridge:** Adapts to task-decision changes.
1220
- - **Util Data Test:** Adapts to task-decision changes.
1552
+ - **Media:** Removed deprecated "context" property from media components in favor of
1553
+ "mediaClientConfig". This affects all public media UI components.
1554
+ - https://product-fabric.atlassian.net/browse/MS-2038
1555
+ - **Tasks & Decisions:** Removed containerAri for task-decisions components.
1556
+ - https://product-fabric.atlassian.net/browse/ED-7631
1557
+ - **Renderer:** Adapts to task-decision changes.
1558
+ - **Editor Mobile Bridge:** Adapts to task-decision changes.
1559
+ - **Util Data Test:** Adapts to task-decision changes.
1221
1560
 
1222
1561
  ---
1223
1562
 
@@ -1227,170 +1566,175 @@ tables, media, mobile, emoji, tasks & decisions, analytics
1227
1566
 
1228
1567
  **Editor**
1229
1568
 
1230
- - Support nested actions in stage-0 schema; Change DOM representation of actions
1231
- - https://product-fabric.atlassian.net/browse/ED-7674
1232
- - Updated i18n translations
1233
- - https://product-fabric.atlassian.net/browse/ED-7750
1234
- - Improved analytics & crash reporting (via a new error boundary)
1235
- - https://product-fabric.atlassian.net/browse/ED-7766
1236
- - https://product-fabric.atlassian.net/browse/ED-7806
1237
- - Improvements to heading anchor links.
1238
- - https://product-fabric.atlassian.net/browse/ED-7849
1239
- - https://product-fabric.atlassian.net/browse/ED-7860
1240
- - Copy/Paste improvements
1241
- - https://product-fabric.atlassian.net/browse/ED-7840
1242
- - https://product-fabric.atlassian.net/browse/ED-7849
1243
- - Fixes for the selection state of Smart links.
1244
- - https://product-fabric.atlassian.net/browse/ED-7602?src=confmacro
1245
- - Improvements for table resizing & column creation.
1246
- - https://product-fabric.atlassian.net/browse/ED-7698
1247
- - https://product-fabric.atlassian.net/browse/ED-7319
1248
- - https://product-fabric.atlassian.net/browse/ED-7799
1569
+ - Support nested actions in stage-0 schema; Change DOM representation of actions
1570
+ - https://product-fabric.atlassian.net/browse/ED-7674
1571
+ - Updated i18n translations
1572
+ - https://product-fabric.atlassian.net/browse/ED-7750
1573
+ - Improved analytics & crash reporting (via a new error boundary)
1574
+ - https://product-fabric.atlassian.net/browse/ED-7766
1575
+ - https://product-fabric.atlassian.net/browse/ED-7806
1576
+ - Improvements to heading anchor links.
1577
+ - https://product-fabric.atlassian.net/browse/ED-7849
1578
+ - https://product-fabric.atlassian.net/browse/ED-7860
1579
+ - Copy/Paste improvements
1580
+ - https://product-fabric.atlassian.net/browse/ED-7840
1581
+ - https://product-fabric.atlassian.net/browse/ED-7849
1582
+ - Fixes for the selection state of Smart links.
1583
+ - https://product-fabric.atlassian.net/browse/ED-7602?src=confmacro
1584
+ - Improvements for table resizing & column creation.
1585
+ - https://product-fabric.atlassian.net/browse/ED-7698
1586
+ - https://product-fabric.atlassian.net/browse/ED-7319
1587
+ - https://product-fabric.atlassian.net/browse/ED-7799
1249
1588
 
1250
1589
  **Mobile**
1251
1590
 
1252
- - GASv3 Analytics Events are now relayed from the web to the native context, ready for dispatching.
1253
- - https://product-fabric.atlassian.net/browse/FM-2502
1254
- - Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
1255
- - https://product-fabric.atlassian.net/browse/FM-2370
1591
+ - GASv3 Analytics Events are now relayed from the web to the native context, ready for
1592
+ dispatching.
1593
+ - https://product-fabric.atlassian.net/browse/FM-2502
1594
+ - Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
1595
+ - https://product-fabric.atlassian.net/browse/FM-2370
1256
1596
 
1257
1597
  **Media**
1258
1598
 
1259
- - Improved analytics
1260
- - https://product-fabric.atlassian.net/browse/MS-2036
1261
- - https://product-fabric.atlassian.net/browse/MS-2145
1262
- - https://product-fabric.atlassian.net/browse/MS-2416
1263
- - https://product-fabric.atlassian.net/browse/MS-2487
1264
- - Added shouldOpenMediaViewer property to renderer
1265
- - https://product-fabric.atlassian.net/browse/MS-2393
1266
- - Implemented analytics for file copy
1267
- - https://product-fabric.atlassian.net/browse/MS-2036
1268
- - New `media-viewed` event dispatched when media is interacted with via the media card or viewer.
1269
- - https://product-fabric.atlassian.net/browse/MS-2284
1270
- - Support for `alt` text attribute on media image elements.
1271
- - https://product-fabric.atlassian.net/browse/ED-7776
1599
+ - Improved analytics
1600
+ - https://product-fabric.atlassian.net/browse/MS-2036
1601
+ - https://product-fabric.atlassian.net/browse/MS-2145
1602
+ - https://product-fabric.atlassian.net/browse/MS-2416
1603
+ - https://product-fabric.atlassian.net/browse/MS-2487
1604
+ - Added shouldOpenMediaViewer property to renderer
1605
+ - https://product-fabric.atlassian.net/browse/MS-2393
1606
+ - Implemented analytics for file copy
1607
+ - https://product-fabric.atlassian.net/browse/MS-2036
1608
+ - New `media-viewed` event dispatched when media is interacted with via the media card or viewer.
1609
+ - https://product-fabric.atlassian.net/browse/MS-2284
1610
+ - Support for `alt` text attribute on media image elements.
1611
+ - https://product-fabric.atlassian.net/browse/ED-7776
1272
1612
 
1273
1613
  **i18n-tools**
1274
1614
 
1275
1615
  Bumped dependencies.
1276
1616
 
1277
- - [major][e7b5c917de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7b5c917de):
1617
+ - [major][e7b5c917de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7b5c917de):
1278
1618
 
1279
- ## Breaking change
1619
+ ## Breaking change
1280
1620
 
1281
- > remove Context related method and types from public api in favour of mediaClientConfig
1621
+ > remove Context related method and types from public api in favour of mediaClientConfig
1282
1622
 
1283
- ### Removed
1623
+ ### Removed
1284
1624
 
1285
- ```
1286
- * WithContextOrMediaClientConfig
1287
- * WithContextOrMediaClientConfigProps
1288
- ```
1625
+ ```
1626
+ * WithContextOrMediaClientConfig
1627
+ * WithContextOrMediaClientConfigProps
1628
+ ```
1289
1629
 
1290
- ### Added
1630
+ ### Added
1291
1631
 
1292
- ```
1293
- * WithMediaClientConfig
1294
- * WithMediaClientConfigProps
1295
- ```
1632
+ ```
1633
+ * WithMediaClientConfig
1634
+ * WithMediaClientConfigProps
1635
+ ```
1296
1636
 
1297
- ### Changed
1637
+ ### Changed
1298
1638
 
1299
- **getMediaClient**
1639
+ **getMediaClient**
1300
1640
 
1301
- - Before
1641
+ - Before
1302
1642
 
1303
- > works with passing either mediaClientConfig or context
1643
+ > works with passing either mediaClientConfig or context
1304
1644
 
1305
- ```
1306
- import {getMediaClient} from '@atlaskit/media-client'
1645
+ ```
1646
+ import {getMediaClient} from '@atlaskit/media-client'
1307
1647
 
1308
- const mediaClientFromMediaClientConfig = getMediaClient({
1309
- mediaClientConfig: {
1310
- authProvider: () => Promise.resolve()
1311
- }
1312
- })
1648
+ const mediaClientFromMediaClientConfig = getMediaClient({
1649
+ mediaClientConfig: {
1650
+ authProvider: () => Promise.resolve()
1651
+ }
1652
+ })
1313
1653
 
1314
- const mediaClientFromContext = getMediaClient({
1315
- context: {
1316
- authProvider: () => Promise.resolve()
1317
- }
1318
- })
1319
- ```
1654
+ const mediaClientFromContext = getMediaClient({
1655
+ context: {
1656
+ authProvider: () => Promise.resolve()
1657
+ }
1658
+ })
1659
+ ```
1320
1660
 
1321
- - Now
1661
+ - Now
1322
1662
 
1323
- > only accepts mediaClientConfig as the only param
1663
+ > only accepts mediaClientConfig as the only param
1324
1664
 
1325
- ```
1326
- import {getMediaClient} from '@atlaskit/media-client'
1665
+ ```
1666
+ import {getMediaClient} from '@atlaskit/media-client'
1327
1667
 
1328
- const mediaClient = getMediaClient({
1329
- authProvider: () => Promise.resolve()
1330
- })
1331
- ```
1668
+ const mediaClient = getMediaClient({
1669
+ authProvider: () => Promise.resolve()
1670
+ })
1671
+ ```
1332
1672
 
1333
1673
  ### Minor Changes
1334
1674
 
1335
- - [minor][0b62e854d7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0b62e854d7):
1675
+ - [minor][0b62e854d7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0b62e854d7):
1336
1676
 
1337
- New event `media-viewed` with type `UploadEventPayloadMap` is added to `globalMediaEventEmitter`- [minor][550d260bfc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/550d260bfc):
1677
+ New event `media-viewed` with type `UploadEventPayloadMap` is added to
1678
+ `globalMediaEventEmitter`-
1679
+ [minor][550d260bfc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/550d260bfc):
1338
1680
 
1339
- Introducing support for alt-text in media.
1681
+ Introducing support for alt-text in media.
1340
1682
 
1341
- - Updated dependencies [c3e65f1b9e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3e65f1b9e):
1342
- - @atlaskit/media-core@30.0.17
1343
- - @atlaskit/media-test-helpers@25.2.0
1344
- - @atlaskit/media-card@66.0.0
1683
+ - Updated dependencies
1684
+ [c3e65f1b9e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3e65f1b9e):
1685
+ - @atlaskit/media-core@30.0.17
1686
+ - @atlaskit/media-test-helpers@25.2.0
1687
+ - @atlaskit/media-card@66.0.0
1345
1688
 
1346
1689
  ## 2.3.2
1347
1690
 
1348
1691
  ### Patch Changes
1349
1692
 
1350
- - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
1693
+ - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
1351
1694
 
1352
- Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
1695
+ Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
1353
1696
 
1354
1697
  ## 2.3.1
1355
1698
 
1356
1699
  ### Patch Changes
1357
1700
 
1358
- - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
1701
+ - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
1359
1702
 
1360
- Updated version of analytics-next to fix potential incompatibilities with TS 3.6
1703
+ Updated version of analytics-next to fix potential incompatibilities with TS 3.6
1361
1704
 
1362
1705
  ## 2.3.0
1363
1706
 
1364
1707
  ### Minor Changes
1365
1708
 
1366
- - [minor][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
1709
+ - [minor][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
1367
1710
 
1368
- **FABDODGEM-12 Editor Cashmere Release**
1711
+ **FABDODGEM-12 Editor Cashmere Release**
1369
1712
 
1370
- - [Internal post](http://go.atlassian.com/cashmere-release)
1713
+ - [Internal post](http://go.atlassian.com/cashmere-release)
1371
1714
 
1372
- **Affected editor components:**
1715
+ **Affected editor components:**
1373
1716
 
1374
- tables, media, mobile, text color, emoji, copy/paste, analytics
1717
+ tables, media, mobile, text color, emoji, copy/paste, analytics
1375
1718
 
1376
- **Performance**
1719
+ **Performance**
1377
1720
 
1378
- - Async import for code blocks and task items on renderer
1379
- - https://product-fabric.atlassian.net/browse/ED-7155
1721
+ - Async import for code blocks and task items on renderer
1722
+ - https://product-fabric.atlassian.net/browse/ED-7155
1380
1723
 
1381
- **Table**
1724
+ **Table**
1382
1725
 
1383
- - Add support to sort tables that contains smart links
1384
- - https://product-fabric.atlassian.net/browse/ED-7449
1385
- - Scale table when changing to full width mode
1386
- - https://product-fabric.atlassian.net/browse/ED-7724
1726
+ - Add support to sort tables that contains smart links
1727
+ - https://product-fabric.atlassian.net/browse/ED-7449
1728
+ - Scale table when changing to full width mode
1729
+ - https://product-fabric.atlassian.net/browse/ED-7724
1387
1730
 
1388
- **Text color**
1731
+ **Text color**
1389
1732
 
1390
- - Update text color toolbar with right color when text is inside a list, panel, etc.
1391
- - https://product-fabric.atlassian.net/browse/FM-1752
1733
+ - Update text color toolbar with right color when text is inside a list, panel, etc.
1734
+ - https://product-fabric.atlassian.net/browse/FM-1752
1392
1735
 
1393
- **Mobile** - Implement undo/redo interface on Hybrid Editor - https://product-fabric.atlassian.net/browse/FM-2393
1736
+ **Mobile** - Implement undo/redo interface on Hybrid Editor -
1737
+ https://product-fabric.atlassian.net/browse/FM-2393
1394
1738
 
1395
1739
  **Copy and Paste**
1396
1740
 
@@ -1405,17 +1749,17 @@ Bumped dependencies.
1405
1749
 
1406
1750
  **Media**
1407
1751
 
1408
- - Add analytics events and error reporting [NEW BIG FEATURE]
1409
- - https://product-fabric.atlassian.net/browse/MS-2275
1410
- - https://product-fabric.atlassian.net/browse/MS-2329
1411
- - https://product-fabric.atlassian.net/browse/MS-2330
1412
- - https://product-fabric.atlassian.net/browse/MS-2331
1413
- - https://product-fabric.atlassian.net/browse/MS-2332
1414
- - https://product-fabric.atlassian.net/browse/MS-2390
1415
- - Fixed issue where we can’t insert same file from MediaPicker twice
1416
- - https://product-fabric.atlassian.net/browse/MS-2080
1417
- - Disable upload of external files to media
1418
- - https://product-fabric.atlassian.net/browse/MS-2372
1752
+ - Add analytics events and error reporting [NEW BIG FEATURE]
1753
+ - https://product-fabric.atlassian.net/browse/MS-2275
1754
+ - https://product-fabric.atlassian.net/browse/MS-2329
1755
+ - https://product-fabric.atlassian.net/browse/MS-2330
1756
+ - https://product-fabric.atlassian.net/browse/MS-2331
1757
+ - https://product-fabric.atlassian.net/browse/MS-2332
1758
+ - https://product-fabric.atlassian.net/browse/MS-2390
1759
+ - Fixed issue where we can’t insert same file from MediaPicker twice
1760
+ - https://product-fabric.atlassian.net/browse/MS-2080
1761
+ - Disable upload of external files to media
1762
+ - https://product-fabric.atlassian.net/browse/MS-2372
1419
1763
 
1420
1764
  **Notable Bug Fixes**
1421
1765
 
@@ -1430,256 +1774,273 @@ Bumped dependencies.
1430
1774
  - Fixed bug where custom emojis are not been showed on the editor
1431
1775
  - https://product-fabric.atlassian.net/browse/ED-7726
1432
1776
 
1433
- - [minor][02dd8e6c76](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02dd8e6c76):
1777
+ - [minor][02dd8e6c76](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02dd8e6c76):
1434
1778
 
1435
- Add RECENTS_COLLECTION constant with the name of user's recents collection
1779
+ Add RECENTS_COLLECTION constant with the name of user's recents collection
1436
1780
 
1437
1781
  ## 2.2.1
1438
1782
 
1439
1783
  ### Patch Changes
1440
1784
 
1441
- - [patch][598fde647a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/598fde647a):
1785
+ - [patch][598fde647a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/598fde647a):
1442
1786
 
1443
- dont append file attrs to url in Safari
1787
+ dont append file attrs to url in Safari
1444
1788
 
1445
1789
  ## 2.2.0
1446
1790
 
1447
1791
  ### Minor Changes
1448
1792
 
1449
- - [minor][8e6bce4da8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8e6bce4da8):
1793
+ - [minor][8e6bce4da8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8e6bce4da8):
1450
1794
 
1451
- New fetchMaxRes parameter for getImage method allows to set default download params (4096 width and height and 'fit' mode)- [minor][d9abdd3030](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d9abdd3030):
1795
+ New fetchMaxRes parameter for getImage method allows to set default download params (4096 width
1796
+ and height and 'fit' mode)-
1797
+ [minor][d9abdd3030](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d9abdd3030):
1452
1798
 
1453
- Expose url helpers for copy&paste and stringify params
1799
+ Expose url helpers for copy&paste and stringify params
1454
1800
 
1455
1801
  ## 2.1.2
1456
1802
 
1457
- - Updated dependencies [af72468517](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af72468517):
1458
- - @atlaskit/media-core@30.0.14
1459
- - @atlaskit/media-test-helpers@25.1.1
1460
- - @atlaskit/media-card@65.0.0
1803
+ - Updated dependencies
1804
+ [af72468517](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af72468517):
1805
+ - @atlaskit/media-core@30.0.14
1806
+ - @atlaskit/media-test-helpers@25.1.1
1807
+ - @atlaskit/media-card@65.0.0
1461
1808
 
1462
1809
  ## 2.1.1
1463
1810
 
1464
1811
  ### Patch Changes
1465
1812
 
1466
- - [patch][9c28ef71fe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c28ef71fe):
1813
+ - [patch][9c28ef71fe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c28ef71fe):
1467
1814
 
1468
- Add missing peerDependency in package.json
1815
+ Add missing peerDependency in package.json
1469
1816
 
1470
1817
  ## 2.1.0
1471
1818
 
1472
1819
  ### Minor Changes
1473
1820
 
1474
- - [minor][e5c3f6ae3e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e5c3f6ae3e):
1821
+ - [minor][e5c3f6ae3e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e5c3f6ae3e):
1475
1822
 
1476
- ED-6216: External images will now be uploaded to media services if possible
1823
+ ED-6216: External images will now be uploaded to media services if possible
1477
1824
 
1478
1825
  ## 2.0.5
1479
1826
 
1480
1827
  ### Patch Changes
1481
1828
 
1482
- - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
1829
+ - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
1483
1830
 
1484
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
1831
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
1832
+ non-relative imports as relative imports
1485
1833
 
1486
1834
  ## 2.0.4
1487
1835
 
1488
1836
  ### Patch Changes
1489
1837
 
1490
- - [patch][0d7d459f1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d7d459f1a):
1838
+ - [patch][0d7d459f1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d7d459f1a):
1491
1839
 
1492
- Fixes type errors which were incompatible with TS 3.6
1840
+ Fixes type errors which were incompatible with TS 3.6
1493
1841
 
1494
1842
  ## 2.0.3
1495
1843
 
1496
1844
  ### Patch Changes
1497
1845
 
1498
- - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
1846
+ - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
1499
1847
 
1500
- Upgraded Typescript to 3.3.x
1848
+ Upgraded Typescript to 3.3.x
1501
1849
 
1502
1850
  ## 2.0.2
1503
1851
 
1504
- - Updated dependencies [3624730f44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3624730f44):
1505
- - @atlaskit/media-core@30.0.11
1506
- - @atlaskit/media-test-helpers@25.0.2
1507
- - @atlaskit/media-card@64.0.0
1852
+ - Updated dependencies
1853
+ [3624730f44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3624730f44):
1854
+ - @atlaskit/media-core@30.0.11
1855
+ - @atlaskit/media-test-helpers@25.0.2
1856
+ - @atlaskit/media-card@64.0.0
1508
1857
 
1509
1858
  ## 2.0.1
1510
1859
 
1511
- - Updated dependencies [69586b5353](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/69586b5353):
1512
- - @atlaskit/media-card@63.3.11
1513
- - @atlaskit/media-core@30.0.10
1514
- - @atlaskit/media-test-helpers@25.0.0
1860
+ - Updated dependencies
1861
+ [69586b5353](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/69586b5353):
1862
+ - @atlaskit/media-card@63.3.11
1863
+ - @atlaskit/media-core@30.0.10
1864
+ - @atlaskit/media-test-helpers@25.0.0
1515
1865
 
1516
1866
  ## 2.0.0
1517
1867
 
1518
1868
  ### Major Changes
1519
1869
 
1520
- - [major][ee804f3eeb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ee804f3eeb):
1870
+ - [major][ee804f3eeb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ee804f3eeb):
1521
1871
 
1522
- Remove getCurrentState method from FileStreamCache
1872
+ Remove getCurrentState method from FileStreamCache
1523
1873
 
1524
- Before you could do:
1874
+ Before you could do:
1525
1875
 
1526
- ```
1527
- import {getFileStreamsCache} from '@atlaskit/media-client'
1876
+ ```
1877
+ import {getFileStreamsCache} from '@atlaskit/media-client'
1528
1878
 
1529
- const currentFileState = await getFileStreamsCache().getCurrentState('some-uuid');
1530
- ```
1879
+ const currentFileState = await getFileStreamsCache().getCurrentState('some-uuid');
1880
+ ```
1531
1881
 
1532
- That will return the last state from that fileState in a promise rather than having to
1533
- use Observables to subscribe and get the last event.
1882
+ That will return the last state from that fileState in a promise rather than having to use
1883
+ Observables to subscribe and get the last event.
1534
1884
 
1535
- Now you could just use the already existing method getCurrentState from mediaClient:
1885
+ Now you could just use the already existing method getCurrentState from mediaClient:
1536
1886
 
1537
- ```
1538
- import {getMediaClient} from '@atlaskit/media-client';
1887
+ ```
1888
+ import {getMediaClient} from '@atlaskit/media-client';
1539
1889
 
1540
- const mediaClient = getMediaClient({
1541
- mediaClientConfig: {} // Some MediaClientConfig
1542
- });
1543
- const state = await mediaClient.file.getCurrentState('some-uuid');
1544
- ```
1890
+ const mediaClient = getMediaClient({
1891
+ mediaClientConfig: {} // Some MediaClientConfig
1892
+ });
1893
+ const state = await mediaClient.file.getCurrentState('some-uuid');
1894
+ ```
1545
1895
 
1546
1896
  ## 1.5.3
1547
1897
 
1548
1898
  ### Patch Changes
1549
1899
 
1550
- - [patch][13eed9b89c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/13eed9b89c):
1900
+ - [patch][13eed9b89c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/13eed9b89c):
1551
1901
 
1552
- populate media cache when using FileFetcher:copyFile
1902
+ populate media cache when using FileFetcher:copyFile
1553
1903
 
1554
1904
  ## 1.5.2
1555
1905
 
1556
1906
  ### Patch Changes
1557
1907
 
1558
- - [patch][6742fbf2cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6742fbf2cc):
1908
+ - [patch][6742fbf2cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6742fbf2cc):
1559
1909
 
1560
- bugfix, fixes missing version.json file
1910
+ bugfix, fixes missing version.json file
1561
1911
 
1562
1912
  ## 1.5.1
1563
1913
 
1564
1914
  ### Patch Changes
1565
1915
 
1566
- - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1916
+ - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1567
1917
 
1568
- In this PR, we are:
1918
+ In this PR, we are:
1569
1919
 
1570
- - Re-introducing dist build folders
1571
- - Adding back cjs
1572
- - Replacing es5 by cjs and es2015 by esm
1573
- - Creating folders at the root for entry-points
1574
- - Removing the generation of the entry-points at the root
1575
- Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
1920
+ - Re-introducing dist build folders
1921
+ - Adding back cjs
1922
+ - Replacing es5 by cjs and es2015 by esm
1923
+ - Creating folders at the root for entry-points
1924
+ - Removing the generation of the entry-points at the root Please see this
1925
+ [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
1926
+ [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
1927
+ for further details
1576
1928
 
1577
1929
  ## 1.5.0
1578
1930
 
1579
1931
  ### Minor Changes
1580
1932
 
1581
- - [minor][60af38e3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/60af38e3f7):
1933
+ - [minor][60af38e3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/60af38e3f7):
1582
1934
 
1583
- Expose globalMediaEventEmitter to allow consumers to subscribe to global events rather than per context/mediaClient instance
1935
+ Expose globalMediaEventEmitter to allow consumers to subscribe to global events rather than per
1936
+ context/mediaClient instance
1584
1937
 
1585
- ```
1586
- //
1587
- // BEFORE
1588
- //
1589
- import {ContextFactory} from '@atlaskit/media-core'
1938
+ ```
1939
+ //
1940
+ // BEFORE
1941
+ //
1942
+ import {ContextFactory} from '@atlaskit/media-core'
1590
1943
 
1591
- const context = ContextFactory.create();
1944
+ const context = ContextFactory.create();
1592
1945
 
1593
- // Events happen per instance
1594
- context.on('file-added', ...)
1946
+ // Events happen per instance
1947
+ context.on('file-added', ...)
1595
1948
 
1596
- //
1597
- // NOW
1598
- //
1949
+ //
1950
+ // NOW
1951
+ //
1599
1952
 
1600
- import {globalMediaEventEmitter} from '@atlaskit/media-client';
1953
+ import {globalMediaEventEmitter} from '@atlaskit/media-client';
1601
1954
 
1602
- // Context happens globally on any upload. This is needed since there might be multiple mediaClient instances at runtime
1603
- globalMediaEventEmitter.on('file-added', ...);
1604
- ```
1955
+ // Context happens globally on any upload. This is needed since there might be multiple mediaClient instances at runtime
1956
+ globalMediaEventEmitter.on('file-added', ...);
1957
+ ```
1605
1958
 
1606
1959
  ## 1.4.0
1607
1960
 
1608
1961
  ### Minor Changes
1609
1962
 
1610
- - [minor][02185fba43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02185fba43):
1963
+ - [minor][02185fba43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02185fba43):
1611
1964
 
1612
- getMediaClient is now exposed
1965
+ getMediaClient is now exposed
1613
1966
 
1614
1967
  ## 1.3.0
1615
1968
 
1616
1969
  ### Minor Changes
1617
1970
 
1618
- - [minor][61ed1951ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/61ed1951ce):
1971
+ - [minor][61ed1951ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/61ed1951ce):
1619
1972
 
1620
- Expose getFileBinaryURL method in mediaClient.file.getFileBinaryURL
1973
+ Expose getFileBinaryURL method in mediaClient.file.getFileBinaryURL
1621
1974
 
1622
1975
  ## 1.2.1
1623
1976
 
1624
- - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
1977
+ - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
1625
1978
 
1626
- - This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
1979
+ - This is just a safety release in case anything strange happened in in the previous one. See
1980
+ Pull Request #5942 for details
1627
1981
 
1628
1982
  ## 1.2.0
1629
1983
 
1630
- - [minor][dcda79d48c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dcda79d48c):
1984
+ - [minor][dcda79d48c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dcda79d48c):
1631
1985
 
1632
- - `withMediaClient` and associated Props are introduced to make possible soft transition from Context based media components to Media Client Config ones.
1986
+ - `withMediaClient` and associated Props are introduced to make possible soft transition from
1987
+ Context based media components to Media Client Config ones.
1633
1988
 
1634
- - Updated dependencies [9ecfef12ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ecfef12ac):
1635
- - @atlaskit/media-card@63.1.0
1636
- - @atlaskit/media-core@30.0.3
1637
- - @atlaskit/media-test-helpers@24.0.0
1989
+ - Updated dependencies
1990
+ [9ecfef12ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ecfef12ac):
1991
+ - @atlaskit/media-card@63.1.0
1992
+ - @atlaskit/media-core@30.0.3
1993
+ - @atlaskit/media-test-helpers@24.0.0
1638
1994
 
1639
1995
  ## 1.1.5
1640
1996
 
1641
- - [patch][af1cbd4ce4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af1cbd4ce4):
1997
+ - [patch][af1cbd4ce4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af1cbd4ce4):
1642
1998
 
1643
- - Removing unnecessary deps and dev deps in media-core and media-client
1999
+ - Removing unnecessary deps and dev deps in media-core and media-client
1644
2000
 
1645
2001
  ## 1.1.4
1646
2002
 
1647
- - [patch][12aa76d5b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12aa76d5b5):
2003
+ - [patch][12aa76d5b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12aa76d5b5):
1648
2004
 
1649
- - ED-6814: fixed rendering mediaSingle without collection
2005
+ - ED-6814: fixed rendering mediaSingle without collection
1650
2006
 
1651
2007
  ## 1.1.3
1652
2008
 
1653
- - Updated dependencies [ed3f034232](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed3f034232):
1654
- - @atlaskit/media-card@63.0.2
1655
- - @atlaskit/media-core@30.0.1
1656
- - @atlaskit/media-test-helpers@23.0.0
2009
+ - Updated dependencies
2010
+ [ed3f034232](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed3f034232):
2011
+ - @atlaskit/media-card@63.0.2
2012
+ - @atlaskit/media-core@30.0.1
2013
+ - @atlaskit/media-test-helpers@23.0.0
1657
2014
 
1658
2015
  ## 1.1.2
1659
2016
 
1660
- - [patch][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
2017
+ - [patch][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1661
2018
 
1662
- - 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.
2019
+ - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
2020
+ this package, please ensure you use at least this version of react and react-dom.
1663
2021
 
1664
2022
  ## 1.1.1
1665
2023
 
1666
- - [patch][2f58d39758](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2f58d39758):
2024
+ - [patch][2f58d39758](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2f58d39758):
1667
2025
 
1668
- - Fix problem with double exporting one of the existing items
2026
+ - Fix problem with double exporting one of the existing items
1669
2027
 
1670
2028
  ## 1.1.0
1671
2029
 
1672
- - [minor][8536258182](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8536258182):
2030
+ - [minor][8536258182](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8536258182):
1673
2031
 
1674
- - expose on + off + emit methods on client in order to communicate events with integrators. At this point the only emitted event is 'file-added'
2032
+ - expose on + off + emit methods on client in order to communicate events with integrators. At
2033
+ this point the only emitted event is 'file-added'
1675
2034
 
1676
2035
  ## 1.0.0
1677
2036
 
1678
- - [major][e38d662f7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e38d662f7d):
2037
+ - [major][e38d662f7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e38d662f7d):
1679
2038
 
1680
- - Media API Web Client Library initial release. It contains mostly combined code from media-core and media-store.
2039
+ - Media API Web Client Library initial release. It contains mostly combined code from
2040
+ media-core and media-store.
1681
2041
 
1682
- - Updated dependencies [e7292ab444](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7292ab444):
1683
- - @atlaskit/media-card@61.0.0
1684
- - @atlaskit/media-test-helpers@21.3.0
1685
- - @atlaskit/media-core@29.2.0
2042
+ - Updated dependencies
2043
+ [e7292ab444](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7292ab444):
2044
+ - @atlaskit/media-card@61.0.0
2045
+ - @atlaskit/media-test-helpers@21.3.0
2046
+ - @atlaskit/media-core@29.2.0