Skip to content

Releases: ogen-go/ogen

v0.53.0

28 Oct 18:21
4219433
Compare
Choose a tag to compare

What's Changed

  • ci: run benchmark to keep it up to date by @tdakkota in #628
  • feat(parser): parse openapi version by @tdakkota in #627
  • perf(gen): use ht.ParseForm instead of ParseForm method by @tdakkota in #626
  • perf(uri): use strings.Builder to optimize encodeObject by @tdakkota in #629
  • feat(gen): initial webhook support by @tdakkota in #622
  • perf: preallocate maps and slices by @tdakkota in #630
  • fix: print pretty error for external references by @tdakkota in #637
  • test: move tests and generated packages to integration by @tdakkota in #640
  • refactor(xslices): pass the filtering slice by reference by @tdakkota in #639

Full Changelog: v0.52.1...v0.53.0

v0.52.1

13 Oct 16:58
73d0bba
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.52.0...v0.52.1

v0.52.0

12 Oct 22:03
c03fb22
Compare
Choose a tag to compare

What's Changed

  • fix(gen): ensure JSON body does not contain trailing data by @tdakkota in #602
  • ci: update .golangci.yml due to golangci-lint release by @tdakkota in #603
  • fix: do not colorize listing if color is disabled by @tdakkota in #604
  • refactor: use Cut instead of SplitN and Index by @tdakkota in #605
  • perf(gen): re-use WithSpanKind functional option by @tdakkota in #609
  • feat(gen): generate servers by @tdakkota in #599
  • feat(gen): generate getters and setters by @tdakkota in #611
  • chore: bump golang.org/x packages version by @tdakkota in #612
  • refactor: use x/exp/slices.SortFunc instead of sort.Slice by @tdakkota in #613
  • fix(parser): check operationId uniqueness among all operations by @tdakkota in #614
  • test: add some tests by @tdakkota in #615
  • refactor(conv): use generics to simplify code by @tdakkota in #616
  • feat(xslices): add generic helper package by @tdakkota in #619
  • chore(deps): update otel by @ernado in #620

Full Changelog: v0.51.0...v0.52.0

v0.51.0

03 Oct 19:48
86f0d9f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.50.0...v0.51.0

v0.50.0

29 Sep 05:00
06e8e71
Compare
Choose a tag to compare

What's Changed

  • fix(jsonschema): handle YAML-to-JSON conversion correctly by @tdakkota in #584
  • feat(parser): parse servers by @tdakkota in #583
  • perf(gen): add multierr to header import list by @tdakkota in #588
  • perf(gen): add pprof labels to writer calls by @tdakkota in #589
  • perf(gen): add mime packages to header by @tdakkota in #590
  • feat(gen): add context option to override server URL by @tdakkota in #593
  • fix(gen): pass non-nil context to error handler by @tdakkota in #594
  • chore(gen): remove unused span parameter by @tdakkota in #595

Full Changelog: v0.49.0...v0.50.0

v0.49.0

22 Sep 11:47
d43685c
Compare
Choose a tag to compare

What's Changed

  • refactor(parser): move common resolving logic to the generic function by @tdakkota in #553
  • chore(jsonpointer): remove unused code by @tdakkota in #554
  • fix(gen): make cleanRef smarter, handle URLs by @tdakkota in #555
  • fix(gen): write dumps correctly by @tdakkota in #557
  • refactor: use generic helpers to get sorted slice of map keys by @tdakkota in #559
  • feat(gen): initial support for middlewares by @tdakkota in #558
  • fix(parser): validate component map key as spec says by @tdakkota in #560
  • perf(middleware): reduce chain allocation by @tdakkota in #561
  • feat(gen): add uint integer formats by @tdakkota in #568
  • feat: parse extensions by @tdakkota in #567
  • fix(gen): do not generate empty files by @tdakkota in #569
  • feat(ogen): add profiler flags by @tdakkota in #570
  • test(internal): setup benchmark transport for better performance by @tdakkota in #571
  • fix(middleware): do not type assert request body if operation has not body by @tdakkota in #572
  • fix(gen): assert parameter type when unpacking by @tdakkota in #573
  • fix(gen): check schema for nil by @tdakkota in #576
  • feat(ogen): add version flag by @tdakkota in #574
  • fix(gen): generate a special type for optional request body by @tdakkota in #577
  • fix(gen): pass operationName instead of operationID by @tdakkota in #582
  • fix(gen): set 200 OK status code if passed value is zero by @tdakkota in #580
  • chore(gen): pass multiple patterns to template parser by @tdakkota in #581

Full Changelog: v0.48.2...v0.49.0

v0.49.0-alpha.2

18 Sep 18:58
24491cf
Compare
Choose a tag to compare
v0.49.0-alpha.2 Pre-release
Pre-release

What's Changed

  • fix(gen): do not generate empty files by @tdakkota in #569
  • feat(ogen): add profiler flags by @tdakkota in #570
  • test(internal): setup benchmark transport for better performance by @tdakkota in #571
  • fix(middleware): do not type assert request body if operation has not body by @tdakkota in #572
  • fix(gen): assert parameter type when unpacking by @tdakkota in #573

Full Changelog: v0.49.0-alpha.1...v0.49.0-alpha.2

v0.49.0-alpha.1

15 Sep 10:22
3dfa9ef
Compare
Choose a tag to compare
v0.49.0-alpha.1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.49.0-alpha.0...v0.49.0-alpha.1

v0.49.0-alpha.0

12 Sep 12:53
f6f6b4d
Compare
Choose a tag to compare
v0.49.0-alpha.0 Pre-release
Pre-release

What's Changed

  • refactor(parser): move common resolving logic to the generic function by @tdakkota in #553
  • chore(jsonpointer): remove unused code by @tdakkota in #554
  • fix(gen): make cleanRef smarter, handle URLs by @tdakkota in #555
  • fix(gen): write dumps correctly by @tdakkota in #557
  • refactor: use generic helpers to get sorted slice of map keys by @tdakkota in #559
  • feat(gen): initial support for middlewares by @tdakkota in #558
  • fix(parser): validate component map key as spec says by @tdakkota in #560

Full Changelog: v0.48.2...v0.49.0-alpha.0

v0.48.2

05 Sep 09:08
8bc2103
Compare
Choose a tag to compare

What's Changed

  • fix(jsonschema): use RefKey as key for reference cache by @tdakkota in #550
  • fix(parser): use RefKey as cache key for components by @tdakkota in #551
  • fix(gen): clean remote references correctly by @tdakkota in #552

Full Changelog: v0.48.1...v0.48.2