Skip to content

Releases: dedoc/scramble

v0.12.6

08 Feb 10:47
544fa34
Compare
Choose a tag to compare

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

05 Feb 12:20
de05558
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.4...v0.12.5

v0.12.4

05 Feb 07:43
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.3...v0.12.4

v0.12.3

05 Feb 06:09
1459e8c
Compare
Choose a tag to compare

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

03 Feb 12:26
9482d3c
Compare
Choose a tag to compare

What's Changed

  • Ensure backward compatibility of ignoreDefaultRoutes method (it should be callable in register method of a service provider) by @romalytvynenko in #705

Full Changelog: v0.12.1...v0.12.2

v0.12.1

03 Feb 11:40
91ded13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.0...v0.12.1

v0.12.0

03 Feb 06:18
Compare
Choose a tag to compare

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 and TypeTransformer cannot be created by the container just by passing the class name anymore. This is due to the TypeTransformer depending on Components 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

20 Jan 07:39
c3a1c77
Compare
Choose a tag to compare
v0.12.0-alpha.1 Pre-release
Pre-release

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

09 Jan 05:50
3c44e2e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.11.32...v0.11.33

v0.11.32

05 Jan 21:41
ead2114
Compare
Choose a tag to compare

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