Releases: ogen-go/ogen
Releases · ogen-go/ogen
v1.16.0
v1.15.2
What's Changed
- feat(config): add json schema by @ernado in #1539
- fix: use correct semconv by @ernado in #1541
- fix: generate sum type for single-value oneOf with discriminator by @infastin in #1545
- Reuse encoder resources after being done writing response by @AndreasBergmeier6176 in #1536
New Contributors
Full Changelog: v1.15.1...v1.15.2
v1.15.1
v1.15.0
What's Changed
- feat: Add client option for edit all client requests/responses by @abramskama in #1472
- fix: correct OpenTelemetry span error condition for server spans by @ohtacaesar in #1477
- fix(ogenregex): Support
\p{...}and\P{...}format for Go regexp by @repeatedly in #1475 - chore: bump the golang group with 4 updates by @dependabot[bot] in #1474
- chore: bump the opentelemetry group with 5 updates by @dependabot[bot] in #1482
- chore: bump github.com/valyala/fasthttp from 1.62.0 to 1.63.0 by @dependabot[bot] in #1487
- Add ability to set default client otel attributes by @abramskama in #1486
- feat: type extension by @abemedia in #1460
- chore: bump the golang group across 1 directory with 4 updates by @dependabot[bot] in #1497
- fix: bump
semconvversion tov1.34.0by @paragon in #1503 - chore: bump the golang group with 3 updates by @dependabot[bot] in #1508
- chore: bump actions/checkout from 4 to 5 by @dependabot[bot] in #1509
- chore: bump github.com/valyala/fasthttp from 1.63.0 to 1.65.0 by @dependabot[bot] in #1511
- chore: bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #1515
- chore: bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #1519
- chore: bump the opentelemetry group with 5 updates by @dependabot[bot] in #1520
- chore: bump actions/setup-go from 5 to 6 by @dependabot[bot] in #1521
- chore: bump golang.org/x/sync from 0.16.0 to 0.17.0 in the golang group by @dependabot[bot] in #1523
- chore: bump golang.org/x/text from 0.28.0 to 0.29.0 in the golang group by @dependabot[bot] in #1524
- chore: bump golang.org/x/net from 0.43.0 to 0.44.0 in the golang group by @dependabot[bot] in #1525
- chore: bump golang.org/x/tools from 0.36.0 to 0.37.0 in the golang group by @dependabot[bot] in #1526
- example_all.yml filters path_regex missing dot by @yowayb in #1291
- fix(gen): wrong package name on external types by @abemedia in #1500
- fix: support string enum types in validation by @nderjung in #1481
- fix: parse patternproperties correctly when handling query parameters by @paragon in #1502
- feat: pass raw response body in UnexpectedStatusCodeError by @shyouhei in #1530
- chore: bump github.com/valyala/fasthttp from 1.65.0 to 1.66.0 by @dependabot[bot] in #1527
- feat: handle nullable oneOf by @ngalaiko in #1531
- feat: middleware raw body by @Sosorevgm in #1506
- feat: add x-ogen-raw-response flag to yield full control by @jvatic in #1522
- fix: invalid code was generated for oneOf with single ref by @ruz in #1498
- fix: allow for request Body to be read again by @paragon in #1505
- feat: Custom security schemes by @jeanschmitt in #1463
- feat(logging): exposing breadcrumbs gathered with errors.Wrap()/Wrapf()/etc when trySkip() fails by @vingarzan in #1404
- feat(problem+json): Add support for application/problem+json by @AndreasBergmeier6176 in #1433
- feat: handle nullable oneOf by @ngalaiko in #1532
- feat: x-ogen-validate extension by @ngalaiko in #1533
- feat: add min/max len for object by @sashamelentyev in #1496
New Contributors
- @abramskama made their first contribution in #1472
- @ohtacaesar made their first contribution in #1477
- @repeatedly made their first contribution in #1475
- @yowayb made their first contribution in #1291
- @nderjung made their first contribution in #1481
- @shyouhei made their first contribution in #1530
- @ngalaiko made their first contribution in #1531
- @Sosorevgm made their first contribution in #1506
- @ruz made their first contribution in #1498
- @vingarzan made their first contribution in #1404
- @AndreasBergmeier6176 made their first contribution in #1433
Full Changelog: v1.14.0...v1.15.0
v1.14.0
What's Changed
- feat(oneOf,anyOf): explicit discriminator mapping when >1 key/type by @jvatic in #1465
- ci(Dockerfile): use distroless as base image to provides valid certs by @tdakkota in #1469
- fix(gen): properly validate optional arrays by @tdakkota in #1468
New Contributors
Full Changelog: v1.13.0...v1.14.0
v1.13.0
What's Changed
- Add scopes for non-OAuth securities by @jeanschmitt in #1440
- feat(docker-image): add jschemagen to Docker image by @dtjm in #1452
- docs: fix example in path_regex by @pdecat in #1458
New Contributors
- @jeanschmitt made their first contribution in #1440
- @pdecat made their first contribution in #1458
Full Changelog: v1.12.0...v1.13.0
v1.12.0
What's Changed
- feat(jschemagen): add flag for
allow-remoteto allow external resolver by @dtjm in #1434 - close reader if it satisfies io.Closer by @divyam234 in #1417
- Update README.md by @wayneeseguin in #1347
New Contributors
- @dtjm made their first contribution in #1434
- @divyam234 made their first contribution in #1417
- @wayneeseguin made their first contribution in #1347
Full Changelog: v1.11.0...v1.12.0
v1.11.0
What's Changed
- feat: use errors.Join instead multierr.Append by @sashamelentyev in #1409
- fix(gen): properly handle
ir.Mapwhen generating parameter encoders by @tdakkota in #1429 - ci(golangci): setup
goimportsproperly by @tdakkota in #1431 - fix(gen): set default values when decoding forms by @tdakkota in #1430
- feat(gen): add x-oapi-codegen-extra-tags support to the parameter by @kukymbr in #1446
- fix(oauth2): support logical AND and OR scopes by @paragon in #1426
- fix: generate single
allOfreference to avoid code duplication by @lukasberanek-tpa in #1444
New Contributors
- @kukymbr made their first contribution in #1446
- @lukasberanek-tpa made their first contribution in #1444
Full Changelog: v1.10.1...v1.11.0
v1.10.1
What's Changed
- fix(gen): pass request options by @tdakkota in #1397
- Fix generated comments to match method names by @7riatsu in #1406
- fix(gen): handle slashes in leaf path parameters by @vyivel in #1412
- fix:
HasParamreturnsErr(Query|Header|Cookie)ParamRequredincludingqparam/cfg.Nameby @paragon in #1414 - fix info tags by @max107 in #1408
- Fix staticcheck in generated by @AlphaOne1 in #1424
New Contributors
- @7riatsu made their first contribution in #1406
- @vyivel made their first contribution in #1412
- @AlphaOne1 made their first contribution in #1424
Full Changelog: v1.10.0...v1.10.1