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 the go-mod group with 2 updates #1

Merged
merged 1 commit into from
May 7, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 7, 2024

Bumps the go-mod group with 2 updates: github.com/ggicci/httpin and github.com/stretchr/testify.

Updates github.com/ggicci/httpin from 0.16.0 to 0.18.1

Release notes

Sourced from github.com/ggicci/httpin's releases.

v0.18.1

Remove indirect dependency to echo by moving the testing code under _test package.

v0.18.0

Fixes #101

Breaking Change and Migration Guide

func DecodeTo(req *http.Request, input any, opts ...core.Option) error API has been renamed to DecodeTo, it will populate the given input value instead of creating a new instance internally.

How to migrate to v0.18.0?

Since we haven't changed the signature of this function, we can migrate by replacing httpin.Decode with httpin.DecodeTo in your codebase.

New API

Added new func Decode[T any](https://github.com/ggicci/httpin/blob/HEAD/req *http.Request, opts ...core.Option) (*T, error) API, example usage:

type AddUserInput struct {
	Username string `in:"form=username"`
}
if input, err := httpin.Decode[AddUserInput](https://github.com/ggicci/httpin/blob/HEAD/req); err != nil { ... }
// input.Username

v0.17.0

#99 Added echo integration, register a "path" directive that can work with echo router.

import httpin_integration "github.com/ggicci/httpin/integration"
func init() {
e := echo.New()
httpin_integration.UseEchoRouter("path", e)
// or
httpin_integration.UseEchoPathRouter(e)

}

Thanks

@​sorenmat

Commits
  • 6a628af Merge pull request #106 from ggicci/fix/remove-echo-dependency
  • 0317382 fix: move out indirect echo dependency
  • 31c7322 Merge pull request #105 from ggicci/feat/decode-api-update
  • e72964c chore: update comments
  • 1a92f9f feat: update Decode() api and add DecodeTo() api
  • 542d11c chore: update go.mod
  • c8657ee Merge pull request #99 from sorenmat/echo
  • df0d1cc adding echo integration
  • See full diff in compare view

Updates github.com/stretchr/testify from 1.8.4 to 1.9.0

Release notes

Sourced from github.com/stretchr/testify's releases.

v1.9.0

What's Changed

... (truncated)

Commits
  • bb548d0 Merge pull request #1552 from stretchr/dependabot/go_modules/github.com/stret...
  • 814075f build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2
  • e045612 Merge pull request #1339 from bogdandrutu/uintptr
  • 5b6926d Merge pull request #1385 from hslatman/not-implements
  • 9f97d67 Merge pull request #1550 from stretchr/release-notes
  • bcb0d3f Include the auto-release notes in releases
  • fb770f8 Merge pull request #1247 from ccoVeille/typos
  • 85d8bb6 fix typos in comments, tests and github templates
  • e2741fa Merge pull request #1548 from arjunmahishi/msgAndArgs
  • 6e59f20 http_assertions: assert that the msgAndArgs actually works in tests
  • Additional commits viewable in compare view

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-mod group with 2 updates: [github.com/ggicci/httpin](https://github.com/ggicci/httpin) and [github.com/stretchr/testify](https://github.com/stretchr/testify).


Updates `github.com/ggicci/httpin` from 0.16.0 to 0.18.1
- [Release notes](https://github.com/ggicci/httpin/releases)
- [Commits](ggicci/httpin@v0.16.0...v0.18.1)

Updates `github.com/stretchr/testify` from 1.8.4 to 1.9.0
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/ggicci/httpin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner May 7, 2024 13:00
@vifer vifer merged commit fab77ce into main May 7, 2024
5 checks passed
@vifer vifer deleted the dependabot/go_modules/go-mod-e836b87835 branch May 7, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant