@edgekits/astro-i18n 0.1.4 → 0.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,26 @@ All notable changes to this package are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the package uses
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## 0.1.6 — 2026-10-16
8
+
9
+ No runtime changes: the `astro-i18n` skill only, found on the first one-prompt run for the tutorial.
10
+
11
+ ### Skill
12
+
13
+ - On a one-prompt run the agent treated the documented defaults as answers to the A0 questions the request had not covered, and wrote the config without asking.
14
+ - `SKILL.md` now asks in every mode, only the questions the request has not answered, and applies the defaults only when the user says so.
15
+ - The adoption checklist pins it.
16
+
17
+ ## 0.1.5 — 2026-10-15
18
+
19
+ No runtime changes: the `astro-i18n` skill only, found on edgekits.dev.
20
+
21
+ ### Skill
22
+
23
+ - Forms: the form's `action` carries a fragment (`actions.contact.send + '#contact'`) and the form sits in a wrapper with that `id`, so the no-JS response opens at the form instead of the top of the page. The browser keeps the fragment; the server never sees it.
24
+ - Forms: a new Step 4b adds Post/Redirect/Get for the native path: a pure `redirectAfterNativePost` and a two-line `src/middleware.ts` around `getActionContext`. A successful no-JS submit answers 303 to the page with `?sent=1`, so a reload is a GET and cannot submit twice; an error renders in place. The form reads success from `?sent=1`. The enhanced (RPC) submit is untouched.
25
+ - The form checklist covers the fragment, the middleware and a reload after a no-JS success.
26
+
7
27
  ## 0.1.4 — 2026-10-14
8
28
 
9
29
  No runtime changes: the `astro-i18n` skill only, found while building astro-edgekits-core.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgekits/astro-i18n",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Edge-native i18n for Astro on Cloudflare Workers: translations in Workers KV, a per-namespace edge cache invalidated by the Purge API, and typed keys.",
5
5
  "keywords": [
6
6
  "astro",