Scramble 0.8.0: Improved Laravel Open API Documentation Generator
The latest version of Scramble, an API documentation generator for Laravel, has been released. Scramble 0.8.0 introduces several new features and improvements that will benefit Laravel developers. One of the key updates is improved performance, with Scramble now being around 40% faster. This improvement was achieved by analyzing the entire codebase to infer types. Type inference has also been enhanced in this version, allowing Scramble to understand the responses of endpoints more accurately. Instead of relying solely on PHPDoc annotations or type hints, Scramble now uses type inference to deduce the return type of methods. Additionally, Scramble now deep dives into the codebase to analyze other files, resulting in more accurate documentation of responses. Another notable feature introduced in Scramble 0.8.0 is operation ID support. Scramble automatically generates a unique operation ID for every endpoint, which can be used as link anchors in documentation websites or by code generators. Overall, Scramble 0.8.0 offers improved performance, enhanced type inference, and operation ID support, making it a valuable tool for Laravel developers.