@atlaskit/media-client 26.3.0 → 27.0.1

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