@valbuild/server 0.151.0 → 0.152.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/browser/dist/valbuild-server-browser.cjs.dev.js +2 -2
  3. package/browser/dist/valbuild-server-browser.cjs.prod.js +2 -2
  4. package/browser/dist/valbuild-server-browser.esm.js +2 -2
  5. package/dist/{ValRouter-ca467c83.cjs.dev.js → ValRouter-541c76f5.cjs.dev.js} +228 -374
  6. package/dist/{ValRouter-2827d620.esm.js → ValRouter-b4125d35.esm.js} +229 -375
  7. package/dist/{ValRouter-d43e0a33.cjs.prod.js → ValRouter-e1e0101b.cjs.prod.js} +228 -374
  8. package/dist/{ValRouterCore-eb1f53f5.cjs.prod.js → ValRouterCore-0c0359fe.cjs.prod.js} +48 -5
  9. package/dist/{ValRouterCore-0921fe9c.cjs.dev.js → ValRouterCore-bd3e9b6c.cjs.dev.js} +48 -5
  10. package/dist/{ValRouterCore-6c29fb75.esm.js → ValRouterCore-eea19e82.esm.js} +48 -5
  11. package/dist/declarations/src/ValOps.d.ts +20 -2
  12. package/dist/declarations/src/ValOpsHttp.d.ts +4 -39
  13. package/dist/declarations/src/patch/ts/jsonValuesModule.d.ts +1 -1
  14. package/dist/{inTabFetch-35cf5698.cjs.prod.js → inTabFetch-5caf8250.cjs.prod.js} +1 -1
  15. package/dist/{inTabFetch-49db354b.cjs.dev.js → inTabFetch-6d54acd8.cjs.dev.js} +1 -1
  16. package/dist/{inTabFetch-0cd45721.esm.js → inTabFetch-de7cf596.esm.js} +1 -1
  17. package/dist/{publishKit-3afe011d.cjs.dev.js → publishKit-42f08a69.cjs.dev.js} +2 -2
  18. package/dist/{publishKit-24e1406b.cjs.prod.js → publishKit-9600ecef.cjs.prod.js} +2 -2
  19. package/dist/{publishKit-d2e3e44d.esm.js → publishKit-c13ba76f.esm.js} +3 -3
  20. package/dist/valbuild-server.cjs.dev.js +2 -2
  21. package/dist/valbuild-server.cjs.prod.js +2 -2
  22. package/dist/valbuild-server.esm.js +4 -4
  23. package/internal/browser/dist/valbuild-server-internal-browser.cjs.dev.js +2 -2
  24. package/internal/browser/dist/valbuild-server-internal-browser.cjs.prod.js +2 -2
  25. package/internal/browser/dist/valbuild-server-internal-browser.esm.js +2 -2
  26. package/internal/dist/valbuild-server-internal.cjs.dev.js +2 -2
  27. package/internal/dist/valbuild-server-internal.cjs.prod.js +2 -2
  28. package/internal/dist/valbuild-server-internal.esm.js +2 -2
  29. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @valbuild/server
2
2
 
