Releases: dedoc/scramble
Releases · dedoc/scramble
v0.12.0-alpha.1
What's Changed
- Added ability to group and sort endpoints explicitly by
#[Group]
attribute. Changes the default ordering of endpoints to the order of their declaration by @romalytvynenko in #681 - Add ability to explicitly name class based schemas using
#[SchemaName]
attribute by @romalytvynenko in #682 - Added support for manually annotating request parameters using attributes by @romalytvynenko in #686
- Ensure consistent class names and avoid schema duplication. by @overtrue in #670
- Added
self::*
type inference support; added support of creating types from array values by @romalytvynenko in #687
New Contributors
Full Changelog: v0.11.33...v0.12.0-alpha.1
v0.11.33
What's Changed
- Added
Illuminate\Support\Collection
type to schema support by @romalytvynenko in #671 - Added vendor models property types support by @romalytvynenko in #672
- Fixed resource wrapping logic is not working when using with response method calls by @romalytvynenko in #675
Full Changelog: v0.11.32...v0.11.33
v0.11.32
What's Changed
- Support the decimal validation rule by @axelrindle in #667
- Fixed recursive JSON resources analysis when conditional loading used in ternary operators by @romalytvynenko in #669
Full Changelog: v0.11.31...v0.11.32
v0.11.31
What's Changed
- Support for
Rule::enum()
ofexcept
andonly
by @ChristianFlack in #658 - Add Scramble::throwOnError() to control exception handling by @AbdulkarimOmer in #645
- Added ability to hook into __construct call
New Contributors
- @ChristianFlack made their first contribution in #658
- @AbdulkarimOmer made their first contribution in #645
Full Changelog: v0.11.30...v0.11.31
v0.11.30
What's Changed
- Added all
ConditionallyLoadsAttributes
methods support for JSON API resources by @romalytvynenko in #652
Full Changelog: v0.11.29...v0.11.30
v0.11.29
What's Changed
- Make sure models from
vendor
are properly documented by @romalytvynenko in #651
Full Changelog: v0.11.28...v0.11.29
v0.11.28
What's Changed
- Added support PHPDoc v2 without introducing breaking changes by @romalytvynenko in #633
- Improved inference of inherited method calls (fixes issues when
parent::toArray()
calls in JSON resources were not working as expected with larger classes hierarchies) by @romalytvynenko in #635 - Prevent failing when analyzing
__invoke
call on\Closure
by @romalytvynenko in #638 - Improved mapping of route path parameters to route signature parameters by @romalytvynenko in #639
- Improved default documentation for explicitly bound route params by @romalytvynenko in #640
Full Changelog: v0.11.27...v0.11.28
v0.11.27
What's Changed
- Added enum case type by @romalytvynenko in #627
- Implemented invokable objects return type inference by @romalytvynenko in #627
- Added method calls extensions for exception inference by @romalytvynenko in #627
Full Changelog: v0.11.26...v0.11.27
v0.11.26
What's Changed
- Fix reference being ignored if one type had many type to schema extensions associated by @romalytvynenko in #623
Full Changelog: v0.11.25...v0.11.26
v0.11.25
What's Changed
- Added
size
validation rule support by @romalytvynenko in #618
Full Changelog: v0.11.24...v0.11.25