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