Skip to content

fix: address 24 Payload read, schema, version and tooling reports - #9

Merged
ivan-fr merged 5 commits into
mainfrom
fix/payload-six-issues-20261110
Nov 11, 2026
Merged

ivan-fr merged 5 commits into
mainfrom
fix/payload-six-issues-20261110

Conversation

@ivan-fr

@ivan-fr ivan-fr commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

What and why

This branch addresses 24 official Payload reports affecting localized previews, relationship projections, version restoration and ordering, JSON schemas, exports, and developer tooling. For example, a published child read in preview now uses its parent's pending slug; recursive JSON-field schemas generate types without losing their own reference scope; and a generated PostgreSQL project gets a PostgreSQL Compose service.

The branch includes five code/configuration fixes and a verification-API documentation correction in the latest batch, plus the previous 18 reports. Optional retry jitter and Stripe amount resolution preserve existing defaults.

Reports and implementation

Batch Changes Official reports
34 Armenian dates, flattened localized preview, block join reuse, unwritten locales, tied version ordering, complete CSV columns #19481, #19479, #19459, #17406, #19451, #19140
35 Virtual-hook dependencies, immutable-field restore, JSON transforms, optional jitter/custom Stripe amount, draft backfill guide #15959, #16718, #19401, #16318, #15784, #16730
36 Nested request contexts, callback defaults, date validator types, Next peer warning, public multipart parser, PostGIS guide #10250, #11871, #10605, #17119, #10125, #17262
37 Hierarchy draft intent/cache separation, scoped JSON references, custom auth metadata, Postgres scaffolding, locale-owned breadcrumb IDs, verification documentation #17223, #11383, #11580, #12764, #16054, #14682

Each linked report records reproduction evidence, controls and scope. Already-correct cases were excluded from the report count. Upstream issues are linked for traceability; this PR targets the fork's main.

Validation

  • Complete unit project: 4,777 passed, 4 skipped, 542 passing files and one skipped file.
  • Latest review: 82 integration executions — batches 34–37 on numeric SQLite (23), plus the full hierarchy suite and batches 34–37 through the PostgreSQL adapter via PGlite/custom schema (59). The final capability-aware batch 36 test was rerun separately (4 passed). Earlier UUID SQLite batch 37 coverage also passed (4 cases).
  • Core, ecommerce, nested-docs and UI declaration builds; create-payload-app TypeScript check; earlier date-validator TSTyche assertions and documentation-snippet compilation.
  • An actual generated-project regression, custom-route metadata controls, recursive JSON validation and breadcrumb-ID stability controls.
  • Targeted lint/formatting and local official SonarJS complexity/nesting checks pass. Existing warnings in unchanged expressions are documented.
  • Earlier Next SWC/CommonJS bundle and published-layout smoke tests passed. No workflow, committed timeout or existing test was weakened.

PGlite is not a native PostgreSQL server. No native MongoDB/PostgreSQL/PostGIS, D1, Docker startup, live Stripe charge, full production Admin/browser/assistive-technology run, or corrected-head SonarCloud gate is claimed. Metadata tests verify generator routing; rendered page titles/favicons still need application-level verification. See the batch reports for the remaining limits.

Accessibility source review covers title routing (WCAG 2.4.2) and preserved breadcrumb semantics/labels (1.3.1, 1.3.2, 2.4.4, 2.4.6); this does not establish product conformance.

CI review corrections

The initial hosted integration matrix exposed missing draft intent in all-locale hierarchy ancestor reads, absent hasMany relationship restoration under MongoDB, a localized-status fixture shape error, and a rollback assumption for adapters with transactions disabled. These are corrected; the rollback test still runs on every adapter and checks the adapter's actual capability. All existing transactional rollback assertions remain.

The original SonarCloud gate passed with three redundant optional-type warnings. Those declarations are corrected and checked locally with the type-aware SonarJS rule. Another 76 focused Stripe/JSON-schema tests pass. The updated commit's hosted CI and SonarCloud analysis remain pending.

See PR 9 review for evidence and limits, including the unavailable local native MongoDB execution.

Address payloadcms/payload reports payloadcms#19481, payloadcms#19479, payloadcms#19459, payloadcms#17406,
payloadcms#19451 and payloadcms#19140 on a new branch from fork main.

Add regressions reproduced against the base revision, integration coverage
for SQLite and PostgreSQL adapters, and a batch report with validation
and CSV buffering/version concurrency limits.
Address payloadcms/payload reports payloadcms#15959, payloadcms#16718, payloadcms#19401, payloadcms#16318,
payloadcms#15784 and payloadcms#16730 on the existing branch.

Fix hook-dependent virtual values, immutable restore validation and JSON
schema transforms. Add opt-in retry jitter and Stripe charge resolution,
plus an executed and type-checked draft-backfill guide.

Validation and native-service limits are recorded in batch-35.md.
Address payloadcms/payload payloadcms#10250, payloadcms#11871, payloadcms#10605, payloadcms#17119, payloadcms#10125
and payloadcms#17262 on the existing November 10 branch.

Isolate explicit nested contexts and population caches, clone callback
defaults before row mutation, and correct date validator input types.
Add an advisory Next peer-version warning, expose the multipart parser,
and document PostGIS setup.

Validation: 4,749 unit tests, 27 integration executions, affected package
declarations, actual doc snippet types, TSTyche and CJS smoke checks.
Scoped local SonarJS and lint/format checks are documented in batch-36.md.
Address payloadcms/payload payloadcms#17223, payloadcms#11383, payloadcms#11580, payloadcms#12764, payloadcms#16054
and payloadcms#14682 on the existing November 10 branch.

Honor hierarchy draft intent and separate ancestor caches, scope JSON
field references for type generation, route custom auth metadata, adapt
Postgres Compose scaffolding, preserve localized breadcrumb ID ownership,
and clarify verification API errors.

Validation: 4,775 unit tests, 31 integration executions, affected package
types, generated-project regression, formatting, lint and scoped SonarJS.
Evidence and native-service limits are recorded in batch-37.md.
@sonarqubecloud

Copy link
Copy Markdown

@ivan-fr
ivan-fr merged commit a4c49a8 into main Nov 11, 2026
325 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant