Scramble 0.12.x is here! Manual parameter docs, transformers API and more.
Learn more
Releases
Keep up with regular Scramble releases.
Latest versions:
Scramble: v0.12.9
Scramble PRO: v0.7.3
February 2025
Feb 18, 2025
v0.7.3 PRO
What’s Changed
- Fixed filter parameters becoming nested if dot used in a name
Feb 17, 2025
v0.7.2 PRO
What’s Changed
- Improved exception message when normalizing data type
Feb 17, 2025
v0.12.9
What’s Changed
- Fix constructor called methods side effects overwriting the type by @romalytvynenko in #740
Feb 12, 2025
v0.12.8
What’s Changed
- Fixed default parameters extractors for different API versions by @romalytvynenko in #728
Feb 12, 2025
v0.12.7
What’s Changed
- Added
security
implementation according OpenAPI 3.1.0 specification by @romalytvynenko in #717 - Fixed
#[PathParameter]
to override inferred path parameters by @romalytvynenko in #724 - Documenting
CarbonInterface
asdate-time
string schema by @axelrindle in #700 - Added support for
Symfony\Component\HttpKernel\Exception\*
documentation when annotated in exceptions by @phpsa in #674 - Added
date
rule support by @romalytvynenko in #725
New Contributors
- @phpsa made their first contribution in #674
Feb 10, 2025
v0.7.1 PRO
What’s Changed
- Fix arrays unpacking in arrays passed to
->allow*(...)
methods of query builder
Feb 8, 2025
v0.12.6
What’s Changed
- Static and new calls analysis on literal string class name types coming from expressions by @romalytvynenko in #711
- Fixed deprecation warning on 8.4 by @romalytvynenko in #712
- Add
null
,true
,false
support when creating types from type nodes by @leo108 in #708
New Contributors
- @leo108 made their first contribution in #708
Feb 5, 2025
v0.12.5
What’s Changed
- Fix when creating array types from values by @romalytvynenko in #707
Feb 5, 2025
Feb 5, 2025
Feb 5, 2025
v0.12.3
What’s Changed
- Fixed not being able to register different transformers for different API versions by @romalytvynenko in #706
Feb 3, 2025
v0.12.2
What’s Changed
- Ensure backward compatibility of
ignoreDefaultRoutes
method (it should be callable inregister
method of a service provider) by @romalytvynenko in #705
Feb 3, 2025
v0.12.1
What’s Changed
- Fixed operations transformers has not been loaded by @romalytvynenko in #704
Feb 3, 2025
v0.12.0
What’s Changed
Added
- 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 documenting request parameters using attributes
#[QueryParameter]
,#[HeaderParameter]
,#[CookieParameter]
,#[PathParameter]
by @romalytvynenko in - Added
#[BodyParameter]
attribute support for documenting request body parameters by @romalytvynenko in #702https://github.com/dedoc/scramble - 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 configuration API (experimental) by @romalytvynenko in #696
🚨 Breaking changes 🚨
TypeToSchema
extensions andTypeTransformer
cannot be created by the container just by passing the class name anymore. This is due to theTypeTransformer
depending onComponents
class which is not global, but exists per API document.
This is very unlikely to affect you unless you developed the extensions and instantiated Scramble internal components yourself using the container and passing just the classname.
New Contributors
- @overtrue made their first contribution in #670
January 2025
Jan 9, 2025
v0.6.24 PRO
What’s Changed
- Bump Scramble dependency so the
Collection
is properly supported
December 2024
Dec 28, 2024
v0.6.23 PRO
What’s Changed
- Add
operator
andbelongsTo
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
andexclude
on data collections by @romalytvynenko in #29