@atlaskit/media-client 24.0.0 → 24.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +87 -75
- package/dist/cjs/client/file-fetcher/error.js +1 -2
- package/dist/cjs/client/file-fetcher/index.js +3 -4
- package/dist/cjs/client/media-client.js +2 -3
- package/dist/cjs/client/media-store/error.js +1 -2
- package/dist/cjs/client/media-store/index.js +4 -7
- package/dist/cjs/client/media-store/resolveAuth.js +4 -7
- package/dist/cjs/client/mobile-upload.js +2 -3
- package/dist/cjs/client/stargate-client.js +2 -3
- package/dist/cjs/constants.js +6 -12
- package/dist/cjs/file-streams-cache.js +3 -5
- package/dist/cjs/globalMediaEventEmitter.js +2 -3
- package/dist/cjs/identifier.js +4 -7
- package/dist/cjs/index.js +10 -20
- package/dist/cjs/models/artifacts.js +2 -3
- package/dist/cjs/models/errors/index.js +2 -3
- package/dist/cjs/models/file-state.js +10 -19
- package/dist/cjs/models/media.js +3 -5
- package/dist/cjs/test-helpers/authProvider.js +2 -3
- package/dist/cjs/test-helpers/collectionNames.js +5 -10
- package/dist/cjs/test-helpers/exampleMediaItems.js +48 -91
- package/dist/cjs/test-helpers/fakeMediaClient.js +3 -5
- package/dist/cjs/test-helpers/index.js +1 -2
- package/dist/cjs/test-helpers/mediaClientProvider.js +7 -13
- package/dist/cjs/test-helpers/mediaPickerAuthProvider.js +4 -7
- package/dist/cjs/upload-controller.js +2 -3
- package/dist/cjs/uploader/calculateChunkSize.js +4 -5
- package/dist/cjs/uploader/error.js +1 -2
- package/dist/cjs/uploader/index.js +3 -4
- package/dist/cjs/utils/checkWebpSupport.js +2 -3
- package/dist/cjs/utils/convertBase64ToBlob.js +2 -3
- package/dist/cjs/utils/createFileDataLoader.js +2 -4
- package/dist/cjs/utils/detectEmptyFile.js +2 -2
- package/dist/cjs/utils/getDimensionsFromBlob.js +2 -3
- package/dist/cjs/utils/getImageDimensionsFromBlob.js +2 -3
- package/dist/cjs/utils/getMediaTypeFromUploadableFile.js +2 -3
- package/dist/cjs/utils/getVideoDimensionsFromBlob.js +2 -3
- package/dist/cjs/utils/hashing/hasherCreator.js +3 -5
- package/dist/cjs/utils/hashing/simpleHasher.js +4 -4
- package/dist/cjs/utils/hashing/workerHasher.js +2 -3
- package/dist/cjs/utils/imageResizeModeToFileImageMode.js +2 -3
- package/dist/cjs/utils/isImageRemote.js +2 -3
- package/dist/cjs/utils/mediaSubscribable/toPromise.js +2 -3
- package/dist/cjs/utils/mobileUpload/error.js +1 -2
- package/dist/cjs/utils/mobileUpload/helpers.js +3 -5
- package/dist/cjs/utils/mobileUpload/stateMachine/index.js +1 -2
- package/dist/cjs/utils/mobileUpload/stateMachine/states/error.js +2 -3
- package/dist/cjs/utils/mobileUpload/stateMachine/states/processed.js +2 -3
- package/dist/cjs/utils/mobileUpload/stateMachine/states/processing.js +2 -3
- package/dist/cjs/utils/mobileUpload/stateMachine/states/processingFailed.js +2 -3
- package/dist/cjs/utils/mobileUpload/stateMachine/states/uploading.js +2 -3
- package/dist/cjs/utils/overrideMediaTypeIfUnknown.js +2 -3
- package/dist/cjs/utils/polling/errors.js +1 -2
- package/dist/cjs/utils/polling/index.js +3 -5
- package/dist/cjs/utils/request/errors.js +1 -2
- package/dist/cjs/utils/request/helpers.js +4 -5
- package/dist/cjs/utils/safeUnsubscribe.js +2 -3
- package/dist/cjs/utils/setTimeoutPromise.js +3 -5
- package/dist/cjs/utils/url.js +5 -9
- package/dist/cjs/utils/with-media-client-hoc.js +3 -5
- package/dist/es2019/utils/hashing/simpleHasher.js +2 -1
- package/dist/es2019/utils/request/helpers.js +1 -1
- package/dist/esm/client/file-fetcher/index.js +1 -1
- package/dist/esm/uploader/index.js +2 -2
- package/dist/esm/utils/hashing/simpleHasher.js +2 -1
- package/dist/esm/utils/request/helpers.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 24.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41501](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41501) [`b3cb749dc67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3cb749dc67) - Fix TS errors in AFM
|
|
8
|
+
|
|
9
|
+
## 24.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#41371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41371) [`a5766038a35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5766038a35) - Fix TS errors in AFM
|
|
14
|
+
|
|
3
15
|
## 24.0.0
|
|
4
16
|
|
|
5
17
|
### Major Changes
|
|
6
18
|
|
|
7
|
-
- [`7b6a2c6671b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b6a2c6671b) - Introducing 'media-state' for handling media internal file state.
|
|
19
|
+
- [#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.
|
|
8
20
|
Introducing 'media-client-react' to provide hooks for seamless media-client integration with React.
|
|
9
21
|
Introducing 'MediaCardV2' with a feature flag to replace rxjs based fileState subscription with 'useFileState' hook.
|
|
10
22
|
Removed unused feature flags APIs from 'media-client' and its helper functions from 'media-common'.
|
|
@@ -17,7 +29,7 @@
|
|
|
17
29
|
|
|
18
30
|
### Minor Changes
|
|
19
31
|
|
|
20
|
-
- [`ede6ee7aaab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ede6ee7aaab) - Updated tests, examples and moving towards /test-helper export in packages to prevent circular dependancies
|
|
32
|
+
- [#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
|
|
21
33
|
|
|
22
34
|
### Patch Changes
|
|
23
35
|
|
|
@@ -33,25 +45,25 @@
|
|
|
33
45
|
|
|
34
46
|
### Patch Changes
|
|
35
47
|
|
|
36
|
-
- [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
|
|
48
|
+
- [#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
|
|
37
49
|
|
|
38
50
|
## 23.1.1
|
|
39
51
|
|
|
40
52
|
### Patch Changes
|
|
41
53
|
|
|
42
|
-
- [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
|
|
54
|
+
- [#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
|
|
43
55
|
|
|
44
56
|
## 23.1.0
|
|
45
57
|
|
|
46
58
|
### Minor Changes
|
|
47
59
|
|
|
48
|
-
- [`195c473dd37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/195c473dd37) - Exposed helper to create Request errors externally
|
|
60
|
+
- [#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
|
|
49
61
|
|
|
50
62
|
## 23.0.2
|
|
51
63
|
|
|
52
64
|
### Patch Changes
|
|
53
65
|
|
|
54
|
-
- [`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.
|
|
66
|
+
- [#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.
|
|
55
67
|
|
|
56
68
|
## 23.0.1
|
|
57
69
|
|
|
@@ -63,7 +75,7 @@
|
|
|
63
75
|
|
|
64
76
|
### Major Changes
|
|
65
77
|
|
|
66
|
-
- [`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
|
|
78
|
+
- [#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
|
|
67
79
|
|
|
68
80
|
### Patch Changes
|
|
69
81
|
|
|
@@ -73,19 +85,19 @@
|
|
|
73
85
|
|
|
74
86
|
### Patch Changes
|
|
75
87
|
|
|
76
|
-
- [`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
|
|
88
|
+
- [#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
|
|
77
89
|
|
|
78
90
|
## 22.0.4
|
|
79
91
|
|
|
80
92
|
### Patch Changes
|
|
81
93
|
|
|
82
|
-
- [`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
|
|
94
|
+
- [#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
|
|
83
95
|
|
|
84
96
|
## 22.0.3
|
|
85
97
|
|
|
86
98
|
### Patch Changes
|
|
87
99
|
|
|
88
|
-
- [`b098a252236`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b098a252236) - Add emptyFileName as a reason to FileFetcherError.
|
|
100
|
+
- [#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.
|
|
89
101
|
- [`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)
|
|
90
102
|
- [`9425ed86eb7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9425ed86eb7) - File size limit is now verified in the backend, no longer the frontend
|
|
91
103
|
- Updated dependencies
|
|
@@ -94,21 +106,21 @@
|
|
|
94
106
|
|
|
95
107
|
### Patch Changes
|
|
96
108
|
|
|
97
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
109
|
+
- [#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
|
|
98
110
|
- Updated dependencies
|
|
99
111
|
|
|
100
112
|
## 22.0.1
|
|
101
113
|
|
|
102
114
|
### Patch Changes
|
|
103
115
|
|
|
104
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
116
|
+
- [#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`
|
|
105
117
|
- Updated dependencies
|
|
106
118
|
|
|
107
119
|
## 22.0.0
|
|
108
120
|
|
|
109
121
|
### Minor Changes
|
|
110
122
|
|
|
111
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
123
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
112
124
|
|
|
113
125
|
### Patch Changes
|
|
114
126
|
|
|
@@ -118,13 +130,13 @@
|
|
|
118
130
|
|
|
119
131
|
### Minor Changes
|
|
120
132
|
|
|
121
|
-
- [`1df7534fc12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1df7534fc12) - [ux] Introduce file size limits when uploading
|
|
133
|
+
- [#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
|
|
122
134
|
|
|
123
135
|
## 21.0.0
|
|
124
136
|
|
|
125
137
|
### Major Changes
|
|
126
138
|
|
|
127
|
-
- [`0f99ed9df35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f99ed9df35) - BREAKING CHANGES:
|
|
139
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`0f99ed9df35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f99ed9df35) - BREAKING CHANGES:
|
|
128
140
|
|
|
129
141
|
- Media Store class no longer exposes getCollectionItems method
|
|
130
142
|
|
|
@@ -159,13 +171,13 @@
|
|
|
159
171
|
|
|
160
172
|
### Minor Changes
|
|
161
173
|
|
|
162
|
-
- [`0e2981295ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e2981295ce) - Media Client accepts a feature flags object in the upload method overriding internal flags
|
|
174
|
+
- [#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
|
|
163
175
|
|
|
164
176
|
## 20.1.0
|
|
165
177
|
|
|
166
178
|
### Minor Changes
|
|
167
179
|
|
|
168
|
-
- [`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
|
|
180
|
+
- [#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
|
|
169
181
|
|
|
170
182
|
### Patch Changes
|
|
171
183
|
|
|
@@ -175,26 +187,26 @@
|
|
|
175
187
|
|
|
176
188
|
### Patch Changes
|
|
177
189
|
|
|
178
|
-
- [`4fdaa8a4645`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fdaa8a4645) - update default chunk size from 4mb to 5mb
|
|
190
|
+
- [#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
|
|
179
191
|
|
|
180
192
|
## 20.0.2
|
|
181
193
|
|
|
182
194
|
### Patch Changes
|
|
183
195
|
|
|
184
|
-
- [`cdd0445e5a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdd0445e5a5) - Fixed instantiation logic when feature flags object is passed
|
|
196
|
+
- [#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
|
|
185
197
|
|
|
186
198
|
## 20.0.1
|
|
187
199
|
|
|
188
200
|
### Patch Changes
|
|
189
201
|
|
|
190
|
-
- [`90f6203e794`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90f6203e794) - Media Client now fetch remote file state regardless of file browser support (behind feature flag)
|
|
202
|
+
- [#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)
|
|
191
203
|
- Updated dependencies
|
|
192
204
|
|
|
193
205
|
## 20.0.0
|
|
194
206
|
|
|
195
207
|
### Major Changes
|
|
196
208
|
|
|
197
|
-
- [`2e902a363ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e902a363ad) - MEX-1649 Update uploadChunk and probeChunk functions in mediastore with mandatory params - uploadId and partNumber
|
|
209
|
+
- [#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
|
|
198
210
|
|
|
199
211
|
### Patch Changes
|
|
200
212
|
|
|
@@ -204,13 +216,13 @@
|
|
|
204
216
|
|
|
205
217
|
### Patch Changes
|
|
206
218
|
|
|
207
|
-
- [`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.
|
|
219
|
+
- [#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.
|
|
208
220
|
|
|
209
221
|
## 19.1.0
|
|
210
222
|
|
|
211
223
|
### Minor Changes
|
|
212
224
|
|
|
213
|
-
- [`81573c1dfa7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81573c1dfa7) - Items call creates a batched metadata trace Id
|
|
225
|
+
- [#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
|
|
214
226
|
- [`0bccac57db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0bccac57db6) - remove mediaUploadApiV2 Feature flag
|
|
215
227
|
|
|
216
228
|
### Patch Changes
|
|
@@ -223,7 +235,7 @@
|
|
|
223
235
|
|
|
224
236
|
### Major Changes
|
|
225
237
|
|
|
226
|
-
- [`5eb06146a4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb06146a4e) - Added support traceContext to be supplied to all request endpoint points.
|
|
238
|
+
- [#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.
|
|
227
239
|
|
|
228
240
|
### Patch Changes
|
|
229
241
|
|
|
@@ -233,7 +245,7 @@
|
|
|
233
245
|
|
|
234
246
|
### Minor Changes
|
|
235
247
|
|
|
236
|
-
- [`2c402e87213`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c402e87213) - [Experimental] Add traceId in media card get image request.
|
|
248
|
+
- [#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.
|
|
237
249
|
|
|
238
250
|
### Patch Changes
|
|
239
251
|
|
|
@@ -244,7 +256,7 @@
|
|
|
244
256
|
|
|
245
257
|
### Major Changes
|
|
246
258
|
|
|
247
|
-
- [`37ff149ab87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ff149ab87) - Remove exposing StreamsCache class
|
|
259
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`37ff149ab87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ff149ab87) - Remove exposing StreamsCache class
|
|
248
260
|
|
|
249
261
|
### Patch Changes
|
|
250
262
|
|
|
@@ -255,27 +267,27 @@
|
|
|
255
267
|
|
|
256
268
|
### Patch Changes
|
|
257
269
|
|
|
258
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
270
|
+
- [#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`
|
|
259
271
|
- Updated dependencies
|
|
260
272
|
|
|
261
273
|
## 17.1.2
|
|
262
274
|
|
|
263
275
|
### Patch Changes
|
|
264
276
|
|
|
265
|
-
- [`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.
|
|
277
|
+
- [#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.
|
|
266
278
|
|
|
267
279
|
## 17.1.1
|
|
268
280
|
|
|
269
281
|
### Patch Changes
|
|
270
282
|
|
|
271
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
283
|
+
- [#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`.
|
|
272
284
|
- Updated dependencies
|
|
273
285
|
|
|
274
286
|
## 17.1.0
|
|
275
287
|
|
|
276
288
|
### Minor Changes
|
|
277
289
|
|
|
278
|
-
- [`c07a8176ddf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c07a8176ddf) - New BlobType SlicedBlob that includes partnumber introduced and used for uploading chunks
|
|
290
|
+
- [#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
|
|
279
291
|
- [`a2e6bd37426`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2e6bd37426) - add uploadId to prob function to support new media upload api
|
|
280
292
|
|
|
281
293
|
### Patch Changes
|
|
@@ -288,7 +300,7 @@
|
|
|
288
300
|
|
|
289
301
|
### Major Changes
|
|
290
302
|
|
|
291
|
-
- [`a718050239e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a718050239e) - Media Client Uploader enforces a hard limit of 2Tb files.
|
|
303
|
+
- [#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.
|
|
292
304
|
|
|
293
305
|
To mitigate these changes:
|
|
294
306
|
|
|
@@ -309,7 +321,7 @@
|
|
|
309
321
|
|
|
310
322
|
### Patch Changes
|
|
311
323
|
|
|
312
|
-
- [`12d0af77572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d0af77572) - Store media environment in session storage
|
|
324
|
+
- [#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
|
|
313
325
|
- [`325e210e59f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/325e210e59f) - Revert changes made in MEX-1638-revert-update-media-store-class-with-new-endpoint-parameters
|
|
314
326
|
- [`b73f20ed703`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73f20ed703) - EDM-3073: Fix collab for media inline and copy-paste regression
|
|
315
327
|
- [`c2ede50a80a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ede50a80a) - Add media region and environment returned from media API response into failed analytic events.
|
|
@@ -319,7 +331,7 @@
|
|
|
319
331
|
|
|
320
332
|
### Major Changes
|
|
321
333
|
|
|
322
|
-
- [`b6d47de3fd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6d47de3fd9) - [MEX-1417] remove access to media file streams cache
|
|
334
|
+
- [#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
|
|
323
335
|
|
|
324
336
|
### Minor Changes
|
|
325
337
|
|
|
@@ -336,7 +348,7 @@
|
|
|
336
348
|
|
|
337
349
|
### Patch Changes
|
|
338
350
|
|
|
339
|
-
- [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
|
|
351
|
+
- [#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`.
|
|
340
352
|
|
|
341
353
|
## 15.1.0
|
|
342
354
|
|
|
@@ -353,7 +365,7 @@
|
|
|
353
365
|
|
|
354
366
|
### Major Changes
|
|
355
367
|
|
|
356
|
-
- [`fdc41ee7a0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fdc41ee7a0b) - Stop exposing observableToPromise from media client API.
|
|
368
|
+
- [#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.
|
|
357
369
|
mediaSubscribableToPromise is used internally.
|
|
358
370
|
- [`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).
|
|
359
371
|
It exposes subscribe method that is called with MediaObserver as an argument and returns MediaSubscription.
|
|
@@ -443,7 +455,7 @@
|
|
|
443
455
|
|
|
444
456
|
### Minor Changes
|
|
445
457
|
|
|
446
|
-
- [`7d2943a6038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d2943a6038) - Created MediaSubscribable wrapper around RxJs Observable
|
|
458
|
+
- [#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
|
|
447
459
|
|
|
448
460
|
### Patch Changes
|
|
449
461
|
|
|
@@ -453,13 +465,13 @@
|
|
|
453
465
|
|
|
454
466
|
### Patch Changes
|
|
455
467
|
|
|
456
|
-
- [`59a14d364b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59a14d364b1) - Bump query-string@^6.14.1
|
|
468
|
+
- [#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
|
|
457
469
|
|
|
458
470
|
## 14.3.1
|
|
459
471
|
|
|
460
472
|
### Patch Changes
|
|
461
473
|
|
|
462
|
-
- [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass initialAuth to MediaStore
|
|
474
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass initialAuth to MediaStore
|
|
463
475
|
- [`dc1f9d42903`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc1f9d42903) - Updated typeguard
|
|
464
476
|
- [`f461edcfd05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f461edcfd05) - Update CardLoader to use react-loadable
|
|
465
477
|
Add SSR feature prop to be passed in renderer and media card
|
|
@@ -469,7 +481,7 @@
|
|
|
469
481
|
|
|
470
482
|
### Minor Changes
|
|
471
483
|
|
|
472
|
-
- [`b51fc0a9062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b51fc0a9062) - New helper to convert ImageResizeMode into FileImageMode
|
|
484
|
+
- [#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
|
|
473
485
|
- [`269ee940b87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/269ee940b87) - redesign error UI on new media card experience
|
|
474
486
|
|
|
475
487
|
### Patch Changes
|
|
@@ -481,7 +493,7 @@
|
|
|
481
493
|
|
|
482
494
|
### Minor Changes
|
|
483
495
|
|
|
484
|
-
- [`381deea2aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/381deea2aab) - MEX-710 Added mobileUpload API to media-client
|
|
496
|
+
- [#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
|
|
485
497
|
|
|
486
498
|
### Patch Changes
|
|
487
499
|
|
|
@@ -492,13 +504,13 @@
|
|
|
492
504
|
|
|
493
505
|
### Patch Changes
|
|
494
506
|
|
|
495
|
-
- [`e6689b61735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6689b61735) - Added a new authProviderTimeout parameter within resolveAuth to control the timeout duration.
|
|
507
|
+
- [#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.
|
|
496
508
|
|
|
497
509
|
## 14.1.0
|
|
498
510
|
|
|
499
511
|
### Minor Changes
|
|
500
512
|
|
|
501
|
-
- [`17776bda189`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17776bda189) - - Improve Smart Links providers and batch requests mechanism
|
|
513
|
+
- [#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
|
|
502
514
|
- Remove non-functional props that impact reloading
|
|
503
515
|
|
|
504
516
|
### Patch Changes
|
|
@@ -509,7 +521,7 @@
|
|
|
509
521
|
|
|
510
522
|
### Minor Changes
|
|
511
523
|
|
|
512
|
-
- [`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).
|
|
524
|
+
- [#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).
|
|
513
525
|
MediaClientConfig requires the "initialAuth" attribute to provide an Auth object that does not come from an async Auth provider.
|
|
514
526
|
Example:
|
|
515
527
|
|
|
@@ -530,19 +542,19 @@
|
|
|
530
542
|
|
|
531
543
|
### Patch Changes
|
|
532
544
|
|
|
533
|
-
- [`f50b26327dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f50b26327dd) - Remove Expired check from Media Client
|
|
545
|
+
- [#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
|
|
534
546
|
|
|
535
547
|
## 13.3.0
|
|
536
548
|
|
|
537
549
|
### Minor Changes
|
|
538
550
|
|
|
539
|
-
- [`10932f6ae07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10932f6ae07) - SPFE-561: Remove the URLSearchParams polyfill
|
|
551
|
+
- [#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
|
|
540
552
|
|
|
541
553
|
## 13.2.1
|
|
542
554
|
|
|
543
555
|
### Patch Changes
|
|
544
556
|
|
|
545
|
-
- [`8cba1694b5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cba1694b5e) - Remove pollingMaxFailuresExceeded error from implementation and feature flags
|
|
557
|
+
- [#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
|
|
546
558
|
- [`50cc05dde71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cc05dde71) - Mark the following members as deprecated:
|
|
547
559
|
|
|
548
560
|
- getMediaTypeFromMimeType
|
|
@@ -562,7 +574,7 @@
|
|
|
562
574
|
|
|
563
575
|
### Minor Changes
|
|
564
576
|
|
|
565
|
-
- [`65c76061dc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65c76061dc0) - Verifiy token expiration before performing requests or providing URLs
|
|
577
|
+
- [#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
|
|
566
578
|
|
|
567
579
|
### Patch Changes
|
|
568
580
|
|
|
@@ -574,31 +586,31 @@
|
|
|
574
586
|
|
|
575
587
|
### Patch Changes
|
|
576
588
|
|
|
577
|
-
- [`8eefb856389`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eefb856389) - Added emptyItems failReason to media-client
|
|
589
|
+
- [#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
|
|
578
590
|
|
|
579
591
|
## 13.1.1
|
|
580
592
|
|
|
581
593
|
### Patch Changes
|
|
582
594
|
|
|
583
|
-
- [`277ed9667b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/277ed9667b2) - Fixed media bundle names following atlassian-frontend linting rules
|
|
595
|
+
- [#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
|
|
584
596
|
|
|
585
597
|
## 13.1.0
|
|
586
598
|
|
|
587
599
|
### Minor Changes
|
|
588
600
|
|
|
589
|
-
- [`abc38bc9990`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abc38bc9990) - Added request metadata to failed frontend SLIs
|
|
601
|
+
- [#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
|
|
590
602
|
|
|
591
603
|
## 13.0.1
|
|
592
604
|
|
|
593
605
|
### Patch Changes
|
|
594
606
|
|
|
595
|
-
- [`d6b31d9713d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6b31d9713d) - Fixed uncaught exceptions when uploading MP4/HEVC
|
|
607
|
+
- [#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
|
|
596
608
|
|
|
597
609
|
## 13.0.0
|
|
598
610
|
|
|
599
611
|
### Major Changes
|
|
600
612
|
|
|
601
|
-
- [`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
|
|
613
|
+
- [#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
|
|
602
614
|
|
|
603
615
|
### Minor Changes
|
|
604
616
|
|
|
@@ -618,14 +630,14 @@
|
|
|
618
630
|
|
|
619
631
|
### Patch Changes
|
|
620
632
|
|
|
621
|
-
- [`dfc79cafa6c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfc79cafa6c) - Fixed failures on /upload/createWithFiles not aborting upload
|
|
633
|
+
- [#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
|
|
622
634
|
- Updated dependencies
|
|
623
635
|
|
|
624
636
|
## 12.4.0
|
|
625
637
|
|
|
626
638
|
### Minor Changes
|
|
627
639
|
|
|
628
|
-
- [`b37190888c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b37190888c) - ensure polling errors trigger more graceful UX
|
|
640
|
+
- [#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
|
|
629
641
|
- [`a26afbd493`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a26afbd493) - Added getMediaClientFailReason() helper
|
|
630
642
|
|
|
631
643
|
### Patch Changes
|
|
@@ -639,13 +651,13 @@
|
|
|
639
651
|
|
|
640
652
|
### Minor Changes
|
|
641
653
|
|
|
642
|
-
- [`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
|
|
654
|
+
- [#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
|
|
643
655
|
|
|
644
656
|
## 12.2.0
|
|
645
657
|
|
|
646
658
|
### Minor Changes
|
|
647
659
|
|
|
648
|
-
- [`7736346d88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7736346d88) - Added strongly typed errors to Media Client
|
|
660
|
+
- [#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
|
|
649
661
|
|
|
650
662
|
### Patch Changes
|
|
651
663
|
|
|
@@ -656,20 +668,20 @@
|
|
|
656
668
|
|
|
657
669
|
### Patch Changes
|
|
658
670
|
|
|
659
|
-
- [`956cf2d5ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/956cf2d5ee) - HOT-93465 docs(changeset): ensure maximum media poll interval ms is 3.3min not 33min
|
|
671
|
+
- [#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
|
|
660
672
|
|
|
661
673
|
## 12.1.1
|
|
662
674
|
|
|
663
675
|
### Patch Changes
|
|
664
676
|
|
|
665
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
677
|
+
- [#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
|
|
666
678
|
- Updated dependencies
|
|
667
679
|
|
|
668
680
|
## 12.1.0
|
|
669
681
|
|
|
670
682
|
### Minor Changes
|
|
671
683
|
|
|
672
|
-
- [`3c263cb2df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c263cb2df) - Added error handling when calling media client getCurrentState()
|
|
684
|
+
- [#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()
|
|
673
685
|
|
|
674
686
|
### Patch Changes
|
|
675
687
|
|
|
@@ -685,7 +697,7 @@
|
|
|
685
697
|
|
|
686
698
|
### Minor Changes
|
|
687
699
|
|
|
688
|
-
- [`3f0dd38c9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f0dd38c9d) - BMPT-626 Fixed fetching remote preview for non-supported documents in classic Media Card experience
|
|
700
|
+
- [#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
|
|
689
701
|
|
|
690
702
|
### Patch Changes
|
|
691
703
|
|
|
@@ -696,7 +708,7 @@
|
|
|
696
708
|
|
|
697
709
|
### Patch Changes
|
|
698
710
|
|
|
699
|
-
- [`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.
|
|
711
|
+
- [#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.
|
|
700
712
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
701
713
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
702
714
|
- Updated dependencies
|
|
@@ -705,7 +717,7 @@
|
|
|
705
717
|
|
|
706
718
|
### Minor Changes
|
|
707
719
|
|
|
708
|
-
- [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
|
|
720
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
|
|
709
721
|
|
|
710
722
|
### Patch Changes
|
|
711
723
|
|
|
@@ -715,26 +727,26 @@
|
|
|
715
727
|
|
|
716
728
|
### Minor Changes
|
|
717
729
|
|
|
718
|
-
- [`8687140735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8687140735) - [ux] Fix for file processing blocking pages and tickets from saving.
|
|
730
|
+
- [#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.
|
|
719
731
|
|
|
720
732
|
## 10.0.0
|
|
721
733
|
|
|
722
734
|
### Major Changes
|
|
723
735
|
|
|
724
|
-
- [`2ddfbcd92b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ddfbcd92b) - Removed SVG local previews due to XSS vulnerability
|
|
736
|
+
- [#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
|
|
725
737
|
|
|
726
738
|
## 9.0.3
|
|
727
739
|
|
|
728
740
|
### Patch Changes
|
|
729
741
|
|
|
730
|
-
- [`1434c4e094`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1434c4e094) - Fixed cloud files rendering when publishing page in CF
|
|
742
|
+
- [#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
|
|
731
743
|
- [`21b9d3d336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21b9d3d336) - Fixed RAR/non-ZIP files not recognised as archives
|
|
732
744
|
|
|
733
745
|
## 9.0.2
|
|
734
746
|
|
|
735
747
|
### Patch Changes
|
|
736
748
|
|
|
737
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
749
|
+
- [#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
|
|
738
750
|
|
|
739
751
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
740
752
|
to prevent duplicates of tslib being bundled.
|
|
@@ -743,13 +755,13 @@
|
|
|
743
755
|
|
|
744
756
|
### Patch Changes
|
|
745
757
|
|
|
746
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
758
|
+
- [#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
|
|
747
759
|
|
|
748
760
|
## 9.0.0
|
|
749
761
|
|
|
750
762
|
### Major Changes
|
|
751
763
|
|
|
752
|
-
- [`caf46c7c45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caf46c7c45) - Improved remote preview functionality for media-card redesign.
|
|
764
|
+
- [#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.
|
|
753
765
|
Breaking change: renamed type of argument "SourceFile" to "CopySourceFile" in the method "copyFile" of media-client.
|
|
754
766
|
|
|
755
767
|
### Minor Changes
|
|
@@ -770,14 +782,14 @@
|
|
|
770
782
|
|
|
771
783
|
### Patch Changes
|
|
772
784
|
|
|
773
|
-
- [`b73317b63c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73317b63c) - Increased polling interval for processing files
|
|
785
|
+
- [#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
|
|
774
786
|
- [`4543f920b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4543f920b0) - Disabled previews for redesign; fixed not initially showing a doc icon when uploading a document
|
|
775
787
|
|
|
776
788
|
## 8.0.0
|
|
777
789
|
|
|
778
790
|
### Major Changes
|
|
779
791
|
|
|
780
|
-
- [`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.
|
|
792
|
+
- [#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.
|
|
781
793
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
782
794
|
|
|
783
795
|
### Patch Changes
|
|
@@ -788,7 +800,7 @@
|
|
|
788
800
|
|
|
789
801
|
### Major Changes
|
|
790
802
|
|
|
791
|
-
- [`6658272d94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6658272d94) - Remove Promise<string> from FileIdentifier to just be string
|
|
803
|
+
- [#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
|
|
792
804
|
|
|
793
805
|
## Before
|
|
794
806
|
|
|
@@ -810,25 +822,25 @@
|
|
|
810
822
|
|
|
811
823
|
### Patch Changes
|
|
812
824
|
|
|
813
|
-
- [`81c6a2fcb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c6a2fcb2) - Fixed potential exception when synchronously accessing uninitialized RxJS subscription.
|
|
825
|
+
- [#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.
|
|
814
826
|
|
|
815
827
|
## 6.2.2
|
|
816
828
|
|
|
817
829
|
### Patch Changes
|
|
818
830
|
|
|
819
|
-
- [`328902687e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/328902687e) - Remove stack traces from media analytic events
|
|
831
|
+
- [#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
|
|
820
832
|
|
|
821
833
|
## 6.2.1
|
|
822
834
|
|
|
823
835
|
### Patch Changes
|
|
824
836
|
|
|
825
|
-
- [`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump dependency query-string to ^5.1.0
|
|
837
|
+
- [#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
|
|
826
838
|
|
|
827
839
|
## 6.2.0
|
|
828
840
|
|
|
829
841
|
### Minor Changes
|
|
830
842
|
|
|
831
|
-
- [`a2ffde361d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2ffde361d) - MPT-131: fetch remote preview for files not supported by the browser
|
|
843
|
+
- [#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
|
|
832
844
|
- [`928dd60d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/928dd60d5d) - Add optional createdAt property to FileState interface
|
|
833
845
|
- [`c3b799c7eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3b799c7eb) - add optional createdAt field
|
|
834
846
|
|
|
@@ -14,7 +14,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
14
14
|
var _errors = require("../../models/errors");
|
|
15
15
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
16
16
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
17
|
-
var FileFetcherError = /*#__PURE__*/function (_BaseMediaClientError) {
|
|
17
|
+
var FileFetcherError = exports.FileFetcherError = /*#__PURE__*/function (_BaseMediaClientError) {
|
|
18
18
|
(0, _inherits2.default)(FileFetcherError, _BaseMediaClientError);
|
|
19
19
|
var _super = _createSuper(FileFetcherError);
|
|
20
20
|
function FileFetcherError(reason, id, metadata) {
|
|
@@ -45,7 +45,6 @@ var FileFetcherError = /*#__PURE__*/function (_BaseMediaClientError) {
|
|
|
45
45
|
}]);
|
|
46
46
|
return FileFetcherError;
|
|
47
47
|
}(_errors.BaseMediaClientError);
|
|
48
|
-
exports.FileFetcherError = FileFetcherError;
|
|
49
48
|
function isFileFetcherError(err) {
|
|
50
49
|
return err instanceof FileFetcherError;
|
|
51
50
|
}
|