@golemui/gui-shared 1.5.0-rc.2 → 1.5.1-rc.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 +19 -0
- package/lib/shared.d.ts +8 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 1.5.0 (2026-09-14)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **gui-components:** surface upload errors via validation injection and icon retry button ([#357](https://github.com/golemui/golemui/pull/357))
|
|
6
|
+
- **gui-components:** add file upload widgets ([#332](https://github.com/golemui/golemui/pull/332))
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- **gui-components:** add interrupted message and reconcile file upload queue ([#359](https://github.com/golemui/golemui/pull/359))
|
|
11
|
+
|
|
12
|
+
### ❤️ Thank You
|
|
13
|
+
|
|
14
|
+
- Raúl Jiménez @Elecash
|
|
15
|
+
|
|
16
|
+
## 1.5.0-rc.2 (2026-09-14)
|
|
17
|
+
|
|
18
|
+
This was a version bump only for gui-shared to align it with other projects, there were no code changes.
|
|
19
|
+
|
|
1
20
|
## 1.5.0-rc.1 (2026-09-07)
|
|
2
21
|
|
|
3
22
|
### 🚀 Features
|
package/lib/shared.d.ts
CHANGED
|
@@ -31,6 +31,14 @@ export type FileItem<TData = unknown> = {
|
|
|
31
31
|
* `FileItem.data`; `remove` (optional) is awaited when the user removes an
|
|
32
32
|
* uploaded file so the server can delete it.
|
|
33
33
|
*
|
|
34
|
+
* Server file cleanup is the host's job. `remove` runs only on that explicit
|
|
35
|
+
* user removal and when the single-file widget replaces its file with a new
|
|
36
|
+
* pick (not awaited, a failure is only logged). A deleted repeater row, a
|
|
37
|
+
* field pruned by a state, `setData`, a config replacement or an abandoned
|
|
38
|
+
* form all leave the file on the server: the widget cannot know which of
|
|
39
|
+
* those makes it unwanted. Treat every `upload` result as provisional and
|
|
40
|
+
* reconcile server files against the submitted value.
|
|
41
|
+
*
|
|
34
42
|
* Keep the object reference stable (module level or memoized): a new form
|
|
35
43
|
* `config` identity re-initializes the form.
|
|
36
44
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemui/gui-shared",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"*.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@golemui/core": "1.5.
|
|
38
|
-
"@golemui/dx": "1.5.
|
|
39
|
-
"@golemui/gui-validators": "1.5.
|
|
37
|
+
"@golemui/core": "1.5.1-rc.0",
|
|
38
|
+
"@golemui/dx": "1.5.1-rc.0",
|
|
39
|
+
"@golemui/gui-validators": "1.5.1-rc.0"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|