Releases: dedoc/scramble
Releases · dedoc/scramble
v0.11.0
What's Changed
Added
- Ability to enforce schema types by @romalytvynenko in #416
scramble:analyze
command by @romalytvynenko in #416- Added min/max rules support for strings by @romalytvynenko in #433
- Improved error responses documentation (custom exceptions error responses documentation) by @romalytvynenko in #425
Changes
- Saving request body objects as schemas by @romalytvynenko in #409
Fixes
- Fix bug preventing validation rules from being documented when 3rd parameter was passing to validation methods by @romalytvynenko in #410
- Fixed float literals transformation by @romalytvynenko in #411
- Fix failing collection transformation when a resource is used in
additional
by @romalytvynenko in #422 - Fixed nullable being skipped when analyzing rules by @romalytvynenko in #426
- Fixed return type annotation being ignored by @romalytvynenko in #434
- Fixed non-needed usage of
AnyOf
for responses documentation when the response code is the same by @romalytvynenko in #427 - Moved default value from parameter to schema by @romalytvynenko in #438
Full Changelog: v0.10.13...v0.11.0
v0.10.13
What's Changed
- Fix form requests instantiation when request is type hinted using bound interface by @kennyhorna in #399
- Added OpenAPI document traverser by @romalytvynenko in #406
- Fix an error when using union or nullable types in controller's params by @romalytvynenko in #407
New Contributors
- @kennyhorna made their first contribution in #399
Full Changelog: v0.10.12...v0.10.13
v0.10.12
What's Changed
- Fixed cached routes naming by @romalytvynenko
match
node type inference by @WildEgo in #391- Added unauthenticated response documentation by @Andreas02-dev in #392
- Added more expressions inference: static method calls support, some late static binding by @romalytvynenko in #397
New Contributors
- @Andreas02-dev made their first contribution in #392
Full Changelog: v0.10.11...v0.10.12
v0.10.11
What's Changed
- Added
@ignoreParam
support for skipping a parameter from being documented by @romalytvynenko in #394
Full Changelog: v0.10.10...v0.10.11
v0.10.10
What's Changed
- Method calls inference improvements by @romalytvynenko in #390
Full Changelog: v0.10.9...v0.10.10
v0.10.9
What's changed
- Inferred template types being correctly transformed
Full Changelog: v0.10.8...v0.10.9
v0.10.8
What's Changed
- Proper handling of union types when used as a typehints for route parameters by @romalytvynenko in #388
Full Changelog: v0.10.7...v0.10.8
v0.10.7
What's Changed
- Fixed
use
in comment at file's start breaking source parsing by @romalytvynenko in #382 - Fixes issues (schema not generated, accessing
methods
on null) when running on Octane by @romalytvynenko in #384
Full Changelog: v0.10.6...v0.10.7
v0.10.6
What's Changed
- Fixed property fetching inference by @romalytvynenko in #381
- Fixed relations retrieval for child models by @romalytvynenko in #381
Full Changelog: v0.10.5...v0.10.6
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