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