@edgekits/astro-i18n 0.1.4 → 0.1.5
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 +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ 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.5 — 2026-10-15
|
|
8
|
+
|
|
9
|
+
No runtime changes: the `astro-i18n` skill only, found on edgekits.dev.
|
|
10
|
+
|
|
11
|
+
### Skill
|
|
12
|
+
|
|
13
|
+
- 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.
|
|
14
|
+
- 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.
|
|
15
|
+
- The form checklist covers the fragment, the middleware and a reload after a no-JS success.
|
|
16
|
+
|
|
7
17
|
## 0.1.4 — 2026-10-14
|
|
8
18
|
|
|
9
19
|
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.
|
|
3
|
+
"version": "0.1.5",
|
|
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",
|