Skip to content

build(deps): bump zircote/swagger-php from 6.18.0 to 7.0.0 in /upload/api - #68

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/upload/api/zircote/swagger-php-7.0.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/upload/api/zircote/swagger-php-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 2026

Copy link
Copy Markdown
Contributor

Bumps zircote/swagger-php from 6.18.0 to 7.0.0.

Release notes

Sourced from zircote/swagger-php's releases.

7.0.0

Hybrid is now the default mode, and spec attributes are stable. Classic attributes and docblock annotations still work, in hybrid and in classic mode. They are deprecated and removed in 8.0.

Builder is now the entry point for generating a document. In 6.x it was available next to Generator. With Generator deprecated, code that calls it directly moves to Builder.

For most installations upgrading does not require any code changes. Migrating to v7 covers the details.

The default mode

Without a mode set, the document is built in hybrid mode. Hybrid scans the same classic attributes and docblock annotations as classic, so for most projects the document stays the same. The known differences:

  • The output is OpenAPI 3.1.0 instead of 3.0.0. Builder::setVersion('3.0.0') or --version 3.0.0 keeps 3.0.0
  • Components that no path references are removed. cleanup.enabled set to false keeps them
  • A class docblock becomes the description of each schema declared on the class
  • properties declared beside allOf on a nested property stay beside it
  • -c takes augmenter keys rather than processor keys, apart from generator.*

Custom processors only see the annotation instances as scanned in hybrid mode. A project that depends on them can stay on classic with Builder::setMode(Mode::CLASSIC) or --mode classic while the processors are rewritten as augmenters.

Requirements

  • nikic/php-parser ^5.0
  • Symfony components ^5.4 || ^6.4 || ^7.0 || ^8.0

Removed

The elements deprecated for 7.0:

  • LegacyTypeResolver
  • The aliases left at the old names of TokenScanner, Pipeline, SourceFinder and TypeMapper
  • TypeResolverInterface::NATIVE_TYPE_MAP

Deprecated, removed in 8.0

  • Classic attributes and docblock annotations. The Rector set rewrites classic attributes to spec attributes
  • Processors, Generator, Analysis and the analysers. Augmenters and Builder replace them
  • Builder::setMode(), Mode and the CLI's --mode
  • Raw security arrays on spec attributes. SecurityToRequirementRector rewrites them

In 8.0 spec attributes move from OpenApi\Spec to OpenApi\Attributes. For code already written against OpenApi\Spec, that is one use line per file.

What's Changed

Full Changelog: zircote/swagger-php@6.20.0...7.0.0

6.20.2

Hybrid and spec output

... (truncated)

Commits
  • a0ce3c8 docs: one terminology for attributes, annotations and annotating (#2323)
  • 9752589 docs: rewrite the attributes page for spec attributes
  • d9898ac Point the redocly ignore list at the renamed fixtures
  • 111a657 Soften the hybrid output promise and align the processor note
  • 4f436dd Add the corpus findings to the default mode's exceptions
  • f218edd Accept Symfony 5.4 for finder and yaml
  • e506a98 chore(Type): drop the docblock keyword lowercasing
  • 1a67c78 docs: lead with the spec pipeline in under-the-hood and the reference index
  • f0fba0f docs: add the processor examples as augmenters
  • f8e80d4 docs: list the implied enum schema on the shortcuts page
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [zircote/swagger-php](https://github.com/zircote/swagger-php) from 6.18.0 to 7.0.0.
- [Release notes](https://github.com/zircote/swagger-php/releases)
- [Commits](zircote/swagger-php@6.18.0...7.0.0)

---
updated-dependencies:
- dependency-name: zircote/swagger-php
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants