@spintax/core 0.1.1 → 0.1.2

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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to `@spintax/core` are documented here. This project adheres to
4
4
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## 0.1.2 — 2026-07-08
7
+
8
+ Docs. No engine or API changes.
9
+
10
+ ### Changed
11
+
12
+ - **Cross-engine parity is now machine-verified.** The shared golden corpus was executed against
13
+ the actual PHP Spintax plugin engine (via the new `packages/conformance/php` runner) — 88 cases,
14
+ no divergence. Upgraded the README claim from "TS side; PHP execution pending" to parity-verified
15
+ against both engines.
16
+
6
17
  ## 0.1.1 — 2026-07-08
7
18
 
8
19
  Docs + metadata. First release published from CI with **provenance** (npm Trusted Publishing).
package/README.md CHANGED
@@ -15,15 +15,16 @@ parse, render, validate, extract, analyze, and neutralize spintax templates.
15
15
 
16
16
  - **Zero runtime dependencies.** Runs unchanged on Cloudflare Workers, Node 18+, and in the browser.
17
17
  - **ESM-first, dual CJS.** Ships `.d.ts` types for both.
18
- - **Built to the [Spintax WordPress plugin](https://wordpress.org/plugins/spintax/)'s behavior
19
- contract** via a shared golden corpus — an *independent* TypeScript implementation, not a
20
- line-by-line port. The TS suite passes the full deterministic corpus; cross-engine execution
21
- of that corpus by the PHP plugin is pending.
18
+ - **Parity-verified against the [Spintax WordPress plugin](https://wordpress.org/plugins/spintax/).**
19
+ An *independent* TypeScript implementation (not a line-by-line port) held to the plugin's behavior
20
+ contract by a shared golden corpus — the **same** fixtures pass against both this engine and the
21
+ PHP plugin (deterministic verdicts, plural buckets, conditionals, `#set` collapse, post-process),
22
+ with no divergence.
22
23
  - **MIT** licensed.
23
24
 
24
- > **Status: `0.1.0`** — first public release. Feature-complete; passes the full deterministic
25
- > golden corpus (encoding the plugin's contract, TS side); the §9.2 API is proven by a reference
26
- > Cloudflare Worker (`examples/worker`).
25
+ > **Status: released & stable.** Feature-complete — parse / render / validate / extract / analyze /
26
+ > neutralize. The deterministic golden corpus passes against **both** this engine and the PHP
27
+ > plugin, and the §9.2 API is proven by a reference Cloudflare Worker (`examples/worker`).
27
28
 
28
29
  ## Install
29
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spintax/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Framework-agnostic spintax / text-spinning engine for JS & TS — turn one LLM-drafted {a|b|c} template into endless deterministic variations. Render, validate, extract. Zero-dependency; Node, Workers, browser.",
5
5
  "keywords": [
6
6
  "spintax",