Skip to content

Releases: ogen-go/ogen

v1.20.1

28 Feb 11:04
7d33bfd

Choose a tag to compare

What's Changed

  • fix(gen): support JSON-like in convenient error generation by @zguydev in #1633
  • docs(examples): update examples config to match latest features by @zguydev in #1634
  • chore: bump golang.org/x/net from 0.50.0 to 0.51.0 in the golang group by @dependabot[bot] in #1635
  • chore: bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #1637
  • fix(gen): properly handle formatted sum variant by @tdakkota in #1636

New Contributors

Full Changelog: v1.20.0...v1.20.1

v1.20.0

25 Feb 08:44
29cd876

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.19.0...v1.19.1

v1.19.0

15 Feb 12:29
7750831

Choose a tag to compare

Merge pull request #1623 from infastin/security-getters

feat: always generate scope/role accessors

v1.18.0

01 Dec 08:51
db3fa0c

Choose a tag to compare

What's Changed

  • feat(gen): add type-based oneOf/anyOf discrimination by @lanej in #1584
  • feat(gen): support non-primitive enums with sum types by @lanej in #1597
  • feat(gen): add value-based oneOf/anyOf discrimination by @lanej in #1588
  • feat(parser): allow duplicate paths with different HTTP methods by @lanej in #1592
  • feat(gen): add x-ogen-name extension for parameter naming by @lanej in #1594
  • feat(gen): add array element type discrimination for oneOf/anyOf by @lanej in #1589

Full Changelog: v1.17.0...v1.18.0

v1.17.0

25 Nov 09:50
4b3acf1

Choose a tag to compare

What's Changed

  • Make response order stable by @adapptorsimon in #1546
  • chore: bump golang.org/x/net from 0.44.0 to 0.45.0 in the golang group by @dependabot[bot] in #1548
  • chore: bump github/codeql-action from 3 to 4 by @dependabot[bot] in #1547
  • chore: bump the golang group with 3 updates by @dependabot[bot] in #1549
  • chore: bump github.com/valyala/fasthttp from 1.66.0 to 1.67.0 by @dependabot[bot] in #1550
  • feat: handle nullable anyOf by @bamorim in #1551
  • chore: bump github.com/valyala/fasthttp from 1.67.0 to 1.68.0 by @dependabot[bot] in #1556
  • chore: bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #1557
  • chore: bump the golang group across 1 directory with 4 updates by @dependabot[bot] in #1569
  • chore: bump github.com/go-faster/jx from 1.1.0 to 1.2.0 by @dependabot[bot] in #1574
  • chore: bump go.uber.org/zap from 1.27.0 to 1.27.1 by @dependabot[bot] in #1576
  • chore: bump actions/checkout from 5 to 6 by @dependabot[bot] in #1577
  • feat: add Unwrap method to codeRecorder by @infastin in #1575
  • feat: pass OperationGroup to Route by @dtjm in #1567
  • Fix: prevent duplicate case statements in response type switches by @lanej in #1582
  • feat: Add automatic wildcard content type support by @lanej in #1579
  • feat(params): support unspecified type parameters by @lanej in #1583
  • feat: support uniqueItems validation on arrays of complex objects by @lanej in #1564
  • chore: bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #1566
  • fix: handle empty schemas as "any" type instead of error by @lanej in #1585
  • feat: add sum type parameter support by @lanej in #1581
  • feat: enable cross-type constraint interpretation by default by @lanej in #1580

New Contributors

Full Changelog: v1.16.0...v1.17.0

v1.16.0

05 Oct 13:35
fb3210d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.15.2...v1.16.0

v1.15.2

02 Oct 07:19
eb40116

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.15.1...v1.15.2

v1.15.1

26 Sep 13:59
5dc17ac

Choose a tag to compare

What's Changed

Full Changelog: v1.15.0...v1.15.1

v1.15.0

25 Sep 08:29
b251253

Choose a tag to compare

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 semconv version to v1.34.0 by @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

Full Changelog: v1.14.0...v1.15.0

v1.14.0

02 Jun 08:53
2d37852

Choose a tag to compare

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