Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

chore(deps): bump the go-everything group with 4 updates #327

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the go-everything group with 4 updates: github.com/deepmap/oapi-codegen/v2, github.com/mattn/go-sqlite3, go.6river.tech/gosix and google.golang.org/api.

Updates github.com/deepmap/oapi-codegen/v2 from 2.0.0 to 2.1.0

Release notes

Sourced from github.com/deepmap/oapi-codegen/v2's releases.

v2.1.0: Nullable, external reference improvements, x-order, and many more!

🔊 Notable features

Nullable types

It's possible that you want to be able to determine whether a field isn't sent, is sent as null or has a value.

For instance, if you had the following OpenAPI property:

S:
  type: object
  properties:
    Field:
      type: string
      nullable: true
    required: []

The current behaviour in oapi-codegen is to generate:

type S struct {
	Field *string `json:"field,omitempty"`
}

However, you lose the ability to understand the three cases, as there's no way to distinguish two of the types from each other:

  • is this field not sent? (Can be checked with S.Field == nil)
  • is this field null? (Can be checked with S.Field == nil)
  • does this field have a value? (S.Field != nil && *S.Field == "123")

Therefore, as requested in #1039, this is now possible to represent with the nullable.Nullable type from our new library, oapi-codegen/nullable.

If you configure your generator's Output Options as so:

output-options:
  nullable-type: true

You will now receive the following output:

type S struct {
    Field nullable.Nullable[string] `json:"field,omitempty"`
}

... (truncated)

Commits
  • ad5eada Fix: Ensure external refs are propagated to generated code
  • 3bf5755 Add support for x-order extension (#1190)
  • 5cdb559 Allow disabling type aliases for arrays
  • e5f477d Fixes confusing indentation for example code in README.md (#1414)
  • eb0c4cd Fix typos in test fields and comments (#1287)
  • d1b4504 feat: filter by operation ids (#929)
  • 390058d Fix: Don't use type aliases with external references
  • b5a3855 Add a Schema#IsExternalRef function
  • f0a1be0 Fix: Refer to external refs correctly in strict interfaces
  • d326c01 refactor(cmd): Use os.Exit(1) only from main()
  • Additional commits viewable in compare view

Updates github.com/mattn/go-sqlite3 from 1.14.19 to 1.14.20

Commits

Updates go.6river.tech/gosix from 0.10.36 to 0.10.38

Release notes

Sourced from go.6river.tech/gosix's releases.

v0.10.38

0.10.38 (2024-01-29)

Bug Fixes

  • update deps, use golangci for all linting (26849395)

v0.10.37

0.10.37 (2024-01-29)

Chores

  • deps: bump the go-everything group with 6 updates (ed76a99d)
Commits
  • 2684939 fix: update deps, use golangci for all linting
  • ed76a99 chore(deps): bump the go-everything group with 6 updates
  • See full diff in compare view

Updates google.golang.org/api from 0.159.0 to 0.161.0

Release notes

Sourced from google.golang.org/api's releases.

v0.161.0

0.161.0 (2024-01-30)

Features

Bug Fixes

  • gen: Reject repeated object query params (#2383) (f29f327), refs #2379
  • transport: Skip s2a for now if service has direct path enabled (#2385) (54c764a)

v0.160.0

0.160.0 (2024-01-29)

Features

Changelog

Sourced from google.golang.org/api's changelog.

0.161.0 (2024-01-30)

Features

Bug Fixes

  • gen: Reject repeated object query params (#2383) (f29f327), refs #2379
  • transport: Skip s2a for now if service has direct path enabled (#2385) (54c764a)

0.160.0 (2024-01-29)

Features

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
github.com/mattn/go-sqlite3 [>= 2.a, < 2.999999]

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-everything group with 4 updates: [github.com/deepmap/oapi-codegen/v2](https://github.com/deepmap/oapi-codegen), [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3), [go.6river.tech/gosix](https://github.com/6RiverSystems/gosix) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client).


Updates `github.com/deepmap/oapi-codegen/v2` from 2.0.0 to 2.1.0
- [Release notes](https://github.com/deepmap/oapi-codegen/releases)
- [Commits](oapi-codegen/oapi-codegen@v2.0.0...v2.1.0)

Updates `github.com/mattn/go-sqlite3` from 1.14.19 to 1.14.20
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](mattn/go-sqlite3@v1.14.19...v1.14.20)

Updates `go.6river.tech/gosix` from 0.10.36 to 0.10.38
- [Release notes](https://github.com/6RiverSystems/gosix/releases)
- [Commits](6RiverSystems/gosix@v0.10.36...v0.10.38)

Updates `google.golang.org/api` from 0.159.0 to 0.161.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.159.0...v0.161.0)

---
updated-dependencies:
- dependency-name: github.com/deepmap/oapi-codegen/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-everything
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-everything
- dependency-name: go.6river.tech/gosix
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-everything
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-everything
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 30, 2024
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e5ca1a2) 38.28% compared to head (a440238) 38.28%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #327   +/-   ##
=======================================
  Coverage   38.28%   38.28%           
=======================================
  Files          14       14           
  Lines         525      525           
=======================================
  Hits          201      201           
  Misses        302      302           
  Partials       22       22           

@mgabeler-lee-6rs mgabeler-lee-6rs added this pull request to the merge queue Jan 30, 2024
Merged via the queue into main with commit 2e54818 Jan 30, 2024
8 of 9 checks passed
@mgabeler-lee-6rs mgabeler-lee-6rs deleted the dependabot/go_modules/go-everything-3f6b8496bc branch January 30, 2024 23:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

1 participant