@atlaskit/media-client 26.2.3 → 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 (70) hide show
  1. package/CHANGELOG.md +1049 -682
  2. package/dist/cjs/client/file-fetcher/index.js +2 -1
  3. package/dist/cjs/client/media-store/MediaStore.js +100 -61
  4. package/dist/es2019/client/file-fetcher/index.js +2 -1
  5. package/dist/es2019/client/media-store/MediaStore.js +18 -0
  6. package/dist/esm/client/file-fetcher/index.js +2 -1
  7. package/dist/esm/client/media-store/MediaStore.js +100 -61
  8. package/dist/types/client/file-fetcher/index.d.ts +11 -11
  9. package/dist/types/client/media-store/MediaStore.d.ts +1 -0
  10. package/dist/types/client/media-store/types.d.ts +1 -0
  11. package/dist/types-ts4.5/client/file-fetcher/index.d.ts +11 -11
  12. package/dist/types-ts4.5/client/media-store/MediaStore.d.ts +1 -0
  13. package/dist/types-ts4.5/client/media-store/types.d.ts +1 -0
  14. package/example-helpers/styles.ts +73 -74
  15. package/package.json +11 -4
  16. package/dist/cjs/test-helpers/MockedMediaApi/MockedMediaApi.js +0 -430
  17. package/dist/cjs/test-helpers/MockedMediaApi/helpers.js +0 -184
  18. package/dist/cjs/test-helpers/MockedMediaApi/index.js +0 -55
  19. package/dist/cjs/test-helpers/_numbers.js +0 -9
  20. package/dist/cjs/test-helpers/authProvider.js +0 -70
  21. package/dist/cjs/test-helpers/collectionNames.js +0 -11
  22. package/dist/cjs/test-helpers/exampleMediaItems.js +0 -274
  23. package/dist/cjs/test-helpers/fakeMediaClient.js +0 -75
  24. package/dist/cjs/test-helpers/index.js +0 -422
  25. package/dist/cjs/test-helpers/mediaClientProvider.js +0 -54
  26. package/dist/cjs/test-helpers/mediaPickerAuthProvider.js +0 -92
  27. package/dist/es2019/test-helpers/MockedMediaApi/MockedMediaApi.js +0 -159
  28. package/dist/es2019/test-helpers/MockedMediaApi/helpers.js +0 -167
  29. package/dist/es2019/test-helpers/MockedMediaApi/index.js +0 -2
  30. package/dist/es2019/test-helpers/_numbers.js +0 -3
  31. package/dist/es2019/test-helpers/authProvider.js +0 -34
  32. package/dist/es2019/test-helpers/collectionNames.js +0 -5
  33. package/dist/es2019/test-helpers/exampleMediaItems.js +0 -268
  34. package/dist/es2019/test-helpers/fakeMediaClient.js +0 -63
  35. package/dist/es2019/test-helpers/index.js +0 -8
  36. package/dist/es2019/test-helpers/mediaClientProvider.js +0 -42
  37. package/dist/es2019/test-helpers/mediaPickerAuthProvider.js +0 -56
  38. package/dist/esm/test-helpers/MockedMediaApi/MockedMediaApi.js +0 -423
  39. package/dist/esm/test-helpers/MockedMediaApi/helpers.js +0 -177
  40. package/dist/esm/test-helpers/MockedMediaApi/index.js +0 -2
  41. package/dist/esm/test-helpers/_numbers.js +0 -3
  42. package/dist/esm/test-helpers/authProvider.js +0 -63
  43. package/dist/esm/test-helpers/collectionNames.js +0 -5
  44. package/dist/esm/test-helpers/exampleMediaItems.js +0 -268
  45. package/dist/esm/test-helpers/fakeMediaClient.js +0 -69
  46. package/dist/esm/test-helpers/index.js +0 -8
  47. package/dist/esm/test-helpers/mediaClientProvider.js +0 -48
  48. package/dist/esm/test-helpers/mediaPickerAuthProvider.js +0 -85
  49. package/dist/types/test-helpers/MockedMediaApi/MockedMediaApi.d.ts +0 -16
  50. package/dist/types/test-helpers/MockedMediaApi/helpers.d.ts +0 -23
  51. package/dist/types/test-helpers/MockedMediaApi/index.d.ts +0 -3
  52. package/dist/types/test-helpers/_numbers.d.ts +0 -1
  53. package/dist/types/test-helpers/authProvider.d.ts +0 -6
  54. package/dist/types/test-helpers/collectionNames.d.ts +0 -5
  55. package/dist/types/test-helpers/exampleMediaItems.d.ts +0 -53
  56. package/dist/types/test-helpers/fakeMediaClient.d.ts +0 -4
  57. package/dist/types/test-helpers/index.d.ts +0 -9
  58. package/dist/types/test-helpers/mediaClientProvider.d.ts +0 -23
  59. package/dist/types/test-helpers/mediaPickerAuthProvider.d.ts +0 -5
  60. package/dist/types-ts4.5/test-helpers/MockedMediaApi/MockedMediaApi.d.ts +0 -16
  61. package/dist/types-ts4.5/test-helpers/MockedMediaApi/helpers.d.ts +0 -23
  62. package/dist/types-ts4.5/test-helpers/MockedMediaApi/index.d.ts +0 -3
  63. package/dist/types-ts4.5/test-helpers/_numbers.d.ts +0 -1
  64. package/dist/types-ts4.5/test-helpers/authProvider.d.ts +0 -6
  65. package/dist/types-ts4.5/test-helpers/collectionNames.d.ts +0 -5
  66. package/dist/types-ts4.5/test-helpers/exampleMediaItems.d.ts +0 -53
  67. package/dist/types-ts4.5/test-helpers/fakeMediaClient.d.ts +0 -4
  68. package/dist/types-ts4.5/test-helpers/index.d.ts +0 -9
  69. package/dist/types-ts4.5/test-helpers/mediaClientProvider.d.ts +0 -23
  70. package/dist/types-ts4.5/test-helpers/mediaPickerAuthProvider.d.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -1,1217 +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
+
14
+ ## 26.3.0
15
+
16
+ ### Minor Changes
17
+
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
21
+
3
22
  ## 26.2.3
4
23
 
5
24
  ### Patch Changes
6
25
 
