Releases: dedoc/scramble
Releases · dedoc/scramble
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
Full Changelog: v0.12.5...v0.12.6
v0.12.5
What's Changed
- Fix when creating array types from values by @romalytvynenko in #707
Full Changelog: v0.12.4...v0.12.5
v0.12.4
What's Changed
- Fixed non-closure document transformers being not applied by @romalytvynenko
- Allow custom ExceptionToResponseExtension to override defaults by @ferdinandfrank in #699
New Contributors
- @ferdinandfrank made their first contribution in #699
Full Changelog: v0.12.3...v0.12.4
v0.12.3
What's Changed
- Fixed not being able to register different transformers for different API versions by @romalytvynenko in #706
Full Changelog: v0.12.2...v0.12.3
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
Full Changelog: v0.12.1...v0.12.2
v0.12.1
What's Changed
- Fixed operations transformers has not been loaded by @romalytvynenko in #704
Full Changelog: v0.12.0...v0.12.1
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 #686 - 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
Full Changelog: v0.11.33...v0.12.0
v0.12.0-alpha.1
What's Changed
- 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 annotating request parameters using attributes by @romalytvynenko in #686
- 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 Contributors
Full Changelog: v0.11.33...v0.12.0-alpha.1
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
Full Changelog: v0.11.32...v0.11.33
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
Full Changelog: v0.11.31...v0.11.32