@atlaskit/media-client 24.0.0 → 24.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.
- package/CHANGELOG.md +81 -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/dist/types-ts4.5/client/__mocks__/collection-fetcher.d.ts +0 -8
- package/dist/types-ts4.5/client/__mocks__/file-fetcher.d.ts +0 -10
- package/dist/types-ts4.5/client/__mocks__/media-client.d.ts +0 -11
- package/dist/types-ts4.5/client/events.d.ts +0 -14
- package/dist/types-ts4.5/client/file-fetcher/error.d.ts +0 -29
- package/dist/types-ts4.5/client/file-fetcher/index.d.ts +0 -62
- package/dist/types-ts4.5/client/media-client.d.ts +0 -32
- package/dist/types-ts4.5/client/media-store/error.d.ts +0 -16
- package/dist/types-ts4.5/client/media-store/index.d.ts +0 -168
- package/dist/types-ts4.5/client/media-store/resolveAuth.d.ts +0 -4
- package/dist/types-ts4.5/client/mobile-upload.d.ts +0 -15
- package/dist/types-ts4.5/client/stargate-client.d.ts +0 -15
- package/dist/types-ts4.5/constants.d.ts +0 -6
- package/dist/types-ts4.5/file-streams-cache.d.ts +0 -15
- package/dist/types-ts4.5/globalMediaEventEmitter.d.ts +0 -6
- package/dist/types-ts4.5/identifier.d.ts +0 -15
- package/dist/types-ts4.5/index.d.ts +0 -89
- package/dist/types-ts4.5/models/artifacts.d.ts +0 -2
- package/dist/types-ts4.5/models/auth-headers.d.ts +0 -11
- package/dist/types-ts4.5/models/auth-query-parameters.d.ts +0 -11
- package/dist/types-ts4.5/models/errors/helpers.d.ts +0 -6
- package/dist/types-ts4.5/models/errors/index.d.ts +0 -11
- package/dist/types-ts4.5/models/errors/types.d.ts +0 -15
- package/dist/types-ts4.5/models/file-state.d.ts +0 -25
- package/dist/types-ts4.5/models/item.d.ts +0 -25
- package/dist/types-ts4.5/models/media.d.ts +0 -48
- package/dist/types-ts4.5/models/mobile-upload.d.ts +0 -28
- package/dist/types-ts4.5/test-helpers/_numbers.d.ts +0 -1
- package/dist/types-ts4.5/test-helpers/authProvider.d.ts +0 -6
- package/dist/types-ts4.5/test-helpers/collectionNames.d.ts +0 -5
- package/dist/types-ts4.5/test-helpers/exampleMediaItems.d.ts +0 -53
- package/dist/types-ts4.5/test-helpers/fakeMediaClient.d.ts +0 -4
- package/dist/types-ts4.5/test-helpers/index.d.ts +0 -7
- package/dist/types-ts4.5/test-helpers/mediaClientProvider.d.ts +0 -23
- package/dist/types-ts4.5/test-helpers/mediaPickerAuthProvider.d.ts +0 -5
- package/dist/types-ts4.5/upload-controller.d.ts +0 -7
- package/dist/types-ts4.5/uploader/calculateChunkSize.d.ts +0 -11
- package/dist/types-ts4.5/uploader/error.d.ts +0 -29
- package/dist/types-ts4.5/uploader/index.d.ts +0 -23
- package/dist/types-ts4.5/utils/checkWebpSupport.d.ts +0 -1
- package/dist/types-ts4.5/utils/convertBase64ToBlob.d.ts +0 -1
- package/dist/types-ts4.5/utils/createFileDataLoader.d.ts +0 -30
- package/dist/types-ts4.5/utils/createMediaSubject.d.ts +0 -3
- package/dist/types-ts4.5/utils/detectEmptyFile.d.ts +0 -16
- package/dist/types-ts4.5/utils/getDimensionsFromBlob.d.ts +0 -6
- package/dist/types-ts4.5/utils/getImageDimensionsFromBlob.d.ts +0 -5
- package/dist/types-ts4.5/utils/getMediaTypeFromUploadableFile.d.ts +0 -3
- package/dist/types-ts4.5/utils/getVideoDimensionsFromBlob.d.ts +0 -5
- package/dist/types-ts4.5/utils/hashing/hasher.d.ts +0 -3
- package/dist/types-ts4.5/utils/hashing/hasherCreator.d.ts +0 -3
- package/dist/types-ts4.5/utils/hashing/simpleHasher.d.ts +0 -4
- package/dist/types-ts4.5/utils/hashing/workerHasher.d.ts +0 -16
- package/dist/types-ts4.5/utils/imageResizeModeToFileImageMode.d.ts +0 -3
- package/dist/types-ts4.5/utils/isImageRemote.d.ts +0 -1
- package/dist/types-ts4.5/utils/mediaSubscribable/fromObservable.d.ts +0 -5
- package/dist/types-ts4.5/utils/mediaSubscribable/index.d.ts +0 -3
- package/dist/types-ts4.5/utils/mediaSubscribable/toPromise.d.ts +0 -10
- package/dist/types-ts4.5/utils/mediaSubscribable/types.d.ts +0 -17
- package/dist/types-ts4.5/utils/mobileUpload/error.d.ts +0 -29
- package/dist/types-ts4.5/utils/mobileUpload/helpers.d.ts +0 -8
- package/dist/types-ts4.5/utils/mobileUpload/index.d.ts +0 -5
- package/dist/types-ts4.5/utils/mobileUpload/servicesCache.d.ts +0 -4
- package/dist/types-ts4.5/utils/mobileUpload/stateMachine/index.d.ts +0 -7
- package/dist/types-ts4.5/utils/mobileUpload/stateMachine/states/error.d.ts +0 -3
- package/dist/types-ts4.5/utils/mobileUpload/stateMachine/states/processed.d.ts +0 -3
- package/dist/types-ts4.5/utils/mobileUpload/stateMachine/states/processing.d.ts +0 -3
- package/dist/types-ts4.5/utils/mobileUpload/stateMachine/states/processingFailed.d.ts +0 -3
- package/dist/types-ts4.5/utils/mobileUpload/stateMachine/states/uploading.d.ts +0 -3
- package/dist/types-ts4.5/utils/mobileUpload/stateMachine/types.d.ts +0 -69
- package/dist/types-ts4.5/utils/overrideMediaTypeIfUnknown.d.ts +0 -5
- package/dist/types-ts4.5/utils/polling/errors.d.ts +0 -12
- package/dist/types-ts4.5/utils/polling/index.d.ts +0 -33
- package/dist/types-ts4.5/utils/polling/types.d.ts +0 -7
- package/dist/types-ts4.5/utils/request/errors.d.ts +0 -20
- package/dist/types-ts4.5/utils/request/helpers.d.ts +0 -46
- package/dist/types-ts4.5/utils/request/index.d.ts +0 -5
- package/dist/types-ts4.5/utils/request/types.d.ts +0 -46
- package/dist/types-ts4.5/utils/safeUnsubscribe.d.ts +0 -2
- package/dist/types-ts4.5/utils/setTimeoutPromise.d.ts +0 -2
- package/dist/types-ts4.5/utils/shouldFetchRemoteFileStates.d.ts +0 -14
- package/dist/types-ts4.5/utils/url.d.ts +0 -17
- package/dist/types-ts4.5/utils/with-media-client-hoc.d.ts +0 -15
- package/tmp/api-report-tmp.d.ts +0 -1225
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 24.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41371) [`a5766038a35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5766038a35) - Fix TS errors in AFM
|
|
8
|
+
|
|
3
9
|
## 24.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
|
6
12
|
|
|
7
|
-
- [`7b6a2c6671b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b6a2c6671b) - Introducing 'media-state' for handling media internal file state.
|
|
13
|
+
- [#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
14
|
Introducing 'media-client-react' to provide hooks for seamless media-client integration with React.
|
|
9
15
|
Introducing 'MediaCardV2' with a feature flag to replace rxjs based fileState subscription with 'useFileState' hook.
|
|
10
16
|
Removed unused feature flags APIs from 'media-client' and its helper functions from 'media-common'.
|
|
@@ -17,7 +23,7 @@
|
|
|
17
23
|
|
|
18
24
|
### Minor Changes
|
|
19
25
|
|
|
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
|
|
26
|
+
- [#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
27
|
|
|
22
28
|
### Patch Changes
|
|
23
29
|
|
|
@@ -33,25 +39,25 @@
|
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
36
|
-
- [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
|
|
42
|
+
- [#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
43
|
|
|
38
44
|
## 23.1.1
|
|
39
45
|
|
|
40
46
|
### Patch Changes
|
|
41
47
|
|
|
42
|
-
- [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
|
|
48
|
+
- [#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
49
|
|
|
44
50
|
## 23.1.0
|
|
45
51
|
|
|
46
52
|
### Minor Changes
|
|
47
53
|
|
|
48
|
-
- [`195c473dd37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/195c473dd37) - Exposed helper to create Request errors externally
|
|
54
|
+
- [#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
55
|
|
|
50
56
|
## 23.0.2
|
|
51
57
|
|
|
52
58
|
### Patch Changes
|
|
53
59
|
|
|
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.
|
|
60
|
+
- [#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
61
|
|
|
56
62
|
## 23.0.1
|
|
57
63
|
|
|
@@ -63,7 +69,7 @@
|
|
|
63
69
|
|
|
64
70
|
### Major Changes
|
|
65
71
|
|
|
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
|
|
72
|
+
- [#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
73
|
|
|
68
74
|
### Patch Changes
|
|
69
75
|
|
|
@@ -73,19 +79,19 @@
|
|
|
73
79
|
|
|
74
80
|
### Patch Changes
|
|
75
81
|
|
|
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
|
|
82
|
+
- [#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
83
|
|
|
78
84
|
## 22.0.4
|
|
79
85
|
|
|
80
86
|
### Patch Changes
|
|
81
87
|
|
|
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
|
|
88
|
+
- [#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
89
|
|
|
84
90
|
## 22.0.3
|
|
85
91
|
|
|
86
92
|
### Patch Changes
|
|
87
93
|
|
|
88
|
-
- [`b098a252236`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b098a252236) - Add emptyFileName as a reason to FileFetcherError.
|
|
94
|
+
- [#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
95
|
- [`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
96
|
- [`9425ed86eb7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9425ed86eb7) - File size limit is now verified in the backend, no longer the frontend
|
|
91
97
|
- Updated dependencies
|
|
@@ -94,21 +100,21 @@
|
|
|
94
100
|
|
|
95
101
|
### Patch Changes
|
|
96
102
|
|
|
97
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
103
|
+
- [#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
104
|
- Updated dependencies
|
|
99
105
|
|
|
100
106
|
## 22.0.1
|
|
101
107
|
|
|
102
108
|
### Patch Changes
|
|
103
109
|
|
|
104
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
110
|
+
- [#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
111
|
- Updated dependencies
|
|
106
112
|
|
|
107
113
|
## 22.0.0
|
|
108
114
|
|
|
109
115
|
### Minor Changes
|
|
110
116
|
|
|
111
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
117
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
112
118
|
|
|
113
119
|
### Patch Changes
|
|
114
120
|
|
|
@@ -118,13 +124,13 @@
|
|
|
118
124
|
|
|
119
125
|
### Minor Changes
|
|
120
126
|
|
|
121
|
-
- [`1df7534fc12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1df7534fc12) - [ux] Introduce file size limits when uploading
|
|
127
|
+
- [#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
128
|
|
|
123
129
|
## 21.0.0
|
|
124
130
|
|
|
125
131
|
### Major Changes
|
|
126
132
|
|
|
127
|
-
- [`0f99ed9df35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f99ed9df35) - BREAKING CHANGES:
|
|
133
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`0f99ed9df35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f99ed9df35) - BREAKING CHANGES:
|
|
128
134
|
|
|
129
135
|
- Media Store class no longer exposes getCollectionItems method
|
|
130
136
|
|
|
@@ -159,13 +165,13 @@
|
|
|
159
165
|
|
|
160
166
|
### Minor Changes
|
|
161
167
|
|
|
162
|
-
- [`0e2981295ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e2981295ce) - Media Client accepts a feature flags object in the upload method overriding internal flags
|
|
168
|
+
- [#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
169
|
|
|
164
170
|
## 20.1.0
|
|
165
171
|
|
|
166
172
|
### Minor Changes
|
|
167
173
|
|
|
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
|
|
174
|
+
- [#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
175
|
|
|
170
176
|
### Patch Changes
|
|
171
177
|
|
|
@@ -175,26 +181,26 @@
|
|
|
175
181
|
|
|
176
182
|
### Patch Changes
|
|
177
183
|
|
|
178
|
-
- [`4fdaa8a4645`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fdaa8a4645) - update default chunk size from 4mb to 5mb
|
|
184
|
+
- [#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
185
|
|
|
180
186
|
## 20.0.2
|
|
181
187
|
|
|
182
188
|
### Patch Changes
|
|
183
189
|
|
|
184
|
-
- [`cdd0445e5a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdd0445e5a5) - Fixed instantiation logic when feature flags object is passed
|
|
190
|
+
- [#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
191
|
|
|
186
192
|
## 20.0.1
|
|
187
193
|
|
|
188
194
|
### Patch Changes
|
|
189
195
|
|
|
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)
|
|
196
|
+
- [#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
197
|
- Updated dependencies
|
|
192
198
|
|
|
193
199
|
## 20.0.0
|
|
194
200
|
|
|
195
201
|
### Major Changes
|
|
196
202
|
|
|
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
|
|
203
|
+
- [#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
204
|
|
|
199
205
|
### Patch Changes
|
|
200
206
|
|
|
@@ -204,13 +210,13 @@
|
|
|
204
210
|
|
|
205
211
|
### Patch Changes
|
|
206
212
|
|
|
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.
|
|
213
|
+
- [#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
214
|
|
|
209
215
|
## 19.1.0
|
|
210
216
|
|
|
211
217
|
### Minor Changes
|
|
212
218
|
|
|
213
|
-
- [`81573c1dfa7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81573c1dfa7) - Items call creates a batched metadata trace Id
|
|
219
|
+
- [#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
220
|
- [`0bccac57db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0bccac57db6) - remove mediaUploadApiV2 Feature flag
|
|
215
221
|
|
|
216
222
|
### Patch Changes
|
|
@@ -223,7 +229,7 @@
|
|
|
223
229
|
|
|
224
230
|
### Major Changes
|
|
225
231
|
|
|
226
|
-
- [`5eb06146a4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb06146a4e) - Added support traceContext to be supplied to all request endpoint points.
|
|
232
|
+
- [#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
233
|
|
|
228
234
|
### Patch Changes
|
|
229
235
|
|
|
@@ -233,7 +239,7 @@
|
|
|
233
239
|
|
|
234
240
|
### Minor Changes
|
|
235
241
|
|
|
236
|
-
- [`2c402e87213`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c402e87213) - [Experimental] Add traceId in media card get image request.
|
|
242
|
+
- [#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
243
|
|
|
238
244
|
### Patch Changes
|
|
239
245
|
|
|
@@ -244,7 +250,7 @@
|
|
|
244
250
|
|
|
245
251
|
### Major Changes
|
|
246
252
|
|
|
247
|
-
- [`37ff149ab87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ff149ab87) - Remove exposing StreamsCache class
|
|
253
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`37ff149ab87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ff149ab87) - Remove exposing StreamsCache class
|
|
248
254
|
|
|
249
255
|
### Patch Changes
|
|
250
256
|
|
|
@@ -255,27 +261,27 @@
|
|
|
255
261
|
|
|
256
262
|
### Patch Changes
|
|
257
263
|
|
|
258
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
264
|
+
- [#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
265
|
- Updated dependencies
|
|
260
266
|
|
|
261
267
|
## 17.1.2
|
|
262
268
|
|
|
263
269
|
### Patch Changes
|
|
264
270
|
|
|
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.
|
|
271
|
+
- [#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
272
|
|
|
267
273
|
## 17.1.1
|
|
268
274
|
|
|
269
275
|
### Patch Changes
|
|
270
276
|
|
|
271
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
277
|
+
- [#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
278
|
- Updated dependencies
|
|
273
279
|
|
|
274
280
|
## 17.1.0
|
|
275
281
|
|
|
276
282
|
### Minor Changes
|
|
277
283
|
|
|
278
|
-
- [`c07a8176ddf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c07a8176ddf) - New BlobType SlicedBlob that includes partnumber introduced and used for uploading chunks
|
|
284
|
+
- [#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
285
|
- [`a2e6bd37426`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2e6bd37426) - add uploadId to prob function to support new media upload api
|
|
280
286
|
|
|
281
287
|
### Patch Changes
|
|
@@ -288,7 +294,7 @@
|
|
|
288
294
|
|
|
289
295
|
### Major Changes
|
|
290
296
|
|
|
291
|
-
- [`a718050239e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a718050239e) - Media Client Uploader enforces a hard limit of 2Tb files.
|
|
297
|
+
- [#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
298
|
|
|
293
299
|
To mitigate these changes:
|
|
294
300
|
|
|
@@ -309,7 +315,7 @@
|
|
|
309
315
|
|
|
310
316
|
### Patch Changes
|
|
311
317
|
|
|
312
|
-
- [`12d0af77572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d0af77572) - Store media environment in session storage
|
|
318
|
+
- [#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
319
|
- [`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
320
|
- [`b73f20ed703`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73f20ed703) - EDM-3073: Fix collab for media inline and copy-paste regression
|
|
315
321
|
- [`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 +325,7 @@
|
|
|
319
325
|
|
|
320
326
|
### Major Changes
|
|
321
327
|
|
|
322
|
-
- [`b6d47de3fd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6d47de3fd9) - [MEX-1417] remove access to media file streams cache
|
|
328
|
+
- [#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
329
|
|
|
324
330
|
### Minor Changes
|
|
325
331
|
|
|
@@ -336,7 +342,7 @@
|
|
|
336
342
|
|
|
337
343
|
### Patch Changes
|
|
338
344
|
|
|
339
|
-
- [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
|
|
345
|
+
- [#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
346
|
|
|
341
347
|
## 15.1.0
|
|
342
348
|
|
|
@@ -353,7 +359,7 @@
|
|
|
353
359
|
|
|
354
360
|
### Major Changes
|
|
355
361
|
|
|
356
|
-
- [`fdc41ee7a0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fdc41ee7a0b) - Stop exposing observableToPromise from media client API.
|
|
362
|
+
- [#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
363
|
mediaSubscribableToPromise is used internally.
|
|
358
364
|
- [`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
365
|
It exposes subscribe method that is called with MediaObserver as an argument and returns MediaSubscription.
|
|
@@ -443,7 +449,7 @@
|
|
|
443
449
|
|
|
444
450
|
### Minor Changes
|
|
445
451
|
|
|
446
|
-
- [`7d2943a6038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d2943a6038) - Created MediaSubscribable wrapper around RxJs Observable
|
|
452
|
+
- [#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
453
|
|
|
448
454
|
### Patch Changes
|
|
449
455
|
|
|
@@ -453,13 +459,13 @@
|
|
|
453
459
|
|
|
454
460
|
### Patch Changes
|
|
455
461
|
|
|
456
|
-
- [`59a14d364b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59a14d364b1) - Bump query-string@^6.14.1
|
|
462
|
+
- [#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
463
|
|
|
458
464
|
## 14.3.1
|
|
459
465
|
|
|
460
466
|
### Patch Changes
|
|
461
467
|
|
|
462
|
-
- [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass initialAuth to MediaStore
|
|
468
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass initialAuth to MediaStore
|
|
463
469
|
- [`dc1f9d42903`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc1f9d42903) - Updated typeguard
|
|
464
470
|
- [`f461edcfd05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f461edcfd05) - Update CardLoader to use react-loadable
|
|
465
471
|
Add SSR feature prop to be passed in renderer and media card
|
|
@@ -469,7 +475,7 @@
|
|
|
469
475
|
|
|
470
476
|
### Minor Changes
|
|
471
477
|
|
|
472
|
-
- [`b51fc0a9062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b51fc0a9062) - New helper to convert ImageResizeMode into FileImageMode
|
|
478
|
+
- [#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
479
|
- [`269ee940b87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/269ee940b87) - redesign error UI on new media card experience
|
|
474
480
|
|
|
475
481
|
### Patch Changes
|
|
@@ -481,7 +487,7 @@
|
|
|
481
487
|
|
|
482
488
|
### Minor Changes
|
|
483
489
|
|
|
484
|
-
- [`381deea2aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/381deea2aab) - MEX-710 Added mobileUpload API to media-client
|
|
490
|
+
- [#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
491
|
|
|
486
492
|
### Patch Changes
|
|
487
493
|
|
|
@@ -492,13 +498,13 @@
|
|
|
492
498
|
|
|
493
499
|
### Patch Changes
|
|
494
500
|
|
|
495
|
-
- [`e6689b61735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6689b61735) - Added a new authProviderTimeout parameter within resolveAuth to control the timeout duration.
|
|
501
|
+
- [#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
502
|
|
|
497
503
|
## 14.1.0
|
|
498
504
|
|
|
499
505
|
### Minor Changes
|
|
500
506
|
|
|
501
|
-
- [`17776bda189`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17776bda189) - - Improve Smart Links providers and batch requests mechanism
|
|
507
|
+
- [#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
508
|
- Remove non-functional props that impact reloading
|
|
503
509
|
|
|
504
510
|
### Patch Changes
|
|
@@ -509,7 +515,7 @@
|
|
|
509
515
|
|
|
510
516
|
### Minor Changes
|
|
511
517
|
|
|
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).
|
|
518
|
+
- [#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
519
|
MediaClientConfig requires the "initialAuth" attribute to provide an Auth object that does not come from an async Auth provider.
|
|
514
520
|
Example:
|
|
515
521
|
|
|
@@ -530,19 +536,19 @@
|
|
|
530
536
|
|
|
531
537
|
### Patch Changes
|
|
532
538
|
|
|
533
|
-
- [`f50b26327dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f50b26327dd) - Remove Expired check from Media Client
|
|
539
|
+
- [#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
540
|
|
|
535
541
|
## 13.3.0
|
|
536
542
|
|
|
537
543
|
### Minor Changes
|
|
538
544
|
|
|
539
|
-
- [`10932f6ae07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10932f6ae07) - SPFE-561: Remove the URLSearchParams polyfill
|
|
545
|
+
- [#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
546
|
|
|
541
547
|
## 13.2.1
|
|
542
548
|
|
|
543
549
|
### Patch Changes
|
|
544
550
|
|
|
545
|
-
- [`8cba1694b5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cba1694b5e) - Remove pollingMaxFailuresExceeded error from implementation and feature flags
|
|
551
|
+
- [#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
552
|
- [`50cc05dde71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cc05dde71) - Mark the following members as deprecated:
|
|
547
553
|
|
|
548
554
|
- getMediaTypeFromMimeType
|
|
@@ -562,7 +568,7 @@
|
|
|
562
568
|
|
|
563
569
|
### Minor Changes
|
|
564
570
|
|
|
565
|
-
- [`65c76061dc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65c76061dc0) - Verifiy token expiration before performing requests or providing URLs
|
|
571
|
+
- [#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
572
|
|
|
567
573
|
### Patch Changes
|
|
568
574
|
|
|
@@ -574,31 +580,31 @@
|
|
|
574
580
|
|
|
575
581
|
### Patch Changes
|
|
576
582
|
|
|
577
|
-
- [`8eefb856389`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eefb856389) - Added emptyItems failReason to media-client
|
|
583
|
+
- [#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
584
|
|
|
579
585
|
## 13.1.1
|
|
580
586
|
|
|
581
587
|
### Patch Changes
|
|
582
588
|
|
|
583
|
-
- [`277ed9667b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/277ed9667b2) - Fixed media bundle names following atlassian-frontend linting rules
|
|
589
|
+
- [#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
590
|
|
|
585
591
|
## 13.1.0
|
|
586
592
|
|
|
587
593
|
### Minor Changes
|
|
588
594
|
|
|
589
|
-
- [`abc38bc9990`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abc38bc9990) - Added request metadata to failed frontend SLIs
|
|
595
|
+
- [#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
596
|
|
|
591
597
|
## 13.0.1
|
|
592
598
|
|
|
593
599
|
### Patch Changes
|
|
594
600
|
|
|
595
|
-
- [`d6b31d9713d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6b31d9713d) - Fixed uncaught exceptions when uploading MP4/HEVC
|
|
601
|
+
- [#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
602
|
|
|
597
603
|
## 13.0.0
|
|
598
604
|
|
|
599
605
|
### Major Changes
|
|
600
606
|
|
|
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
|
|
607
|
+
- [#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
608
|
|
|
603
609
|
### Minor Changes
|
|
604
610
|
|
|
@@ -618,14 +624,14 @@
|
|
|
618
624
|
|
|
619
625
|
### Patch Changes
|
|
620
626
|
|
|
621
|
-
- [`dfc79cafa6c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfc79cafa6c) - Fixed failures on /upload/createWithFiles not aborting upload
|
|
627
|
+
- [#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
628
|
- Updated dependencies
|
|
623
629
|
|
|
624
630
|
## 12.4.0
|
|
625
631
|
|
|
626
632
|
### Minor Changes
|
|
627
633
|
|
|
628
|
-
- [`b37190888c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b37190888c) - ensure polling errors trigger more graceful UX
|
|
634
|
+
- [#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
635
|
- [`a26afbd493`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a26afbd493) - Added getMediaClientFailReason() helper
|
|
630
636
|
|
|
631
637
|
### Patch Changes
|
|
@@ -639,13 +645,13 @@
|
|
|
639
645
|
|
|
640
646
|
### Minor Changes
|
|
641
647
|
|
|
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
|
|
648
|
+
- [#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
649
|
|
|
644
650
|
## 12.2.0
|
|
645
651
|
|
|
646
652
|
### Minor Changes
|
|
647
653
|
|
|
648
|
-
- [`7736346d88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7736346d88) - Added strongly typed errors to Media Client
|
|
654
|
+
- [#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
655
|
|
|
650
656
|
### Patch Changes
|
|
651
657
|
|
|
@@ -656,20 +662,20 @@
|
|
|
656
662
|
|
|
657
663
|
### Patch Changes
|
|
658
664
|
|
|
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
|
|
665
|
+
- [#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
666
|
|
|
661
667
|
## 12.1.1
|
|
662
668
|
|
|
663
669
|
### Patch Changes
|
|
664
670
|
|
|
665
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
671
|
+
- [#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
672
|
- Updated dependencies
|
|
667
673
|
|
|
668
674
|
## 12.1.0
|
|
669
675
|
|
|
670
676
|
### Minor Changes
|
|
671
677
|
|
|
672
|
-
- [`3c263cb2df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c263cb2df) - Added error handling when calling media client getCurrentState()
|
|
678
|
+
- [#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
679
|
|
|
674
680
|
### Patch Changes
|
|
675
681
|
|
|
@@ -685,7 +691,7 @@
|
|
|
685
691
|
|
|
686
692
|
### Minor Changes
|
|
687
693
|
|
|
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
|
|
694
|
+
- [#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
695
|
|
|
690
696
|
### Patch Changes
|
|
691
697
|
|
|
@@ -696,7 +702,7 @@
|
|
|
696
702
|
|
|
697
703
|
### Patch Changes
|
|
698
704
|
|
|
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.
|
|
705
|
+
- [#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
706
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
701
707
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
702
708
|
- Updated dependencies
|
|
@@ -705,7 +711,7 @@
|
|
|
705
711
|
|
|
706
712
|
### Minor Changes
|
|
707
713
|
|
|
708
|
-
- [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
|
|
714
|
+
- [#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
715
|
|
|
710
716
|
### Patch Changes
|
|
711
717
|
|
|
@@ -715,26 +721,26 @@
|
|
|
715
721
|
|
|
716
722
|
### Minor Changes
|
|
717
723
|
|
|
718
|
-
- [`8687140735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8687140735) - [ux] Fix for file processing blocking pages and tickets from saving.
|
|
724
|
+
- [#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
725
|
|
|
720
726
|
## 10.0.0
|
|
721
727
|
|
|
722
728
|
### Major Changes
|
|
723
729
|
|
|
724
|
-
- [`2ddfbcd92b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ddfbcd92b) - Removed SVG local previews due to XSS vulnerability
|
|
730
|
+
- [#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
731
|
|
|
726
732
|
## 9.0.3
|
|
727
733
|
|
|
728
734
|
### Patch Changes
|
|
729
735
|
|
|
730
|
-
- [`1434c4e094`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1434c4e094) - Fixed cloud files rendering when publishing page in CF
|
|
736
|
+
- [#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
737
|
- [`21b9d3d336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21b9d3d336) - Fixed RAR/non-ZIP files not recognised as archives
|
|
732
738
|
|
|
733
739
|
## 9.0.2
|
|
734
740
|
|
|
735
741
|
### Patch Changes
|
|
736
742
|
|
|
737
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
743
|
+
- [#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
744
|
|
|
739
745
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
740
746
|
to prevent duplicates of tslib being bundled.
|
|
@@ -743,13 +749,13 @@
|
|
|
743
749
|
|
|
744
750
|
### Patch Changes
|
|
745
751
|
|
|
746
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
752
|
+
- [#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
753
|
|
|
748
754
|
## 9.0.0
|
|
749
755
|
|
|
750
756
|
### Major Changes
|
|
751
757
|
|
|
752
|
-
- [`caf46c7c45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caf46c7c45) - Improved remote preview functionality for media-card redesign.
|
|
758
|
+
- [#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
759
|
Breaking change: renamed type of argument "SourceFile" to "CopySourceFile" in the method "copyFile" of media-client.
|
|
754
760
|
|
|
755
761
|
### Minor Changes
|
|
@@ -770,14 +776,14 @@
|
|
|
770
776
|
|
|
771
777
|
### Patch Changes
|
|
772
778
|
|
|
773
|
-
- [`b73317b63c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b73317b63c) - Increased polling interval for processing files
|
|
779
|
+
- [#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
780
|
- [`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
781
|
|
|
776
782
|
## 8.0.0
|
|
777
783
|
|
|
778
784
|
### Major Changes
|
|
779
785
|
|
|
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.
|
|
786
|
+
- [#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
787
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
782
788
|
|
|
783
789
|
### Patch Changes
|
|
@@ -788,7 +794,7 @@
|
|
|
788
794
|
|
|
789
795
|
### Major Changes
|
|
790
796
|
|
|
791
|
-
- [`6658272d94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6658272d94) - Remove Promise<string> from FileIdentifier to just be string
|
|
797
|
+
- [#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
798
|
|
|
793
799
|
## Before
|
|
794
800
|
|
|
@@ -810,25 +816,25 @@
|
|
|
810
816
|
|
|
811
817
|
### Patch Changes
|
|
812
818
|
|
|
813
|
-
- [`81c6a2fcb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c6a2fcb2) - Fixed potential exception when synchronously accessing uninitialized RxJS subscription.
|
|
819
|
+
- [#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
820
|
|
|
815
821
|
## 6.2.2
|
|
816
822
|
|
|
817
823
|
### Patch Changes
|
|
818
824
|
|
|
819
|
-
- [`328902687e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/328902687e) - Remove stack traces from media analytic events
|
|
825
|
+
- [#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
826
|
|
|
821
827
|
## 6.2.1
|
|
822
828
|
|
|
823
829
|
### Patch Changes
|
|
824
830
|
|
|
825
|
-
- [`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump dependency query-string to ^5.1.0
|
|
831
|
+
- [#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
832
|
|
|
827
833
|
## 6.2.0
|
|
828
834
|
|
|
829
835
|
### Minor Changes
|
|
830
836
|
|
|
831
|
-
- [`a2ffde361d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2ffde361d) - MPT-131: fetch remote preview for files not supported by the browser
|
|
837
|
+
- [#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
838
|
- [`928dd60d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/928dd60d5d) - Add optional createdAt property to FileState interface
|
|
833
839
|
- [`c3b799c7eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3b799c7eb) - add optional createdAt field
|
|
834
840
|
|
|
@@ -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
|
}
|