projectsyn / lieutenant-api

The Project Syn Kubernetes Cluster and Tenants Inventory API
https://docs.syn.tools/lieutenant-api/
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Update module github.com/deepmap/oapi-codegen/v2 to v2.3.0 #221

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/deepmap/oapi-codegen/v2 v2.1.0 -> v2.3.0 age adoption passing confidence

Release Notes

deepmap/oapi-codegen (github.com/deepmap/oapi-codegen/v2) ### [`v2.3.0`](https://togithub.com/oapi-codegen/oapi-codegen/releases/tag/v2.3.0): Updates related to repository move [Compare Source](https://togithub.com/deepmap/oapi-codegen/compare/v2.2.0...v2.3.0) With this version, `oapi-codegen` consolidates all code under `github.com/oapi-codegen`. When you install the core tool, please use this new location, `github.com/oapi-codegen/oapi-codegen/v2` starting with version `v2.3.0`, but continue to use `github.com/deepmap/oapi-codegen/v2` with any earlier release. This release contains changes to import paths, go.mod and the README. #### What's Changed - chore(deps): update middleware dependencies by [@​jamietanna](https://togithub.com/jamietanna) in [https://github.com/oapi-codegen/oapi-codegen/pull/1636](https://togithub.com/oapi-codegen/oapi-codegen/pull/1636) - Rename module post-move by [@​mromaszewicz](https://togithub.com/mromaszewicz) in [https://github.com/oapi-codegen/oapi-codegen/pull/1643](https://togithub.com/oapi-codegen/oapi-codegen/pull/1643) - Update README by [@​mromaszewicz](https://togithub.com/mromaszewicz) in [https://github.com/oapi-codegen/oapi-codegen/pull/1646](https://togithub.com/oapi-codegen/oapi-codegen/pull/1646) - Update readme with install instrctions by [@​mromaszewicz](https://togithub.com/mromaszewicz) in [https://github.com/oapi-codegen/oapi-codegen/pull/1652](https://togithub.com/oapi-codegen/oapi-codegen/pull/1652) **Full Changelog**: https://github.com/oapi-codegen/oapi-codegen/compare/v2.2.0...v2.3.0 ### [`v2.2.0`](https://togithub.com/oapi-codegen/oapi-codegen/releases/tag/v2.2.0): : Pure-Go 1.22+ server, documentation overhaul. JSON schema and several bug fixes [Compare Source](https://togithub.com/deepmap/oapi-codegen/compare/v2.1.0...v2.2.0) #### Big announcements In case you've missed it, we've got a few big announcements as maintainers of `oapi-codegen` which we'd recommend you read in more depth. - [`oapi-codegen` is moving to its own org ](https://togithub.com/deepmap/oapi-codegen/discussions/1605) - This is from release v2.3.0, but will be enacted likely before you get a chance to read these release notes, as we want to migrate everything to the same org ASAP - [Creating a more sustainable model for `oapi-codegen` in the future](https://togithub.com/deepmap/oapi-codegen/discussions/1606) - Please consider looking at sponsoring the maintenance that we do on the project. We'd also like to thank our sponsors for this release: DevZero logo #### 🔊 Notable features The v2.2.0 release was largely focussed on the following big changes, alongside a number of other bug fixes. ##### Generate a pure Go 1.22+ `net/http` server With Go 1.22+'s [enhanced routing](https://go.dev/blog/routing-enhancements), it's now easier than ever to be able to write a pure-Go HTTP service, and thanks to a contribution from [@​thedadams](https://togithub.com/thedadams) we now have a `std-http-server`, further documented in [the Supported Servers section in the README](https://togithub.com/deepmap/oapi-codegen/blob/v2.2.0/README.md#supported-servers). > \[!NOTE] > Not seeing this working, i.e. seeing a `404 page not found`? Make sure that the `go` directive in your project's `go.mod` is updated! > > [In the future](https://togithub.com/deepmap/oapi-codegen/issues/1628) we're going to see if we can preemptively warn you if you're not quite set up correctly. ##### Documentation overhaul A *significant* undertaking in this release was to rewrite pretty much every line of documentation we had, as well as introducing a number of additional examples and test cases. We're excited to hear your feedback on the new structure of the README, the additional docs added, and whether there are any additional examples that may be of use. ##### JSON Schema configuration In the spirit of documentation, we now also have [a JSON schema](https://togithub.com/deepmap/oapi-codegen/blob/v2.2.0/configuration-schema.json) which can be found further documented in the [Usage section in the README](https://togithub.com/deepmap/oapi-codegen/blob/v2.2.0/README.md#usage). This not only gives a separate definition of fields and their meaning, but it can be used with IDEs for autocompletion and validation, allowing for a much better Developer Experience. ##### kin-openapi upgrade A few big upgrades have come in [kin-openapi](https://togithub.com/getkin/kin-openapi), which we use for the underlying OpenAPI parsing and validation, which included a significant breaking change that meant that consumers of `oapi-codegen` couldn't upgrade the kin-openapi version until we had made changes in `oapi-codegen`. This has additionally been set up [as an FAQ](https://togithub.com/deepmap/oapi-codegen/blob/v2.2.0/README.md#ive-just-updated-my-version-of-kin-openapi-and-now-i-cant-build-my-code-) as it's one we commonly get. #### 🚀 New features and improvements - feat: add ability to tweak generated names (including use of initialisms) ([#​1041](https://togithub.com/deepmap/oapi-codegen/issues/1041)) [@​wtertius](https://togithub.com/wtertius) - docs: revamp README, add a CONTRIBUTING.md and add a JSON Schema for configuration files ([#​1485](https://togithub.com/deepmap/oapi-codegen/issues/1485)) [@​jamietanna](https://togithub.com/jamietanna) - feat: add support for Go 1.22+ net/http routing ([#​1475](https://togithub.com/deepmap/oapi-codegen/issues/1475)) [@​thedadams](https://togithub.com/thedadams) #### 🐛 Bug fixes - Bug: using x-go-type-name results in missing types ([#​1397](https://togithub.com/deepmap/oapi-codegen/issues/1397)) [@​jamesphillpotts-fr](https://togithub.com/jamesphillpotts-fr) - fix: correctly register Fiber middleware ([#​1615](https://togithub.com/deepmap/oapi-codegen/issues/1615)) [@​jamietanna](https://togithub.com/jamietanna) - fix: ensure we pre-import `nullable` ([#​1585](https://togithub.com/deepmap/oapi-codegen/issues/1585)) [@​jamietanna](https://togithub.com/jamietanna) - Prefactor: Changes from [#​1475](https://togithub.com/deepmap/oapi-codegen/issues/1475) ([#​1480](https://togithub.com/deepmap/oapi-codegen/issues/1480)) [@​jamietanna](https://togithub.com/jamietanna) - Ensure docstring comment names are set correctly ([#​1457](https://togithub.com/deepmap/oapi-codegen/issues/1457)) [@​ConorPKeegan](https://togithub.com/ConorPKeegan) #### 📝 Documentation updates - docs(sponsors): add a Sponsors section in README ([#​1635](https://togithub.com/deepmap/oapi-codegen/issues/1635)) [@​jamietanna](https://togithub.com/jamietanna) - docs(examples): document how to set up authenticated middleware with a non-`echo` server ([#​1627](https://togithub.com/deepmap/oapi-codegen/issues/1627)) [@​jamietanna](https://togithub.com/jamietanna) - docs(extensions): add missing `x-go-type-name` docs ([#​1616](https://togithub.com/deepmap/oapi-codegen/issues/1616)) [@​jamietanna](https://togithub.com/jamietanna) - chore: log warning when using 3.1.x ([#​1592](https://togithub.com/deepmap/oapi-codegen/issues/1592)) [@​jamietanna](https://togithub.com/jamietanna) - docs: link to blog post for syncing vendored specs ([#​1580](https://togithub.com/deepmap/oapi-codegen/issues/1580)) [@​jamietanna](https://togithub.com/jamietanna) - docs: correct `std-http-server` example ([#​1576](https://togithub.com/deepmap/oapi-codegen/issues/1576)) [@​sajjanjyothi](https://togithub.com/sajjanjyothi) - docs: revamp README, add a CONTRIBUTING.md and add a JSON Schema for configuration files ([#​1485](https://togithub.com/deepmap/oapi-codegen/issues/1485)) [@​jamietanna](https://togithub.com/jamietanna) - docs: update OpenAPI spec links to `main` branch ([#​1493](https://togithub.com/deepmap/oapi-codegen/issues/1493)) [@​dharsanb](https://togithub.com/dharsanb) - Add Fiber example in README ([#​1495](https://togithub.com/deepmap/oapi-codegen/issues/1495)) [@​alexandregv](https://togithub.com/alexandregv) - Prefactor: Changes from [#​1475](https://togithub.com/deepmap/oapi-codegen/issues/1475) ([#​1480](https://togithub.com/deepmap/oapi-codegen/issues/1480)) [@​jamietanna](https://togithub.com/jamietanna) - docs: use relative links to files ([#​1471](https://togithub.com/deepmap/oapi-codegen/issues/1471)) [@​alexandear](https://togithub.com/alexandear) #### 👻 Maintenance - chore: add missing test case for replaceInitialism ([#​1624](https://togithub.com/deepmap/oapi-codegen/issues/1624)) [@​alexandear](https://togithub.com/alexandear) - Simplify extensions merge in `mergeOpenapiSchemas` ([#​1424](https://togithub.com/deepmap/oapi-codegen/issues/1424)) [@​Juneezee](https://togithub.com/Juneezee) - chore: log warning when using 3.1.x ([#​1592](https://togithub.com/deepmap/oapi-codegen/issues/1592)) [@​jamietanna](https://togithub.com/jamietanna) - refactor: extension variable instead of accessing extensions directly ([#​1448](https://togithub.com/deepmap/oapi-codegen/issues/1448)) [@​alexandear](https://togithub.com/alexandear) - chore(deps): remove dependency on `golang.org/x/lint` ([#​1588](https://togithub.com/deepmap/oapi-codegen/issues/1588)) [@​jamietanna](https://togithub.com/jamietanna) - docs: revamp README, add a CONTRIBUTING.md and add a JSON Schema for configuration files ([#​1485](https://togithub.com/deepmap/oapi-codegen/issues/1485)) [@​jamietanna](https://togithub.com/jamietanna) - chore: add test case for `additionalProperties` bug ([#​1528](https://togithub.com/deepmap/oapi-codegen/issues/1528)) [@​jamietanna](https://togithub.com/jamietanna) - Prefactor: Build changes for [#​1475](https://togithub.com/deepmap/oapi-codegen/issues/1475) ([#​1482](https://togithub.com/deepmap/oapi-codegen/issues/1482)) [@​jamietanna](https://togithub.com/jamietanna) - Prefactor: Changes from [#​1475](https://togithub.com/deepmap/oapi-codegen/issues/1475) ([#​1480](https://togithub.com/deepmap/oapi-codegen/issues/1480)) [@​jamietanna](https://togithub.com/jamietanna) - Simplify CI build matrix + build against Go 1.22 ([#​1459](https://togithub.com/deepmap/oapi-codegen/issues/1459)) [@​jamietanna](https://togithub.com/jamietanna) #### 📦 Dependency updates
16 changes - fix(deps): update module golang.org/x/tools to v0.21.0 ([#​1601](https://togithub.com/deepmap/oapi-codegen/issues/1601)) [@​renovate](https://togithub.com/renovate) - fix(deps): update module github.com/getkin/kin-openapi to v0.124.0 ([#​1532](https://togithub.com/deepmap/oapi-codegen/issues/1532)) [@​renovate](https://togithub.com/renovate) - chore(deps): update module github.com/golangci/golangci-lint to v1.59.0 ([#​1625](https://togithub.com/deepmap/oapi-codegen/issues/1625)) [@​renovate](https://togithub.com/renovate) - chore(deps): update module github.com/golangci/golangci-lint to v1.58.2 ([#​1618](https://togithub.com/deepmap/oapi-codegen/issues/1618)) [@​renovate](https://togithub.com/renovate) - chore(deps): update module github.com/golangci/golangci-lint to v1.58.1 ([#​1603](https://togithub.com/deepmap/oapi-codegen/issues/1603)) [@​renovate](https://togithub.com/renovate) - fix(deps): update module golang.org/x/text to v0.15.0 ([#​1591](https://togithub.com/deepmap/oapi-codegen/issues/1591)) [@​renovate](https://togithub.com/renovate) - chore(deps): update module github.com/golangci/golangci-lint to v1.58.0 ([#​1586](https://togithub.com/deepmap/oapi-codegen/issues/1586)) [@​renovate](https://togithub.com/renovate) - fix(deps): update module golang.org/x/tools to v0.20.0 ([#​1531](https://togithub.com/deepmap/oapi-codegen/issues/1531)) [@​renovate](https://togithub.com/renovate) - fix(deps): update module golang.org/x/tools to v0.19.0 ([#​1289](https://togithub.com/deepmap/oapi-codegen/issues/1289)) [@​renovate](https://togithub.com/renovate) - fix(deps): update module github.com/getkin/kin-openapi to v0.123.0 ([#​1431](https://togithub.com/deepmap/oapi-codegen/issues/1431)) [@​renovate](https://togithub.com/renovate) - chore(deps): update module github.com/golangci/golangci-lint to v1.57.2 ([#​1466](https://togithub.com/deepmap/oapi-codegen/issues/1466)) [@​renovate](https://togithub.com/renovate) - fix(deps): update module github.com/stretchr/testify to v1.9.0 ([#​1479](https://togithub.com/deepmap/oapi-codegen/issues/1479)) [@​renovate](https://togithub.com/renovate) - chore(deps): update actions/checkout action to v4 ([#​1290](https://togithub.com/deepmap/oapi-codegen/issues/1290)) [@​renovate](https://togithub.com/renovate) - chore(deps): update actions/setup-go action to v5 ([#​1375](https://togithub.com/deepmap/oapi-codegen/issues/1375)) [@​renovate](https://togithub.com/renovate) - Update release-drafter/release-drafter action to v6 ([#​1453](https://togithub.com/deepmap/oapi-codegen/issues/1453)) [@​renovate](https://togithub.com/renovate) - Update module github.com/golangci/golangci-lint to v1.56.1 ([#​1455](https://togithub.com/deepmap/oapi-codegen/issues/1455)) [@​renovate](https://togithub.com/renovate)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 3 months ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: github.com/deepmap/oapi-codegen/v2@v2.3.0: parsing go.mod:
    module declares its path as: github.com/oapi-codegen/oapi-codegen/v2
            but was required as: github.com/deepmap/oapi-codegen/v2