Releases: ogen-go/ogen
Releases · ogen-go/ogen
v0.53.0
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 ofParseForm
method by @tdakkota in #626 - perf(uri): use
strings.Builder
to optimizeencodeObject
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
v0.52.0
What's Changed
- fix(gen): ensure JSON body does not contain trailing data by @tdakkota in #602
- ci: update
.golangci.yml
due togolangci-lint
release by @tdakkota in #603 - fix: do not colorize listing if
color
is disabled by @tdakkota in #604 - refactor: use
Cut
instead ofSplitN
andIndex
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 ofsort.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
What's Changed
- fix(ogen): do not fail if file to remove is not exist by @tdakkota in #598
- perf(gen): run generation in parallel by @tdakkota in #596
- feat(parser): parse webhooks by @tdakkota in #597
- chore(gen): assert
Client
implementsHandler
by @tdakkota in #601 - perf(naming): use hashmap to search naming rules by @tdakkota in #600
Full Changelog: v0.50.0...v0.51.0
v0.50.0
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
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
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
v0.49.0-alpha.0
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