Skip to content

Releases: ogen-go/ogen

v0.11.0

02 Feb 07:31
76ab023
Compare
Choose a tag to compare

What's Changed

  • feat(gen): fallback to jx.Raw if schema is inaccurate by @tdakkota in #147

Full Changelog: v0.10.1...v0.11.0

v0.10.1

01 Feb 13:00
Compare
Choose a tag to compare

What's Changed

  • test: generate decoding tests from schema examples by @tdakkota in #146

Full Changelog: v0.10.0...v0.10.1

v0.10.0

31 Jan 11:45
7633eef
Compare
Choose a tag to compare

What's Changed

  • feat(gen): generate godoc from OpenAPI description by @tdakkota in #141
  • fix(gen): field discriminator inference by @tdakkota in #144
  • fix(gen): handle case when one variant has no unique fields by @tdakkota in #145

Full Changelog: v0.9.0...v0.9.1

v0.9.0

28 Jan 11:39
a34ebc5
Compare
Choose a tag to compare

What's Changed

  • fix(gen): optional/nullable array JSON encoding by @tdakkota in #137
  • feat(gen): initial additionalProperties support by @tdakkota in #138
  • chore(deps): bump github.com/valyala/fasthttp from 1.32.0 to 1.33.0 by @dependabot in #139
  • fix(validate): correct mixed up validation fields by @tdakkota in #140

Full Changelog: v0.8.0...v0.9.0

v0.8.0

26 Jan 11:09
f75f4d1
Compare
Choose a tag to compare

What's Changed

  • fix(gen): check that required fields present in JSON by @tdakkota in #126
  • fix(gen): do not copy body twice by @tdakkota in #129
  • feat(gen): use arrays for path params, add FindRoute method by @tdakkota in #128
  • fix: correct nullable enums support by @tdakkota in #135

Full Changelog: v0.7.0...v0.8.0

v0.7.0

22 Jan 11:30
b929136
Compare
Choose a tag to compare

What's Changed

  • feat(json): optimize UUID encode/decode by @tdakkota in #98
  • fix(gen): parse query params only once by @tdakkota in #99
  • feat(gen): methods do not have a pointer receiver by @masseelch in #101
  • refactor(templates): improve templates structure by @shadowspore in #100
  • feat(gen): use Radix tree based router by @tdakkota in #103
  • fix(gen): match routes strictly by @tdakkota in #104
  • fix(gen): use constants for enum values to prevent allocations by @tdakkota in #105
  • chore(deps): bump github.com/valyala/fasthttp from 1.31.0 to 1.32.0 by @dependabot in #106
  • chore(deps): bump github.com/go-faster/jx from 0.25.0 to 0.25.1 in /examples by @dependabot in #108
  • chore(deps): bump github.com/go-faster/jx from 0.25.0 to 0.25.1 by @dependabot in #107
  • chore(deps): bump github.com/goccy/go-yaml from 1.9.4 to 1.9.5 by @dependabot in #109
  • chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /_docs by @dependabot in #110
  • chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /_docs by @dependabot in #114
  • chore(deps): bump github.com/go-faster/jx from 0.27.0 to 0.31.0 in /examples by @dependabot in #118
  • chore(deps): bump github.com/go-faster/jx from 0.27.0 to 0.31.0 by @dependabot in #117
  • chore: initial support for jx.Writer by @tdakkota in #120
  • fix(gen): optional encoding by @tdakkota in #124
  • chore(deps): bump nanoid from 3.1.30 to 3.2.0 in /_docs by @dependabot in #125

Full Changelog: v0.6.0...v0.7.0

v0.6.0

29 Dec 13:47
Compare
Choose a tag to compare

What's Changed

  • ci: request pkg.go.dev update on release by @tdakkota in #97

Full Changelog: v0.5.0...v0.6.0

v0.5.0

29 Dec 10:26
11c0da2
Compare
Choose a tag to compare

What's Changed

  • fix(gen): compile regex in validators only once by @tdakkota in #96

Full Changelog: v0.4.0...v0.5.0

v0.4.0

27 Dec 15:51
d258e29
Compare
Choose a tag to compare

What's Changed

  • fix(gen): use strings in router to prevent allocations by @tdakkota in #94
  • feat(gen): generate Or method for optionals by @tdakkota in #95

Full Changelog: v0.3.0...v0.4.0

v0.3.0

22 Dec 18:32
fef213d
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump actions/setup-go from 2.1.4 to 2.1.5 by @dependabot in #91
  • fix(gen): correctly call root handlers of variable ones by @ernado in #93

Full Changelog: v0.2.0...v0.3.0