v1.5.0: RFC3339 durations, and bug fixes
This is mainly a bugfix release, but we're bumping the minor version since we also introduce a new type, Duration into our types/ package, which allows for parsing and emitting RFC3339 durations. Rather than trying to parse a duration string into a time.Duration, which requires assumptions that may not be right for everyone, we decided not to make those decisions and just store all possible fields as provided. Users can convert this to Go Duration as they see fit.
🚀 New features and improvements
- Add types.Duration for the RFC 3339 duration format (#144) @mromaszewicz
🐛 Bug fixes
- Let generated code declare whether styled parameter values are escaped (#143) @mromaszewicz
- Prefer the form struct tag over json for form encoding (#140) @mromaszewicz
- Support binding deepObject parameters into map[string]interface{} (#139) @mromaszewicz
📝 Documentation updates
- Explain how to send nested objects when style serialization fails (#141) @mromaszewicz
📦 Dependency updates
6 changes
- fix(deps): update module github.com/labstack/echo/v5 to v5.3.0 (#142) @renovate[bot]
- chore(deps): update golang/govulncheck-action action to v1.1.0 (#137) @renovate[bot]
- chore(deps): update oapi-codegen/actions action to v0.8.0 (#130) @renovate[bot]
- fix(deps): update module github.com/labstack/echo/v5 to v5.2.1 - autoclosed (#126) @renovate[bot]
- chore(deps): update release-drafter/release-drafter action to v7.5.1 - autoclosed (#124) @renovate[bot]
- chore(deps): update github/codeql-action action to v4.37.0 (#123) @renovate[bot]
Sponsors
We would like to thank our sponsors for their support during this release.