All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for Laravel 6 (mpociot#572)
- Ability to exclude a query or body parameter from being included in the example requests (mpociot#552)
- Backwards compatibility for the changes to
@group
introduced in 3.12.0 (https://github.com/mpociot/laravel-apidoc-generator/commit/5647eda35ebb7f8aed35b31790c5f220b736e985)
- Specifying an
@group
for a method no longer requires you to add the description. (mpociot#556) - Pass the verbosity level down to the Collision library. (mpociot#556)
- Support for query parameters in the bash template (mpociot#545)
- Include query parameters and headers in the generated Postman collection (mpociot#537)
- Include Python out of the box as example language (mpociot#524)
- Moved nunomaduro/collision to "suggested" so it doesn't break PHP 7.0 (https://github.com/mpociot/laravel-apidoc-generator/commit/2f3a2144e1a4f1eb0229aea8b4d11707cb4aabbf)
- Stopped using config helper inside config file (mpociot#548)
--verbose
flag to show exception encountered when making response calls (https://github.com/mpociot/laravel-apidoc-generator/commit/dc987f296e5a3d073f56c67911b2cb61ae47e9dc)
- Postman collections and URLs in example requests now use the
apidoc.base_url
config variable (mpociot#523)
- Support for PHP array callable syntax in route action (mpociot#516)
- Added faker_seed (https://github.com/mpociot/laravel-apidoc-generator/commit/d2901e51a68c17066d4dd96054ff5bfdf124945b)
- Support for URL paths in include/exclude rules (mpociot#507)
- Handle exception for no URL::forceRootURL() method in Lumen (https://github.com/mpociot/laravel-apidoc-generator/commit/2146fa114dc18bc32c00b5c5550266d753d5aef3)
- Url parameter bindings (https://github.com/mpociot/laravel-apidoc-generator/commit/f0dc118c6b7792894bf9baa352d7fc4ca8ca74b5)
- Support for
@queryParams
in Dingo FormRequests (mpociot#506) - Easier customisation of example languages (https://github.com/mpociot/laravel-apidoc-generator/commit/0aa737a2e54a913eab4d024a1644c5ddd5dee8b8)
- Include PHP as example language (https://github.com/mpociot/laravel-apidoc-generator/commit/c5814762fa52095fe645716554839b6ae110ef89)
- Support for
@queryParams
in FormRequests (mpociot#504) - Added
default_group
key to replaceungrouped_name
(https://github.com/mpociot/laravel-apidoc-generator/commit/72b5f546c1b84e69fe43c720a04f448c3b96e345)
- Option to seed faker for deterministic output (mpociot#503)
- Support for binding prefixes (mpociot#498)
- Ability to override Laravel
config
(mpociot#496) - Allow override of the name 'general' for ungrouped routes (mpociot#491)
- Use parameter-bound URL in doc examples (mpociot#500)
- Request router now matches when router has sub-domain (mpociot#493)
- Allow users specify custom Content-type header for Markdown examples (mpociot#486)
- Ignore scalar type hints when checking for FormRequests (mpociot#474)
- Ability to set cookies on response calls (mpociot#471)
- Support for Lumen 5.7 (mpociot#467)
- Support for Laravel 5.8 (mpociot#462)
- Ability to annotate body parameters on FormRequest (mpociot#460)
- Ability to specify array and object body/query params using dot notation (mpociot#445)
- Ability to specify name and description of Postman collection (mpociot#443)
- Postman collection and documentation base URL now uses
config('app.url')
(mpociot#458)
- Fixed vendor tags (mpociot#444)
- Ability to replace json key values in response file (mpociot#434)
- Support for custom transfer serializers (mpociot#441)
- API groups are now sorted "naturally" (mpociot#428)
- Partial resource controllers are now properly supported (mpociot#429)
- PUT request body now formatted as
urlencoded
in Postman collection (mpociot#418) @responseFile
strategy now properly renders responses (mpociot#427)
- Ability to specify different responses for different status codes. (mpociot#416)
- Add
ResponseFileStrategy
to retrieve responses from files. (mpociot#410)
- Switch from
jQuery
tofetch
in JavaScript examples. (mpociot#411)
include
andexclude
route options now support wildcards (mpociot#409)
- Make
router
option case-insensitive (mpociot#407)
- Replaced use of
Storage::copy
with PHP'scopy
to work with absolute paths (mpociot#404)
- Replaced use of
config_path
with more generic option for better Lumen compatibility (mpociot#398)
- Ability to specify examples for body and query parameters (mpociot#394)
- Rendering of example requests' descriptions (mpociot#393)
- Rendering of query parameters' descriptions (mpociot#387)
- Official Lumen support (mpociot#382)
@queryParam
annotation (mpociot#383)@bodyParam
annotation (mpociot#362, mpociot#366)@authenticated
annotation (mpociot#369)- Ability to override the controller
@group
from the method. (mpociot#372) - Ability to use a custom logo (mpociot#368)
- Moved from command-line options to a config file (mpociot#362)
- Commands have been renamed to the
apidoc
namespace (previouslyapi
). (mpociot#350) - The
update
command has been renamed torebuild
and now uses the output path configured in the config file. (mpociot#370) @resource
renamed to@group
(mpociot#371)- Added more configuration options for response calls (mpociot#377)
- FormRequest parsing is no longer supported (mpociot#362)