@atlaskit/media-client 27.2.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,1586 +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
|
+
|
|
3
11
|
## 27.2.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
10
18
|
|
|
11
19
|
## 27.1.0
|
|
12
20
|
|
|
13
21
|
### Minor Changes
|
|
14
22
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
18
26
|
|
|
19
27
|
## 27.0.1
|
|
20
28
|
|
|
21
29
|
### Patch Changes
|
|
22
30
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
|
26
34
|
|
|
27
35
|
## 27.0.0
|
|
28
36
|
|
|
29
37
|
### Major Changes
|
|
30
38
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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.
|
|
37
45
|
|
|
38
46
|
## 26.3.0
|
|
39
47
|
|
|
40
48
|
### Minor Changes
|
|
41
49
|
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
|
45
53
|
|
|
46
54
|
## 26.2.3
|
|
47
55
|
|
|
48
56
|
### Patch Changes
|
|
49
57
|
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
|
53
61
|
|
|
54
62
|
## 26.2.2
|
|
55
63
|
|
|
56
64
|
### Patch Changes
|
|
57
65
|
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
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`
|
|
61
69
|
|
|
62
70
|
## 26.2.1
|
|
63
71
|
|
|
64
72
|
### Patch Changes
|
|
65
73
|
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
69
77
|
|
|
70
78
|
## 26.2.0
|
|
71
79
|
|
|
72
80
|
### Minor Changes
|
|
73
81
|
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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.
|
|
78
86
|
|
|
79
87
|
### Patch Changes
|
|
80
88
|
|
|
81
|
-
-
|
|
89
|
+
- Updated dependencies
|
|
82
90
|
|
|
83
91
|
## 26.1.2
|
|
84
92
|
|
|
85
93
|
### Patch Changes
|
|
86
94
|
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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
|
|
91
99
|
|
|
92
100
|
## 26.1.1
|
|
93
101
|
|
|
94
102
|
### Patch Changes
|
|
95
103
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
|
99
107
|
|
|
100
108
|
## 26.1.0
|
|
101
109
|
|
|
102
110
|
### Minor Changes
|
|
103
111
|
|
|
104
|
-
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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
|
|
111
119
|
|
|
112
120
|
## 26.0.0
|
|
113
121
|
|
|
114
122
|
### Major Changes
|
|
115
123
|
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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.
|
|
122
130
|
|
|
123
131
|
### Patch Changes
|
|
124
132
|
|
|
125
|
-
-
|
|
133
|
+
- Updated dependencies
|
|
126
134
|
|
|
127
135
|
## 25.1.0
|
|
128
136
|
|
|
129
137
|
### Minor Changes
|
|
130
138
|
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
|
134
142
|
|
|
135
143
|
## 25.0.3
|
|
136
144
|
|
|
137
145
|
### Patch Changes
|
|
138
146
|
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
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
|
|
142
150
|
|
|
143
151
|
## 25.0.2
|
|
144
152
|
|
|
145
153
|
### Patch Changes
|
|
146
154
|
|
|
147
|
-
-
|
|
155
|
+
- Updated dependencies
|
|
148
156
|
|
|
149
157
|
## 25.0.1
|
|
150
158
|
|
|
151
159
|
### Patch Changes
|
|
152
160
|
|
|
153
|
-
-
|
|
161
|
+
- Updated dependencies
|
|
154
162
|
|
|
155
163
|
## 25.0.0
|
|
156
164
|
|
|
157
165
|
### Major Changes
|
|
158
166
|
|
|
159
|
-
-
|
|
160
|
-
|
|
161
|
-
|
|
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.
|
|
162
170
|
|
|
163
171
|
## 24.0.3
|
|
164
172
|
|
|
165
173
|
### Patch Changes
|
|
166
174
|
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
|
|
171
179
|
|
|
172
180
|
## 24.0.2
|
|
173
181
|
|
|
174
182
|
### Patch Changes
|
|
175
183
|
|
|
176
|
-
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
|
179
187
|
|
|
180
188
|
## 24.0.1
|
|
181
189
|
|
|
182
190
|
### Patch Changes
|
|
183
191
|
|
|
184
|
-
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
|
187
195
|
|
|
188
196
|
## 24.0.0
|
|
189
197
|
|
|
190
198
|
### Major Changes
|
|
191
199
|
|
|
192
|
-
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
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'.
|
|
199
206
|
|
|
200
207
|
### Patch Changes
|
|
201
208
|
|
|
202
|
-
-
|
|
209
|
+
- Updated dependencies
|
|
203
210
|
|
|
204
211
|
## 23.2.0
|
|
205
212
|
|
|
206
213
|
### Minor Changes
|
|
207
214
|
|
|
208
|
-
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
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
|
|
212
219
|
|
|
213
220
|
### Patch Changes
|
|
214
221
|
|
|
215
|
-
-
|
|
222
|
+
- Updated dependencies
|
|
216
223
|
|
|
217
224
|
## 23.1.3
|
|
218
225
|
|
|
219
226
|
### Patch Changes
|
|
220
227
|
|
|
221
|
-
-
|
|
228
|
+
- Updated dependencies
|
|
222
229
|
|
|
223
230
|
## 23.1.2
|
|
224
231
|
|
|
225
232
|
### Patch Changes
|
|
226
233
|
|
|
227
|
-
-
|
|
228
|
-
|
|
229
|
-
|
|
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
|
|
230
237
|
|
|
231
238
|
## 23.1.1
|
|
232
239
|
|
|
233
240
|
### Patch Changes
|
|
234
241
|
|
|
235
|
-
-
|
|
236
|
-
|
|
237
|
-
|
|
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
|
|
238
245
|
|
|
239
246
|
## 23.1.0
|
|
240
247
|
|
|
241
248
|
### Minor Changes
|
|
242
249
|
|
|
243
|
-
-
|
|
244
|
-
|
|
245
|
-
|
|
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
|
|
246
253
|
|
|
247
254
|
## 23.0.2
|
|
248
255
|
|
|
249
256
|
### Patch Changes
|
|
250
257
|
|
|
251
|
-
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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.
|
|
255
262
|
|
|
256
263
|
## 23.0.1
|
|
257
264
|
|
|
258
265
|
### Patch Changes
|
|
259
266
|
|
|
260
|
-
-
|
|
267
|
+
- Updated dependencies
|
|
261
268
|
|
|
262
269
|
## 23.0.0
|
|
263
270
|
|
|
264
271
|
### Major Changes
|
|
265
272
|
|
|
266
|
-
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
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
|
|
270
277
|
|
|
271
278
|
### Patch Changes
|
|
272
279
|
|
|
273
|
-
-
|
|
280
|
+
- Updated dependencies
|
|
274
281
|
|
|
275
282
|
## 22.0.5
|
|
276
283
|
|
|
277
284
|
### Patch Changes
|
|
278
285
|
|
|
279
|
-
-
|
|
280
|
-
|
|
281
|
-
|
|
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
|
|
282
289
|
|
|
283
290
|
## 22.0.4
|
|
284
291
|
|
|
285
292
|
### Patch Changes
|
|
286
293
|
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
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
|
|
291
298
|
|
|
292
299
|
## 22.0.3
|
|
293
300
|
|
|
294
301
|
### Patch Changes
|
|
295
302
|
|
|
296
|
-
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
-
|
|
303
|
-
|
|
304
|
-
-
|
|
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
|
|
305
312
|
|
|
306
313
|
## 22.0.2
|
|
307
314
|
|
|
308
315
|
### Patch Changes
|
|
309
316
|
|
|
310
|
-
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
-
|
|
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
|
|
314
321
|
|
|
315
322
|
## 22.0.1
|
|
316
323
|
|
|
317
324
|
### Patch Changes
|
|
318
325
|
|
|
319
|
-
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
-
|
|
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
|
|
323
330
|
|
|
324
331
|
## 22.0.0
|
|
325
332
|
|
|
326
333
|
### Minor Changes
|
|
327
334
|
|
|
328
|
-
-
|
|
329
|
-
|
|
330
|
-
|
|
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
|
|
331
338
|
|
|
332
339
|
### Patch Changes
|
|
333
340
|
|
|
334
|
-
-
|
|
341
|
+
- Updated dependencies
|
|
335
342
|
|
|
336
343
|
## 21.1.0
|
|
337
344
|
|
|
338
345
|
### Minor Changes
|
|
339
346
|
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
|
|
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
|
|
343
350
|
|
|
344
351
|
## 21.0.0
|
|
345
352
|
|
|
346
353
|
### Major Changes
|
|
347
354
|
|
|
348
|
-
-
|
|
349
|
-
|
|
350
|
-
|
|
355
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
356
|
+
[`0f99ed9df35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f99ed9df35) - BREAKING
|
|
357
|
+
CHANGES:
|
|
351
358
|
|
|
352
|
-
|
|
359
|
+
- Media Store class no longer exposes getCollectionItems method
|
|
353
360
|
|
|
354
|
-
|
|
355
|
-
|
|
361
|
+
- `MediaClient.collection.removeFile` method is now accessible through the replacement method
|
|
362
|
+
`MediaClient.removeFileFromCollection`
|
|
356
363
|
|
|
357
|
-
|
|
358
|
-
|
|
364
|
+
- `MediaClient.collection` has been fully removed. The following classes, types and utils have
|
|
365
|
+
been also removed:
|
|
359
366
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
367
|
+
- MediaCollection
|
|
368
|
+
- MediaCollectionItem
|
|
369
|
+
- MediaCollectionItems
|
|
370
|
+
- MediaCollectionItemDetails
|
|
371
|
+
- MediaCollectionItemMinimalDetails
|
|
372
|
+
- isMediaCollectionItemFullDetails
|
|
366
373
|
|
|
367
|
-
|
|
374
|
+
- Renamed type `MediaCollectionItemFullDetails` to `MediaItemDetails`
|
|
368
375
|
|
|
369
|
-
|
|
376
|
+
- `MediaSubscribable` is no longer be a generic type. It now only works with `FileState`.
|
|
370
377
|
|
|
371
|
-
|
|
378
|
+
- Removed `MediaSubscribableItem` type
|
|
372
379
|
|
|
373
380
|
### Patch Changes
|
|
374
381
|
|
|
375
|
-
-
|
|
382
|
+
- Updated dependencies
|
|
376
383
|
|
|
377
384
|
## 20.2.1
|
|
378
385
|
|
|
379
386
|
### Patch Changes
|
|
380
387
|
|
|
381
|
-
-
|
|
388
|
+
- Updated dependencies
|
|
382
389
|
|
|
383
390
|
## 20.2.0
|
|
384
391
|
|
|
385
392
|
### Minor Changes
|
|
386
393
|
|
|
387
|
-
-
|
|
388
|
-
|
|
389
|
-
|
|
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
|
|
390
397
|
|
|
391
398
|
## 20.1.0
|
|
392
399
|
|
|
393
400
|
### Minor Changes
|
|
394
401
|
|
|
395
|
-
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
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
|
|
399
406
|
|
|
400
407
|
### Patch Changes
|
|
401
408
|
|
|
402
|
-
-
|
|
409
|
+
- Updated dependencies
|
|
403
410
|
|
|
404
411
|
## 20.0.3
|
|
405
412
|
|
|
406
413
|
### Patch Changes
|
|
407
414
|
|
|
408
|
-
-
|
|
409
|
-
|
|
410
|
-
|
|
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
|
|
411
418
|
|
|
412
419
|
## 20.0.2
|
|
413
420
|
|
|
414
421
|
### Patch Changes
|
|
415
422
|
|
|
416
|
-
-
|
|
417
|
-
|
|
418
|
-
|
|
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
|
|
419
426
|
|
|
420
427
|
## 20.0.1
|
|
421
428
|
|
|
422
429
|
### Patch Changes
|
|
423
430
|
|
|
424
|
-
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
-
|
|
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
|
|
428
435
|
|
|
429
436
|
## 20.0.0
|
|
430
437
|
|
|
431
438
|
### Major Changes
|
|
432
439
|
|
|
433
|
-
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
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
|
|
437
444
|
|
|
438
445
|
### Patch Changes
|
|
439
446
|
|
|
440
|
-
-
|
|
447
|
+
- Updated dependencies
|
|
441
448
|
|
|
442
449
|
## 19.1.1
|
|
443
450
|
|
|
444
451
|
### Patch Changes
|
|
445
452
|
|
|
446
|
-
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
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.
|
|
450
457
|
|
|
451
458
|
## 19.1.0
|
|
452
459
|
|
|
453
460
|
### Minor Changes
|
|
454
461
|
|
|
455
|
-
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
-
|
|
459
|
-
|
|
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
|
|
460
467
|
|
|
461
468
|
### Patch Changes
|
|
462
469
|
|
|
463
|
-
-
|
|
464
|
-
|
|
465
|
-
-
|
|
466
|
-
|
|
467
|
-
-
|
|
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
|
|
468
475
|
|
|
469
476
|
## 19.0.0
|
|
470
477
|
|
|
471
478
|
### Major Changes
|
|
472
479
|
|
|
473
|
-
-
|
|
474
|
-
|
|
475
|
-
|
|
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.
|
|
476
483
|
|
|
477
484
|
### Patch Changes
|
|
478
485
|
|
|
479
|
-
-
|
|
480
|
-
|
|
486
|
+
- [`358de54a124`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358de54a124) - Allow
|
|
487
|
+
collection-fetcher endpoints to pass traceContext
|
|
481
488
|
|
|
482
489
|
## 18.1.0
|
|
483
490
|
|
|
484
491
|
### Minor Changes
|
|
485
492
|
|
|
486
|
-
-
|
|
487
|
-
|
|
488
|
-
|
|
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.
|
|
489
496
|
|
|
490
497
|
### Patch Changes
|
|
491
498
|
|
|
492
|
-
-
|
|
493
|
-
|
|
494
|
-
-
|
|
499
|
+
- [`bf8302c838a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf8302c838a) -
|
|
500
|
+
Implemented internal functionality to create local video preview.
|
|
501
|
+
- Updated dependencies
|
|
495
502
|
|
|
496
503
|
## 18.0.0
|
|
497
504
|
|
|
498
505
|
### Major Changes
|
|
499
506
|
|
|
500
|
-
-
|
|
501
|
-
|
|
502
|
-
|
|
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
|
|
503
510
|
|
|
504
511
|
### Patch Changes
|
|
505
512
|
|
|
506
|
-
-
|
|
507
|
-
|
|
508
|
-
-
|
|
513
|
+
- [`153829bfcb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153829bfcb3) - Upgrade
|
|
514
|
+
caching algorithm library lru-fast to lru_map.
|
|
515
|
+
- Updated dependencies
|
|
509
516
|
|
|
510
517
|
## 17.1.3
|
|
511
518
|
|
|
512
519
|
### Patch Changes
|
|
513
520
|
|
|
514
|
-
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
-
|
|
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
|
|
518
525
|
|
|
519
526
|
## 17.1.2
|
|
520
527
|
|
|
521
528
|
### Patch Changes
|
|
522
529
|
|
|
523
|
-
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
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.
|
|
527
534
|
|
|
528
535
|
## 17.1.1
|
|
529
536
|
|
|
530
537
|
### Patch Changes
|
|
531
538
|
|
|
532
|
-
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
-
|
|
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
|
|
536
543
|
|
|
537
544
|
## 17.1.0
|
|
538
545
|
|
|
539
546
|
### Minor Changes
|
|
540
547
|
|
|
541
|
-
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
-
|
|
545
|
-
|
|
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
|
|
546
553
|
|
|
547
554
|
### Patch Changes
|
|
548
555
|
|
|
549
|
-
-
|
|
550
|
-
|
|
551
|
-
-
|
|
552
|
-
|
|
553
|
-
-
|
|
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
|
|
554
561
|
|
|
555
562
|
## 17.0.0
|
|
556
563
|
|
|
557
564
|
### Major Changes
|
|
558
565
|
|
|
559
|
-
-
|
|
560
|
-
|
|
561
|
-
|
|
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.
|
|
562
569
|
|
|
563
|
-
|
|
570
|
+
To mitigate these changes:
|
|
564
571
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
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.
|
|
568
575
|
|
|
569
|
-
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
-
|
|
573
|
-
|
|
574
|
-
|
|
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.
|
|
575
582
|
|
|
576
583
|
### Patch Changes
|
|
577
584
|
|
|
578
|
-
-
|
|
579
|
-
|
|
580
|
-
-
|
|
585
|
+
- [`61cf857a95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cf857a95a) - A util
|
|
586
|
+
function for dynamically calculating chunkSizes.
|
|
587
|
+
- Updated dependencies
|
|
581
588
|
|
|
582
589
|
## 16.0.1
|
|
583
590
|
|
|
584
591
|
### Patch Changes
|
|
585
592
|
|
|
586
|
-
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
-
|
|
590
|
-
|
|
591
|
-
-
|
|
592
|
-
|
|
593
|
-
-
|
|
594
|
-
|
|
595
|
-
-
|
|
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
|
|
596
603
|
|
|
597
604
|
## 16.0.0
|
|
598
605
|
|
|
599
606
|
### Major Changes
|
|
600
607
|
|
|
601
|
-
-
|
|
602
|
-
|
|
603
|
-
|
|
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
|
|
604
611
|
|
|
605
612
|
### Minor Changes
|
|
606
613
|
|
|
607
|
-
-
|
|
608
|
-
|
|
614
|
+
- [`5e249d1ad05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e249d1ad05) - Exposed
|
|
615
|
+
media environment
|
|
609
616
|
|
|
610
617
|
### Patch Changes
|
|
611
618
|
|
|
612
|
-
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
-
|
|
616
|
-
|
|
617
|
-
-
|
|
618
|
-
|
|
619
|
-
-
|
|
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
|
|
620
627
|
|
|
621
628
|
## 15.1.1
|
|
622
629
|
|
|
623
630
|
### Patch Changes
|
|
624
631
|
|
|
625
|
-
-
|
|
626
|
-
|
|
627
|
-
|
|
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`.
|
|
628
635
|
|
|
629
636
|
## 15.1.0
|
|
630
637
|
|
|
631
638
|
### Minor Changes
|
|
632
639
|
|
|
633
|
-
-
|
|
634
|
-
|
|
640
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Export
|
|
641
|
+
`WithMediaClient` type to resolve a deep import path d.ts reference
|
|
635
642
|
|
|
636
643
|
### Patch Changes
|
|
637
644
|
|
|
638
|
-
-
|
|
639
|
-
|
|
640
|
-
-
|
|
645
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
646
|
+
to TypeScript 4.2.4
|
|
647
|
+
- Updated dependencies
|
|
641
648
|
|
|
642
649
|
## 15.0.0
|
|
643
650
|
|
|
644
651
|
### Major Changes
|
|
645
652
|
|
|
646
|
-
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
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.
|
|
654
660
|
|
|
655
|
-
|
|
656
|
-
|
|
661
|
+
getFileState: The returned type of this function has changed from RxJs ReplaySubject to
|
|
662
|
+
MediaSubscribable.
|
|
657
663
|
|
|
658
|
-
|
|
659
|
-
|
|
664
|
+
```
|
|
665
|
+
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
|
|
660
666
|
|
|
661
|
-
|
|
667
|
+
const mediaClient = new MediaClient({ authProvider });
|
|
662
668
|
|
|
663
|
-
|
|
669
|
+
const fileStateSubscribable: MediaSubscribable<FileState> = mediaClient.file.getFileState(id);
|
|
664
670
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
671
|
+
const mediaObserver: MediaObserver<FileState> = {
|
|
672
|
+
next: (fileState) => {
|
|
673
|
+
nextCallback(fileState)
|
|
674
|
+
},
|
|
675
|
+
error: (error) => {
|
|
676
|
+
errorCallback(error)
|
|
677
|
+
},
|
|
678
|
+
};
|
|
673
679
|
|
|
674
|
-
|
|
680
|
+
const subscription: MediaSubscription = fileStateSubscribable.subscribe(mediaObserver);
|
|
675
681
|
|
|
676
|
-
|
|
677
|
-
|
|
682
|
+
subscription.unsubscribe();
|
|
683
|
+
```
|
|
678
684
|
|
|
679
|
-
|
|
680
|
-
|
|
685
|
+
upload: The returned type of this function has changed from RxJs ReplaySubject to
|
|
686
|
+
MediaSubscribable.
|
|
681
687
|
|
|
682
|
-
|
|
683
|
-
|
|
688
|
+
```
|
|
689
|
+
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
|
|
684
690
|
|
|
685
|
-
|
|
691
|
+
const mediaClient = new MediaClient({ authProvider });
|
|
686
692
|
|
|
687
|
-
|
|
693
|
+
const uploadFileSubscribable: MediaSubscribable<FileState> = mediaClient.file.upload(uploadableFile);
|
|
688
694
|
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
695
|
+
const mediaObserver: MediaObserver<FileState> = {
|
|
696
|
+
next: (fileState) => {
|
|
697
|
+
nextCallback(fileState)
|
|
698
|
+
},
|
|
699
|
+
error: (error) => {
|
|
700
|
+
errorCallback(error)
|
|
701
|
+
},
|
|
702
|
+
};
|
|
697
703
|
|
|
698
|
-
|
|
704
|
+
const subscription: MediaSubscription = uploadFileSubscribable.subscribe(mediaObserver);
|
|
699
705
|
|
|
700
|
-
|
|
701
|
-
|
|
706
|
+
subscription.unsubscribe();
|
|
707
|
+
```
|
|
702
708
|
|
|
703
|
-
|
|
704
|
-
|
|
709
|
+
getItems: The returned type of this function has changed from RxJs ReplaySubject to
|
|
710
|
+
MediaSubscribable.
|
|
705
711
|
|
|
706
|
-
|
|
707
|
-
|
|
712
|
+
```
|
|
713
|
+
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
|
|
708
714
|
|
|
709
|
-
|
|
715
|
+
const mediaClient = new MediaClient({ authProvider });
|
|
710
716
|
|
|
711
|
-
|
|
717
|
+
const collectionItemsSubscribable: MediaSubscribable<MediaCollectionItem[]> = mediaClient.collection.getItems(collectionName);
|
|
712
718
|
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
719
|
+
const mediaObserver: MediaObserver<MediaCollectionItem[]> = {
|
|
720
|
+
next: (items) => {
|
|
721
|
+
nextCallback(items)
|
|
722
|
+
},
|
|
723
|
+
error: (error) => {
|
|
724
|
+
errorCallback(error)
|
|
725
|
+
},
|
|
726
|
+
};
|
|
721
727
|
|
|
722
|
-
|
|
728
|
+
const subscription: MediaSubscription = collectionItemsSubscribable.subscribe(mediaObserver);
|
|
723
729
|
|
|
724
|
-
|
|
725
|
-
|
|
730
|
+
subscription.unsubscribe();
|
|
731
|
+
```
|
|
726
732
|
|
|
727
733
|
### Minor Changes
|
|
728
734
|
|
|
729
|
-
-
|
|
730
|
-
|
|
735
|
+
- [`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove
|
|
736
|
+
RxJs peer dependency
|
|
731
737
|
|
|
732
738
|
### Patch Changes
|
|
733
739
|
|
|
734
|
-
-
|
|
740
|
+
- Updated dependencies
|
|
735
741
|
|
|
736
742
|
## 14.4.0
|
|
737
743
|
|
|
738
744
|
### Minor Changes
|
|
739
745
|
|
|
740
|
-
-
|
|
741
|
-
|
|
742
|
-
|
|
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
|
|
743
749
|
|
|
744
750
|
### Patch Changes
|
|
745
751
|
|
|
746
|
-
-
|
|
752
|
+
- Updated dependencies
|
|
747
753
|
|
|
748
754
|
## 14.3.2
|
|
749
755
|
|
|
750
756
|
### Patch Changes
|
|
751
757
|
|
|
752
|
-
-
|
|
753
|
-
|
|
754
|
-
|
|
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
|
|
755
761
|
|
|
756
762
|
## 14.3.1
|
|
757
763
|
|
|
758
764
|
### Patch Changes
|
|
759
765
|
|
|
760
|
-
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
-
|
|
764
|
-
|
|
765
|
-
-
|
|
766
|
-
|
|
767
|
-
-
|
|
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
|
|
768
774
|
|
|
769
775
|
## 14.3.0
|
|
770
776
|
|
|
771
777
|
### Minor Changes
|
|
772
778
|
|
|
773
|
-
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
-
|
|
777
|
-
|
|
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
|
|
778
784
|
|
|
779
785
|
### Patch Changes
|
|
780
786
|
|
|
781
|
-
-
|
|
782
|
-
|
|
783
|
-
-
|
|
787
|
+
- [`fe9ced0cd70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe9ced0cd70) - Removed
|
|
788
|
+
feature flags for polling settings
|
|
789
|
+
- Updated dependencies
|
|
784
790
|
|
|
785
791
|
## 14.2.0
|
|
786
792
|
|
|
787
793
|
### Minor Changes
|
|
788
794
|
|
|
789
|
-
-
|
|
790
|
-
|
|
791
|
-
|
|
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
|
|
792
798
|
|
|
793
799
|
### Patch Changes
|
|
794
800
|
|
|
795
|
-
-
|
|
796
|
-
|
|
797
|
-
-
|
|
801
|
+
- [`c2ae093a067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ae093a067) - Fixed
|
|
802
|
+
unit test taking more than 10secs
|
|
803
|
+
- Updated dependencies
|
|
798
804
|
|
|
799
805
|
## 14.1.1
|
|
800
806
|
|
|
801
807
|
### Patch Changes
|
|
802
808
|
|
|
803
|
-
-
|
|
804
|
-
|
|
805
|
-
|
|
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.
|
|
806
812
|
|
|
807
813
|
## 14.1.0
|
|
808
814
|
|
|
809
815
|
### Minor Changes
|
|
810
816
|
|
|
811
|
-
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
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
|
|
815
821
|
|
|
816
822
|
### Patch Changes
|
|
817
823
|
|
|
818
|
-
-
|
|
819
|
-
|
|
824
|
+
- [`7d869388cfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d869388cfe) - Added
|
|
825
|
+
timeout to auth provider
|
|
820
826
|
|
|
821
827
|
## 14.0.0
|
|
822
828
|
|
|
823
829
|
### Minor Changes
|
|
824
830
|
|
|
825
|
-
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
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
|
+
```
|
|
840
846
|
|
|
841
847
|
### Patch Changes
|
|
842
848
|
|
|
843
|
-
-
|
|
849
|
+
- Updated dependencies
|
|
844
850
|
|
|
845
851
|
## 13.3.1
|
|
846
852
|
|
|
847
853
|
### Patch Changes
|
|
848
854
|
|
|
849
|
-
-
|
|
850
|
-
|
|
851
|
-
|
|
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
|
|
852
858
|
|
|
853
859
|
## 13.3.0
|
|
854
860
|
|
|
855
861
|
### Minor Changes
|
|
856
862
|
|
|
857
|
-
-
|
|
858
|
-
|
|
859
|
-
|
|
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
|
|
860
866
|
|
|
861
867
|
## 13.2.1
|
|
862
868
|
|
|
863
869
|
### Patch Changes
|
|
864
870
|
|
|
865
|
-
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
-
|
|
869
|
-
|
|
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:
|
|
870
876
|
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
877
|
+
- getMediaTypeFromMimeType
|
|
878
|
+
- isImageMimeTypeSupportedByBrowser
|
|
879
|
+
- isDocumentMimeTypeSupportedByBrowser
|
|
880
|
+
- isMimeTypeSupportedByBrowser
|
|
881
|
+
- isImageMimeTypeSupportedByServer
|
|
882
|
+
- isDocumentMimeTypeSupportedByServer
|
|
883
|
+
- isAudioMimeTypeSupportedByServer
|
|
884
|
+
- isVideoMimeTypeSupportedByServer
|
|
885
|
+
- isUnknownMimeTypeSupportedByServer
|
|
886
|
+
- isMimeTypeSupportedByServer
|
|
881
887
|
|
|
882
|
-
-
|
|
888
|
+
- Updated dependencies
|
|
883
889
|
|
|
884
890
|
## 13.2.0
|
|
885
891
|
|
|
886
892
|
### Minor Changes
|
|
887
893
|
|
|
888
|
-
-
|
|
889
|
-
|
|
890
|
-
|
|
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
|
|
891
897
|
|
|
892
898
|
### Patch Changes
|
|
893
899
|
|
|
894
|
-
-
|
|
895
|
-
|
|
896
|
-
-
|
|
897
|
-
|
|
898
|
-
-
|
|
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
|
|
899
905
|
|
|
900
906
|
## 13.1.2
|
|
901
907
|
|
|
902
908
|
### Patch Changes
|
|
903
909
|
|
|
904
|
-
-
|
|
905
|
-
|
|
906
|
-
|
|
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
|
|
907
913
|
|
|
908
914
|
## 13.1.1
|
|
909
915
|
|
|
910
916
|
### Patch Changes
|
|
911
917
|
|
|
912
|
-
-
|
|
913
|
-
|
|
914
|
-
|
|
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
|
|
915
921
|
|
|
916
922
|
## 13.1.0
|
|
917
923
|
|
|
918
924
|
### Minor Changes
|
|
919
925
|
|
|
920
|
-
-
|
|
921
|
-
|
|
922
|
-
|
|
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
|
|
923
929
|
|
|
924
930
|
## 13.0.1
|
|
925
931
|
|
|
926
932
|
### Patch Changes
|
|
927
933
|
|
|
928
|
-
-
|
|
929
|
-
|
|
930
|
-
|
|
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
|
|
931
937
|
|
|
932
938
|
## 13.0.0
|
|
933
939
|
|
|
934
940
|
### Major Changes
|
|
935
941
|
|
|
936
|
-
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
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
|
|
940
946
|
|
|
941
947
|
### Minor Changes
|
|
942
948
|
|
|
943
|
-
-
|
|
944
|
-
|
|
945
|
-
-
|
|
946
|
-
|
|
947
|
-
-
|
|
948
|
-
|
|
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
|
|
949
955
|
|
|
950
956
|
### Patch Changes
|
|
951
957
|
|
|
952
|
-
-
|
|
953
|
-
|
|
954
|
-
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
-
|
|
958
|
-
|
|
959
|
-
-
|
|
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
|
|
960
966
|
|
|
961
967
|
## 12.4.1
|
|
962
968
|
|
|
963
969
|
### Patch Changes
|
|
964
970
|
|
|
965
|
-
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
-
|
|
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
|
|
969
975
|
|
|
970
976
|
## 12.4.0
|
|
971
977
|
|
|
972
978
|
### Minor Changes
|
|
973
979
|
|
|
974
|
-
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
-
|
|
978
|
-
|
|
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
|
|
979
985
|
|
|
980
986
|
### Patch Changes
|
|
981
987
|
|
|
982
|
-
-
|
|
983
|
-
|
|
984
|
-
-
|
|
985
|
-
|
|
986
|
-
-
|
|
987
|
-
|
|
988
|
-
-
|
|
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
|
|
989
995
|
|
|
990
996
|
## 12.3.0
|
|
991
997
|
|
|
992
998
|
### Minor Changes
|
|
993
999
|
|
|
994
|
-
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
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
|
|
998
1004
|
|
|
999
1005
|
## 12.2.0
|
|
1000
1006
|
|
|
1001
1007
|
### Minor Changes
|
|
1002
1008
|
|
|
1003
|
-
-
|
|
1004
|
-
|
|
1005
|
-
|
|
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
|
|
1006
1012
|
|
|
1007
1013
|
### Patch Changes
|
|
1008
1014
|
|
|
1009
|
-
-
|
|
1010
|
-
|
|
1011
|
-
-
|
|
1012
|
-
|
|
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
|
|
1013
1019
|
|
|
1014
1020
|
## 12.1.2
|
|
1015
1021
|
|
|
1016
1022
|
### Patch Changes
|
|
1017
1023
|
|
|
1018
|
-
-
|
|
1019
|
-
|
|
1020
|
-
|
|
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
|
|
1021
1027
|
|
|
1022
1028
|
## 12.1.1
|
|
1023
1029
|
|
|
1024
1030
|
### Patch Changes
|
|
1025
1031
|
|
|
1026
|
-
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
-
|
|
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
|
|
1030
1036
|
|
|
1031
1037
|
## 12.1.0
|
|
1032
1038
|
|
|
1033
1039
|
### Minor Changes
|
|
1034
1040
|
|
|
1035
|
-
-
|
|
1036
|
-
|
|
1037
|
-
|
|
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()
|
|
1038
1044
|
|
|
1039
1045
|
### Patch Changes
|
|
1040
1046
|
|
|
1041
|
-
-
|
|
1047
|
+
- Updated dependencies
|
|
1042
1048
|
|
|
1043
1049
|
## 12.0.0
|
|
1044
1050
|
|
|
1045
1051
|
### Patch Changes
|
|
1046
1052
|
|
|
1047
|
-
-
|
|
1053
|
+
- Updated dependencies
|
|
1048
1054
|
|
|
1049
1055
|
## 11.1.0
|
|
1050
1056
|
|
|
1051
1057
|
### Minor Changes
|
|
1052
1058
|
|
|
1053
|
-
-
|
|
1054
|
-
|
|
1055
|
-
|
|
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
|
|
1056
1062
|
|
|
1057
1063
|
### Patch Changes
|
|
1058
1064
|
|
|
1059
|
-
-
|
|
1060
|
-
|
|
1061
|
-
-
|
|
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
|
|
1062
1068
|
|
|
1063
1069
|
## 11.0.1
|
|
1064
1070
|
|
|
1065
1071
|
### Patch Changes
|
|
1066
1072
|
|
|
1067
|
-
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
-
|
|
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
|
|
1074
1080
|
|
|
1075
1081
|
## 11.0.0
|
|
1076
1082
|
|
|
1077
1083
|
### Minor Changes
|
|
1078
1084
|
|
|
1079
|
-
-
|
|
1080
|
-
|
|
1081
|
-
|
|
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
|
|
1082
1088
|
|
|
1083
1089
|
### Patch Changes
|
|
1084
1090
|
|
|
1085
|
-
-
|
|
1091
|
+
- Updated dependencies
|
|
1086
1092
|
|
|
1087
1093
|
## 10.1.0
|
|
1088
1094
|
|
|
1089
1095
|
### Minor Changes
|
|
1090
1096
|
|
|
1091
|
-
-
|
|
1092
|
-
|
|
1093
|
-
|
|
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.
|
|
1094
1100
|
|
|
1095
1101
|
## 10.0.0
|
|
1096
1102
|
|
|
1097
1103
|
### Major Changes
|
|
1098
1104
|
|
|
1099
|
-
-
|
|
1100
|
-
|
|
1101
|
-
|
|
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
|
|
1102
1108
|
|
|
1103
1109
|
## 9.0.3
|
|
1104
1110
|
|
|
1105
1111
|
### Patch Changes
|
|
1106
1112
|
|
|
1107
|
-
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
-
|
|
1111
|
-
|
|
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
|
|
1112
1118
|
|
|
1113
1119
|
## 9.0.2
|
|
1114
1120
|
|
|
1115
1121
|
### Patch Changes
|
|
1116
1122
|
|
|
1117
|
-
-
|
|
1118
|
-
|
|
1119
|
-
|
|
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
|
|
1120
1126
|
|
|
1121
|
-
|
|
1122
|
-
|
|
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.
|
|
1123
1129
|
|
|
1124
1130
|
## 9.0.1
|
|
1125
1131
|
|
|
1126
1132
|
### Patch Changes
|
|
1127
1133
|
|
|
1128
|
-
-
|
|
1129
|
-
|
|
1130
|
-
|
|
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
|
|
1131
1137
|
|
|
1132
1138
|
## 9.0.0
|
|
1133
1139
|
|
|
1134
1140
|
### Major Changes
|
|
1135
1141
|
|
|
1136
|
-
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
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.
|
|
1140
1146
|
|
|
1141
1147
|
### Minor Changes
|
|
1142
1148
|
|
|
1143
|
-
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
-
|
|
1147
|
-
|
|
1148
|
-
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
-
|
|
1152
|
-
|
|
1153
|
-
-
|
|
1154
|
-
|
|
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
|
|
1155
1161
|
|
|
1156
1162
|
### Patch Changes
|
|
1157
1163
|
|
|
1158
|
-
-
|
|
1159
|
-
|
|
1160
|
-
-
|
|
1161
|
-
|
|
1162
|
-
-
|
|
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
|
|
1163
1169
|
|
|
1164
1170
|
## 8.0.1
|
|
1165
1171
|
|
|
1166
1172
|
### Patch Changes
|
|
1167
1173
|
|
|
1168
|
-
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
-
|
|
1172
|
-
|
|
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
|
|
1173
1179
|
|
|
1174
1180
|
## 8.0.0
|
|
1175
1181
|
|
|
1176
1182
|
### Major Changes
|
|
1177
1183
|
|
|
1178
|
-
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
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
|
|
1183
1189
|
|
|
1184
1190
|
### Patch Changes
|
|
1185
1191
|
|
|
1186
|
-
-
|
|
1192
|
+
- Updated dependencies
|
|
1187
1193
|
|
|
1188
1194
|
## 7.0.0
|
|
1189
1195
|
|
|
1190
1196
|
### Major Changes
|
|
1191
1197
|
|
|
1192
|
-
-
|
|
1193
|
-
|
|
1194
|
-
|
|
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
|
|
1195
1201
|
|
|
1196
|
-
|
|
1202
|
+
## Before
|
|
1197
1203
|
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1204
|
+
```
|
|
1205
|
+
FileIdentifier {
|
|
1206
|
+
id: string | Promise<string>;
|
|
1207
|
+
}
|
|
1208
|
+
```
|
|
1203
1209
|
|
|
1204
|
-
|
|
1210
|
+
## Now
|
|
1205
1211
|
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1212
|
+
```
|
|
1213
|
+
FileIdentifier {
|
|
1214
|
+
id: string;
|
|
1215
|
+
}
|
|
1216
|
+
```
|
|
1211
1217
|
|
|
1212
1218
|
## 6.2.3
|
|
1213
1219
|
|
|
1214
1220
|
### Patch Changes
|
|
1215
1221
|
|
|
1216
|
-
-
|
|
1217
|
-
|
|
1218
|
-
|
|
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.
|
|
1219
1225
|
|
|
1220
1226
|
## 6.2.2
|
|
1221
1227
|
|
|
1222
1228
|
### Patch Changes
|
|
1223
1229
|
|
|
1224
|
-
-
|
|
1225
|
-
|
|
1226
|
-
|
|
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
|
|
1227
1233
|
|
|
1228
1234
|
## 6.2.1
|
|
1229
1235
|
|
|
1230
1236
|
### Patch Changes
|
|
1231
1237
|
|
|
1232
|
-
-
|
|
1233
|
-
|
|
1234
|
-
|
|
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
|
|
1235
1241
|
|
|
1236
1242
|
## 6.2.0
|
|
1237
1243
|
|
|
1238
1244
|
### Minor Changes
|
|
1239
1245
|
|
|
1240
|
-
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
-
|
|
1244
|
-
|
|
1245
|
-
-
|
|
1246
|
-
|
|
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
|
|
1247
1253
|
|
|
1248
1254
|
### Patch Changes
|
|
1249
1255
|
|
|
1250
|
-
-
|
|
1251
|
-
|
|
1252
|
-
-
|
|
1256
|
+
- [`0eb38a0ebd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0eb38a0ebd) - minor code
|
|
1257
|
+
styling changes in media-client
|
|
1258
|
+
- Updated dependencies
|
|
1253
1259
|
|
|
1254
1260
|
## 6.1.0
|
|
1255
1261
|
|
|
1256
1262
|
### Minor Changes
|
|
1257
1263
|
|
|
1258
|
-
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
### Patch Changes
|
|
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
|
-
|
|
1304
|
-
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
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
|
|
1312
1318
|
|
|
1313
1319
|
## 6.0.0
|
|
1314
1320
|
|
|
1315
1321
|
### Minor Changes
|
|
1316
1322
|
|
|
1317
|
-
-
|
|
1323
|
+
- [minor][eb962d2c36](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb962d2c36):
|
|
1318
1324
|
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
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):
|
|
1324
1330
|
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
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.
|
|
1328
1334
|
|
|
1329
|
-
|
|
1335
|
+
### Using Stargate Integration
|
|
1330
1336
|
|
|
1331
|
-
|
|
1332
|
-
|
|
1337
|
+
Stargate integration is enabled by default as long as an `userAuthProvider` is not provided to
|
|
1338
|
+
`MediaClient`.
|
|
1333
1339
|
|
|
1334
|
-
|
|
1335
|
-
|
|
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:
|
|
1336
1342
|
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1343
|
+
```
|
|
1344
|
+
import { MediaClient } from '@atlaskit/media-client';
|
|
1345
|
+
const mediaClient = new MediaClient({ authProvider, stargateBaseUrl: 'http://stargate-url' });
|
|
1346
|
+
```
|
|
1341
1347
|
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
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.
|
|
1345
1351
|
|
|
1346
1352
|
### Patch Changes
|
|
1347
1353
|
|
|
1348
|
-
-
|
|
1354
|
+
- [patch][70b68943d1](https://bitbucket.org/atlassian/atlassian-frontend/commits/70b68943d1):
|
|
1349
1355
|
|
|
1350
|
-
|
|
1351
|
-
|
|
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):
|
|
1352
1358
|
|
|
1353
|
-
-
|
|
1354
|
-
|
|
1355
|
-
-
|
|
1356
|
-
|
|
1357
|
-
-
|
|
1358
|
-
|
|
1359
|
-
-
|
|
1360
|
-
|
|
1361
|
-
-
|
|
1362
|
-
|
|
1363
|
-
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
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
|
|
1370
1376
|
|
|
1371
1377
|
## 5.0.2
|
|
1372
1378
|
|
|
1373
1379
|
### Patch Changes
|
|
1374
1380
|
|
|
1375
|
-
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
-
|
|
1381
|
-
|
|
1382
|
-
-
|
|
1383
|
-
|
|
1384
|
-
-
|
|
1385
|
-
|
|
1386
|
-
-
|
|
1387
|
-
|
|
1388
|
-
-
|
|
1389
|
-
|
|
1390
|
-
-
|
|
1391
|
-
|
|
1392
|
-
-
|
|
1393
|
-
|
|
1394
|
-
-
|
|
1395
|
-
|
|
1396
|
-
-
|
|
1397
|
-
|
|
1398
|
-
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
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
|
|
1405
1411
|
|
|
1406
1412
|
## 5.0.1
|
|
1407
1413
|
|
|
1408
1414
|
### Patch Changes
|
|
1409
1415
|
|
|
1410
|
-
-
|
|
1416
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1411
1417
|
|
|
1412
|
-
|
|
1413
|
-
|
|
1418
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1419
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1414
1420
|
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
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
|
|
1421
1427
|
|
|
1422
1428
|
## 5.0.0
|
|
1423
1429
|
|
|
1424
1430
|
### Major Changes
|
|
1425
1431
|
|
|
1426
|
-
-
|
|
1432
|
+
- [major][6ee177aeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee177aeb4):
|
|
1427
1433
|
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
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.
|
|
1433
1439
|
|
|
1434
1440
|
### Patch Changes
|
|
1435
1441
|
|
|
1436
|
-
-
|
|
1437
|
-
|
|
1438
|
-
-
|
|
1439
|
-
|
|
1440
|
-
-
|
|
1441
|
-
|
|
1442
|
-
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
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
|
|
1448
1454
|
|
|
1449
1455
|
## 4.3.0
|
|
1450
1456
|
|
|
1451
1457
|
### Minor Changes
|
|
1452
1458
|
|
|
1453
|
-
-
|
|
1459
|
+
- [minor][8c7f8fcf92](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c7f8fcf92):
|
|
1454
1460
|
|
|
1455
|
-
|
|
1456
|
-
|
|
1461
|
+
Exposes an utilitary function `createFileStateSubject` which can be used to create ReplaySubject
|
|
1462
|
+
objects of type FileState
|
|
1457
1463
|
|
|
1458
1464
|
### Patch Changes
|
|
1459
1465
|
|
|
1460
|
-
-
|
|
1466
|
+
- [patch][a47d750b5d](https://bitbucket.org/atlassian/atlassian-frontend/commits/a47d750b5d):
|
|
1461
1467
|
|
|
1462
|
-
|
|
1468
|
+
dont make collection a required param in getAttrsFromUrl - @atlaskit/media-test-helpers@25.2.7
|
|
1463
1469
|
|
|
1464
1470
|
## 4.2.2
|
|
1465
1471
|
|
|
1466
1472
|
### Patch Changes
|
|
1467
1473
|
|
|
1468
|
-
-
|
|
1469
|
-
|
|
1470
|
-
-
|
|
1471
|
-
|
|
1472
|
-
-
|
|
1473
|
-
|
|
1474
|
-
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
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
|
|
1480
1486
|
|
|
1481
1487
|
## 4.2.1
|
|
1482
1488
|
|
|
1483
1489
|
### Patch Changes
|
|
1484
1490
|
|
|
1485
|
-
-
|
|
1491
|
+
- [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
|
|
1486
1492
|
|
|
1487
|
-
|
|
1493
|
+
Fix type errors caused when generating declaration files
|
|
1488
1494
|
|
|
1489
1495
|
## 4.2.0
|
|
1490
1496
|
|
|
1491
1497
|
### Minor Changes
|
|
1492
1498
|
|
|
1493
|
-
-
|
|
1499
|
+
- [minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
1494
1500
|
|
|
1495
|
-
|
|
1496
|
-
|
|
1501
|
+
fixed media client retrying aborted request-
|
|
1502
|
+
[minor][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
1497
1503
|
|
|
1498
|
-
|
|
1504
|
+
export safeUnsubscribe util to prevent exceptions when unsubscribing from RXJS Subscriptions
|
|
1499
1505
|
|
|
1500
1506
|
### Patch Changes
|
|
1501
1507
|
|
|
1502
|
-
-
|
|
1508
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
1503
1509
|
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
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):
|
|
1507
1513
|
|
|
1508
|
-
|
|
1514
|
+
- @atlaskit/media-card@66.1.2
|
|
1509
1515
|
|
|
1510
1516
|
## 4.1.1
|
|
1511
1517
|
|
|
1512
1518
|
### Patch Changes
|
|
1513
1519
|
|
|
1514
|
-
-
|
|
1520
|
+
- [patch][579779f5aa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/579779f5aa):
|
|
1515
1521
|
|
|
1516
|
-
|
|
1522
|
+
MS-2423 add retries on 5xx errors and network errors to HTTP calls
|
|
1517
1523
|
|
|
1518
1524
|
## 4.1.0
|
|
1519
1525
|
|
|
1520
1526
|
### Minor Changes
|
|
1521
1527
|
|
|
1522
|
-
-
|
|
1528
|
+
- [minor][ed9aafe0e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed9aafe0e2):
|
|
1523
1529
|
|
|
1524
|
-
|
|
1530
|
+
Fix withMediaClient to allow external files to work when mediaClientConfig is not defined
|
|
1525
1531
|
|
|
1526
1532
|
## 4.0.1
|
|
1527
1533
|
|
|
1528
1534
|
### Patch Changes
|
|
1529
1535
|
|
|
1530
|
-
-
|
|
1536
|
+
- [patch][c0da69b4dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0da69b4dc):
|
|
1531
1537
|
|
|
1532
|
-
|
|
1538
|
+
[MS-2626] Fix objectToQueryString when there is an object using null as value
|
|
1533
1539
|
|
|
1534
1540
|
## 4.0.0
|
|
1535
1541
|
|
|
1536
1542
|
### Minor Changes
|
|
1537
1543
|
|
|
1538
|
-
-
|
|
1544
|
+
- [minor][cbe5316ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbe5316ac9):
|
|
1539
1545
|
|
|
1540
|
-
|
|
1541
|
-
|
|
1546
|
+
http failures now return Error instances rather than the Response-
|
|
1547
|
+
[minor][51dfee6d35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/51dfee6d35):
|
|
1542
1548
|
|
|
1543
|
-
|
|
1549
|
+
Image, Binary and Artifact files will be cached for 30 days
|
|
1544
1550
|
|
|
1545
1551
|
### Patch Changes
|
|
1546
1552
|
|
|
1547
|
-
-
|
|
1553
|
+
- [patch][436b46929e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/436b46929e):
|
|
1548
1554
|
|
|
1549
|
-
|
|
1550
|
-
|
|
1555
|
+
Removed auth credentials from query params in GET requests. Now they are being sent in the heder
|
|
1556
|
+
to help on browser caching.
|
|
1551
1557
|
|
|
1552
|
-
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
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
|
|
1557
1563
|
|
|
1558
1564
|
## 3.0.1
|
|
1559
1565
|
|
|
1560
1566
|
### Patch Changes
|
|
1561
1567
|
|
|
1562
|
-
-
|
|
1568
|
+
- [patch][f1bbcf3847](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1bbcf3847):
|
|
1563
1569
|
|
|
1564
|
-
|
|
1570
|
+
dont log id when is not a valid uuid in FileFetcher getFileState
|
|
1565
1571
|
|
|
1566
1572
|
## 3.0.0
|
|
1567
1573
|
|
|
1568
1574
|
### Major Changes
|
|
1569
1575
|
|
|
1570
|
-
-
|
|
1576
|
+
- [major][ae4f336a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae4f336a3a):
|
|
1571
1577
|
|
|
1572
1578
|
**FABDODGEM-13 Editor Damask Release** - [Internal post](http://go.atlassian.com/damask-release)
|
|
1573
1579
|
|
|
1574
1580
|
**BREAKING CHANGES**
|
|
1575
1581
|
|
|
1576
|
-
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
-
|
|
1580
|
-
|
|
1581
|
-
-
|
|
1582
|
-
-
|
|
1583
|
-
-
|
|
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.
|
|
1584
1590
|
|
|
1585
1591
|
---
|
|
1586
1592
|
|
|
@@ -1590,172 +1596,170 @@ tables, media, mobile, emoji, tasks & decisions, analytics
|
|
|
1590
1596
|
|
|
1591
1597
|
**Editor**
|
|
1592
1598
|
|
|
1593
|
-
-
|
|
1594
|
-
|
|
1595
|
-
-
|
|
1596
|
-
|
|
1597
|
-
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
-
|
|
1607
|
-
|
|
1608
|
-
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
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
|
|
1612
1618
|
|
|
1613
1619
|
**Mobile**
|
|
1614
1620
|
|
|
1615
|
-
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
-
|
|
1619
|
-
- 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
|
|
1620
1625
|
|
|
1621
1626
|
**Media**
|
|
1622
1627
|
|
|
1623
|
-
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
-
|
|
1629
|
-
|
|
1630
|
-
-
|
|
1631
|
-
|
|
1632
|
-
-
|
|
1633
|
-
|
|
1634
|
-
-
|
|
1635
|
-
|
|
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
|
|
1636
1641
|
|
|
1637
1642
|
**i18n-tools**
|
|
1638
1643
|
|
|
1639
1644
|
Bumped dependencies.
|
|
1640
1645
|
|
|
1641
|
-
-
|
|
1646
|
+
- [major][e7b5c917de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7b5c917de):
|
|
1642
1647
|
|
|
1643
|
-
|
|
1648
|
+
## Breaking change
|
|
1644
1649
|
|
|
1645
|
-
|
|
1650
|
+
> remove Context related method and types from public api in favour of mediaClientConfig
|
|
1646
1651
|
|
|
1647
|
-
|
|
1652
|
+
### Removed
|
|
1648
1653
|
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1654
|
+
```
|
|
1655
|
+
* WithContextOrMediaClientConfig
|
|
1656
|
+
* WithContextOrMediaClientConfigProps
|
|
1657
|
+
```
|
|
1653
1658
|
|
|
1654
|
-
|
|
1659
|
+
### Added
|
|
1655
1660
|
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1661
|
+
```
|
|
1662
|
+
* WithMediaClientConfig
|
|
1663
|
+
* WithMediaClientConfigProps
|
|
1664
|
+
```
|
|
1660
1665
|
|
|
1661
|
-
|
|
1666
|
+
### Changed
|
|
1662
1667
|
|
|
1663
|
-
|
|
1668
|
+
**getMediaClient**
|
|
1664
1669
|
|
|
1665
|
-
|
|
1670
|
+
- Before
|
|
1666
1671
|
|
|
1667
|
-
|
|
1672
|
+
> works with passing either mediaClientConfig or context
|
|
1668
1673
|
|
|
1669
|
-
|
|
1670
|
-
|
|
1674
|
+
```
|
|
1675
|
+
import {getMediaClient} from '@atlaskit/media-client'
|
|
1671
1676
|
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
+
const mediaClientFromMediaClientConfig = getMediaClient({
|
|
1678
|
+
mediaClientConfig: {
|
|
1679
|
+
authProvider: () => Promise.resolve()
|
|
1680
|
+
}
|
|
1681
|
+
})
|
|
1677
1682
|
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1683
|
+
const mediaClientFromContext = getMediaClient({
|
|
1684
|
+
context: {
|
|
1685
|
+
authProvider: () => Promise.resolve()
|
|
1686
|
+
}
|
|
1687
|
+
})
|
|
1688
|
+
```
|
|
1684
1689
|
|
|
1685
|
-
|
|
1690
|
+
- Now
|
|
1686
1691
|
|
|
1687
|
-
|
|
1692
|
+
> only accepts mediaClientConfig as the only param
|
|
1688
1693
|
|
|
1689
|
-
|
|
1690
|
-
|
|
1694
|
+
```
|
|
1695
|
+
import {getMediaClient} from '@atlaskit/media-client'
|
|
1691
1696
|
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1697
|
+
const mediaClient = getMediaClient({
|
|
1698
|
+
authProvider: () => Promise.resolve()
|
|
1699
|
+
})
|
|
1700
|
+
```
|
|
1696
1701
|
|
|
1697
1702
|
### Minor Changes
|
|
1698
1703
|
|
|
1699
|
-
-
|
|
1704
|
+
- [minor][0b62e854d7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0b62e854d7):
|
|
1700
1705
|
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
[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):
|
|
1704
1708
|
|
|
1705
|
-
|
|
1709
|
+
Introducing support for alt-text in media.
|
|
1706
1710
|
|
|
1707
|
-
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
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
|
|
1712
1716
|
|
|
1713
1717
|
## 2.3.2
|
|
1714
1718
|
|
|
1715
1719
|
### Patch Changes
|
|
1716
1720
|
|
|
1717
|
-
-
|
|
1721
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
1718
1722
|
|
|
1719
|
-
|
|
1723
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
1720
1724
|
|
|
1721
1725
|
## 2.3.1
|
|
1722
1726
|
|
|
1723
1727
|
### Patch Changes
|
|
1724
1728
|
|
|
1725
|
-
-
|
|
1729
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
1726
1730
|
|
|
1727
|
-
|
|
1731
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
1728
1732
|
|
|
1729
1733
|
## 2.3.0
|
|
1730
1734
|
|
|
1731
1735
|
### Minor Changes
|
|
1732
1736
|
|
|
1733
|
-
-
|
|
1737
|
+
- [minor][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
|
|
1734
1738
|
|
|
1735
|
-
|
|
1739
|
+
**FABDODGEM-12 Editor Cashmere Release**
|
|
1736
1740
|
|
|
1737
|
-
|
|
1741
|
+
- [Internal post](http://go.atlassian.com/cashmere-release)
|
|
1738
1742
|
|
|
1739
|
-
|
|
1743
|
+
**Affected editor components:**
|
|
1740
1744
|
|
|
1741
|
-
|
|
1745
|
+
tables, media, mobile, text color, emoji, copy/paste, analytics
|
|
1742
1746
|
|
|
1743
|
-
|
|
1747
|
+
**Performance**
|
|
1744
1748
|
|
|
1745
|
-
|
|
1746
|
-
|
|
1749
|
+
- Async import for code blocks and task items on renderer
|
|
1750
|
+
- https://product-fabric.atlassian.net/browse/ED-7155
|
|
1747
1751
|
|
|
1748
|
-
|
|
1752
|
+
**Table**
|
|
1749
1753
|
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
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
|
|
1754
1758
|
|
|
1755
|
-
|
|
1759
|
+
**Text color**
|
|
1756
1760
|
|
|
1757
|
-
|
|
1758
|
-
|
|
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
|
|
1759
1763
|
|
|
1760
1764
|
**Mobile** - Implement undo/redo interface on Hybrid Editor -
|
|
1761
1765
|
https://product-fabric.atlassian.net/browse/FM-2393
|
|
@@ -1773,17 +1777,17 @@ https://product-fabric.atlassian.net/browse/FM-2393
|
|
|
1773
1777
|
|
|
1774
1778
|
**Media**
|
|
1775
1779
|
|
|
1776
|
-
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
-
|
|
1784
|
-
|
|
1785
|
-
-
|
|
1786
|
-
|
|
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
|
|
1787
1791
|
|
|
1788
1792
|
**Notable Bug Fixes**
|
|
1789
1793
|
|
|
@@ -1798,273 +1802,273 @@ https://product-fabric.atlassian.net/browse/FM-2393
|
|
|
1798
1802
|
- Fixed bug where custom emojis are not been showed on the editor
|
|
1799
1803
|
- https://product-fabric.atlassian.net/browse/ED-7726
|
|
1800
1804
|
|
|
1801
|
-
-
|
|
1805
|
+
- [minor][02dd8e6c76](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02dd8e6c76):
|
|
1802
1806
|
|
|
1803
|
-
|
|
1807
|
+
Add RECENTS_COLLECTION constant with the name of user's recents collection
|
|
1804
1808
|
|
|
1805
1809
|
## 2.2.1
|
|
1806
1810
|
|
|
1807
1811
|
### Patch Changes
|
|
1808
1812
|
|
|
1809
|
-
-
|
|
1813
|
+
- [patch][598fde647a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/598fde647a):
|
|
1810
1814
|
|
|
1811
|
-
|
|
1815
|
+
dont append file attrs to url in Safari
|
|
1812
1816
|
|
|
1813
1817
|
## 2.2.0
|
|
1814
1818
|
|
|
1815
1819
|
### Minor Changes
|
|
1816
1820
|
|
|
1817
|
-
-
|
|
1821
|
+
- [minor][8e6bce4da8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8e6bce4da8):
|
|
1818
1822
|
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
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):
|
|
1822
1826
|
|
|
1823
|
-
|
|
1827
|
+
Expose url helpers for copy&paste and stringify params
|
|
1824
1828
|
|
|
1825
1829
|
## 2.1.2
|
|
1826
1830
|
|
|
1827
|
-
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
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
|
|
1832
1836
|
|
|
1833
1837
|
## 2.1.1
|
|
1834
1838
|
|
|
1835
1839
|
### Patch Changes
|
|
1836
1840
|
|
|
1837
|
-
-
|
|
1841
|
+
- [patch][9c28ef71fe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c28ef71fe):
|
|
1838
1842
|
|
|
1839
|
-
|
|
1843
|
+
Add missing peerDependency in package.json
|
|
1840
1844
|
|
|
1841
1845
|
## 2.1.0
|
|
1842
1846
|
|
|
1843
1847
|
### Minor Changes
|
|
1844
1848
|
|
|
1845
|
-
-
|
|
1849
|
+
- [minor][e5c3f6ae3e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e5c3f6ae3e):
|
|
1846
1850
|
|
|
1847
|
-
|
|
1851
|
+
ED-6216: External images will now be uploaded to media services if possible
|
|
1848
1852
|
|
|
1849
1853
|
## 2.0.5
|
|
1850
1854
|
|
|
1851
1855
|
### Patch Changes
|
|
1852
1856
|
|
|
1853
|
-
-
|
|
1857
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
1854
1858
|
|
|
1855
|
-
|
|
1856
|
-
|
|
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
|
|
1857
1861
|
|
|
1858
1862
|
## 2.0.4
|
|
1859
1863
|
|
|
1860
1864
|
### Patch Changes
|
|
1861
1865
|
|
|
1862
|
-
-
|
|
1866
|
+
- [patch][0d7d459f1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d7d459f1a):
|
|
1863
1867
|
|
|
1864
|
-
|
|
1868
|
+
Fixes type errors which were incompatible with TS 3.6
|
|
1865
1869
|
|
|
1866
1870
|
## 2.0.3
|
|
1867
1871
|
|
|
1868
1872
|
### Patch Changes
|
|
1869
1873
|
|
|
1870
|
-
-
|
|
1874
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
1871
1875
|
|
|
1872
|
-
|
|
1876
|
+
Upgraded Typescript to 3.3.x
|
|
1873
1877
|
|
|
1874
1878
|
## 2.0.2
|
|
1875
1879
|
|
|
1876
|
-
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
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
|
|
1881
1885
|
|
|
1882
1886
|
## 2.0.1
|
|
1883
1887
|
|
|
1884
|
-
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
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
|
|
1889
1893
|
|
|
1890
1894
|
## 2.0.0
|
|
1891
1895
|
|
|
1892
1896
|
### Major Changes
|
|
1893
1897
|
|
|
1894
|
-
-
|
|
1898
|
+
- [major][ee804f3eeb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ee804f3eeb):
|
|
1895
1899
|
|
|
1896
|
-
|
|
1900
|
+
Remove getCurrentState method from FileStreamCache
|
|
1897
1901
|
|
|
1898
|
-
|
|
1902
|
+
Before you could do:
|
|
1899
1903
|
|
|
1900
|
-
|
|
1901
|
-
|
|
1904
|
+
```
|
|
1905
|
+
import {getFileStreamsCache} from '@atlaskit/media-client'
|
|
1902
1906
|
|
|
1903
|
-
|
|
1904
|
-
|
|
1907
|
+
const currentFileState = await getFileStreamsCache().getCurrentState('some-uuid');
|
|
1908
|
+
```
|
|
1905
1909
|
|
|
1906
|
-
|
|
1907
|
-
|
|
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.
|
|
1908
1912
|
|
|
1909
|
-
|
|
1913
|
+
Now you could just use the already existing method getCurrentState from mediaClient:
|
|
1910
1914
|
|
|
1911
|
-
|
|
1912
|
-
|
|
1915
|
+
```
|
|
1916
|
+
import {getMediaClient} from '@atlaskit/media-client';
|
|
1913
1917
|
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1918
|
+
const mediaClient = getMediaClient({
|
|
1919
|
+
mediaClientConfig: {} // Some MediaClientConfig
|
|
1920
|
+
});
|
|
1921
|
+
const state = await mediaClient.file.getCurrentState('some-uuid');
|
|
1922
|
+
```
|
|
1919
1923
|
|
|
1920
1924
|
## 1.5.3
|
|
1921
1925
|
|
|
1922
1926
|
### Patch Changes
|
|
1923
1927
|
|
|
1924
|
-
-
|
|
1928
|
+
- [patch][13eed9b89c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/13eed9b89c):
|
|
1925
1929
|
|
|
1926
|
-
|
|
1930
|
+
populate media cache when using FileFetcher:copyFile
|
|
1927
1931
|
|
|
1928
1932
|
## 1.5.2
|
|
1929
1933
|
|
|
1930
1934
|
### Patch Changes
|
|
1931
1935
|
|
|
1932
|
-
-
|
|
1936
|
+
- [patch][6742fbf2cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6742fbf2cc):
|
|
1933
1937
|
|
|
1934
|
-
|
|
1938
|
+
bugfix, fixes missing version.json file
|
|
1935
1939
|
|
|
1936
1940
|
## 1.5.1
|
|
1937
1941
|
|
|
1938
1942
|
### Patch Changes
|
|
1939
1943
|
|
|
1940
|
-
-
|
|
1944
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1941
1945
|
|
|
1942
|
-
|
|
1946
|
+
In this PR, we are:
|
|
1943
1947
|
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
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
|
|
1952
1956
|
|
|
1953
1957
|
## 1.5.0
|
|
1954
1958
|
|
|
1955
1959
|
### Minor Changes
|
|
1956
1960
|
|
|
1957
|
-
-
|
|
1961
|
+
- [minor][60af38e3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/60af38e3f7):
|
|
1958
1962
|
|
|
1959
|
-
|
|
1960
|
-
|
|
1963
|
+
Expose globalMediaEventEmitter to allow consumers to subscribe to global events rather than per
|
|
1964
|
+
context/mediaClient instance
|
|
1961
1965
|
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1966
|
+
```
|
|
1967
|
+
//
|
|
1968
|
+
// BEFORE
|
|
1969
|
+
//
|
|
1970
|
+
import {ContextFactory} from '@atlaskit/media-core'
|
|
1967
1971
|
|
|
1968
|
-
|
|
1972
|
+
const context = ContextFactory.create();
|
|
1969
1973
|
|
|
1970
|
-
|
|
1971
|
-
|
|
1974
|
+
// Events happen per instance
|
|
1975
|
+
context.on('file-added', ...)
|
|
1972
1976
|
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1977
|
+
//
|
|
1978
|
+
// NOW
|
|
1979
|
+
//
|
|
1976
1980
|
|
|
1977
|
-
|
|
1981
|
+
import {globalMediaEventEmitter} from '@atlaskit/media-client';
|
|
1978
1982
|
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
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
|
+
```
|
|
1982
1986
|
|
|
1983
1987
|
## 1.4.0
|
|
1984
1988
|
|
|
1985
1989
|
### Minor Changes
|
|
1986
1990
|
|
|
1987
|
-
-
|
|
1991
|
+
- [minor][02185fba43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02185fba43):
|
|
1988
1992
|
|
|
1989
|
-
|
|
1993
|
+
getMediaClient is now exposed
|
|
1990
1994
|
|
|
1991
1995
|
## 1.3.0
|
|
1992
1996
|
|
|
1993
1997
|
### Minor Changes
|
|
1994
1998
|
|
|
1995
|
-
-
|
|
1999
|
+
- [minor][61ed1951ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/61ed1951ce):
|
|
1996
2000
|
|
|
1997
|
-
|
|
2001
|
+
Expose getFileBinaryURL method in mediaClient.file.getFileBinaryURL
|
|
1998
2002
|
|
|
1999
2003
|
## 1.2.1
|
|
2000
2004
|
|
|
2001
|
-
-
|
|
2005
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
2002
2006
|
|
|
2003
|
-
|
|
2004
|
-
|
|
2007
|
+
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
2008
|
+
Request #5942 for details
|
|
2005
2009
|
|
|
2006
2010
|
## 1.2.0
|
|
2007
2011
|
|
|
2008
|
-
-
|
|
2012
|
+
- [minor][dcda79d48c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dcda79d48c):
|
|
2009
2013
|
|
|
2010
|
-
|
|
2011
|
-
|
|
2014
|
+
- `withMediaClient` and associated Props are introduced to make possible soft transition from
|
|
2015
|
+
Context based media components to Media Client Config ones.
|
|
2012
2016
|
|
|
2013
|
-
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
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
|
|
2018
2022
|
|
|
2019
2023
|
## 1.1.5
|
|
2020
2024
|
|
|
2021
|
-
-
|
|
2025
|
+
- [patch][af1cbd4ce4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af1cbd4ce4):
|
|
2022
2026
|
|
|
2023
|
-
|
|
2027
|
+
- Removing unnecessary deps and dev deps in media-core and media-client
|
|
2024
2028
|
|
|
2025
2029
|
## 1.1.4
|
|
2026
2030
|
|
|
2027
|
-
-
|
|
2031
|
+
- [patch][12aa76d5b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12aa76d5b5):
|
|
2028
2032
|
|
|
2029
|
-
|
|
2033
|
+
- ED-6814: fixed rendering mediaSingle without collection
|
|
2030
2034
|
|
|
2031
2035
|
## 1.1.3
|
|
2032
2036
|
|
|
2033
|
-
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
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
|
|
2038
2042
|
|
|
2039
2043
|
## 1.1.2
|
|
2040
2044
|
|
|
2041
|
-
-
|
|
2045
|
+
- [patch][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
2042
2046
|
|
|
2043
|
-
|
|
2044
|
-
|
|
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.
|
|
2045
2049
|
|
|
2046
2050
|
## 1.1.1
|
|
2047
2051
|
|
|
2048
|
-
-
|
|
2052
|
+
- [patch][2f58d39758](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2f58d39758):
|
|
2049
2053
|
|
|
2050
|
-
|
|
2054
|
+
- Fix problem with double exporting one of the existing items
|
|
2051
2055
|
|
|
2052
2056
|
## 1.1.0
|
|
2053
2057
|
|
|
2054
|
-
-
|
|
2058
|
+
- [minor][8536258182](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8536258182):
|
|
2055
2059
|
|
|
2056
|
-
|
|
2057
|
-
|
|
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'
|
|
2058
2062
|
|
|
2059
2063
|
## 1.0.0
|
|
2060
2064
|
|
|
2061
|
-
-
|
|
2065
|
+
- [major][e38d662f7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e38d662f7d):
|
|
2062
2066
|
|
|
2063
|
-
|
|
2064
|
-
|
|
2067
|
+
- Media API Web Client Library initial release. It contains mostly combined code from media-core
|
|
2068
|
+
and media-store.
|
|
2065
2069
|
|
|
2066
|
-
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
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
|