3
+ ## 0.152.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1019](https://github.com/valbuild/val/pull/1019) [`b9089c8`](https://github.com/valbuild/val/commit/b9089c8787da8075722cc4ef3672beb61b288af4) Thanks [@freekh](https://github.com/freekh)! - **What the design tab needed is removed with it.** The page's canvas bridge
8
+ now answers `read_page`, `screenshot_page` and a quick preview only to the
9
+ Studio at the page's own origin, and no longer asks the server whether another
10
+ origin is the site's design tab. The site's server no longer writes a
11
+ proposal's files or offers the `patch-file` route: code and content are
12
+ changed in the proposal's own Studio. The assistant's `build_proposal` no
13
+ longer takes a `reason`.
14
+ - Updated dependencies [[`b9089c8`](https://github.com/valbuild/val/commit/b9089c8787da8075722cc4ef3672beb61b288af4), [`b9089c8`](https://github.com/valbuild/val/commit/b9089c8787da8075722cc4ef3672beb61b288af4), [`b9089c8`](https://github.com/valbuild/val/commit/b9089c8787da8075722cc4ef3672beb61b288af4), [`b9089c8`](https://github.com/valbuild/val/commit/b9089c8787da8075722cc4ef3672beb61b288af4)]:
15
+ - @valbuild/ui@0.152.1
16
+ - @valbuild/shared@0.152.1
17
+
18
+ ## 0.152.0
19
+
20
+ ### Patch Changes
21
+
22
+ - [#1013](https://github.com/valbuild/val/pull/1013) [`3bb76d7`](https://github.com/valbuild/val/commit/3bb76d74d82b499aa15023838d63018a70fd7ce7) Thanks [@freekh](https://github.com/freekh)! - A save that the content service fails to take no longer looks like a successful one.
23
+
24
+ Before, when the content service answered a save with a server error (or could not be reached), the Studio treated the edit as invalid and dropped it: the field went back to its old value, and the status bar kept saying "All changes saved". Now:
25
+
26
+ - **Your edit is kept.** The field keeps what you typed.
27
+ - **The Studio says the save failed.** The status bar shows "Could not save" (never "All changes saved" while a save has failed or is still pending), and a notice says which service failed, with the service's own message under **Details**.
28
+ - **Try again** sends the same save again. The Studio also retries by itself in the background, so if you leave the tab open your changes are saved once the service is back.
29
+
30
+ Pressing Publish while a save has failed now says what failed, in the service's words, with a **Save again** button, instead of "Check the connection and try again".
31
+
32
+ Saves that the service refuses because of your plan, and saves that conflict with someone else's change, work as before.
33
+
34
+ Error messages from the content service also stop blaming your network. "Could not get your changes. It is most likely due to a network issue. Check your network connection" was shown even when the service had answered with a 500. These messages now say what actually happened (the service answered with an error, refused the request, or could not be reached from your site's server) and name the service. The status code and the service's response are kept as details for whoever needs to look into it. Publish failures now also show the service's own message, where they used to say "Unknown error".
35
+
36
+ - Updated dependencies [[`f4e0660`](https://github.com/valbuild/val/commit/f4e06601495dbee680a4b9000344f84cd3af717f), [`3bb76d7`](https://github.com/valbuild/val/commit/3bb76d74d82b499aa15023838d63018a70fd7ce7), [`08a3977`](https://github.com/valbuild/val/commit/08a39779dbe43702a72ae57cbf8cf29b14e64672)]:
37
+ - @valbuild/ui@0.152.0
38
+ - @valbuild/shared@0.152.0
39
+
3
40
  ## 0.151.0
4
41
 
5
42
  ### Minor Changes
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../dist/inTabFetch-49db354b.cjs.dev.js');
5
+ var inTabFetch = require('../../dist/inTabFetch-6d54acd8.cjs.dev.js');
6
6
  require('@valbuild/core');
7
- require('../../dist/ValRouterCore-0921fe9c.cjs.dev.js');
7
+ require('../../dist/ValRouterCore-bd3e9b6c.cjs.dev.js');
8
8
  require('zod');
9
9
  require('@valbuild/shared/internal');
10
10
  require('zod-validation-error');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../dist/inTabFetch-35cf5698.cjs.prod.js');
5
+ var inTabFetch = require('../../dist/inTabFetch-5caf8250.cjs.prod.js');
6
6
  require('@valbuild/core');
7
- require('../../dist/ValRouterCore-eb1f53f5.cjs.prod.js');
7
+ require('../../dist/ValRouterCore-0c0359fe.cjs.prod.js');
8
8
  require('zod');
9
9
  require('@valbuild/shared/internal');
10
10
  require('zod-validation-error');
@@ -1,6 +1,6 @@
1
- export { c as createInTabValFetch } from '../../dist/inTabFetch-0cd45721.esm.js';
1
+ export { c as createInTabValFetch } from '../../dist/inTabFetch-de7cf596.esm.js';
2
2
  import '@valbuild/core';
3
- import '../../dist/ValRouterCore-6c29fb75.esm.js';
3
+ import '../../dist/ValRouterCore-eea19e82.esm.js';
4
4
  import 'zod';
5
5
  import '@valbuild/shared/internal';
6
6
  import 'zod-validation-error';