Releases: dedoc/scramble
Releases · dedoc/scramble
v0.10.5
What's Changed
- Added tests for routes-related features by @romalytvynenko in #376
- Improve inferring model property types, based on DB driver by @kburton-dev in #375
- Support for
additional
on anonymous collections by @romalytvynenko in #377 - Taking into account deeper binary fields in request body parameters when determining default request media type by @romalytvynenko in #378
- Using method's real class' reflection when analyzing parent class' methods calls by @romalytvynenko in #379
- Improved errors documentation by avoiding documenting errors when authorize or rules methods are not defined on a custom form request class by @romalytvynenko in #380
Full Changelog: v0.10.4...v0.10.5
v0.10.4
What's Changed
- Fix default API route resolver register order issue by @romalytvynenko in #373
Full Changelog: v0.10.3...v0.10.4
v0.10.3
What's Changed
- Fixed routes serialization issue by @romalytvynenko in #371
Full Changelog: v0.10.2...v0.10.3
v0.10.2
What's Changed
- Fixed routes serialization error by @romalytvynenko in #370
Full Changelog: v0.10.1...v0.10.2
v0.10.1
What's Changed
- Fixed inferring params from request method calls by @romalytvynenko in #367
Full Changelog: v0.10.0...v0.10.1
v0.10.0
What's Changed
Added
- Ability to configure more API versions docs, customize docs domains and paths by @romalytvynenko in #350
- Added ability to specify data format in API resources by @romalytvynenko in #351
- Added ability to override tag generation behaviour by @WildEgo in #323
- Make TryIt work with Sanctum's cookie based authentication out of the box by @layerok in #336
- Added
@example
support to API resources' attributes by @romalytvynenko in #342 - Add tuples support by @romalytvynenko in #343
- Add support for enums in route parameter by @rra3b in #334
- Request params inference from method calls on request, default request values support by @romalytvynenko in #356
- Determine eloquent attribute type from casts by @kburton-dev in #345
Fixes
- Fix
confirmed
rule not working properly when it is used on multiple attributes by @nicolaubrasil in #339 - Fixed shorthand ternaries by @hn-seoai in #366
Changes
- Resolve ternary types properly by @kburton-dev in #341
- Remove request body from
HEAD
andDELETE
by default by @manuel-watchenterprise in #346 - Sort validation rules by nesting deepness before documenting them to make results consistent by @romalytvynenko in #362
New Contributors
- @rra3b made their first contribution in #334
- @nicolaubrasil made their first contribution in #339
- @kburton-dev made their first contribution in #341
- @hn-seoai made their first contribution in #366
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
🚨 Breaking changes 🚨
- Dropped support of 8.x and 9.x Laravel versions as they've reached EOL.
If there are any problems when running composer update dedoc/scramble
, include -W
flag to update other dependencies as well. The issue may be caused in some rare cases by php-parser
being changed to 5.0.*
from 4.0.*
.
Added
- Laravel 11 Support by @romalytvynenko in #327
scramble:export
command to export specification's json by @princejohnsantillan in #277
Changes
- Rollback default theme to light by @romalytvynenko in #331
Fixes
- Fixed empty security descriptor by @manuel-watchenterprise in #330
- Fixed
Carbon
attributes in resources being not documented asstring<date-time>
in Open API spec by @romalytvynenko in #332
New Contributors
- @princejohnsantillan made their first contribution in #277
Full Changelog: v0.8.6...v0.9.0
v0.8.6
What's Changed
Added
- Add @deprecated tag support by @sc-bruno in #296
- Ability to choose light or dark theme by @jeffreyvanhees in #297
Fixes
- Fixed invalid OpenAPI spec when returning no content response by @romalytvynenko in #289
scopes
property in OAuth made required according OpenAPI spec by @Neorej in #318- Respect string type when parsing validation rules' examples by @joligoms in #315
- Fixed the case when non-request class had rules method which resulted in error when extracting validation rules by @romalytvynenko in #324
New Contributors
- @sc-bruno made their first contribution in #292
- @jeffreyvanhees made their first contribution in #297
- @Neorej made their first contribution in #318
- @joligoms made their first contribution in #315
Full Changelog: v0.8.5...v0.8.6
v0.8.5
What's Changed
Added
- Add
whenCounted
support in API resources by @vovarudomanenko in #236 - Added support for
min
andmax
rules on arrays by @Carnicero90 in #244
Fixes
- Fixed 'Try it' not working with Laravel Sanctum by @vovarudomanenko in #243
- Fixed error when trying to access tag data by @rolexam in #270
New Contributors
- @vovarudomanenko made their first contribution in #236
- @Carnicero90 made their first contribution in #244
- @rolexam made their first contribution in #270
Full Changelog: v0.8.4...v0.8.5
v0.8.4
What's Changed
Added
- Allow Spotlight to be customized (
Try It
disabled and logo) by @kichetof in #177 - Added support of
getRouteKeyName
on a model by @romalytvynenko in #208 - Added
image
andfile
validation rules support, request media type customization support by @WildEgo, @AlexSabur, @romalytvynenko in #232
Fixes
- Fixed bug when
@response
wasn't the most prioritized by @romalytvynenko in #205 - Fixed gibberish
operationId
when routes without names are cached by @romalytvynenko in #207
New Contributors
Full Changelog: v0.8.3...v0.8.4