@valbuild/server 0.149.5 → 0.149.6
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,5 +1,16 @@
|
|
|
1
1
|
# @valbuild/server
|
|
2
2
|
|
|
3
|
+
## 0.149.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#928](https://github.com/valbuild/val/pull/928) [`8e79b44`](https://github.com/valbuild/val/commit/8e79b44b4610d188a206ed0b6de448c602a99965) Thanks [@freekh](https://github.com/freekh)! - **Create proposal** prepares an upgrade before its page opens. It creates the upgrade's proposal, works out the upgrade, and builds its dependencies, while the button says **Preparing…** with a line beneath saying where it is: for example "Building the dependencies · Installing the packages (1 of 2) · 212 of 412 packages", or how many upgrades are ahead of it while it waits for a builder. When the dependencies are built, the same tab goes to the upgrade's page, which starts at the build.
|
|
8
|
+
|
|
9
|
+
An upgrade that cannot be prepared says why, and its proposal is closed again. So is one that turns out to move nothing. Nothing on the site changes either way.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`8e79b44`](https://github.com/valbuild/val/commit/8e79b44b4610d188a206ed0b6de448c602a99965)]:
|
|
12
|
+
- @valbuild/ui@0.149.6
|
|
13
|
+
|
|
3
14
|
## 0.149.5
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -289,8 +289,8 @@ export declare class ValOpsHttp extends ValOps {
|
|
|
289
289
|
/**
|
|
290
290
|
* Which proposal calls the browser may make, by method and the path after
|
|
291
291
|
* `/proposals`: list and open, read and rename one, read what its build
|
|
292
|
-
* targets
|
|
293
|
-
* retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
292
|
+
* targets and how far an upgrade's preparation is, render its build as a
|
|
293
|
+
* canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
294
294
|
* prepares the commit here -- and not `/patches`, which moves the site's
|
|
295
295
|
* changes into a proposal and has no screen yet.
|
|
296
296
|
*/
|
|
@@ -5819,8 +5819,8 @@ class ValOpsHttp extends ValRouterCore.ValOps {
|
|
|
5819
5819
|
/**
|
|
5820
5820
|
* Which proposal calls the browser may make, by method and the path after
|
|
5821
5821
|
* `/proposals`: list and open, read and rename one, read what its build
|
|
5822
|
-
* targets
|
|
5823
|
-
* retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
5822
|
+
* targets and how far an upgrade's preparation is, render its build as a
|
|
5823
|
+
* canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
5824
5824
|
* prepares the commit here -- and not `/patches`, which moves the site's
|
|
5825
5825
|
* changes into a proposal and has no screen yet.
|
|
5826
5826
|
*/
|
|
@@ -5828,7 +5828,7 @@ class ValOpsHttp extends ValRouterCore.ValOps {
|
|
|
5828
5828
|
if (path === "") return method === "GET" || method === "POST";
|
|
5829
5829
|
const one = /^\/[0-9a-f]{20}$/.test(path);
|
|
5830
5830
|
if (one) return method === "GET" || method === "PATCH";
|
|
5831
|
-
if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
|
|
5831
|
+
if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target|preparation)$/.test(path);
|
|
5832
5832
|
return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|lockfile|typecheck|build|verify|update-from-site|restore-code)$/.test(path);
|
|
5833
5833
|
}
|
|
5834
5834
|
|
|
@@ -5819,8 +5819,8 @@ class ValOpsHttp extends ValRouterCore.ValOps {
|
|
|
5819
5819
|
/**
|
|
5820
5820
|
* Which proposal calls the browser may make, by method and the path after
|
|
5821
5821
|
* `/proposals`: list and open, read and rename one, read what its build
|
|
5822
|
-
* targets
|
|
5823
|
-
* retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
5822
|
+
* targets and how far an upgrade's preparation is, render its build as a
|
|
5823
|
+
* canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
5824
5824
|
* prepares the commit here -- and not `/patches`, which moves the site's
|
|
5825
5825
|
* changes into a proposal and has no screen yet.
|
|
5826
5826
|
*/
|
|
@@ -5828,7 +5828,7 @@ class ValOpsHttp extends ValRouterCore.ValOps {
|
|
|
5828
5828
|
if (path === "") return method === "GET" || method === "POST";
|
|
5829
5829
|
const one = /^\/[0-9a-f]{20}$/.test(path);
|
|
5830
5830
|
if (one) return method === "GET" || method === "PATCH";
|
|
5831
|
-
if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
|
|
5831
|
+
if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target|preparation)$/.test(path);
|
|
5832
5832
|
return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|lockfile|typecheck|build|verify|update-from-site|restore-code)$/.test(path);
|
|
5833
5833
|
}
|
|
5834
5834
|
|
|
@@ -5783,8 +5783,8 @@ class ValOpsHttp extends ValOps {
|
|
|
5783
5783
|
/**
|
|
5784
5784
|
* Which proposal calls the browser may make, by method and the path after
|
|
5785
5785
|
* `/proposals`: list and open, read and rename one, read what its build
|
|
5786
|
-
* targets
|
|
5787
|
-
* retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
5786
|
+
* targets and how far an upgrade's preparation is, render its build as a
|
|
5787
|
+
* canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
|
|
5788
5788
|
* prepares the commit here -- and not `/patches`, which moves the site's
|
|
5789
5789
|
* changes into a proposal and has no screen yet.
|
|
5790
5790
|
*/
|
|
@@ -5792,7 +5792,7 @@ class ValOpsHttp extends ValOps {
|
|
|
5792
5792
|
if (path === "") return method === "GET" || method === "POST";
|
|
5793
5793
|
const one = /^\/[0-9a-f]{20}$/.test(path);
|
|
5794
5794
|
if (one) return method === "GET" || method === "PATCH";
|
|
5795
|
-
if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
|
|
5795
|
+
if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target|preparation)$/.test(path);
|
|
5796
5796
|
return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|lockfile|typecheck|build|verify|update-from-site|restore-code)$/.test(path);
|
|
5797
5797
|
}
|
|
5798
5798
|
|
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"exports": true
|
|
29
29
|
},
|
|
30
|
-
"version": "0.149.
|
|
30
|
+
"version": "0.149.6",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@prettier/sync": "^0.6.1",
|
|
33
33
|
"@types/jest": "^30.0.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"zod-validation-error": "^5.0.0",
|
|
44
44
|
"@valbuild/core": "0.148.7",
|
|
45
45
|
"@valbuild/shared": "0.148.7",
|
|
46
|
-
"@valbuild/ui": "0.149.
|
|
46
|
+
"@valbuild/ui": "0.149.6"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": "^20.19.0 || >=22"
|