tina4-nodejs 3.11.18 → 3.11.19

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/CLAUDE.md CHANGED
@@ -529,7 +529,7 @@ const rows = cache.remember(key, 60, () => db.execute(sql, params));
529
529
  ```typescript
530
530
  export const template = "page.twig"; // renders src/templates/page.twig
531
531
  ```
532
- The route handler provides data; the template renders the HTML. Use `res.template("name.twig", data)` for programmatic template rendering.
532
+ The route handler provides data; the template renders the HTML. Use `res.render("name.twig", data)` for programmatic template rendering. Matches Python `response.render()`, PHP `$response->render()`, Ruby `response.render` — same method name across all four frameworks.
533
533
 
534
534
  ### Model Files
535
535
  - Located in `src/models/`
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- "version": "3.11.18",
6
+ "version": "3.11.19",
7
7
 
8
8
  "type": "module",
9
9
  "description": "Tina4 for Node.js/TypeScript — 54 built-in features, zero dependencies",