@golemui/gui-shared 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## 1.5.1-rc.0 (2026-09-23)
2
+
3
+ This was a version bump only for gui-shared to align it with other projects, there were no code changes.
4
+
5
+ ## 1.5.0 (2026-09-14)
6
+
7
+ ### 🚀 Features
8
+
9
+ - **gui-components:** surface upload errors via validation injection and icon retry button ([#357](https://github.com/golemui/golemui/pull/357))
10
+ - **gui-components:** add file upload widgets ([#332](https://github.com/golemui/golemui/pull/332))
11
+
12
+ ### 🩹 Fixes
13
+
14
+ - **gui-components:** add interrupted message and reconcile file upload queue ([#359](https://github.com/golemui/golemui/pull/359))
15
+
16
+ ### ❤️ Thank You
17
+
18
+ - Raúl Jiménez @Elecash
19
+
1
20
  ## 1.5.0-rc.2 (2026-09-14)
2
21
 
3
22
  This was a version bump only for gui-shared to align it with other projects, there were no code changes.
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.0",
3
+ "version": "1.5.1",
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.0",
38
- "@golemui/dx": "1.5.0",
39
- "@golemui/gui-validators": "1.5.0"
37
+ "@golemui/core": "1.5.1",
38
+ "@golemui/dx": "1.5.1",
39
+ "@golemui/gui-validators": "1.5.1"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",