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 github.com/pb33f/libopenapi from 0.18.4 to 0.18.6 #205

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 30, 2024

Bumps github.com/pb33f/libopenapi from 0.18.4 to 0.18.6.

Release notes

Sourced from github.com/pb33f/libopenapi's releases.

v0.18.6

Solves issue pb33f/libopenapi#333

  • Accessing GetAllComponentSchemas causes a race condition error during usage.
  • Adds a RWLock to ensure that the map object is safely created across go routines. This pattern is used for other similar fields

Add nil check on Document Render to avoid panic

Expanded the existing check during Render to generally check for a nil highOpenAPI3Model, with more specific error message depending on if it's Swagger or not.

Also added a check for the info which is a pointer, so could technically be nil. Added a test case to ensure we error. Without my changes the test panics which we're trying to avoid.

Fix: resolve remote relative refs correctly

Some deep dark glitches in the index resulted in some random relative $ref's being missed under certain edge conditions.


This release was 100% provided by the community


@​califlower @​inFocus7 @​felixjung

v0.18.5

Added a high level model cache that prevents the over production of schemas when walking the model.

A new cache interface and implementation have been added to index, so the cache design can be re-used anywhere else its needed as we work towards cleaning up memory use.

Commits
  • 27d7834 Bump project coverage
  • c8c2d35 Ensure URL paths don't use Windows backslashes
  • 87abac5 Remove error message check
  • a165dcd Ensure external indexes are added to indexes
  • 84ee059 Remove remote file from processing only after building index
  • 4f962a6 Add comments for documentation
  • f8424af Cleanup
  • c4d11e8 Strip trailing slashes from BaseURL
  • 966d379 Document that BaseURL should not lead to a file
  • 5fbecd0 Add bundler test cases
  • 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 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 [github.com/pb33f/libopenapi](https://github.com/pb33f/libopenapi) from 0.18.4 to 0.18.6.
- [Release notes](https://github.com/pb33f/libopenapi/releases)
- [Commits](pb33f/libopenapi@v0.18.4...v0.18.6)

---
updated-dependencies:
- dependency-name: github.com/pb33f/libopenapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner October 30, 2024 13:57
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 30, 2024
@austinvalle austinvalle merged commit 6122150 into main Oct 31, 2024
3 checks passed
@austinvalle austinvalle deleted the dependabot/go_modules/github.com/pb33f/libopenapi-0.18.6 branch October 31, 2024 17:04
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant