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.31
Scramble PRO: v0.6.22
December 2024
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.6.14 PRO

What’s Changed

  • Added class names resolution in PHPDoc annotations
Oct 27, 2024
v0.11.24

What’s Changed

  • Added the resolution of class names of PHPDoc for SchemaClassDocReflector by @romalytvynenko in #605
Oct 27, 2024
v0.6.13 PRO

What’s Changed

  • Documenting 422 response when using Laravel Data object as a form request
Oct 22, 2024
v0.11.23

What’s Changed

  • Ability to exclude routes using attributes instead of re-defining routes resolution method by @romalytvynenko in #594
  • Fix: brought back binary format for marking files so more OpenAPI UI clients support by @axelrindle in #587
Oct 19, 2024
v0.11.22

What’s Changed

  • Fixed schema serialization issue
Scramble PRO
Comprehensive API documentation generation for Spatie’s Laravel Data and Laravel Query Builder.