Tags: thecodingmachine/graphqlite
Tags
docs: rename annotations-reference to attributes-reference (#800) * docs: rename annotations-reference to attributes-reference Doctrine annotation support was dropped in #677; the page's body has been calling these "attributes" for a long time. Bring the filename and URL slug in line so the whole stack uses consistent terminology. What changed - website/docs/annotations-reference.md → attributes-reference.md (plus frontmatter `id` and sidebars.json entry) - versioned_docs/version-8.0.0/ gets the same rename since 8.0.0 is the current stable release served at `/docs/annotations-reference`. Older versioned_docs are frozen snapshots and are left untouched. - versioned_sidebars/version-8.0.0-sidebars.json updated to match. - Incoming link in authentication-authorization.mdx updated (both the `next` and v8.0.0 copies). - CHANGELOG.md and migrating.md link paths updated (both copies). Anchor fragments were already stale (sections were renamed from `## @input annotation` → `## #[Input]` long ago); repointed them at the current slugs where the anchor identifies the attribute unambiguously, and stripped the dead `-annotation` suffix. Backwards compatibility - Added `@docusaurus/plugin-client-redirects` (pinned to the existing 2.4.3 line) with a single rule: `/docs/annotations-reference` → `/docs/attributes-reference`. External inbound links keep working (meta-refresh + JS redirect, preserves the URL fragment). Remaining prose cleanup While touching this area, also fixed a few stale "annotation" prose references that the Doctrine removal missed: - custom-types.mdx: "in the following annotations:" → "attributes:" - semver.md: "through its annotations"/"custom annotations" → attributes - argument-resolving.md: stale `@Autowire annotation` and related wording in the parameter-middleware example Verified via `yarn build`: site compiles clean, redirect HTML emitted at build/docs/annotations-reference/index.html pointing at the new canonical URL. * docs: revert v8.0.0 edits and cut v8.2.0 snapshot instead Follow-up to review feedback: v8.0.0 is a frozen release snapshot and shouldn't be edited to reflect unreleased terminology. Restore all v8.0.0 versioned_docs files to their state at release time (matches origin/master exactly). Instead, cut a new v8.2.0 docs snapshot via `yarn docusaurus docs:version 8.2.0`. That captures the current `docs/` state — including the rename, the prose cleanup, and unreleased features like #[EnumValue] (#793) — as a new versioned release. 8.2.0 becomes the new "latest" (first in versions.json), so `/docs/*` now serves from it and the redirect target `/docs/attributes-reference` is valid. Result: - /docs/annotations-reference → redirects to /docs/attributes-reference - /docs/attributes-reference → v8.2.0 (new latest) - /docs/8.0.0/annotations-reference → v8.0.0 snapshot, frozen, unchanged - /docs/next/attributes-reference → docs/ preview Minor docs-version snapshots are established convention in this project (6.1, 4.3, 4.2, 4.1 are all on record), so cutting 8.2.0 alongside this rename does not break norms. Build verified: `yarn build` passes; redirect HTML emitted at build/docs/annotations-reference/index.html; v8.0.0 snapshot diffs to origin/master as zero.
Resolved built-in scalar type resolution in BaseTypeMapper::mapNameTo… …Type (#784) webonyx/graphql-php v15.31.0 changed Schema::getType() to call the typeLoader callback before checking built-in scalars. Since the RootTypeMapper chain throws TypeNotFoundException for unrecognized type names, built-in scalars like ID, String, Int, Float, and Boolean were never reached, causing "Unknown type" errors when used in outputType annotations (e.g. #[Field(outputType: 'ID')]).
fix: validate files in FilesSnapshot before processing (#772) Add check to ensure each file is valid before processing. Without this change filemtime throws an error if the file doesn't exist but is part of cache, which is very common in dev environment. For production it won't matter since is_file is cached, for some reason is_file is also faster than file_exists. Symfony codebase also prefers is_file over file_exists when checking existence of php file.
Bump codecov/codecov-action from 5.4.3 to 5.5.0 (#755) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.3 to 5.5.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v5.4.3...v5.5.0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 5.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext