Releases: zircote/swagger-php
Releases · zircote/swagger-php
4.7.0
What's Changed
- Refactor use of deprecated phpunit
assertObjectHasAttribute()
by @DerManoMann in #1414 - Make
isRoot()
call on annotation safe by @DerManoMann in #1417 - Allow a ref to be nullable by @momala454 in #1391
Full Changelog: 4.6.2...4.7.0
4.6.2
What's Changed
- Fix spelling of
oneOf
by @DerManoMann in #1404 - Add nullable ref scratch test by @DerManoMann in #1405
- Add section about BC issues with multiple consecutive docblocks by @DerManoMann in #1409
- Add Contributing.md by @DerManoMann in #1412
- Add debug logging of files being analysed by @DerManoMann in #1411
Full Changelog: 4.6.1...4.6.2
4.6.1
What's Changed
- Add (optional) ProcessorInterface and update method signatures by @DerManoMann in #1390
- More accurately guessing Openapi mistype line and position by @matiaspub in #1400
- Fix refs automatically set to nullable by @momala454 in #1397
- TokenScanner: fix handling of named arguments with reserved keywords by @Slamdunk in #1395
- Tweak php-cs-fixer config by @DerManoMann in #1402
- Make schema lookup work for custom schema implementations by @DerManoMann in #1403
New Contributors
- @momala454 made their first contribution in #1397
- @Slamdunk made their first contribution in #1395
Full Changelog: 4.6.0...4.6.1
4.6.0
What's Changed
- Enum cleanup by @DerManoMann in #1381
The enum cleanup simplifies the rules around backed enums and fixes some edge cases where the values did not match the set type (typically when using the backed values but using string
as type).
With this change backed enum schemas will always use the enum names, *unless the schema type is set and matches the backing type. This is even true for string
type backed enums.
Full Changelog: 4.5.6...4.6.0
4.5.6
What's Changed
- Add openapi-extras and fix some typos by @DerManoMann in #1385
- Consider the root annotation type when augmenting schemas by @DerManoMann in #1387
- Allow
Examples
attribute to be repeatable by @jtreminio in #1389
New Contributors
- @jtreminio made their first contribution in #1389
Full Changelog: 4.5.5...4.5.6
4.5.5
What's Changed
- Update cookbook.md by @atilacamurca in #1382
- Allow finding child attributes in method args by @ruscon in #1368
- Fix build badge + switch to default style by @DerManoMann in #1383
- Update reference for new parameter sub-types by @DerManoMann in #1384
New Contributors
- @atilacamurca made their first contribution in #1382
- @ruscon made their first contribution in #1368
Full Changelog: 4.5.4...4.5.5
4.5.4
What's Changed
- Allow and support doctrine/annotations ^2.0 by @DerManoMann in #1375
- Add minProperties/maxProperties to attributes by @DerManoMann in #1376
This is a potential BC break in case attributes are used with positional parameters instead of named arguments. - Add 8.2 to security check matrix by @DerManoMann in #1378
- Set
schema
property only on actualSchema
instances by @DerManoMann in #1379 - Refactor enum fixtures into separate namespace by @DerManoMann in #1380
Full Changelog: 4.5.3...4.5.4
3.3.7
4.5.3
What's Changed
- Allow to specify a
before
processor classname when adding a new pro… by @DerManoMann in #1367 - Handle abstract functions by @DerManoMann in #1369
Full Changelog: 4.5.2...4.5.3
4.5.2
What's Changed
- Adding copyright notice by @DerManoMann in #1347
- Add scratch test around property inheritance by @DerManoMann in #1353
- Fix edge cases around merging of attachables by @DerManoMann in #1366
Full Changelog: 4.5.1...4.5.2