Scramble 0.11.0 is here! Laravel Data support, schema enforcement and more
Learn more

Releases

Keep up with regular Scramble releases.
Latest versions:
Scramble: v0.11.33
Scramble PRO: v0.6.24
January 2025
Jan 9, 2025
v0.6.24 PRO

What’s Changed

  • Bump Scramble dependency so the Collection is properly supported
Jan 9, 2025
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
Jan 5, 2025
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
December 2024
Dec 28, 2024
v0.6.23 PRO

What’s Changed

  • Add operator and belongsTo filters documentation Laravel Query Builder support
  • Improved Carbon type documentation, added @format support when used on data properties by @romalytvynenko in #36
  • Support FromRouteParameters documentation on path parameters by @romalytvynenko in #37
  • Fixed DataCollection type annotations not working correctly on data properties after the last update
  • Deep checks for context aware data objects – now if any nested data property schema differs in input or output context, the containing data object will be properly documented for different contexts
  • Improved #[Confirmed] support
Dec 21, 2024
v0.6.22 PRO

What’s Changed

  • Fixed data collections documentation (null check issue)
Dec 20, 2024
v0.6.21 PRO

What’s Changed

  • Fix analysis of data classes from vendor (other packages)
Dec 20, 2024
v0.6.20 PRO

What’s Changed

  • Added support of explicit data collections creation (using new)
  • Add support of include and exclude on data collections by @romalytvynenko in #29
Dec 20, 2024
v0.11.31

What’s Changed

  • Support for Rule::enum() of except and only 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
Dec 13, 2024
v0.6.19 PRO

What’s Changed

  • Fixed allowed includes name when internal names provided
Dec 5, 2024
v0.11.30

What’s Changed

  • Added all ConditionallyLoadsAttributes methods support for JSON API resources by @romalytvynenko in #652
Dec 4, 2024
v0.11.29

What’s Changed

  • Make sure models from vendor are properly documented by @romalytvynenko in #651
November 2024
Nov 25, 2024
v0.6.18 PRO

What’s Changed

  • Added support for properties that are filled from route parameters (#[FromRouteParameter], #[FromRouteParameterProperty])
Nov 25, 2024
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
Nov 15, 2024
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
Nov 10, 2024
v0.11.26

What’s Changed

  • Fix reference being ignored if one type had many type to schema extensions associated by @romalytvynenko in #623
Nov 6, 2024
v0.11.25

What’s Changed

  • Added size validation rule support by @romalytvynenko in #618
Nov 6, 2024
v0.6.17 PRO

What’s Changed

  • Fixed recursive data properties documentation - now it is possible to have nested data objects with cyclic relations
October 2024
Oct 29, 2024
v0.6.16 PRO

What’s Changed

  • Added #[Present] rule support on nullable
Oct 29, 2024
v0.6.15 PRO

What’s Changed

  • Added proper handling of fields that are not marked for validation (#[Computed], #[WithoutValidation] support)
  • Fixed integer constraints (#[Min], #[Max]) info being lost by @romalytvynenko in #22
  • Added proper handling of nullable fields that are marked with #[Required] attribute by @romalytvynenko in #23
Oct 27, 2024
v0.11.24

What’s Changed

  • Added the resolution of class names of PHPDoc for SchemaClassDocReflector by @romalytvynenko in #605
Scramble PRO
Comprehensive API documentation generation for Spatie’s Laravel Data and Laravel Query Builder.