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.25
Scramble PRO: v0.6.17
November 2024
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
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
Oct 15, 2024
v0.6.10 PRO
What’s Changed
- Documenting when request body is required if some property is required
Oct 15, 2024
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 useinclude
/exclude
methods on Laravel Data object, Scramble will correctly get the resulting type. CallingdefaultIncluded
method onLazy
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 fromfromModel
method.
Oct 11, 2024
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.
September 2024
Sep 24, 2024
v0.11.16
What’s Changed
- Correctly handle a case when both form request and inline validation used by @romalytvynenko in #552