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