Releases: getkin/kin-openapi
Releases · getkin/kin-openapi
Release list
v0.145.0
What's Changed
- openapi3: stop InternalizeRefs panicking on unresolved discriminator mappings by @snowyukitty in #1233
Full Changelog: v0.144.0...v0.145.0
v0.144.0
What's Changed
- openapi3filter: prefer non-empty value for repeated scalar query params by @sonnemusk in #1231
- some fixes to please my moulinette by @fenollp in #1232
New Contributors
- @sonnemusk made their first contribution in #1231
Full Changelog: v0.143.0...v0.144.0
v0.143.0
What's Changed
- openapi3: remove StringMap and its pre-OriginTree origin-stripping machinery by @reuvenharrison in #1219
- openapi3: huge test suite: make it more parallel by @fenollp in #1221
- openapi31: support 3.1+ reference metadata overrides by @AlexanderWangY in #1215
- docs: move the StringMap changelog entry to v0.143.0 by @reuvenharrison in #1222
- openapi3: add T.WalkParameters to visit every parameter in a document by @reuvenharrison in #1224
- openapi3filter: reuse deepObject bracket regex by @matiasinsaurralde in #1225
- openapi3filter: skip Split allocation for single-value array query params by @matiasinsaurralde in #1226
- openapi3: preserve origin for a $ref to a schema under an arbitrary top-level key by @reuvenharrison in #1227
- openapi3: stable codes for validation errors by @reuvenharrison in #1223
- openapi3filter: skip schema checks for empty allowEmptyValue strings by @snowyukitty in #1228
- openapi3gen: inline embedded struct with options-only JSON tag by @mvanhorn in #1229
New Contributors
- @matiasinsaurralde made their first contribution in #1225
- @snowyukitty made their first contribution in #1228
- @mvanhorn made their first contribution in #1229
Full Changelog: v0.142.0...v0.143.0
v0.142.0
v0.141.0
What's Changed
- openapi3filter: honor comma-separated and wildcard encoding.contentType by @utah-KT in #1201
- openapi3: typed context wrappers for combinator and tag validation by @reuvenharrison in #1199
- openapi3: enforce unique required entries and unique tag names in Validate() by @reuvenharrison in #1203
- openapi3gen: Add an option to customize generated field names (properties) for structs by @d1vbyz3r0 in #1204
- openapi3: add T.WalkSchemas to visit every schema in a document by @reuvenharrison in #1206
- openapi3: record block end on Origin.Key (EndLine/EndColumn) by @reuvenharrison in #1207
- openapi3: record scalar-valued map keys for origin location lookup by @reuvenharrison in #1208
- docs: Go Report Card has been sunset by @alexandear in #1210
- openapi3: support OAS 3.2 itemSchema by @fenollp in #1213
- openapi3: make operation responses optional for 3.1+ by @AlexanderWangY in #1214
- qol: Makefile for shorthand commands + preflight scripts by @AlexanderWangY in #1217
New Contributors
- @AlexanderWangY made their first contribution in #1214
Full Changelog: v0.140.0...v0.141.0
v0.140.0
What's Changed
- openapi3: document that a custom ReadFromURIFunc bypasses IsExternalRefsAllowed by @reuvenharrison in #1191
- openapi3: remove deepcopy dependency by @alexandear in #1193
- openapi3: remove decimal128 dependency by @alexandear in #1194
- refactor: apply modernize fixes by @alexandear in #1195
- openapi2,openapi3: replace marshmallow with encoding/json by @alexandear in #1196
- docs: update GoDoc links to Go Reference by @alexandear in #1197
- chore: bump jsonpointer to v0.22.5 by @alexandear in #1198
Full Changelog: v0.139.0...v0.140.0
v0.139.0
What's Changed
- feat(openapi3): batch-convert long-tail RequiredFieldError sites by @reuvenharrison in #1170
- feat(openapi3): typed validation error clusters (combined: #1171-#1179) by @reuvenharrison in #1180
- openapi3gen: skip component export for anonymous types by @0-don in #1163
- feat: migrate to oasdiff/yaml v0.1.0 single Unmarshal API + enable DisableTimestamps by @reuvenharrison in #1181
- openapi3: typed context errors for Validate() wrapper chain by @reuvenharrison in #1183
- openapi3: track Origin on the document root (T) by @reuvenharrison in #1184
- openapi3: tests flakiness corrected by @fenollp in #1159
- openapi3: aggregate independent validation errors via EnableMultiError by @reuvenharrison in #1185
- openapi3: fix validation of duplicated path templates by @reuvenharrison in #1189
- openapi3: type the remaining bare-error validation sites by @reuvenharrison in #1187
Full Changelog: v0.138.0...v0.139.0
v0.138.0
What's Changed
- openapi3gen: clear nullable on exported component bodies by @0-don in #1164
- openapi3: add test for issue #927 (nullable not respected on $ref schemas) by @fenollp in #1165
- test: move public-API tests to external _test packages by @fenollp in #1168
- feat(openapi3): add per-type validation errors with cluster wrappers by @reuvenharrison in #1166
- feat(openapi3conv): canonicalization pass for 3.0 -> 3.x by @reuvenharrison in #1162
- openapi3conv: test Upgrade on many documents by @fenollp in #1169
Full Changelog: v0.137.0...v0.138.0
v0.137.0
v0.136.0
What's Changed
- openapi3: stop injecting contentless default in NewResponses() by @0-don in #1148
- openapi3: standardize Origin json tag to "-" across all types by @reuvenharrison in #1149
- Update usage message in cmd/validate by @fenollp in #1150
- openapi3: fix determinism when handling discriminator mappings by @fenollp in #1151
- feat: bump Go to 1.26 by @fenollp in #1152
- openapi3: use componentNames for deterministic visitings by @fenollp in #1153
- feat: add OpenAPI 3.1 support by @reuvenharrison in #1125
- openapi3: add JoinFunc for custom $ref path resolution by @reuvenharrison in #1154
- Add many many tests from ApisGuruOpenapiDirectory by @fenollp in #1155
- openapi3: remove map-iteration order leaks causing flaky tests by @cloudnativeninja in #1158
- openapi2conv: nil-guard components lookup in FromV3SchemaRef by @SAY-5 in #1156
- Address various lint errors by @fenollp in #1157
New Contributors
- @0-don made their first contribution in #1148
- @cloudnativeninja made their first contribution in #1158
- @SAY-5 made their first contribution in #1156
Full Changelog: v0.135.0...v0.136.0