Skip to content

Commit f884e17

Browse files
docs: update README changelog entry to v0.136.0
Rename the v0.132.0 entry to v0.136.0 (the upcoming release for this PR), move it above v0.135.0 for chronological order, and add the UnevaluatedItems/UnevaluatedProperties → BoolSchema type change. Addresses fenollp's review on getkin#1125.
1 parent db4cb84 commit f884e17

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@ for _, path := range doc.Paths.InMatchingOrder() {
313313

314314
## CHANGELOG: Sub-v1 breaking API changes
315315

316+
### v0.136.0
317+
* `openapi3.Schema.ExclusiveMin` and `openapi3.Schema.ExclusiveMax` fields changed from `bool` to `ExclusiveBound` (a union type holding `*bool` for OpenAPI 3.0 or `*float64` for OpenAPI 3.1).
318+
* `openapi3.Schema.PrefixItems` field changed from `[]*SchemaRef` to `SchemaRefs`.
319+
* `openapi3.Schema.UnevaluatedItems` and `openapi3.Schema.UnevaluatedProperties` fields changed from `*SchemaRef` to `BoolSchema` (a union type accepting either a boolean or a schema object).
320+
316321
### v0.135.0
317322
* `openapi3.MediaType.Encoding` field type changed from `map[string]*Encoding` to `Encodings`
318323
* `openapi3.Server.Variables` field type changed from `map[string]*ServerVariable` to `ServerVariables`
@@ -321,9 +326,6 @@ for _, path := range doc.Paths.InMatchingOrder() {
321326
* `openapi3.Location` gained `File` and `Name` fields (`string` type, replacing previous `int`-only struct layout)
322327
* `openapi3.Origin` gained `Sequences` field (`map[string][]Location`, extending previous `map[string]Location`-only struct)
323328

324-
### v0.132.0
325-
* `openapi3.Schema.ExclusiveMin` and `openapi3.Schema.ExclusiveMax` fields changed from `bool` to `ExclusiveBound` (a union type holding `*bool` for OpenAPI 3.0 or `*float64` for OpenAPI 3.1).
326-
* `openapi3.Schema.PrefixItems` field changed from `[]*SchemaRef` to `SchemaRefs`.
327329
### v0.131.0
328330
* No longer `openapi3filter.RegisterBodyDecoder` the `openapi3filter.ZipFileBodyDecoder` by default.
329331

0 commit comments

Comments
 (0)