cabloy 5.1.139 → 5.1.141
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/.cabloy-version +1 -1
- package/CHANGELOG.md +17 -0
- package/cabloy-docs/fullstack/framework-performance.md +3 -3
- package/e2e/specs/a-commerce/commerce.spec.ts +3 -3
- package/e2e/specs/cabloy-basic/basic.spec.ts +6 -8
- package/package.json +1 -1
- package/vona/pnpm-lock.yaml +286 -540
- package/vona/pnpm-workspace.yaml +1 -1
- package/zova/packages-zova/zova/package.json +2 -2
- package/zova/pnpm-lock.yaml +51 -51
- package/zova/src/suite/a-commerce/modules/commerce-catalog/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-catalog/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-member/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-member/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-promotion/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-promotion/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-siteadmin/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-siteadmin/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-home/modules/home-api/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-home/modules/home-api/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-training/modules/training-student/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-training/modules/training-student/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/cabloy-basic/modules/basic-file/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/cabloy-basic/modules/basic-file/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/cabloy-basic/modules/basic-image/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/cabloy-basic/modules/basic-image/src/api/openapi/types.ts +23 -170
- package/zova/src/suite-vendor/a-pay/modules/a-pay/package.json +1 -1
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/api/openapi/types.ts +23 -170
- package/zova/src/suite-vendor/a-pay/modules/pay-mock/package.json +1 -1
- package/zova/src/suite-vendor/a-pay/modules/pay-mock/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite-vendor/a-pay/modules/pay-mock/src/api/openapi/types.ts +23 -170
- package/zova/src/suite-vendor/a-pay/package.json +3 -3
- package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/src/service/ssrHandler.ts +1 -1
- package/zova/src/suite-vendor/a-zova/package.json +2 -2
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/package.json +0 -56
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/.metadata/index.ts +0 -404
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/.metadata/locales.ts +0 -18
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/.metadata/this.ts +0 -2
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/bean.paypal.ts +0 -99
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/event.paypalCancelOrder.ts +0 -15
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/event.paypalCaptureOrder.ts +0 -22
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/meta.version.ts +0 -24
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/config.ts +0 -14
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/errors.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/locale/en-us.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/locale/zh-cn.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/controller/paypal.ts +0 -39
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/dto/paypalOrderRecordOptions.tsx +0 -31
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/dto/paypalOrderRecordPayload.tsx +0 -18
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/entity/paypalRecord.tsx +0 -30
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/index.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/model/paypalRecord.ts +0 -10
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/service/paypal.ts +0 -83
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/types/index.ts +0 -1
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/types/paypal.ts +0 -18
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/tsconfig.build.json +0 -11
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/tsconfig.json +0 -7
- package/vona/src/suite-vendor/a-paypal/package.json +0 -13
- package/vona/src/suite-vendor/a-paypal/tsconfig.base.json +0 -4
- package/vona/src/suite-vendor/a-paypal/tsconfig.json +0 -10
- /package/vona/patches/{zova-core@5.1.85.patch → zova-core@5.1.86.patch} +0 -0
package/.cabloy-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.1.
|
|
1
|
+
5.1.141
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.1.141
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Update framework functionality and SSR handling.
|
|
8
|
+
|
|
9
|
+
### Improvements
|
|
10
|
+
|
|
11
|
+
- Update framework performance documentation.
|
|
12
|
+
- Refactor payment integration code by removing PayPal support.
|
|
13
|
+
|
|
14
|
+
## 5.1.140
|
|
15
|
+
|
|
16
|
+
### Improvements
|
|
17
|
+
|
|
18
|
+
- Refresh the Vona Zova Core patch.
|
|
19
|
+
|
|
3
20
|
## 5.1.139
|
|
4
21
|
|
|
5
22
|
## 5.1.138
|
|
@@ -42,17 +42,17 @@ For the current public explanation of this backend capability, see [Cache Guide]
|
|
|
42
42
|
|
|
43
43
|
This is the kind of result Cabloy is designed to support: a framework that stays operationally calm even when the system keeps running for long periods.
|
|
44
44
|
|
|
45
|
-
One internally generated project was kept running continuously for **
|
|
45
|
+
One internally generated project was kept running continuously for **2 months**. At one representative PM2 snapshot, the process looked like this:
|
|
46
46
|
|
|
47
47
|
```text
|
|
48
48
|
┌────┬─────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
|
|
49
49
|
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
|
|
50
50
|
├────┼─────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
|
|
51
|
-
│ 0 │ cabloy_*** │ default │ N/A │ cluster │ 226947 │
|
|
51
|
+
│ 0 │ cabloy_*** │ default │ N/A │ cluster │ 226947 │ 2M │ 17 │ online │ 0% │ 388.4mb │ ubuntu │ disabled │
|
|
52
52
|
└────┴─────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
For this
|
|
55
|
+
For this 2-month continuous run, the observed result was **0 memory leak**.
|
|
56
56
|
|
|
57
57
|
The value of this example is not that it is a synthetic micro-benchmark. The value is that it reflects a real long-running project process with a clear, inspectable runtime footprint.
|
|
58
58
|
|
|
@@ -216,7 +216,7 @@ test(
|
|
|
216
216
|
async ({ page, request }) => {
|
|
217
217
|
const response = await request.get('/commerce');
|
|
218
218
|
expect(response.ok()).toBeTruthy();
|
|
219
|
-
expect(response.headers()['cache-control']).toBe('
|
|
219
|
+
expect(response.headers()['cache-control']).toBe('no-cache, no-store, must-revalidate');
|
|
220
220
|
const html = await response.text();
|
|
221
221
|
const normalizedHtml = html.toLowerCase();
|
|
222
222
|
expect(normalizedHtml).not.toContain('data-zova-hydrated');
|
|
@@ -366,7 +366,7 @@ test(
|
|
|
366
366
|
);
|
|
367
367
|
|
|
368
368
|
test(
|
|
369
|
-
'Commerce public SSR: theme cookie does not change
|
|
369
|
+
'Commerce public SSR: theme cookie does not change SSR HTML',
|
|
370
370
|
{ tag: ['@web', '@ssr', '@theme'] },
|
|
371
371
|
async ({ request }) => {
|
|
372
372
|
const responses = await Promise.all([
|
|
@@ -378,7 +378,7 @@ test(
|
|
|
378
378
|
for (const [index, response] of responses.entries()) {
|
|
379
379
|
expect(response.status(), `public response ${index}`).toBe(200);
|
|
380
380
|
expect(response.headers()['cache-control'], `public response ${index}`).toBe(
|
|
381
|
-
'
|
|
381
|
+
'no-cache, no-store, must-revalidate',
|
|
382
382
|
);
|
|
383
383
|
expect(html[index].toLowerCase()).not.toContain('data-zova-hydrated');
|
|
384
384
|
expect(html[index]).toContain('data-ssr-theme-dark-false="light"');
|
|
@@ -115,7 +115,7 @@ test(
|
|
|
115
115
|
async ({ page, request }) => {
|
|
116
116
|
const response = await request.get('/');
|
|
117
117
|
expect(response.ok()).toBeTruthy();
|
|
118
|
-
expect(response.headers()['cache-control']).toBe('
|
|
118
|
+
expect(response.headers()['cache-control']).toBe('no-cache, no-store, must-revalidate');
|
|
119
119
|
const html = await response.text();
|
|
120
120
|
expect(html.toLowerCase()).not.toContain('data-zova-hydrated');
|
|
121
121
|
expect(html).not.toContain('ssr-body-ready-observer');
|
|
@@ -123,7 +123,9 @@ test(
|
|
|
123
123
|
|
|
124
124
|
const routeOverrideResponse = await request.get('/demo/basic/routeQueryB');
|
|
125
125
|
expect(routeOverrideResponse.ok()).toBeTruthy();
|
|
126
|
-
expect(routeOverrideResponse.headers()['cache-control']).toBe(
|
|
126
|
+
expect(routeOverrideResponse.headers()['cache-control']).toBe(
|
|
127
|
+
'no-cache, no-store, must-revalidate',
|
|
128
|
+
);
|
|
127
129
|
|
|
128
130
|
const unlocalizedResponse = await request.get('/demo/basic/state');
|
|
129
131
|
expect(unlocalizedResponse.ok()).toBeTruthy();
|
|
@@ -145,7 +147,7 @@ test(
|
|
|
145
147
|
);
|
|
146
148
|
|
|
147
149
|
test(
|
|
148
|
-
'ATP-BASIC-SSR-03: concurrent public routes
|
|
150
|
+
'ATP-BASIC-SSR-03: concurrent public routes are non-cacheable in development',
|
|
149
151
|
{ tag: ['@web', '@smoke'] },
|
|
150
152
|
async ({ request }) => {
|
|
151
153
|
const responses = await Promise.all(
|
|
@@ -159,11 +161,7 @@ test(
|
|
|
159
161
|
for (const [index, response] of responses.entries()) {
|
|
160
162
|
expect(response.ok(), `response ${index}`).toBeTruthy();
|
|
161
163
|
expect(response.headers()['cache-control'], `response ${index}`).toBe(
|
|
162
|
-
|
|
163
|
-
? 'public, max-age=600'
|
|
164
|
-
: index % 3 === 1
|
|
165
|
-
? 'public, max-age=300'
|
|
166
|
-
: 'no-cache, no-store, must-revalidate',
|
|
164
|
+
'no-cache, no-store, must-revalidate',
|
|
167
165
|
);
|
|
168
166
|
}
|
|
169
167
|
},
|