Skip to content

Commit fdb8fa4

Browse files
dmealingclaude
andcommitted
chore(release): 0.21.6 coordinated (npm/PyPI/NuGet 0.21.6 · Maven 7.21.6)
Merges five branches: the ts-poet split-tree duplicate-import fix, four adopter-audit blind-spot closures, the Angular source-only decision, the cross-port `like` ruling, and referential actions on identity.reference. TWO changes alter runtime behaviour on an existing database, and lead the changelog rather than sitting in a list: `like` becomes case-sensitive on Postgres (FR-009 always specified SQL LIKE; only one branch of one HTTP parser disagreed), and the first `meta migrate` after upgrading emits a migration adding ON DELETE actions to live foreign keys (a parent-side composition was silently contributing nothing). Both correct previously-wrong behaviour rather than changing a contract, which is why this is a PATCH — the same call, on the same defect class, as the Java LIKE fix in 0.21.4. ADR numbering: three agents independently wrote ADR-0047. Referential actions keeps 0047 because that string is baked into byte-gated registry attr descriptions; the two documentation-only decisions renumbered to 0048 (Angular) and 0049 (like). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KTGT5ksntpcJDZVJ5VyXHS
1 parent dbd7b86 commit fdb8fa4

35 files changed

Lines changed: 77 additions & 71 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
77

88
## [Unreleased]
99

10+
## [0.21.6] — npm `0.21.6` · PyPI `0.21.6` · NuGet `0.21.6` · Maven `7.21.6`
11+
12+
A coordinated PATCH across all four registries. **Two changes alter runtime behaviour on
13+
an existing database — read these two before upgrading:**
14+
15+
1. **`like` is now case-SENSITIVE on Postgres** (it was dispatching `ILIKE`). FR-009 always
16+
specified SQL `LIKE`, and TS's own persistence drivers were already case-sensitive — only
17+
one branch of one HTTP parser disagreed, so a query returning extra rows today will return
18+
fewer after upgrading. Case-insensitive matching stays available via `?search`; an `ilike`
19+
operator remains deliberately unadded (ADR-0049).
20+
2. **The first `meta migrate` after upgrading emits a migration ADDING `ON DELETE` actions to
21+
live foreign keys.** A parent-side `relationship.composition` was silently contributing no
22+
referential action; it now contributes its subtype default. This changes production delete
23+
semantics — pin `@onDelete: "no-action"` on the reference to keep current DB behaviour
24+
(ADR-0047).
25+
26+
Both are corrections of previously-wrong behaviour rather than contract changes, which is why
27+
this is a PATCH — the same call, on the same class of defect, as the Java `LIKE` fix in 0.21.4.
28+
29+
1030
### Fixed — parent-side `relationship.composition` reaches the child's FK (migrate-ts; ADR-0047)
1131

1232
> **ADOPTER-VISIBLE MIGRATION — production delete semantics change.** After

bun.lock

Lines changed: 24 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/web/packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metaobjectsdev/react",
3-
"version": "0.21.5",
3+
"version": "0.21.6",
44
"description": "React runtime for metaobjects: useEntityForm hook and CurrencyInput component.",
55
"type": "module",
66
"main": "./dist/index.js",

client/web/packages/runtime-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metaobjectsdev/runtime-web",
3-
"version": "0.21.5",
3+
"version": "0.21.6",
44
"description": "Pure framework-agnostic browser core for metaobjects: currency, filter URL serialization, fetcher contract types.",
55
"type": "module",
66
"main": "./dist/index.js",

client/web/packages/tanstack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metaobjectsdev/tanstack",
3-
"version": "0.21.5",
3+
"version": "0.21.6",
44
"description": "TanStack runtime for metaobjects: EntityFetcherProvider, EntityGrid, default cell renderers.",
55
"type": "module",
66
"main": "./dist/index.js",

server/csharp/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
-->
99

1010
<PropertyGroup>
11-
<Version>0.21.5</Version>
11+
<Version>0.21.6</Version>
1212
<Authors>Doug Mealing</Authors>
1313
<Company>Doug Mealing LLC</Company>
1414
<Product>MetaObjects</Product>

server/java/codegen-base/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.metaobjects</groupId>
88
<artifactId>metaobjects</artifactId>
9-
<version>7.21.5</version>
9+
<version>7.21.6</version>
1010
</parent>
1111

1212
<artifactId>metaobjects-codegen-base</artifactId>

server/java/codegen-kotlin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.metaobjects</groupId>
99
<artifactId>metaobjects</artifactId>
10-
<version>7.21.5</version>
10+
<version>7.21.6</version>
1111
</parent>
1212

1313
<artifactId>metaobjects-codegen-kotlin</artifactId>

server/java/codegen-mustache/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.metaobjects</groupId>
88
<artifactId>metaobjects</artifactId>
9-
<version>7.21.5</version>
9+
<version>7.21.6</version>
1010
</parent>
1111

1212
<artifactId>metaobjects-codegen-mustache</artifactId>

server/java/codegen-plantuml/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.metaobjects</groupId>
88
<artifactId>metaobjects</artifactId>
9-
<version>7.21.5</version>
9+
<version>7.21.6</version>
1010
</parent>
1111

1212
<artifactId>metaobjects-codegen-plantuml</artifactId>

0 commit comments

Comments
 (0)