Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a06e5b0

Browse files
authoredFeb 2, 2025··
ci: release (#7378)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent d94e4e4 commit a06e5b0

File tree

4 files changed

+32
-8
lines changed

4 files changed

+32
-8
lines changed
 

‎.changeset/tasty-plants-hug.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎docs/content/3.middleware/4.reference/change-log.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@
66

77
- **[FIXED]** Fix /readyz returning 503 if readinessProbes not passed in middleware.config.ts
88

9-
Before this fix, sending a GET request to `http://localhost:4000/readyz` would return { "status": "error" } and a HTTP 503 status. This happened only when `readinessProbes` wasn't added to middleware options (the default behavior)
9+
Before this fix, sending a GET request to `http://localhost:4000/readyz` would return { "status": "error" } and a HTTP 503 status. This happened only when `readinessProbes` wasn't added to middleware options (the default behavior). From now on, the `readinessProbes` is not required and can be removed from `./apps/storefront-middleware/src/index.ts`.
10+
11+
```diff
12+
import { createServer, type CreateServerOptions } from "@vue-storefront/middleware";
13+
14+
async function runApp() {
15+
const app = await createServer(config, {
16+
cors: process.env.NODE_ENV === "production" ? undefined : developmentCorsConfig,
17+
- readinessProbes: []
18+
});
19+
}
20+
```
1021

1122
## 5.3.1
1223

@@ -103,7 +114,19 @@ If you're using that older template, please change the `Express` type to `Server
103114
- async function runMiddleware(app: Express) {
104115
```
105116
106-
- [ADDED] New GET /readyz endpoint for middleware for using with Kubernetes readiness probes. Please see https://docs.alokai.com/middleware/guides/readiness-probes for more information
117+
- [ADDED] New GET /readyz endpoint for middleware for using with Kubernetes readiness probes. Please see our [documentation](https://docs.alokai.com/guides/kubernetes-probe/readiness-probes) for more information. For the endpoint to work correctly, it is required to pass `readinessProbes` configuration (at least an empty array) to `createServer()` in `./apps/storefront-middleware/src/index.ts`:
118+
119+
```diff
120+
import { createServer, type CreateServerOptions } from "@vue-storefront/middleware";
121+
122+
async function runApp() {
123+
const app = await createServer(config, {
124+
cors: process.env.NODE_ENV === "production" ? undefined : developmentCorsConfig,
125+
+ readinessProbes: []
126+
});
127+
}
128+
129+
```
107130
108131
## 4.3.1
109132

‎packages/cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @vue-storefront/cli
22

3+
## 6.0.1
4+
5+
### Patch Changes
6+
7+
- **[FIXED]** Added back missing i18next infrastructure file to fix CLI error.
8+
39
## 6.0.0
410

511
### Major Changes

‎packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-storefront/cli",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"description": "Vue Storefront's CLI.",
55
"bin": "./bin/run",
66
"homepage": "https://github.com/vuestorefront/vue-storefront",

0 commit comments

Comments
 (0)
Please sign in to comment.