@atlaskit/media-file-preview 0.5.1 → 0.5.2
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 +39 -11
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,65 +1,93 @@
|
|
|
1
1
|
# @atlaskit/media-file-preview
|
|
2
2
|
|
|
3
|
+
## 0.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 0.5.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
14
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
15
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
16
|
|
|
9
17
|
## 0.5.0
|
|
10
18
|
|
|
11
19
|
### Minor Changes
|
|
12
20
|
|
|
13
|
-
-
|
|
21
|
+
- [#73279](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73279)
|
|
22
|
+
[`cdad00f21119`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cdad00f21119) -
|
|
23
|
+
Create useMediaImage hook
|
|
14
24
|
|
|
15
25
|
## 0.4.2
|
|
16
26
|
|
|
17
27
|
### Patch Changes
|
|
18
28
|
|
|
19
|
-
-
|
|
29
|
+
- [#71793](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71793)
|
|
30
|
+
[`26115be71855`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26115be71855) -
|
|
31
|
+
Added support for Error File State
|
|
20
32
|
|
|
21
33
|
## 0.4.1
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
25
|
-
-
|
|
37
|
+
- [#71409](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71409)
|
|
38
|
+
[`5c76dfba92dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c76dfba92dd) -
|
|
39
|
+
Pass trace context to global scope error
|
|
26
40
|
|
|
27
41
|
## 0.4.0
|
|
28
42
|
|
|
29
43
|
### Minor Changes
|
|
30
44
|
|
|
31
|
-
-
|
|
45
|
+
- [#70446](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70446)
|
|
46
|
+
[`48eae199c6fa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/48eae199c6fa) -
|
|
47
|
+
Breaking: return ref object ssrReliabilityRef is replaced by object ssrReliability
|
|
32
48
|
|
|
33
49
|
### Patch Changes
|
|
34
50
|
|
|
35
|
-
-
|
|
51
|
+
- [#70446](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70446)
|
|
52
|
+
[`0ff07ca94009`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0ff07ca94009) -
|
|
53
|
+
Better support for onImageError callback
|
|
36
54
|
|
|
37
55
|
## 0.3.1
|
|
38
56
|
|
|
39
57
|
### Patch Changes
|
|
40
58
|
|
|
41
|
-
-
|
|
59
|
+
- [#70361](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70361)
|
|
60
|
+
[`6bcee8c57dac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6bcee8c57dac) -
|
|
61
|
+
Support for files failed to process
|
|
42
62
|
|
|
43
63
|
## 0.3.0
|
|
44
64
|
|
|
45
65
|
### Minor Changes
|
|
46
66
|
|
|
47
|
-
-
|
|
67
|
+
- [#70034](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70034)
|
|
68
|
+
[`0cf829b2ca1f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0cf829b2ca1f) -
|
|
69
|
+
Breaking: renamed return value from getScriptProps to getSsrScriptProps
|
|
48
70
|
|
|
49
71
|
## 0.2.1
|
|
50
72
|
|
|
51
73
|
### Patch Changes
|
|
52
74
|
|
|
53
|
-
-
|
|
75
|
+
- [#69372](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69372)
|
|
76
|
+
[`d719e8e81e2c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d719e8e81e2c) -
|
|
77
|
+
Fixed status for processed files with no preview
|
|
54
78
|
|
|
55
79
|
## 0.2.0
|
|
56
80
|
|
|
57
81
|
### Minor Changes
|
|
58
82
|
|
|
59
|
-
-
|
|
83
|
+
- [#65817](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65817)
|
|
84
|
+
[`de45ff7a33a9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de45ff7a33a9) -
|
|
85
|
+
Breaking: removed previewDidRender property
|
|
60
86
|
|
|
61
87
|
## 0.1.0
|
|
62
88
|
|
|
63
89
|
### Minor Changes
|
|
64
90
|
|
|
65
|
-
-
|
|
91
|
+
- [#65749](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65749)
|
|
92
|
+
[`cf9674e67f0c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cf9674e67f0c) -
|
|
93
|
+
Breaking: updated prop types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-file-preview",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "A React Hook to fetch and render file previews. It's overloaded with fancy features like SSR, lazy loading, memory cache and local preview.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
".": "./src/index.ts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/media-client": "^
|
|
38
|
+
"@atlaskit/media-client": "^27.0.0",
|
|
39
39
|
"@atlaskit/media-client-react": "^2.0.1",
|
|
40
|
-
"@atlaskit/media-common": "^11.
|
|
41
|
-
"@atlaskit/media-ui": "^25.
|
|
40
|
+
"@atlaskit/media-common": "^11.2.0",
|
|
41
|
+
"@atlaskit/media-ui": "^25.10.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"eventemitter2": "^4.1.0",
|
|
44
44
|
"lru_map": "^0.4.1"
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@af/integration-testing": "*",
|
|
51
51
|
"@af/visual-regression": "*",
|
|
52
52
|
"@atlaskit/media-state": "^1.0.3",
|
|
53
|
-
"@atlaskit/media-test-data": "^1.
|
|
54
|
-
"@atlaskit/section-message": "^6.
|
|
53
|
+
"@atlaskit/media-test-data": "^2.1.0",
|
|
54
|
+
"@atlaskit/section-message": "^6.5.0",
|
|
55
55
|
"@atlaskit/ssr": "*",
|
|
56
56
|
"@atlaskit/visual-regression": "*",
|
|
57
57
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|