Skip to content

chore: upgrade api-resource-schema to 0.0.19 - #17

Merged
jrseliga merged 1 commit into
mainfrom
upgrade-api-resource-schema-to-0.0.17
Aug 12, 2026
Merged

chore: upgrade api-resource-schema to 0.0.19#17
jrseliga merged 1 commit into
mainfrom
upgrade-api-resource-schema-to-0.0.17

Conversation

@jrseliga

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings August 12, 2026 14:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s schema/resource tooling to align with aryeo/api-resource-schema 0.0.18, including the new versioned-schema configuration pattern used by the upstream package.

Changes:

  • Bump aryeo/api-resource-schema (and related tooling packages) to newer versions and refresh composer.lock.
  • Add a test fixture ApiVersion enum and apply schema versioning via the new #[Version(...)] attribute in fixture resources.
  • Wire schema version selection into the local make:resource wrapper and test configuration.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/Fixtures/Support/Schemas/ApiVersion.php Adds a fixture Version enum used to configure schema-version support in tests.
tests/Fixtures/Support/Http/Api/Resources/Json/Posts.php Updates Collects attribute import path to match the upgraded package structure.
tests/Fixtures/Support/Http/Api/Resources/Json/Post.php Adds #[Version(...)] and updates attribute imports to match the upgraded package structure.
testbench.yaml Removes the file that previously only exported tooling path env vars.
src/Support/Http/Api/Console/Commands/MakeResource/MakeResourceTest.php Configures api-resource-schema.version for tests using WithConfig.
src/Support/Http/Api/Console/Commands/MakeResource/MakeResource.php Passes --schema-version through to the upstream make-resource command.
composer.json Updates dependency versions and migrates tooling config into extra.tooling (paths/rules).
composer.lock Locks updated dependency graph resulting from the upgrade.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jrseliga
jrseliga marked this pull request as draft August 12, 2026 15:14
@jrseliga
jrseliga force-pushed the upgrade-api-resource-schema-to-0.0.17 branch from ef7f570 to bddd764 Compare August 12, 2026 15:22
@jrseliga
jrseliga marked this pull request as ready for review August 12, 2026 15:23
@jrseliga
jrseliga enabled auto-merge August 12, 2026 15:23
@jrseliga
jrseliga force-pushed the upgrade-api-resource-schema-to-0.0.17 branch from bddd764 to c99353e Compare August 12, 2026 15:27
@jrseliga
jrseliga marked this pull request as draft August 12, 2026 15:45
auto-merge was automatically disabled August 12, 2026 15:45

Pull request was converted to draft

@jrseliga jrseliga changed the title chore: upgrade api-resource-schema to 0.0.18 chore: upgrade api-resource-schema to 0.0.19 Aug 12, 2026
@jrseliga
jrseliga force-pushed the upgrade-api-resource-schema-to-0.0.17 branch from 3e3b8b9 to bbb36e8 Compare August 12, 2026 16:00
@jrseliga
jrseliga force-pushed the upgrade-api-resource-schema-to-0.0.17 branch from 559d997 to b6470d3 Compare August 12, 2026 16:28
@jrseliga
jrseliga marked this pull request as ready for review August 12, 2026 16:32
@jrseliga
jrseliga enabled auto-merge August 12, 2026 16:32
@jrseliga
jrseliga requested a lite review from Copilot August 12, 2026 16:38
@jrseliga
jrseliga added this pull request to the merge queue Aug 12, 2026
Merged via the queue into main with commit 75576c5 Aug 12, 2026
6 checks passed
@jrseliga
jrseliga deleted the upgrade-api-resource-schema-to-0.0.17 branch August 12, 2026 16:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 18 changed files in this pull request and generated 1 comment.

Comment on lines 38 to 43
[
'name' => $this->entity->name->toString(),
'--namespace' => $namespace,
'--schema-version' => $this->apiVersion->toString(),
'--force' => $this->option('force'),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants