Skip to content

Commit 9d133c5

Browse files
committed
release: v0.6.4
1 parent a36479d commit 9d133c5

18 files changed

Lines changed: 96 additions & 36 deletions

File tree

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type(scope): subject
5555
| **chore** | Maintenance / tooling | `chore(repo): align .editorconfig + prettier config` |
5656
| **security** | Security patch | `security(cli): sanitize route param printing` |
5757
| **deps** | Dependency bump | `deps(ui): upgrade react to 18.3.1` |
58-
| **release** | Version tags and changelog updates | `release: v0.6.3` |
58+
| **release** | Version tags and changelog updates | `release: v0.6.4` |
5959

6060
---
6161

@@ -122,7 +122,7 @@ Use `statikapi dev` for incremental rebuilds.
122122
| 🧪 | test | `🧪 test(router): stable route order` |
123123
| 🔧 | chore | `🔧 chore(repo): update pnpm lockfile` |
124124
| 🛠️ | build | `🛠️ build(ui): add vite alias` |
125-
| 🚀 | release | `🚀 release: v0.6.3` |
125+
| 🚀 | release | `🚀 release: v0.6.4` |
126126

127127
---
128128

@@ -137,7 +137,7 @@ Use `statikapi dev` for incremental rebuilds.
137137
- `ci: publish order core → cli → create-statikapi`
138138
- `test(router): stable ordering for static/dynamic/catchall`
139139
- `chore(repo): add pnpm-workspace.yaml`
140-
- `release: v0.6.3`
140+
- `release: v0.6.4`
141141

142142
---
143143

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Tests cover:
154154

155155
Publishing is automated via **GitHub Actions** (`.github/workflows/release.yml`):
156156

157-
1. Triggered on pushing a version tag (e.g. `v0.6.3`).
157+
1. Triggered on pushing a version tag (e.g. `v0.6.4`).
158158
2. Verifies tag version matches `package.json` across packages.
159159
3. Builds & embeds the UI.
160160
4. Packs and publishes in order:

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Supported Versions
44

5-
StatikAPI is currently v0.6.3 and developed in a monorepo. We aim to patch the latest minor version only.
5+
StatikAPI is currently v0.6.4 and developed in a monorepo. We aim to patch the latest minor version only.
66

77
| Version | Supported |
88
| ------- | --------- |

docs/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "StatikAPI",
33
"description": "Build static JSON endpoints from filesystem modules — like Next.js static export, but for APIs.",
4-
"version": "0.6.3",
4+
"version": "0.6.4",
55
"lastUpdated": "2025-11-09T02:00:00.000Z",
66
"repo": "https://github.com/zonayedpca/statikapi"
77
}

example/cloudflare/wrangler.example.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ id = "REPLACE_ME_KV_NAMESPACE_ID"
1313
[vars]
1414
STATIK_BUILD_TOKEN = "REPLACE_ME_STATIK_BUILD_TOKEN"
1515
STATIK_SRC = "src-api" # optional: lets the CLI auto-detect
16-
1716
# API access
18-
STATIK_USE_INDEX_JSON = "false"
17+
STATIK_USE_INDEX_JSON = "false"
18+
STATIK_MANIFEST_BINDING = "STATIK_MANIFEST"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@statikapi/monorepo",
33
"private": true,
44
"type": "module",
5-
"version": "0.6.3",
5+
"version": "0.6.4",
66
"workspaces": [
77
"packages/*"
88
],

packages/adapter-cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@statikapi/adapter-cf",
3-
"version": "0.6.3",
3+
"version": "0.6.4",
44
"type": "module",
55
"bin": {
66
"statikapi-cf": "bin/statikapi-cf.js"

packages/adapter-cloudflare/src/node/bundle.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,14 +376,25 @@ const WORKER_RUNTIME_JS = `
376376
377377
const MANIFEST_KEY = 'manifest';
378378
379+
function getManifestNS(env) {
380+
const bindingName = env.STATIK_MANIFEST_BINDING || 'STATIK_MANIFEST';
381+
const ns = env[bindingName];
382+
if (!ns) {
383+
throw new Error(\`KV namespace binding "\${bindingName}" not found on env\`);
384+
}
385+
return ns;
386+
}
387+
379388
async function readManifest(env) {
380-
const m = await env.STATIK_MANIFEST.get(MANIFEST_KEY);
389+
const ns = getManifestNS(env);
390+
const m = await ns.get(MANIFEST_KEY);
381391
if (!m) return [];
382392
try { return JSON.parse(m); } catch { return []; }
383393
}
384394
385395
async function writeManifest(env, list) {
386-
await env.STATIK_MANIFEST.put(MANIFEST_KEY, JSON.stringify(list));
396+
const ns = getManifestNS(env);
397+
await ns.put(MANIFEST_KEY, JSON.stringify(list));
387398
}
388399
389400
// -------------------------

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": "statikapi",
3-
"version": "0.6.3",
3+
"version": "0.6.4",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/zonayedpca/statikapi",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@statikapi/core",
3-
"version": "0.6.3",
3+
"version": "0.6.4",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/zonayedpca/statikapi",

0 commit comments

Comments
 (0)