Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump knuckleswtf/scribe from 4.25.0 to 4.31.0 #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 21, 2024

Bumps knuckleswtf/scribe from 4.25.0 to 4.31.0.

Release notes

Sourced from knuckleswtf/scribe's releases.

4.31.0

Changelog

4.30.1

Changelog

4.30.0

Changelog

4.29.0

Changelog

4.28.0

Changelog

See the announcement post for more details.

4.27.0

Changelog

4.26.0

Changelog

Changelog

Sourced from knuckleswtf/scribe's changelog.

4.31.0 (20 February 2024)

Last version with support for nikic/php-parser v4

4.29.0 (29 December 2023)

Added

  • More external UIs: Stoplight Elements #780
  • Support try_it_out and logo config options in rapi-doc external UI #780
  • Allow passing of custom HTML attributes to external UIs #780

Fixed

  • Fix config:diff command for tuple configs

4.28.0 (25 December 2023 🎄)

See the announcement post for more details.

Added

  • Support for external UIs: You can now use an external client-side UI such as Scalar. Details in the config reference.
  • Configurable strategies: You can now configure strategies individually, by using the tuple format. A tuple is an array with two elements; the first is the strategy class, and the second is the settings array. For instance, you can configure response calls to only be used on certain endpoints:
    'responses' => [
        Strategies\Responses\UseResponseAttributes::class,
        [
          Strategies\Responses\ResponseCalls::class,
          ['only' => ['GET *']],
        ]
    ],
  • Disable strategies per endpoint: All strategies (including custom strategies) now support the only and except settings, allowing you to specify the routes you want them to be applied to, or the opposite.
    'bodyParameters' => [
      [
        Strategies\BodyParameters\GetFromInlineValidator::class,
        ['except' => ['POST /special-endpoint']],
      ],
      [
        App\Docs\Strategies\SomeCoolStuff::class,
        ['only' => ['POST /cool-endpoint']],
      ],
    ],
  • Easily override returned values: The new override strategy (also a tuple) is a simple way to say "merge these values into the result of other strategies", without having to write a whole strategy. A common use case is for adding headers:
    'headers' => [
        Strategies\Responses\UseHeaderAttribute::class,
        [
          'override',
          [
            'Content-Type' => 'application/json'],
            'Accept' => 'application/json'],
        ]

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [knuckleswtf/scribe](https://github.com/knuckleswtf/scribe) from 4.25.0 to 4.31.0.
- [Release notes](https://github.com/knuckleswtf/scribe/releases)
- [Changelog](https://github.com/knuckleswtf/scribe/blob/master/CHANGELOG.md)
- [Commits](knuckleswtf/scribe@4.25.0...4.31.0)

---
updated-dependencies:
- dependency-name: knuckleswtf/scribe
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 21, 2024
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