scramble

Modern Laravel OpenAPI (Swagger) documentation generator. No PHPDoc annotations required.

MIT License

Downloads
870.4K
Stars
1.2K
Committers
27

Bot releases are hidden (Show)

scramble - v0.10.6

Published by romalytvynenko 5 months ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.10.5...v0.10.6

scramble - v0.10.5

Published by romalytvynenko 5 months ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.10.4...v0.10.5

scramble - v0.10.4

Published by romalytvynenko 5 months ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.10.3...v0.10.4

scramble - v0.10.3

Published by romalytvynenko 5 months ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.10.2...v0.10.3

scramble - v0.10.2

Published by romalytvynenko 5 months ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.10.1...v0.10.2

scramble - v0.10.1

Published by romalytvynenko 5 months ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.10.0...v0.10.1

scramble - v0.10.0

Published by romalytvynenko 5 months ago

What's Changed

Added

Fixes

Changes

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.9.0...v0.10.0

scramble - v0.9.0

Published by romalytvynenko 7 months ago

What's Changed

🚨 Breaking changes 🚨

  • Dropped support of 8.x and 9.x Laravel versions as they've reached EOL.

If there are any problems when running composer update dedoc/scramble, include -W flag to update other dependencies as well. The issue may be caused in some rare cases by php-parser being changed to 5.0.* from 4.0.*.

Added

Changes

Fixes

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.8.6...v0.9.0

scramble - v0.8.6

Published by romalytvynenko 8 months ago

What's Changed

Added

Fixes

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.8.5...v0.8.6

scramble - v0.8.5

Published by romalytvynenko 11 months ago

What's Changed

Added

Fixes

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.8.4...v0.8.5

scramble - v0.8.4

Published by romalytvynenko about 1 year ago

What's Changed

Added

Fixes

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.8.3...v0.8.4

scramble - v0.8.3

Published by romalytvynenko about 1 year ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.8.2...v0.8.3

scramble - v0.8.2

Published by romalytvynenko about 1 year ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.8.1...v0.8.2

scramble - v0.8.1

Published by romalytvynenko about 1 year ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.8.0...v0.8.1

scramble - v0.8.0

Published by romalytvynenko about 1 year ago

What's Changed

🚨 Breaking changes 🚨

  • Minimum PHP version is changed from 7.4 to 8.1. 96.4% of all the installs are coming from 8.1 and upper, so it's time to make this bump.
  • Extensions API changes - internal type inference system got a huge rework, so I needed to update the extensions API to reflect that.

Added

Changes

Fixes

Full Changelog: https://github.com/dedoc/scramble/compare/v0.7.2...v0.8.0

scramble - v0.7.2

Published by romalytvynenko over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.7.1...v0.7.2

scramble - v0.7.1

Published by romalytvynenko over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.7.0...v0.7.1

scramble - v0.7.0

Published by romalytvynenko almost 2 years ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.6.0...v0.7.0

scramble - v0.6.0

Published by romalytvynenko almost 2 years ago

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.5.0...v0.6.0

scramble - v0.5.0

Published by romalytvynenko about 2 years ago

🫣 Breaking change

Applicable if you've published Scramble's config or relied on the default route resolver behavior (which resolved routes by looking if a route uses api middleware). In most cases you shouldn't really be affected by the change unless you modified API base URL.

In 0.4.0 I've introduced api_base_url config that allowed configuring and modifying API base URL. By default it was url('/api'). Sadly enough, using url in config file caused php artisan serve to fail with the following error:

Illuminate\Routing\UrlGenerator::__construct(): Argument #2 ($request) must be of type Illuminate\Http\Request, null given,  
   called in /***/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php on line   
  67  

To fix the issue I decided to go away from the idea of using url helper in config and instead, and introduced api_path config. So now this part of the config is much simpler and looks like 'api_path' => 'api'.

Also, the default behavior of the default routes resolver changed as well. Previously it took all the routes that were using api middleware. From now on, by default all the routes which URL starts with api/ (scramble.api_path) will be used.

Full Changelog: https://github.com/dedoc/scramble/compare/v0.4.0...v0.5.0

Package Rankings
Top 4.89% on Packagist.org
Related Projects