7
- - [#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
8
29
 
9
30
  ## 26.2.2
10
31
 
11
32
  ### Patch Changes
12
33
 
13
- - [#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`
14
37
 
15
38
  ## 26.2.1
16
39
 
17
40
  ### Patch Changes
18
41
 
19
- - [#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
20
45
 
21
46
  ## 26.2.0
22
47
 
23
48
  ### Minor Changes
24
49
 
25
- - [#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.
26
54
 
27
55
  ### Patch Changes
28
56
 
29
- - Updated dependencies
57
+ - Updated dependencies
30
58
 
31
59
  ## 26.1.2
32
60
 
33
61
  ### Patch Changes
34
62
 
35
- - [#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
36
67
 
37
68
  ## 26.1.1
38
69
 
39
70
  ### Patch Changes
40
71
 
41
- - [#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
42
75
 
43
76
  ## 26.1.0
44
77
 
45
78
  ### Minor Changes
46
79
 
47
- - [#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
48
- - [#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
49
87
 
50
88
  ## 26.0.0
51
89
 
52
90
  ### Major Changes
53
91
 
54
- - [#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.
55
- WHY: This is to support the work to deprecate SHA1 usage and make the Media Platform comply with FedRAMP moderate controls.
56
- 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.
57
98
 
58
99
  ### Patch Changes
59
100
 
60
- - Updated dependencies
101
+ - Updated dependencies
61
102
 
62
103
  ## 25.1.0
63
104
 
64
105
  ### Minor Changes
65
106
 
66
- - [#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
67
110
 
68
111
  ## 25.0.3
69
112
 
70
113
  ### Patch Changes
71
114
 
72
- - [#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
73
118
 
74
119
  ## 25.0.2
75
120
 
76
121
  ### Patch Changes
77
122
 
78
- - Updated dependencies
123
+ - Updated dependencies
79
124
 
80
125
  ## 25.0.1
81
126
 
82
127
  ### Patch Changes
83
128
 
84
- - Updated dependencies
129
+ - Updated dependencies
85
130
 
86
131
  ## 25.0.0
87
132
 
88
133
  ### Major Changes
89
134
 
90
- - [#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.
91
138
 
92
139
  ## 24.0.3
93
140
 
94
141
  ### Patch Changes
95
142
 
96
- - [#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
97
147
 
98
148
  ## 24.0.2
99
149
 
100
150
  ### Patch Changes
101
151
 
102
- - [#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
103
155
 
104
156
  ## 24.0.1
105
157
 
106
158
  ### Patch Changes
107
159
 
108
- - [#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
109
163
 
110
164
  ## 24.0.0
111
165
 
112
166
  ### Major Changes
113
167
 
114
- - [#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.
115
- Introducing 'media-client-react' to provide hooks for seamless media-client integration with React.
116
- Introducing 'MediaCardV2' with a feature flag to replace rxjs based fileState subscription with 'useFileState' hook.
117
- 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'.
118
175
 
119
176
  ### Patch Changes
120
177
 
121
- - Updated dependencies
178
+ - Updated dependencies
122
179
 
123
180
  ## 23.2.0
124
181
 
125
182
  ### Minor Changes
126
183
 
127
- - [#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
128
188
 
129
189
  ### Patch Changes
130
190
 
131
- - Updated dependencies
191
+ - Updated dependencies
132
192
 
133
193
  ## 23.1.3
134
194
 
135
195
  ### Patch Changes
136
196
 
137
- - Updated dependencies
197
+ - Updated dependencies
138
198
 
139
199
  ## 23.1.2
140
200
 
141
201
  ### Patch Changes
142
202
 
143
- - [#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
144
206
 
145
207
  ## 23.1.1
146
208
 
147
209
  ### Patch Changes
148
210
 
149
- - [#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
150
214
 
151
215
  ## 23.1.0
152
216
 
153
217
  ### Minor Changes
154
218
 
155
- - [#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
156
222
 
157
223
  ## 23.0.2
158
224
 
159
225
  ### Patch Changes
160
226
 
161
- - [#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.
162
231
 
163
232
  ## 23.0.1
164
233
 
165
234
  ### Patch Changes
166
235
 
167
- - Updated dependencies
236
+ - Updated dependencies
168
237
 
169
238
  ## 23.0.0
170
239
 
171
240
  ### Major Changes
172
241
 
173
- - [#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
174
246
 
175
247
  ### Patch Changes
176
248
 
177
- - Updated dependencies
249
+ - Updated dependencies
178
250
 
179
251
  ## 22.0.5
180
252
 
181
253
  ### Patch Changes
182
254
 
183
- - [#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
184
258
 
185
259
  ## 22.0.4
186
260
 
187
261
  ### Patch Changes
188
262
 
189
- - [#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
190
267
 
191
268
  ## 22.0.3
192
269
 
193
270
  ### Patch Changes
194
271
 
195
- - [#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.
196
- - [`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)
197
- - [`9425ed86eb7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9425ed86eb7) - File size limit is now verified in the backend, no longer the frontend
198
- - 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
199
281
 
200
282
  ## 22.0.2
201
283
 
202
284
  ### Patch Changes
203
285
 
204
- - [#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
205
- - 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
206
290
 
207
291
  ## 22.0.1
208
292
 
209
293
  ### Patch Changes
210
294
 
211
- - [#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`
212
- - 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
213
299
 
214
300
  ## 22.0.0
215
301
 
216
302
  ### Minor Changes
217
303
 
218
- - [#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
219
307
 
220
308
  ### Patch Changes
221
309
 
222
- - Updated dependencies
310
+ - Updated dependencies
223
311
 
224
312
  ## 21.1.0
225
313
 
226
314
  ### Minor Changes
227
315
 
228
- - [#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
229
319
 
230
320
  ## 21.0.0
231
321
 
232
322
  ### Major Changes
233
323
 
234
- - [#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:
235
327
 
236
- - Media Store class no longer exposes getCollectionItems method
328
+ - Media Store class no longer exposes getCollectionItems method
237
329
 
238
- - `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`
239
332
 
240
- - `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:
241
335
 
242
- - MediaCollection
243
- - MediaCollectionItem
244
- - MediaCollectionItems
245
- - MediaCollectionItemDetails
246
- - MediaCollectionItemMinimalDetails
247
- - isMediaCollectionItemFullDetails
336
+ - MediaCollection
337
+ - MediaCollectionItem
338
+ - MediaCollectionItems
339
+ - MediaCollectionItemDetails
340
+ - MediaCollectionItemMinimalDetails
341
+ - isMediaCollectionItemFullDetails
248
342
 
249
- - Renamed type `MediaCollectionItemFullDetails` to `MediaItemDetails`
343
+ - Renamed type `MediaCollectionItemFullDetails` to `MediaItemDetails`
250
344
 
251
- - `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`.
252
346
 
253
- - Removed `MediaSubscribableItem` type
347
+ - Removed `MediaSubscribableItem` type
254
348
 
255
349
  ### Patch Changes
256
350
 
257
- - Updated dependencies
351
+ - Updated dependencies
258
352
 
259
353
  ## 20.2.1
260
354
 
261
355
  ### Patch Changes
262
356
 
263
- - Updated dependencies
357
+ - Updated dependencies
264
358
 
265
359
  ## 20.2.0
266
360
 
267
361
  ### Minor Changes
268
362
 
269
- - [#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
270
366
 
271
367
  ## 20.1.0
272
368
 
273
369
  ### Minor Changes
274
370
 
275
- - [#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
276
375
 
277
376
  ### Patch Changes
278
377
 
279
- - Updated dependencies
378
+ - Updated dependencies
280
379
 
281
380
  ## 20.0.3
282
381
 
283
382
  ### Patch Changes
284
383
 
285
- - [#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
286
387
 
287
388
  ## 20.0.2
288
389
 
289
390
  ### Patch Changes
290
391
 
291
- - [#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
292
395
 
293
396
  ## 20.0.1
294
397
 
295
398
  ### Patch Changes
296
399
 
297
- - [#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)
298
- - 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
299
404
 
300
405
  ## 20.0.0
301
406
 
302
407
  ### Major Changes
303
408
 
304
- - [#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
305
413
 
306
414
  ### Patch Changes
307
415
 
308
- - Updated dependencies
416
+ - Updated dependencies
309
417
 
310
418
  ## 19.1.1
311
419
 
312
420
  ### Patch Changes
313
421
 
314
- - [#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.
315
426
 
316
427
  ## 19.1.0
317
428
 
318
429
  ### Minor Changes
319
430
 
320
- - [#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
321
- - [`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
322
436
 
323
437
  ### Patch Changes
324
438
 
325
- - [`a8eeb045e3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a8eeb045e3a) - adding media only callouts to docs
326
- - [`3d40d5e9b37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d40d5e9b37) - Adopt updated version of getRandomHex function for generating traceId
327
- - 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
328
444
 
329
445
  ## 19.0.0
330
446
 
331
447
  ### Major Changes
332
448
 
333
- - [#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.
334
452
 
335
453
  ### Patch Changes
336
454
 
337
- - [`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
338
457
 
339
458
  ## 18.1.0
340
459
 
341
460
  ### Minor Changes
342
461
 
343
- - [#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.
344
465
 
345
466
  ### Patch Changes
346
467
 
347
- - [`bf8302c838a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf8302c838a) - Implemented internal functionality to create local video preview.
348
- - Updated dependencies
468
+ - [`bf8302c838a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf8302c838a) -
469
+ Implemented internal functionality to create local video preview.
470
+ - Updated dependencies
349
471
 
350
472
  ## 18.0.0
351
473
 
352
474
  ### Major Changes
353
475
 
354
- - [#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
355
479
 
356
480
  ### Patch Changes
357
481
 
358
- - [`153829bfcb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153829bfcb3) - Upgrade caching algorithm library lru-fast to lru_map.
359
- - 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
360
485
 
361
486
  ## 17.1.3
362
487
 
363
488
  ### Patch Changes
364
489
 
365
- - [#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`
366
- - 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
367
494
 
368
495
  ## 17.1.2
369
496
 
370
497
  ### Patch Changes
371
498
 
372
- - [#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.
373
503
 
374
504
  ## 17.1.1
375
505
 
376
506
  ### Patch Changes
377
507
 
378
- - [#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`.
379
- - 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
380
512
 
381
513
  ## 17.1.0
382
514
 
383
515
  ### Minor Changes
384
516
 
385
- - [#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
386
- - [`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
387
522
 
388
523
  ### Patch Changes
389
524
 
390
- - [`e80f52696fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e80f52696fe) - Migrated styled-components to emotion
391
- - [`de9dc9e7cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/de9dc9e7cbd) - Renamed internal helpers and files
392
- - 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
393
530
 
394
531
  ## 17.0.0
395
532
 
396
533
  ### Major Changes
397
534
 
398
- - [#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.
399
538
 
400
- To mitigate these changes:
539
+ To mitigate these changes:
401
540
 
402
- - Set the feature flag mediaUploadApiV2 as false or Revert to a previous version for affected consumers and methods;
403
- Media Client uploadFile method.
404
- Media Client File Fetcher upload method.
405
- 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.
406
544
 
407
- - [`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.
408
- - [`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.
409
551
 
410
552
  ### Patch Changes
411
553
 
412
- - [`61cf857a95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cf857a95a) - A util function for dynamically calculating chunkSizes.
413
- - Updated dependencies
554
+ - [`61cf857a95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cf857a95a) - A util
555
+ function for dynamically calculating chunkSizes.
556
+ - Updated dependencies
414
557
 
415
558
  ## 16.0.1
416
559
 
417
560
  ### Patch Changes
418
561
 
419
- - [#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
420
- - [`325e210e59f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/325e210e59f) - Revert changes made in MEX-1638-revert-update-media-store-class-with-new-endpoint-parameters
421
- - [`b73f20ed703`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73f20ed703) - EDM-3073: Fix collab for media inline and copy-paste regression
422
- - [`c2ede50a80a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ede50a80a) - Add media region and environment returned from media API response into failed analytic events.
423
- - 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
424
572
 
425
573
  ## 16.0.0
426
574
 
427
575
  ### Major Changes
428
576
 
429
- - [#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
430
580
 
431
581
  ### Minor Changes
432
582
 
433
- - [`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
434
585
 
435
586
  ### Patch Changes
436
587
 
437
- - [`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.
438
- - [`567b33b2eeb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/567b33b2eeb) - stripe out null and undefined params when calling media server
439
- - [`c4c75f5a769`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c4c75f5a769) - Removed query string from media client
440
- - 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
441
596
 
442
597
  ## 15.1.1
443
598
 
444
599
  ### Patch Changes
445
600
 
446
- - [#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`.
447
604
 
448
605
  ## 15.1.0
449
606
 
450
607
  ### Minor Changes
451
608
 
452
- - [`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
453
611
 
454
612
  ### Patch Changes
455
613
 
456
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
457
- - Updated dependencies
614
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
615
+ Upgrade to TypeScript 4.2.4
616
+ - Updated dependencies
458
617
 
459
618
  ## 15.0.0
460
619
 
461
620
  ### Major Changes
462
621
 
463
- - [#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.
464
- mediaSubscribableToPromise is used internally.
465
- - [`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).
466
- It exposes subscribe method that is called with MediaObserver as an argument and returns MediaSubscription.
467
- 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.
468
630
 
469
- getFileState:
470
- 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.
471
633
 
472
- ```
473
- import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
634
+ ```
635
+ import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
474
636
 
475
- const mediaClient = new MediaClient({ authProvider });
637
+ const mediaClient = new MediaClient({ authProvider });
476
638
 
477
- const fileStateSubscribable: MediaSubscribable<FileState> = mediaClient.file.getFileState(id);
639
+ const fileStateSubscribable: MediaSubscribable<FileState> = mediaClient.file.getFileState(id);
478
640
 
479
- const mediaObserver: MediaObserver<FileState> = {
480
- next: (fileState) => {
481
- nextCallback(fileState)
482
- },
483
- error: (error) => {
484
- errorCallback(error)
485
- },
486
- };
641
+ const mediaObserver: MediaObserver<FileState> = {
642
+ next: (fileState) => {
643
+ nextCallback(fileState)
644
+ },
645
+ error: (error) => {
646
+ errorCallback(error)
647
+ },
648
+ };
487
649
 
488
- const subscription: MediaSubscription = fileStateSubscribable.subscribe(mediaObserver);
650
+ const subscription: MediaSubscription = fileStateSubscribable.subscribe(mediaObserver);
489
651
 
490
- subscription.unsubscribe();
491
- ```
652
+ subscription.unsubscribe();
653
+ ```
492
654
 
493
- upload:
494
- 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.
495
657
 
496
- ```
497
- import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
658
+ ```
659
+ import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
498
660
 
499
- const mediaClient = new MediaClient({ authProvider });
661
+ const mediaClient = new MediaClient({ authProvider });
500
662
 
501
- const uploadFileSubscribable: MediaSubscribable<FileState> = mediaClient.file.upload(uploadableFile);
663
+ const uploadFileSubscribable: MediaSubscribable<FileState> = mediaClient.file.upload(uploadableFile);
502
664
 
503
- const mediaObserver: MediaObserver<FileState> = {
504
- next: (fileState) => {
505
- nextCallback(fileState)
506
- },
507
- error: (error) => {
508
- errorCallback(error)
509
- },
510
- };
665
+ const mediaObserver: MediaObserver<FileState> = {
666
+ next: (fileState) => {
667
+ nextCallback(fileState)
668
+ },
669
+ error: (error) => {
670
+ errorCallback(error)
671
+ },
672
+ };
511
673
 
512
- const subscription: MediaSubscription = uploadFileSubscribable.subscribe(mediaObserver);
674
+ const subscription: MediaSubscription = uploadFileSubscribable.subscribe(mediaObserver);
513
675
 
514
- subscription.unsubscribe();
515
- ```
676
+ subscription.unsubscribe();
677
+ ```
516
678
 
517
- getItems:
518
- 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.
519
681
 
520
- ```
521
- import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
682
+ ```
683
+ import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
522
684
 
523
- const mediaClient = new MediaClient({ authProvider });
685
+ const mediaClient = new MediaClient({ authProvider });
524
686
 
525
- const collectionItemsSubscribable: MediaSubscribable<MediaCollectionItem[]> = mediaClient.collection.getItems(collectionName);
687
+ const collectionItemsSubscribable: MediaSubscribable<MediaCollectionItem[]> = mediaClient.collection.getItems(collectionName);
526
688
 
527
- const mediaObserver: MediaObserver<MediaCollectionItem[]> = {
528
- next: (items) => {
529
- nextCallback(items)
530
- },
531
- error: (error) => {
532
- errorCallback(error)
533
- },
534
- };
689
+ const mediaObserver: MediaObserver<MediaCollectionItem[]> = {
690
+ next: (items) => {
691
+ nextCallback(items)
692
+ },
693
+ error: (error) => {
694
+ errorCallback(error)
695
+ },
696
+ };
535
697
 
536
- const subscription: MediaSubscription = collectionItemsSubscribable.subscribe(mediaObserver);
698
+ const subscription: MediaSubscription = collectionItemsSubscribable.subscribe(mediaObserver);
537
699
 
538
- subscription.unsubscribe();
539
- ```
700
+ subscription.unsubscribe();
701
+ ```
540
702
 
541
703
  ### Minor Changes
542
704
 
543
- - [`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
544
707
 
545
708
  ### Patch Changes
546
709
 
547
- - Updated dependencies
710
+ - Updated dependencies
548
711
 
549
712
  ## 14.4.0
550
713
 
551
714
  ### Minor Changes
552
715
 
553
- - [#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
554
719
 
555
720
  ### Patch Changes
556
721
 
557
- - Updated dependencies
722
+ - Updated dependencies
558
723
 
559
724
  ## 14.3.2
560
725
 
561
726
  ### Patch Changes
562
727
 
563
- - [#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
564
731
 
565
732
  ## 14.3.1
566
733
 
567
734
  ### Patch Changes
568
735
 
569
- - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass initialAuth to MediaStore
570
- - [`dc1f9d42903`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc1f9d42903) - Updated typeguard
571
- - [`f461edcfd05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f461edcfd05) - Update CardLoader to use react-loadable
572
- Add SSR feature prop to be passed in renderer and media card
573
- - 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
574
744
 
575
745
  ## 14.3.0
576
746
 
577
747
  ### Minor Changes
578
748
 
579
- - [#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
580
- - [`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
581
754
 
582
755
  ### Patch Changes
583
756
 
584
- - [`fe9ced0cd70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe9ced0cd70) - Removed feature flags for polling settings
585
- - Updated dependencies
757
+ - [`fe9ced0cd70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe9ced0cd70) -
758
+ Removed feature flags for polling settings
759
+ - Updated dependencies
586
760
 
587
761
  ## 14.2.0
588
762
 
589
763
  ### Minor Changes
590
764
 
591
- - [#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
592
768
 
593
769
  ### Patch Changes
594
770
 
595
- - [`c2ae093a067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ae093a067) - Fixed unit test taking more than 10secs
596
- - Updated dependencies
771
+ - [`c2ae093a067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ae093a067) - Fixed
772
+ unit test taking more than 10secs
773
+ - Updated dependencies
597
774
 
598
775
  ## 14.1.1
599
776
 
600
777
  ### Patch Changes
601
778
 
602
- - [#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.
603
782
 
604
783
  ## 14.1.0
605
784
 
606
785
  ### Minor Changes
607
786
 
608
- - [#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
609
- - 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
610
791
 
611
792
  ### Patch Changes
612
793
 
613
- - [`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
614
796
 
615
797
  ## 14.0.0
616
798
 
617
799
  ### Minor Changes
618
800
 
619
- - [#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).
620
- MediaClientConfig requires the "initialAuth" attribute to provide an Auth object that does not come from an async Auth provider.
621
- Example:
622
-
623
- ```
624
- const mediaClientConfig = {
625
- authProvider: myAuthProvider,
626
- initialAuth: myAuth
627
- }
628
- const mediaClient = new MediaClient(mediaClientConfig);
629
- const imageUrl = mediaClient.getImageUrlSync(myFileId, myParams);
630
- ```
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
+ ```
631
816
 
632
817
  ### Patch Changes
633
818
 
634
- - Updated dependencies
819
+ - Updated dependencies
635
820
 
636
821
  ## 13.3.1
637
822
 
638
823
  ### Patch Changes
639
824
 
640
- - [#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
641
828
 
642
829
  ## 13.3.0
643
830
 
644
831
  ### Minor Changes
645
832
 
646
- - [#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
647
836
 
648
837
  ## 13.2.1
649
838
 
650
839
  ### Patch Changes
651
840
 
652
- - [#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
653
- - [`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:
654
846
 
655
- - getMediaTypeFromMimeType
656
- - isImageMimeTypeSupportedByBrowser
657
- - isDocumentMimeTypeSupportedByBrowser
658
- - isMimeTypeSupportedByBrowser
659
- - isImageMimeTypeSupportedByServer
660
- - isDocumentMimeTypeSupportedByServer
661
- - isAudioMimeTypeSupportedByServer
662
- - isVideoMimeTypeSupportedByServer
663
- - isUnknownMimeTypeSupportedByServer
664
- - isMimeTypeSupportedByServer
847
+ - getMediaTypeFromMimeType
848
+ - isImageMimeTypeSupportedByBrowser
849
+ - isDocumentMimeTypeSupportedByBrowser
850
+ - isMimeTypeSupportedByBrowser
851
+ - isImageMimeTypeSupportedByServer
852
+ - isDocumentMimeTypeSupportedByServer
853
+ - isAudioMimeTypeSupportedByServer
854
+ - isVideoMimeTypeSupportedByServer
855
+ - isUnknownMimeTypeSupportedByServer
856
+ - isMimeTypeSupportedByServer
665
857
 
666
- - Updated dependencies
858
+ - Updated dependencies
667
859
 
668
860
  ## 13.2.0
669
861
 
670
862
  ### Minor Changes
671
863
 
672
- - [#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
673
867
 
674
868
  ### Patch Changes
675
869
 
676
- - [`78125228ee2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78125228ee2) - Fixed token expiration criteria
677
- - [`3cd9ee2d15b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cd9ee2d15b) - Added RxJS compatiblity notice in Media docs
678
- - 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
679
875
 
680
876
  ## 13.1.2
681
877
 
682
878
  ### Patch Changes
683
879
 
684
- - [#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
685
883
 
686
884
  ## 13.1.1
687
885
 
688
886
  ### Patch Changes
689
887
 
690
- - [#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
691
891
 
692
892
  ## 13.1.0
693
893
 
694
894
  ### Minor Changes
695
895
 
696
- - [#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
697
899
 
698
900
  ## 13.0.1
699
901
 
700
902
  ### Patch Changes
701
903
 
702
- - [#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
703
907
 
704
908
  ## 13.0.0
705
909
 
706
910
  ### Major Changes
707
911
 
708
- - [#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
709
916
 
710
917
  ### Minor Changes
711
918
 
712
- - [`1d09c9ed549`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d09c9ed549) - refactor media-viewer for better analytics and error handling
713
- - [`37d4add135f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37d4add135f) - Refactored Media Client Error interface and types
714
- - [`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
715
925
 
716
926
  ### Patch Changes
717
927
 
718
- - [`3a350428814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3a350428814) - Moved request error reason "clientExhaustedRetries" into an attribute to not obscure original error
719
- - [`ce5671da5e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce5671da5e7) - keep media analytics fileAttributes nested in attributes
720
- move FileStatus from media-client to media-common, maintaing export from media-client
721
- - [`6611b6b3975`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6611b6b3975) - Fixed isMediaClientError method to accept any type as input
722
- - 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
723
936
 
724
937
  ## 12.4.1
725
938
 
726
939
  ### Patch Changes
727
940
 
728
- - [#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
729
- - 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
730
945
 
731
946
  ## 12.4.0
732
947
 
733
948
  ### Minor Changes
734
949
 
735
- - [#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
736
- - [`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
737
955
 
738
956
  ### Patch Changes
739
957
 
740
- - [`758aa08653`](https://bitbucket.org/atlassian/atlassian-frontend/commits/758aa08653) - Polling Fuction throws the inner error instead of wrapping it
741
- - [`7c44d1e585`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c44d1e585) - Fixed cards with non web-friendly MP4/MOV videos not mounting
742
- - [`8dfcc55dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8dfcc55dce) - Refactored error enums to be types for code clarity
743
- - 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
744
965
 
745
966
  ## 12.3.0
746
967
 
747
968
  ### Minor Changes
748
969
 
749
- - [#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
750
974
 
751
975
  ## 12.2.0
752
976
 
753
977
  ### Minor Changes
754
978
 
755
- - [#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
756
982
 
757
983
  ### Patch Changes
758
984
 
759
- - [`fa5ef18162`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa5ef18162) - Fixed media client's DataLoader error handling
760
- - [`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
761
989
 
762
990
  ## 12.1.2
763
991
 
764
992
  ### Patch Changes
765
993
 
766
- - [#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
767
997
 
768
998
  ## 12.1.1
769
999
 
770
1000
  ### Patch Changes
771
1001
 
772
- - [#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
773
- - 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
774
1006
 
775
1007
  ## 12.1.0
776
1008
 
777
1009
  ### Minor Changes
778
1010
 
779
- - [#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()
780
1014
 
781
1015
  ### Patch Changes
782
1016
 
783
- - Updated dependencies
1017
+ - Updated dependencies
784
1018
 
785
1019
  ## 12.0.0
786
1020
 
787
1021
  ### Patch Changes
788
1022
 
789
- - Updated dependencies
1023
+ - Updated dependencies
790
1024
 
791
1025
  ## 11.1.0
792
1026
 
793
1027
  ### Minor Changes
794
1028
 
795
- - [#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
796
1032
 
797
1033
  ### Patch Changes
798
1034
 
799
- - [`bf98a47a0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf98a47a0f) - Enhance polling strategy to limit to finite attempts with timing backoff
800
- - 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
801
1038
 
802
1039
  ## 11.0.1
803
1040
 
804
1041
  ### Patch Changes
805
1042
 
806
- - [#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.
807
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
808
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
809
- - 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
810
1050
 
811
1051
  ## 11.0.0
812
1052
 
813
1053
  ### Minor Changes
814
1054
 
815
- - [#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
816
1058
 
817
1059
  ### Patch Changes
818
1060
 
819
- - Updated dependencies
1061
+ - Updated dependencies
820
1062
 
821
1063
  ## 10.1.0
822
1064
 
823
1065
  ### Minor Changes
824
1066
 
825
- - [#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.
826
1070
 
827
1071
  ## 10.0.0
828
1072
 
829
1073
  ### Major Changes
830
1074
 
831
- - [#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
832
1078
 
833
1079
  ## 9.0.3
834
1080
 
835
1081
  ### Patch Changes
836
1082
 
837
- - [#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
838
- - [`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
839
1088
 
840
1089
  ## 9.0.2
841
1090
 
842
1091
  ### Patch Changes
843
1092
 
844
- - [#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
845
1096
 
846
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
847
- 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.
848
1099
 
849
1100
  ## 9.0.1
850
1101
 
851
1102
  ### Patch Changes
852
1103
 
853
- - [#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
854
1107
 
855
1108
  ## 9.0.0
856
1109
 
857
1110
  ### Major Changes
858
1111
 
859
- - [#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.
860
- 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.
861
1116
 
862
1117
  ### Minor Changes
863
1118
 
864
- - [`0c1bb3fa88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c1bb3fa88) - Fixed mocked response for "/file/copy/withToken" in MediaMock. Added isMediaCollectionItemFullDetails() to media-client.
865
- - [`878d4126c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/878d4126c2) - Added mime types supported by Media API file preview
866
- - [`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
867
- - [`2202870181`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2202870181) - Added support for zip previews in media viewer
868
- - [`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
869
1131
 
870
1132
  ### Patch Changes
871
1133
 
872
- - [`fa6fb5dfbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa6fb5dfbb) - Removing unused code to be published
873
- - [`87459b57ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87459b57ba) - Fixed insertion failure of processing file from recent files into Editor
874
- - 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
875
1139
 
876
1140
  ## 8.0.1
877
1141
 
878
1142
  ### Patch Changes
879
1143
 
880
- - [#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
881
- - [`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
882
1149
 
883
1150
  ## 8.0.0
884
1151
 
885
1152
  ### Major Changes
886
1153
 
887
- - [#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.
888
- 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
889
1159
 
890
1160
  ### Patch Changes
891
1161
 
892
- - Updated dependencies
1162
+ - Updated dependencies
893
1163
 
894
1164
  ## 7.0.0
895
1165
 
896
1166
  ### Major Changes
897
1167
 
898
- - [#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
899
1171
 
900
- ## Before
1172
+ ## Before
901
1173
 
902
- ```
903
- FileIdentifier {
904
- id: string | Promise<string>;
905
- }
906
- ```
1174
+ ```
1175
+ FileIdentifier {
1176
+ id: string | Promise<string>;
1177
+ }
1178
+ ```
907
1179
 
908
- ## Now
1180
+ ## Now
909
1181
 
910
- ```
911
- FileIdentifier {
912
- id: string;
913
- }
914
- ```
1182
+ ```
1183
+ FileIdentifier {
1184
+ id: string;
1185
+ }
1186
+ ```
915
1187
 
916
1188
  ## 6.2.3
917
1189
 
918
1190
  ### Patch Changes
919
1191
 
920
- - [#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.
921
1195
 
922
1196
  ## 6.2.2
923
1197
 
924
1198
  ### Patch Changes
925
1199
 
926
- - [#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
927
1203
 
928
1204
  ## 6.2.1
929
1205
 
930
1206
  ### Patch Changes
931
1207
 
932
- - [#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
933
1211
 
934
1212
  ## 6.2.0
935
1213
 
936
1214
  ### Minor Changes
937
1215
 
938
- - [#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
939
- - [`928dd60d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/928dd60d5d) - Add optional createdAt property to FileState interface
940
- - [`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
941
1223
 
942
1224
  ### Patch Changes
943
1225
 
944
- - [`0eb38a0ebd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0eb38a0ebd) - minor code styling changes in media-client
945
- - Updated dependencies
1226
+ - [`0eb38a0ebd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0eb38a0ebd) - minor
1227
+ code styling changes in media-client
1228
+ - Updated dependencies
946
1229
 
947
1230
  ## 6.1.0
948
1231
 
949
1232
  ### Minor Changes
950
1233
 
951
- - [minor][11ff95c0f0](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ff95c0f0):
952
-
953
- Using media api region in analytics events
954
-
955
- ### Patch Changes
956
-
957
- - [patch][5f8e3caf72](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f8e3caf72):
958
-
959
- EDM-475: Handle items call error to prevent error cards- [patch][692692ba24](https://bitbucket.org/atlassian/atlassian-frontend/commits/692692ba24):
960
-
961
- Replace Chunkinator- [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
962
-
963
- 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):
964
-
965
- Fix transition from External to Internal files in Media Viewer- [patch][d80b8e8fdb](https://bitbucket.org/atlassian/atlassian-frontend/commits/d80b8e8fdb):
966
-
967
- Use @atlaskit/media-common- Updated dependencies [6a6a991904](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a6a991904):
968
-
969
- - Updated dependencies [84f82f7015](https://bitbucket.org/atlassian/atlassian-frontend/commits/84f82f7015):
970
- - Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
971
- - Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
972
- - Updated dependencies [e5c869ee31](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5c869ee31):
973
- - Updated dependencies [69b678b38c](https://bitbucket.org/atlassian/atlassian-frontend/commits/69b678b38c):
974
- - Updated dependencies [b2402fc3a2](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2402fc3a2):
975
- - Updated dependencies [d38212e1be](https://bitbucket.org/atlassian/atlassian-frontend/commits/d38212e1be):
976
- - Updated dependencies [bb2fe95478](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb2fe95478):
977
- - Updated dependencies [4aca202534](https://bitbucket.org/atlassian/atlassian-frontend/commits/4aca202534):
978
- - Updated dependencies [12112907b5](https://bitbucket.org/atlassian/atlassian-frontend/commits/12112907b5):
979
- - Updated dependencies [c28ff17fbd](https://bitbucket.org/atlassian/atlassian-frontend/commits/c28ff17fbd):
980
- - Updated dependencies [7e363d5aba](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e363d5aba):
981
- - @atlaskit/media-test-helpers@27.2.0
982
- - @atlaskit/docs@8.5.1
983
- - @atlaskit/button@13.3.10
984
- - @atlaskit/media-card@67.2.0
985
- - @atlaskit/media-common@1.0.1
986
- - @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
987
1288
 
988
1289
  ## 6.0.0
989
1290
 
990
1291
  ### Minor Changes
991
1292
 
992
- - [minor][eb962d2c36](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb962d2c36):
1293
+ - [minor][eb962d2c36](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb962d2c36):
993
1294
 
994
- - Add MAX_RESOLUTION constant. Can be imported via direct entry point `import { MAX_RESOLUTION } from '@atlaskit/media-client/constants';`
995
- - `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):
996
1300
 
997
- - Added Stargate integration to MediaPicker popup.
998
- - 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.
999
1304
 
1000
- ### Using Stargate Integration
1305
+ ### Using Stargate Integration
1001
1306
 
1002
- 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`.
1003
1309
 
1004
- 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:
1005
1312
 
1006
- ```
1007
- import { MediaClient } from '@atlaskit/media-client';
1008
- const mediaClient = new MediaClient({ authProvider, stargateBaseUrl: 'http://stargate-url' });
1009
- ```
1313
+ ```
1314
+ import { MediaClient } from '@atlaskit/media-client';
1315
+ const mediaClient = new MediaClient({ authProvider, stargateBaseUrl: 'http://stargate-url' });
1316
+ ```
1010
1317
 
1011
- _Note_: Editor default behaviour is falling back to native file upload when `userAuthProvider` is not provided.
1012
- 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.
1013
1321
 
1014
1322
  ### Patch Changes
1015
1323
 
1016
- - [patch][70b68943d1](https://bitbucket.org/atlassian/atlassian-frontend/commits/70b68943d1):
1324
+ - [patch][70b68943d1](https://bitbucket.org/atlassian/atlassian-frontend/commits/70b68943d1):
1017
1325
 
1018
- 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):
1019
1328
 
1020
- - Updated dependencies [dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82):
1021
- - Updated dependencies [9a93eff8e6](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a93eff8e6):
1022
- - Updated dependencies [d49ebd7c7a](https://bitbucket.org/atlassian/atlassian-frontend/commits/d49ebd7c7a):
1023
- - Updated dependencies [6dcad31e41](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dcad31e41):
1024
- - Updated dependencies [8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6):
1025
- - Updated dependencies [3cbc8a49a2](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cbc8a49a2):
1026
- - @atlaskit/media-card@67.1.1
1027
- - @atlaskit/build-utils@2.6.4
1028
- - @atlaskit/media-test-helpers@27.1.0
1029
- - @atlaskit/media-core@31.1.0
1030
- - @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
1031
1346
 
1032
1347
  ## 5.0.2
1033
1348
 
1034
1349
  ### Patch Changes
1035
1350
 
1036
- - [patch][b408e050ab](https://bitbucket.org/atlassian/atlassian-frontend/commits/b408e050ab):
1037
-
1038
- Emit ErrorFileState when file has failed to upload- Updated dependencies [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
1039
-
1040
- - Updated dependencies [196500df34](https://bitbucket.org/atlassian/atlassian-frontend/commits/196500df34):
1041
- - Updated dependencies [be57ca3829](https://bitbucket.org/atlassian/atlassian-frontend/commits/be57ca3829):
1042
- - Updated dependencies [d7ed7b1513](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7ed7b1513):
1043
- - Updated dependencies [41a2496393](https://bitbucket.org/atlassian/atlassian-frontend/commits/41a2496393):
1044
- - Updated dependencies [39ee28797d](https://bitbucket.org/atlassian/atlassian-frontend/commits/39ee28797d):
1045
- - Updated dependencies [bbf5eb8824](https://bitbucket.org/atlassian/atlassian-frontend/commits/bbf5eb8824):
1046
- - Updated dependencies [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
1047
- - Updated dependencies [695e1c1c31](https://bitbucket.org/atlassian/atlassian-frontend/commits/695e1c1c31):
1048
- - Updated dependencies [6b06a7baa9](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b06a7baa9):
1049
- - Updated dependencies [8b34c7371d](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b34c7371d):
1050
- - @atlaskit/docs@8.4.0
1051
- - @atlaskit/media-test-helpers@27.0.0
1052
- - @atlaskit/media-card@67.1.0
1053
- - @atlaskit/media-core@31.0.5
1054
- - @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
1055
1381
 
1056
1382
  ## 5.0.1
1057
1383
 
1058
1384
  ### Patch Changes
1059
1385
 
1060
- - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1386
+ - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1061
1387
 
1062
- 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):
1063
1390
 
1064
- - @atlaskit/docs@8.3.2
1065
- - @atlaskit/button@13.3.7
1066
- - @atlaskit/type-helpers@4.2.3
1067
- - @atlaskit/media-card@67.0.3
1068
- - @atlaskit/media-core@31.0.4
1069
- - @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
1070
1397
 
1071
1398
  ## 5.0.0
1072
1399
 
1073
1400
  ### Major Changes
1074
1401
 
1075
- - [major][6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
1402
+ - [major][6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
1076
1403
 
1077
- Stream caches in media-client now use ReplaySubjects instead of Observables.
1078
- 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.
1079
- 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.
1080
1409
 
1081
1410
  ### Patch Changes
1082
1411
 
1083
- - Updated dependencies [5504a7da8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/5504a7da8c):
1084
- - Updated dependencies [966622bd45](https://bitbucket.org/atlassian/atlassian-frontend/commits/966622bd45):
1085
- - Updated dependencies [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
1086
- - Updated dependencies [6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
1087
- - @atlaskit/media-card@67.0.1
1088
- - @atlaskit/media-test-helpers@26.0.0
1089
- - @atlaskit/docs@8.3.0
1090
- - @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
1091
1424
 
1092
1425
  ## 4.3.0
1093
1426
 
1094
1427
  ### Minor Changes
1095
1428
 
1096
- - [minor][8c7f8fcf92](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c7f8fcf92):
1429
+ - [minor][8c7f8fcf92](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c7f8fcf92):
1097
1430
 
1098
- 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
1099
1433
 
1100
1434
  ### Patch Changes
1101
1435
 
1102
- - [patch][a47d750b5d](https://bitbucket.org/atlassian/atlassian-frontend/commits/a47d750b5d):
1436
+ - [patch][a47d750b5d](https://bitbucket.org/atlassian/atlassian-frontend/commits/a47d750b5d):
1103
1437
 
1104
- 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
1105
1439
 
1106
1440
  ## 4.2.2
1107
1441
 
1108
1442
  ### Patch Changes
1109
1443
 
1110
- - Updated dependencies [486a5aec29](https://bitbucket.org/atlassian/atlassian-frontend/commits/486a5aec29):
1111
- - Updated dependencies [03c917044e](https://bitbucket.org/atlassian/atlassian-frontend/commits/03c917044e):
1112
- - Updated dependencies [d3f4c97f6a](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3f4c97f6a):
1113
- - Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
1114
- - @atlaskit/media-card@67.0.0
1115
- - @atlaskit/button@13.3.5
1116
- - @atlaskit/media-core@31.0.2
1117
- - @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
1118
1456
 
1119
1457
  ## 4.2.1
1120
1458
 
1121
1459
  ### Patch Changes
1122
1460
 
1123
- - [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
1461
+ - [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
1124
1462
 
1125
- Fix type errors caused when generating declaration files
1463
+ Fix type errors caused when generating declaration files
1126
1464
 
1127
1465
  ## 4.2.0
1128
1466
 
1129
1467
  ### Minor Changes
1130
1468
 
1131
- - [minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1469
+ - [minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1132
1470
 
1133
- 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):
1134
1473
 
1135
- export safeUnsubscribe util to prevent exceptions when unsubscribing from RXJS Subscriptions
1474
+ export safeUnsubscribe util to prevent exceptions when unsubscribing from RXJS Subscriptions
1136
1475
 
1137
1476
  ### Patch Changes
1138
1477
 
1139
- - [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1478
+ - [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
1140
1479
 
1141
- 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):
1142
1483
 
1143
- - @atlaskit/media-card@66.1.2
1484
+ - @atlaskit/media-card@66.1.2
1144
1485
 
1145
1486
  ## 4.1.1
1146
1487
 
1147
1488
  ### Patch Changes
1148
1489
 
1149
- - [patch][579779f5aa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/579779f5aa):
1490
+ - [patch][579779f5aa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/579779f5aa):
1150
1491
 
1151
- 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
1152
1493
 
1153
1494
  ## 4.1.0
1154
1495
 
1155
1496
  ### Minor Changes
1156
1497
 
1157
- - [minor][ed9aafe0e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed9aafe0e2):
1498
+ - [minor][ed9aafe0e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed9aafe0e2):
1158
1499
 
1159
- 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
1160
1501
 
1161
1502
  ## 4.0.1
1162
1503
 
1163
1504
  ### Patch Changes
1164
1505
 
1165
- - [patch][c0da69b4dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0da69b4dc):
1506
+ - [patch][c0da69b4dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0da69b4dc):
1166
1507
 
1167
- [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
1168
1509
 
1169
1510
  ## 4.0.0
1170
1511
 
1171
1512
  ### Minor Changes
1172
1513
 
1173
- - [minor][cbe5316ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbe5316ac9):
1514
+ - [minor][cbe5316ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbe5316ac9):
1174
1515
 
1175
- 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):
1176
1518
 
1177
- Image, Binary and Artifact files will be cached for 30 days
1519
+ Image, Binary and Artifact files will be cached for 30 days
1178
1520
 
1179
1521
  ### Patch Changes
1180
1522
 
1181
- - [patch][436b46929e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/436b46929e):
1523
+ - [patch][436b46929e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/436b46929e):
1182
1524
 
1183
- 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.
1184
1527
 
1185
- - Updated dependencies [24b8ea2667](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24b8ea2667):
1186
- - @atlaskit/media-test-helpers@25.2.2
1187
- - @atlaskit/media-card@66.0.1
1188
- - @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
1189
1533
 
1190
1534
  ## 3.0.1
1191
1535
 
1192
1536
  ### Patch Changes
1193
1537
 
1194
- - [patch][f1bbcf3847](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1bbcf3847):
1538
+ - [patch][f1bbcf3847](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1bbcf3847):
1195
1539
 
1196
- 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
1197
1541
 
1198
1542
  ## 3.0.0
1199
1543
 
1200
1544
  ### Major Changes
1201
1545
 
1202
- - [major][ae4f336a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae4f336a3a):
1546
+ - [major][ae4f336a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae4f336a3a):
1203
1547
 
1204
1548
  **FABDODGEM-13 Editor Damask Release** - [Internal post](http://go.atlassian.com/damask-release)
1205
1549
 
1206
1550
  **BREAKING CHANGES**
1207
1551
 
1208
- - **Media:** Removed deprecated "context" property from media components in favor of "mediaClientConfig". This affects all public media UI components.
1209
- - https://product-fabric.atlassian.net/browse/MS-2038
1210
- - **Tasks & Decisions:** Removed containerAri for task-decisions components.
1211
- - https://product-fabric.atlassian.net/browse/ED-7631
1212
- - **Renderer:** Adapts to task-decision changes.
1213
- - **Editor Mobile Bridge:** Adapts to task-decision changes.
1214
- - **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.
1215
1560
 
1216
1561
  ---
1217
1562
 
@@ -1221,170 +1566,175 @@ tables, media, mobile, emoji, tasks & decisions, analytics
1221
1566
 
1222
1567
  **Editor**
1223
1568
 
1224
- - Support nested actions in stage-0 schema; Change DOM representation of actions
1225
- - https://product-fabric.atlassian.net/browse/ED-7674
1226
- - Updated i18n translations
1227
- - https://product-fabric.atlassian.net/browse/ED-7750
1228
- - Improved analytics & crash reporting (via a new error boundary)
1229
- - https://product-fabric.atlassian.net/browse/ED-7766
1230
- - https://product-fabric.atlassian.net/browse/ED-7806
1231
- - Improvements to heading anchor links.
1232
- - https://product-fabric.atlassian.net/browse/ED-7849
1233
- - https://product-fabric.atlassian.net/browse/ED-7860
1234
- - Copy/Paste improvements
1235
- - https://product-fabric.atlassian.net/browse/ED-7840
1236
- - https://product-fabric.atlassian.net/browse/ED-7849
1237
- - Fixes for the selection state of Smart links.
1238
- - https://product-fabric.atlassian.net/browse/ED-7602?src=confmacro
1239
- - Improvements for table resizing & column creation.
1240
- - https://product-fabric.atlassian.net/browse/ED-7698
1241
- - https://product-fabric.atlassian.net/browse/ED-7319
1242
- - 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
1243
1588
 
1244
1589
  **Mobile**
1245
1590
 
1246
- - GASv3 Analytics Events are now relayed from the web to the native context, ready for dispatching.
1247
- - https://product-fabric.atlassian.net/browse/FM-2502
1248
- - Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
1249
- - 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
1250
1596
 
1251
1597
  **Media**
1252
1598
 
1253
- - Improved analytics
1254
- - https://product-fabric.atlassian.net/browse/MS-2036
1255
- - https://product-fabric.atlassian.net/browse/MS-2145
1256
- - https://product-fabric.atlassian.net/browse/MS-2416
1257
- - https://product-fabric.atlassian.net/browse/MS-2487
1258
- - Added shouldOpenMediaViewer property to renderer
1259
- - https://product-fabric.atlassian.net/browse/MS-2393
1260
- - Implemented analytics for file copy
1261
- - https://product-fabric.atlassian.net/browse/MS-2036
1262
- - New `media-viewed` event dispatched when media is interacted with via the media card or viewer.
1263
- - https://product-fabric.atlassian.net/browse/MS-2284
1264
- - Support for `alt` text attribute on media image elements.
1265
- - 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
1266
1612
 
1267
1613
  **i18n-tools**
1268
1614
 
1269
1615
  Bumped dependencies.
1270
1616
 
1271
- - [major][e7b5c917de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7b5c917de):
1617
+ - [major][e7b5c917de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7b5c917de):
1272
1618
 
1273
- ## Breaking change
1619
+ ## Breaking change
1274
1620
 
1275
- > 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
1276
1622
 
1277
- ### Removed
1623
+ ### Removed
1278
1624
 
1279
- ```
1280
- * WithContextOrMediaClientConfig
1281
- * WithContextOrMediaClientConfigProps
1282
- ```
1625
+ ```
1626
+ * WithContextOrMediaClientConfig
1627
+ * WithContextOrMediaClientConfigProps
1628
+ ```
1283
1629
 
1284
- ### Added
1630
+ ### Added
1285
1631
 
1286
- ```
1287
- * WithMediaClientConfig
1288
- * WithMediaClientConfigProps
1289
- ```
1632
+ ```
1633
+ * WithMediaClientConfig
1634
+ * WithMediaClientConfigProps
1635
+ ```
1290
1636
 
1291
- ### Changed
1637
+ ### Changed
1292
1638
 
1293
- **getMediaClient**
1639
+ **getMediaClient**
1294
1640
 
1295
- - Before
1641
+ - Before
1296
1642
 
1297
- > works with passing either mediaClientConfig or context
1643
+ > works with passing either mediaClientConfig or context
1298
1644
 
1299
- ```
1300
- import {getMediaClient} from '@atlaskit/media-client'
1645
+ ```
1646
+ import {getMediaClient} from '@atlaskit/media-client'
1301
1647
 
1302
- const mediaClientFromMediaClientConfig = getMediaClient({
1303
- mediaClientConfig: {
1304
- authProvider: () => Promise.resolve()
1305
- }
1306
- })
1648
+ const mediaClientFromMediaClientConfig = getMediaClient({
1649
+ mediaClientConfig: {
1650
+ authProvider: () => Promise.resolve()
1651
+ }
1652
+ })
1307
1653
 
1308
- const mediaClientFromContext = getMediaClient({
1309
- context: {
1310
- authProvider: () => Promise.resolve()
1311
- }
1312
- })
1313
- ```
1654
+ const mediaClientFromContext = getMediaClient({
1655
+ context: {
1656
+ authProvider: () => Promise.resolve()
1657
+ }
1658
+ })
1659
+ ```
1314
1660
 
1315
- - Now
1661
+ - Now
1316
1662
 
1317
- > only accepts mediaClientConfig as the only param
1663
+ > only accepts mediaClientConfig as the only param
1318
1664
 
1319
- ```
1320
- import {getMediaClient} from '@atlaskit/media-client'
1665
+ ```
1666
+ import {getMediaClient} from '@atlaskit/media-client'
1321
1667
 
1322
- const mediaClient = getMediaClient({
1323
- authProvider: () => Promise.resolve()
1324
- })
1325
- ```
1668
+ const mediaClient = getMediaClient({
1669
+ authProvider: () => Promise.resolve()
1670
+ })
1671
+ ```
1326
1672
 
1327
1673
  ### Minor Changes
1328
1674
 
1329
- - [minor][0b62e854d7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0b62e854d7):
1675
+ - [minor][0b62e854d7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0b62e854d7):
1330
1676
 
1331
- 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):
1332
1680
 
1333
- Introducing support for alt-text in media.
1681
+ Introducing support for alt-text in media.
1334
1682
 
1335
- - Updated dependencies [c3e65f1b9e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3e65f1b9e):
1336
- - @atlaskit/media-core@30.0.17
1337
- - @atlaskit/media-test-helpers@25.2.0
1338
- - @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
1339
1688
 
1340
1689
  ## 2.3.2
1341
1690
 
1342
1691
  ### Patch Changes
1343
1692
 
1344
- - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
1693
+ - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
1345
1694
 
1346
- 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.
1347
1696
 
1348
1697
  ## 2.3.1
1349
1698
 
1350
1699
  ### Patch Changes
1351
1700
 
1352
- - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
1701
+ - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
1353
1702
 
1354
- 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
1355
1704
 
1356
1705
  ## 2.3.0
1357
1706
 
1358
1707
  ### Minor Changes
1359
1708
 
1360
- - [minor][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
1709
+ - [minor][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
1361
1710
 
1362
- **FABDODGEM-12 Editor Cashmere Release**
1711
+ **FABDODGEM-12 Editor Cashmere Release**
1363
1712
 
1364
- - [Internal post](http://go.atlassian.com/cashmere-release)
1713
+ - [Internal post](http://go.atlassian.com/cashmere-release)
1365
1714
 
1366
- **Affected editor components:**
1715
+ **Affected editor components:**
1367
1716
 
1368
- tables, media, mobile, text color, emoji, copy/paste, analytics
1717
+ tables, media, mobile, text color, emoji, copy/paste, analytics
1369
1718
 
1370
- **Performance**
1719
+ **Performance**
1371
1720
 
1372
- - Async import for code blocks and task items on renderer
1373
- - 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
1374
1723
 
1375
- **Table**
1724
+ **Table**
1376
1725
 
1377
- - Add support to sort tables that contains smart links
1378
- - https://product-fabric.atlassian.net/browse/ED-7449
1379
- - Scale table when changing to full width mode
1380
- - 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
1381
1730
 
1382
- **Text color**
1731
+ **Text color**
1383
1732
 
1384
- - Update text color toolbar with right color when text is inside a list, panel, etc.
1385
- - 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
1386
1735
 
1387
- **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
1388
1738
 
1389
1739
  **Copy and Paste**
1390
1740
 
@@ -1399,17 +1749,17 @@ Bumped dependencies.
1399
1749
 
1400
1750
  **Media**
1401
1751
 
1402
- - Add analytics events and error reporting [NEW BIG FEATURE]
1403
- - https://product-fabric.atlassian.net/browse/MS-2275
1404
- - https://product-fabric.atlassian.net/browse/MS-2329
1405
- - https://product-fabric.atlassian.net/browse/MS-2330
1406
- - https://product-fabric.atlassian.net/browse/MS-2331
1407
- - https://product-fabric.atlassian.net/browse/MS-2332
1408
- - https://product-fabric.atlassian.net/browse/MS-2390
1409
- - Fixed issue where we can’t insert same file from MediaPicker twice
1410
- - https://product-fabric.atlassian.net/browse/MS-2080
1411
- - Disable upload of external files to media
1412
- - 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
1413
1763
 
1414
1764
  **Notable Bug Fixes**
1415
1765
 
@@ -1424,256 +1774,273 @@ Bumped dependencies.
1424
1774
  - Fixed bug where custom emojis are not been showed on the editor
1425
1775
  - https://product-fabric.atlassian.net/browse/ED-7726
1426
1776
 
1427
- - [minor][02dd8e6c76](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02dd8e6c76):
1777
+ - [minor][02dd8e6c76](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02dd8e6c76):
1428
1778
 
1429
- 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
1430
1780
 
1431
1781
  ## 2.2.1
1432
1782
 
1433
1783
  ### Patch Changes
1434
1784
 
1435
- - [patch][598fde647a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/598fde647a):
1785
+ - [patch][598fde647a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/598fde647a):
1436
1786
 
1437
- dont append file attrs to url in Safari
1787
+ dont append file attrs to url in Safari
1438
1788
 
1439
1789
  ## 2.2.0
1440
1790
 
1441
1791
  ### Minor Changes
1442
1792
 
1443
- - [minor][8e6bce4da8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8e6bce4da8):
1793
+ - [minor][8e6bce4da8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8e6bce4da8):
1444
1794
 
1445
- 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):
1446
1798
 
1447
- Expose url helpers for copy&paste and stringify params
1799
+ Expose url helpers for copy&paste and stringify params
1448
1800
 
1449
1801
  ## 2.1.2
1450
1802
 
1451
- - Updated dependencies [af72468517](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af72468517):
1452
- - @atlaskit/media-core@30.0.14
1453
- - @atlaskit/media-test-helpers@25.1.1
1454
- - @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
1455
1808
 
1456
1809
  ## 2.1.1
1457
1810
 
1458
1811
  ### Patch Changes
1459
1812
 
1460
- - [patch][9c28ef71fe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c28ef71fe):
1813
+ - [patch][9c28ef71fe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c28ef71fe):
1461
1814
 
1462
- Add missing peerDependency in package.json
1815
+ Add missing peerDependency in package.json
1463
1816
 
1464
1817
  ## 2.1.0
1465
1818
 
1466
1819
  ### Minor Changes
1467
1820
 
1468
- - [minor][e5c3f6ae3e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e5c3f6ae3e):
1821
+ - [minor][e5c3f6ae3e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e5c3f6ae3e):
1469
1822
 
1470
- 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
1471
1824
 
1472
1825
  ## 2.0.5
1473
1826
 
1474
1827
  ### Patch Changes
1475
1828
 
1476
- - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
1829
+ - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
1477
1830
 
1478
- 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
1479
1833
 
1480
1834
  ## 2.0.4
1481
1835
 
1482
1836
  ### Patch Changes
1483
1837
 
1484
- - [patch][0d7d459f1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d7d459f1a):
1838
+ - [patch][0d7d459f1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d7d459f1a):
1485
1839
 
1486
- Fixes type errors which were incompatible with TS 3.6
1840
+ Fixes type errors which were incompatible with TS 3.6
1487
1841
 
1488
1842
  ## 2.0.3
1489
1843
 
1490
1844
  ### Patch Changes
1491
1845
 
1492
- - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
1846
+ - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
1493
1847
 
1494
- Upgraded Typescript to 3.3.x
1848
+ Upgraded Typescript to 3.3.x
1495
1849
 
1496
1850
  ## 2.0.2
1497
1851
 
1498
- - Updated dependencies [3624730f44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3624730f44):
1499
- - @atlaskit/media-core@30.0.11
1500
- - @atlaskit/media-test-helpers@25.0.2
1501
- - @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
1502
1857
 
1503
1858
  ## 2.0.1
1504
1859
 
1505
- - Updated dependencies [69586b5353](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/69586b5353):
1506
- - @atlaskit/media-card@63.3.11
1507
- - @atlaskit/media-core@30.0.10
1508
- - @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
1509
1865
 
1510
1866
  ## 2.0.0
1511
1867
 
1512
1868
  ### Major Changes
1513
1869
 
1514
- - [major][ee804f3eeb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ee804f3eeb):
1870
+ - [major][ee804f3eeb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ee804f3eeb):
1515
1871
 
1516
- Remove getCurrentState method from FileStreamCache
1872
+ Remove getCurrentState method from FileStreamCache
1517
1873
 
1518
- Before you could do:
1874
+ Before you could do:
1519
1875
 
1520
- ```
1521
- import {getFileStreamsCache} from '@atlaskit/media-client'
1876
+ ```
1877
+ import {getFileStreamsCache} from '@atlaskit/media-client'
1522
1878
 
1523
- const currentFileState = await getFileStreamsCache().getCurrentState('some-uuid');
1524
- ```
1879
+ const currentFileState = await getFileStreamsCache().getCurrentState('some-uuid');
1880
+ ```
1525
1881
 
1526
- That will return the last state from that fileState in a promise rather than having to
1527
- 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.
1528
1884
 
1529
- 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:
1530
1886
 
1531
- ```
1532
- import {getMediaClient} from '@atlaskit/media-client';
1887
+ ```
1888
+ import {getMediaClient} from '@atlaskit/media-client';
1533
1889
 
1534
- const mediaClient = getMediaClient({
1535
- mediaClientConfig: {} // Some MediaClientConfig
1536
- });
1537
- const state = await mediaClient.file.getCurrentState('some-uuid');
1538
- ```
1890
+ const mediaClient = getMediaClient({
1891
+ mediaClientConfig: {} // Some MediaClientConfig
1892
+ });
1893
+ const state = await mediaClient.file.getCurrentState('some-uuid');
1894
+ ```
1539
1895
 
1540
1896
  ## 1.5.3
1541
1897
 
1542
1898
  ### Patch Changes
1543
1899
 
1544
- - [patch][13eed9b89c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/13eed9b89c):
1900
+ - [patch][13eed9b89c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/13eed9b89c):
1545
1901
 
1546
- populate media cache when using FileFetcher:copyFile
1902
+ populate media cache when using FileFetcher:copyFile
1547
1903
 
1548
1904
  ## 1.5.2
1549
1905
 
1550
1906
  ### Patch Changes
1551
1907
 
1552
- - [patch][6742fbf2cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6742fbf2cc):
1908
+ - [patch][6742fbf2cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6742fbf2cc):
1553
1909
 
1554
- bugfix, fixes missing version.json file
1910
+ bugfix, fixes missing version.json file
1555
1911
 
1556
1912
  ## 1.5.1
1557
1913
 
1558
1914
  ### Patch Changes
1559
1915
 
1560
- - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1916
+ - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1561
1917
 
1562
- In this PR, we are:
1918
+ In this PR, we are:
1563
1919
 
1564
- - Re-introducing dist build folders
1565
- - Adding back cjs
1566
- - Replacing es5 by cjs and es2015 by esm
1567
- - Creating folders at the root for entry-points
1568
- - Removing the generation of the entry-points at the root
1569
- 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
1570
1928
 
1571
1929
  ## 1.5.0
1572
1930
 
1573
1931
  ### Minor Changes
1574
1932
 
1575
- - [minor][60af38e3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/60af38e3f7):
1933
+ - [minor][60af38e3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/60af38e3f7):
1576
1934
 
1577
- 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
1578
1937
 
1579
- ```
1580
- //
1581
- // BEFORE
1582
- //
1583
- import {ContextFactory} from '@atlaskit/media-core'
1938
+ ```
1939
+ //
1940
+ // BEFORE
1941
+ //
1942
+ import {ContextFactory} from '@atlaskit/media-core'
1584
1943
 
1585
- const context = ContextFactory.create();
1944
+ const context = ContextFactory.create();
1586
1945
 
1587
- // Events happen per instance
1588
- context.on('file-added', ...)
1946
+ // Events happen per instance
1947
+ context.on('file-added', ...)
1589
1948
 
1590
- //
1591
- // NOW
1592
- //
1949
+ //
1950
+ // NOW
1951
+ //
1593
1952
 
1594
- import {globalMediaEventEmitter} from '@atlaskit/media-client';
1953
+ import {globalMediaEventEmitter} from '@atlaskit/media-client';
1595
1954
 
1596
- // Context happens globally on any upload. This is needed since there might be multiple mediaClient instances at runtime
1597
- globalMediaEventEmitter.on('file-added', ...);
1598
- ```
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
+ ```
1599
1958
 
1600
1959
  ## 1.4.0
1601
1960
 
1602
1961
  ### Minor Changes
1603
1962
 
1604
- - [minor][02185fba43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02185fba43):
1963
+ - [minor][02185fba43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02185fba43):
1605
1964
 
1606
- getMediaClient is now exposed
1965
+ getMediaClient is now exposed
1607
1966
 
1608
1967
  ## 1.3.0
1609
1968
 
1610
1969
  ### Minor Changes
1611
1970
 
1612
- - [minor][61ed1951ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/61ed1951ce):
1971
+ - [minor][61ed1951ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/61ed1951ce):
1613
1972
 
1614
- Expose getFileBinaryURL method in mediaClient.file.getFileBinaryURL
1973
+ Expose getFileBinaryURL method in mediaClient.file.getFileBinaryURL
1615
1974
 
1616
1975
  ## 1.2.1
1617
1976
 
1618
- - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
1977
+ - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
1619
1978
 
1620
- - 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
1621
1981
 
1622
1982
  ## 1.2.0
1623
1983
 
1624
- - [minor][dcda79d48c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dcda79d48c):
1984
+ - [minor][dcda79d48c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dcda79d48c):
1625
1985
 
1626
- - `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.
1627
1988
 
1628
- - Updated dependencies [9ecfef12ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ecfef12ac):
1629
- - @atlaskit/media-card@63.1.0
1630
- - @atlaskit/media-core@30.0.3
1631
- - @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
1632
1994
 
1633
1995
  ## 1.1.5
1634
1996
 
1635
- - [patch][af1cbd4ce4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af1cbd4ce4):
1997
+ - [patch][af1cbd4ce4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af1cbd4ce4):
1636
1998
 
1637
- - 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
1638
2000
 
1639
2001
  ## 1.1.4
1640
2002
 
1641
- - [patch][12aa76d5b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12aa76d5b5):
2003
+ - [patch][12aa76d5b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12aa76d5b5):
1642
2004
 
1643
- - ED-6814: fixed rendering mediaSingle without collection
2005
+ - ED-6814: fixed rendering mediaSingle without collection
1644
2006
 
1645
2007
  ## 1.1.3
1646
2008
 
1647
- - Updated dependencies [ed3f034232](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed3f034232):
1648
- - @atlaskit/media-card@63.0.2
1649
- - @atlaskit/media-core@30.0.1
1650
- - @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
1651
2014
 
1652
2015
  ## 1.1.2
1653
2016
 
1654
- - [patch][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
2017
+ - [patch][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1655
2018
 
1656
- - 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.
1657
2021
 
1658
2022
  ## 1.1.1
1659
2023
 
1660
- - [patch][2f58d39758](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2f58d39758):
2024
+ - [patch][2f58d39758](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2f58d39758):
1661
2025
 
1662
- - Fix problem with double exporting one of the existing items
2026
+ - Fix problem with double exporting one of the existing items
1663
2027
 
1664
2028
  ## 1.1.0
1665
2029
 
1666
- - [minor][8536258182](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8536258182):
2030
+ - [minor][8536258182](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8536258182):
1667
2031
 
1668
- - 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'
1669
2034
 
1670
2035
  ## 1.0.0
1671
2036
 
1672
- - [major][e38d662f7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e38d662f7d):
2037
+ - [major][e38d662f7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e38d662f7d):
1673
2038
 
1674
- - 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.
1675
2041
 
1676
- - Updated dependencies [e7292ab444](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7292ab444):
1677
- - @atlaskit/media-card@61.0.0
1678
- - @atlaskit/media-test-helpers@21.3.0
1679
- - @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