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.26
Scramble PRO: v0.6.17
November 2024
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 21, 2024
v0.6.12 PRO

What’s Changed

  • Fixed name alias of allowed includes
Oct 19, 2024
v0.11.22

What’s Changed

  • Fixed schema serialization issue
Oct 17, 2024
v0.6.11 PRO

What’s Changed

  • Fixed parameters inferred from request method calls overriding Laravel Query Builder parameters
Oct 17, 2024
v0.11.21

What’s Changed

  • Improved merging of dot-notated params originated from method calls by @romalytvynenko in #583
Oct 16, 2024
v0.11.20

What’s Changed

  • mixed type is serialized as {}, not as []
  • Change default OpenAPI JSON export to pretty print by @coffee-r in #582

New Contributors

  • @coffee-r made their first contribution in #582
Oct 15, 2024
v0.6.10 PRO

What’s Changed

  • Documenting when request body is required if some property is required
Oct 15, 2024
v0.11.19

What’s Changed

  • Added proper mixed type support by @romalytvynenko in #579
  • Added required field support to request body as well as automatically documenting it when some fields in schema required by @romalytvynenko in #580
Oct 14, 2024
v0.11.18

What’s Changed

  • Ability to use paginators as a part of other schemas by @romalytvynenko in #574
  • Add file upload in OAS 3.1 format description support by @yvoitenko in #569
  • Fixed incorrect parsing of inline JSON resource model annotating comments by @romalytvynenko in #575
  • Added immutable_date casts support by @romalytvynenko in #576
  • Fix failing when fetching constants using variables by @romalytvynenko in #577

New Contributors

  • @yvoitenko made their first contribution in #569
Oct 11, 2024
v0.6.9 PRO

What’s Changed

  • Added support for documenting included or excluded Lazy properties of Laravel Data objects. Now when you use include/exclude methods on Laravel Data object, Scramble will correctly get the resulting type. Calling defaultIncluded method on Lazy property is also now correctly documented.
  • When creating Laravel Data objects using from method and passing a model, Scramble will now correctly infer the type from fromModel method.
Oct 11, 2024
v0.11.17

What’s Changed

  • Add support for all pagination classes by @romalytvynenko in #565
  • Fix the extensions ordering so users extensions’ result is not overwritten by @romalytvynenko in #570
Oct 3, 2024
v0.6.8 PRO

What’s changed

  • Fixed annotated collections won’t documented properly when using the Data object as an input.
Scramble PRO
Comprehensive API documentation generation for Spatie’s Laravel Data and Laravel Query Builder.