tina4ruby 3.13.131 → 3.13.133
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/lib/tina4/dev_admin.rb +255 -363
- data/lib/tina4/frond.rb +37 -75
- data/lib/tina4/model_collection.rb +87 -0
- data/lib/tina4/orm.rb +39 -20
- data/lib/tina4/public/js/tina4-dev-admin.min.js +148 -512
- data/lib/tina4/rack_app.rb +4 -1
- data/lib/tina4/version.rb +1 -1
- data/lib/tina4/webserver.rb +120 -138
- data/lib/tina4.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83f372e751a027c81f97a04d5002b5dd756f16d9f94bc9a9b771c820f0878619
|
|
4
|
+
data.tar.gz: 6436d18bc08e5dd6f5b6232feb90a7e2650a728064420f12e505eb279e3b941c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c214ae801254e82779984e62aabf4c07895c45109e25a75a28ea48aecb41aef707edfdbaed6a86db94e458b3bfdf06df783fc1e398bd7e77a1bc7796cc967b8
|
|
7
|
+
data.tar.gz: e98653bdc54a68d5c9c205645651b0b682ce1d23912d5dc437d774161636d09abfe1225fc01366ddcc2f0ad38f69fe2bd9984dc77579541f5876bae41e973c4b
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,96 @@ number means the same thing everywhere.
|
|
|
6
6
|
**The authoritative release notes for every shipped version live in the documentation:**
|
|
7
7
|
https://tina4.com/ruby/36-releases
|
|
8
8
|
|
|
9
|
+
## 3.13.133
|
|
10
|
+
|
|
11
|
+
Maintainability pass, no behavior changes. Swagger.generate decomposed into cohesive
|
|
12
|
+
helpers (Python 64->6, PHP 83->6, Node 52->2 cyclomatic; Ruby already lean) with the
|
|
13
|
+
OpenAPI document byte-for-byte identical. Ruby dev-admin handle_request split from a
|
|
14
|
+
138-branch dispatcher into per-concern methods (CC 138->11); routes, responses, and
|
|
15
|
+
the localhost/auth gate unchanged. Full notes: https://tina4.com/python/36-releases
|
|
16
|
+
|
|
17
|
+
## 3.13.132
|
|
18
|
+
|
|
19
|
+
ORM reads return a ModelCollection carrying the query total (ADR-0064): where,
|
|
20
|
+
select, find (filter form), all, and with_trashed hand back the page of models AND
|
|
21
|
+
the total for the filter, so you paginate without a second query. get_total_records()
|
|
22
|
+
/ to_paginate() (Python, Ruby); getTotalRecords() / toPaginate() (PHP, Node). The
|
|
23
|
+
total reuses the count the query already ran - zero extra queries. Python's
|
|
24
|
+
where(..., with_count=True) tuple is removed; PHP's return type changes from a bare
|
|
25
|
+
array to an array-compatible ModelCollection object (toArray() escape hatch). Also:
|
|
26
|
+
the dev server binds dual-stack loopback so localhost works on Windows; the dev-admin
|
|
27
|
+
agent chat surface is removed and the dashboard no longer self-reloads; Firebird DDL
|
|
28
|
+
no longer reads a row count and Firebird adapters close cleanly on GC (Python); the
|
|
29
|
+
Valkey session handler subclasses Redis and shared fetch/execute/Frond loops are
|
|
30
|
+
hoisted (behaviour unchanged). Full notes: https://tina4.com/python/36-releases
|
|
31
|
+
|
|
32
|
+
## 3.13.131
|
|
33
|
+
|
|
34
|
+
AI skills for a global team: plain English, short replies, effort matched to the
|
|
35
|
+
task, ask-before-guess, and a grounding fallback for tools without the coder server.
|
|
36
|
+
|
|
37
|
+
## 3.13.130
|
|
38
|
+
|
|
39
|
+
AI skills discipline pass: objective on ideas (disagree when a design is weak),
|
|
40
|
+
claim only what was verified, and chat instead of narrate.
|
|
41
|
+
|
|
42
|
+
## 3.13.129
|
|
43
|
+
|
|
44
|
+
tina4 generate model stops silently pluralising a reserved-word table. It prints a
|
|
45
|
+
note and offers --table-name, so a downstream route or query does not fail with no
|
|
46
|
+
clue the table was renamed.
|
|
47
|
+
|
|
48
|
+
## 3.13.128
|
|
49
|
+
|
|
50
|
+
tina4 lint: one command runs the project linter (ruff, phpcs, rubocop, or eslint),
|
|
51
|
+
installs it as a dev dependency on demand, and falls back to a zero-dependency syntax
|
|
52
|
+
baseline with --no-install.
|
|
53
|
+
|
|
54
|
+
## 3.13.127
|
|
55
|
+
|
|
56
|
+
A bare TRUE or FALSE now reaches SQL Server and Firebird as 1/0 in every framework.
|
|
57
|
+
Node, PHP and Ruby had skipped the boolean translation on SQL Server, and Ruby on
|
|
58
|
+
Firebird too.
|
|
59
|
+
|
|
60
|
+
## 3.13.126
|
|
61
|
+
|
|
62
|
+
The fake-data seeder reads the column name: a products.name column fills with product
|
|
63
|
+
names, not person names.
|
|
64
|
+
|
|
65
|
+
## 3.13.125
|
|
66
|
+
|
|
67
|
+
Scaffolded migrations apply on every engine. tina4 generate migration wrote
|
|
68
|
+
SQLite-only DDL (TEXT, REAL, CREATE TABLE IF NOT EXISTS); the generators now emit
|
|
69
|
+
engine-correct types so a migration runs on Firebird and the rest.
|
|
70
|
+
|
|
71
|
+
## 3.13.124
|
|
72
|
+
|
|
73
|
+
The database session backend works on Firebird in all four frameworks, with a
|
|
74
|
+
session-engine test in each so the gap cannot reopen.
|
|
75
|
+
|
|
76
|
+
## 3.13.123
|
|
77
|
+
|
|
78
|
+
tina4 generate queue <topic> returns the generate_v1_1 envelope: edit_hints[] naming
|
|
79
|
+
the handler line to fill and next[] naming what to run after.
|
|
80
|
+
|
|
81
|
+
## 3.13.122
|
|
82
|
+
|
|
83
|
+
The default Content-Security-Policy (default-src 'self') no longer fails silently:
|
|
84
|
+
when an app relies on something the policy blocks, the framework surfaces it instead
|
|
85
|
+
of leaving a blank page.
|
|
86
|
+
|
|
87
|
+
## 3.13.121
|
|
88
|
+
|
|
89
|
+
Every migration surface speaks the ADR-0063 generate_v1_1 envelope - the CLI
|
|
90
|
+
migrate:create, the MCP migration_create, and the rest, not just tina4 generate
|
|
91
|
+
migration. Adds a pre-tag release guard.
|
|
92
|
+
|
|
93
|
+
## 3.13.120
|
|
94
|
+
|
|
95
|
+
Scaffolding envelope v1.1 (ADR-0063): every tina4 generate verb reports what to edit
|
|
96
|
+
next and what to do after, not just where files went. Introduces the tina4-architect
|
|
97
|
+
skill.
|
|
98
|
+
|
|
9
99
|
## 3.13.119
|
|
10
100
|
|
|
11
101
|
Skill repair by @MichaelC8E (#44, merged as c1b8c43d5) plus a
|