Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project aims to adhere to Semantic Versioning.
()
Fixed
Modified
Added
Removed
4.7.0 (27 November 2022)
Added
scribe:config:diff
command for easier debugging
Modified
- Don't escape slashes in response content (fdb8f4e5)
Fixed
- Fix default theme CSS (#571)
4.6.1 (25 November 2022)
Fixed
- Fix content overflow (closes #567) (1fad3eb0)
4.6.0 (18 November 2022)
Modified
- Styling improvements for the default theme; also show example with parameter description. (e9bd84fb)
- Description generation: pluralize/singularize values from Laravel's validator. (0b9473b5)
Fixed
- Don't include status code in description (closes #561) (8a90c2d1)
- Remove mistaken example check (Fix #557) (ad4f808)
4.5.0 (16 November 2022)
Modified
- Smarter example generation; Scribe now uses the parameter name as an added hint. (46e3bbc)
4.4.0 (16 November 2022)
- Fixes and improvements for the
default
theme
4.3.0 (15 November 2022)
Added
- New theme (beta)! Try it out by setting
theme
in your config to elements
. (#559)
4.2.2 (10 November 2022)
Fixed
- Support #[ResponseField] on API resources (66492aa)
4.2.1 (9 November 2022)
Fixed
- Fix display of headings when append file has a H1 (4924499)
4.2.0 (8 November 2022)
Added
- Allow users customize endpoint URL normalization (fe70df9e)
- Set operationId on endpoints in OpenAPI spec (69aeec6)
Fixed
- Fixed bug in extracting URL "thing" (#548)
- Fix bug in normalizing URL (d0e7e3)
4.1.0 (15 October 2022)
Added
- Set bearer token properly in Postman Collection (#529)
- Customizable "Last updated at" label (44996fe)
- Turn subgroups into folders in Postman collection (3152793)
4.0.0 (10 September 2022)
Removed
- [Breaking Change] Sorting groups or endpoints via editing/renaming the Camel files is no longer supported. Use the
groups.order
config item instead.
Added
- Support for specifying groups and endpoints order in config file (29ddcfc)
- Support for specifying example model sources (39ff208)
- Support for subgroups (7cf07738,2ebf40b). Some details in the Blade files were also adjusted for this.
- Nested response fields are now collapsed (00b09bb). Some details in the Blade files were also adjusted for this.
add_routes
now uses inline routes (no more Scribe\Controller
class)
- Changed signature of Strategy ($routeRules is now optional,and there's now an instance var $endpointData, although it's not set by default)
- Parameter data from successive stages is now merged
- Support overriding docs for inherited methods (9735fdf)
3.37.2 (8 September 2022)
Fixed
- Multi-docs: Use correct routes in Laravel view (a41e717)
3.37.1 (5 September 2022)
Fixed
- Fix regression in parsing API resource tags that have a status code when generating response fields (#516)
- Don't crash if instantiation of method argument fails (#515)
3.37.0 (27 August 2022)
Added
- Support
"No-example"
as example
value in bodyParameters()
and friends (#511)
3.36.0 (12 August 2022)
Added
- Support
@responseField
on Eloquent API resources (#505)
3.35.0 (27 July 2022)
Modified
- Use correct folders when generating in multi-docs (ac47c67)
3.34.0 (16 July 2022)
Modified
- URL parameter inference bugfixes and refactor (#497)
3.33.2 (9 July 2022)
Fixed
- Infer URL parameter name correctly when an interface is used for binding (#494)
3.33.1 (8 July 2022)
Fixed
- Don't send empty query parameter field if it's optional (#493)
- Infer URL parameter name correctly when
getRouteKeyName()
is set (#492)
3.33.0 (27 June 2022)
Added
- Include description in Postman collection for formdata body parameters (10faa500)
- Support for attributes in
@apiResource
(8b8bc6b0)
3.32.0 (23 June 2022)
Modified
- Improved code blocks hiding (#486)
3.31.0 (16 June 2022)
Modified
- Postman collection: replace multipart PUT/PATCH requests with POST &
_method
(#480)
Fixed
- Fix logo image partially covered by sidebar (#481)
3.30.0 (11 June 2022)
Added
- Support for more inline validator forms (
$request->validate(...)
without assignment, and $this->validate($request, ...)
) (29940c2e)
Fixed
- Fix incorrect public_path check on Lumen (64ad2f6e)
3.29.1 (22 May 2022)
Fixed
- Make output path for
laravel
type configurable (48b2b90)
3.29.0 (22 May 2022)
Added
- 🎉🎉 Support multiple docs with the
--config
flag (#472, cc6c95e)
3.28.0 (14 May 2022)
Added
- Add
--no-upgrade-check
CLI option (6950f4b)
Modified
- [Internal] Fix Faker deprecations (8093961)
3.27.0 (30 April 2022)
Modified
- Add
assets_directory
config option for laravel
type (#462)
3.26.0 (3 April 2022)
Modified
- Update
GroupedEndpoint
classes to be easier to extend (#456)
3.25.0 (21 March 2022)
Added
- Support validation rules
accepted
and accepted_if
(#438)
Fixed
- fix(model factory chain): implode relation chains for bigger relations (#447)
3.24.1 (7 March 2022)
Fixed
3.24.0 (21 February 2022)
Added
3.23.0 (31 January 2022)
Added
- Try loading an example URL parameter from the database (409)
Fixed
- Load
BelongsTo
relations correctly. (#417)
- Load relations correctly on factory-generated models. (#419)
3.22.0 (26 January 2022)
Added
@apiResourceAdditional
tag for setting extra attributes on API Resources (414)
Modified
- Print multiple fields in
required_if
(406)
Fixed
3.22.0 (26 January 2022)
Added
@apiResourceAdditional
tag for setting extra attributes on API Resources (414)
Modified
- Print multiple fields in
required_if
(406)
Fixed
3.21.0 (Sunday, 2 January 2022)
Modified
- Include protocol in baseUrl for Postman collections (391)
Fixed
- Fix bug where toggling the menu on mobile would jump to the top of the page (400)
3.20.0 (Tuesday, 21 December 2021)
Added
Fixed
3.19.1 (Thursday, 9 December 2021)
Fixed
- Use HTTPS for external assets so they load on file:// URLs (388)
3.19.0 (Sunday, 28 November 2021)
Added
- Custom names for example languages, using the array key (382)
- Custom endpoint metadata attributes (381)
Fixed
- Corrected paths in
afterGenerating
hook (385)
- Fix missing headings in sidebar (376)
3.18.0
Reverted changes in 3.17.0, which broke the display of headings in the sidebar.
3.17.0 (Sunday, 28 November 2021)
Modified
- Refactored sidebar and external JS to improve usability and performance (354)
3.16.0 (Tuesday, 16 November 2021)
Added
- Support for nested relations in factories (364)
Fixed
3.15.0 (Monday, 8 November 2021)
Added
3.14.1 (Tuesday, 2 November 2021)
Fixed
3.14.0 (Friday, 29 October 2021)
Added
Modified
Fixed
- Remove invalid characters from endpoint ID (#352)
3.13.0 (Tuesday, 26 October 2021)
Added
Fixed
3.12.1 (Monday, 25 October 2021)
Fixed
- Fix for prefilling examples
3.12.0 (Sunday, 24 October 2021)
Added
- Try It Out: Prepopulate fields with examples (#324)
Fixed
- Display form-encoded data properly in examples (#331)
- Cast response status to int (#346)
3.11.1 (Thursday, 23 September 2021)
Modified
3.11.0 (Wednesday, 22 September 2021)
Added
Fixed
3.10.3 (Monday, 20 September 2021)
Fixed
3.10.2 (Friday, 10 September 2021)
Fixed
3.10.1 (Thursday, 9 September 2021)
Fixed
- Try It Out: Fixed default CSRF URL for Laravel Sanctum (#319)
3.10.0 (Thursday, 9 September 2021)
Added
Modified
Fixed
- Try It Out: Only set checked radio buttons in query (#312)
- Try It Out: Format booleans properly in query (#313)
- Support body params in GET requests🤷♀️ (#318)
3.9.1 (Thursday, 26 August 2021)
Modified
- Unescape slashes in JSON (#304)
3.9.0 (Saturday, 21 August 2021)
Modified
3.8.0 (Wednesday, 28 July 2021)
Modified
Fixed
3.7.0 (Thursday, 22 July 2021)
Added
- Allow installation of spatie/dto 3 #285
3.6.3 (Tuesday, 20 July 2021)
Fixed
- Stop Validator::make parsing from crashing unnecessarily #281
3.6.2 (Saturday, 17 July 2021)
Fixed
3.6.1 (Friday, 16 July 2021)
Fixed
3.6.0 (Tuesday, 13 July 2021)
Fixed
3.5.2 (Monday, 12 July 2021)
Modified
3.5.1 (Tuesday, 6 July 2021)
Fixed
3.5.0 (Monday, 5 July 2021)
Modified
3.4.3 (Monday, 5 July 2021)
Modified
3.4.2 (Monday, 5 July 2021)
Modified
3.4.1 (Friday, 2 July 2021)
Fixed
3.4.0 (Thursday, 1 July 2021)
Added
Fixed
3.3.2 (Wednesday, 30 June 2021)
Fixed
3.3.1 (Tuesday, 29 June 2021)
Fixed
3.3.0 (Friday, 25 June 2021)
Fixed
Modified
3.2.0 (Thursday, 24 June 2021)
Added
Modified
3.1.0 (Friday, 18 June 2021)
Added
Fixed
3.0.3 (Friday, 18 June 2021)
Fixed
3.0.2 (Friday, 11 June 2021)
Fixed
3.0.1 (Tuesday, 8 June 2021)
Fixed
3.0.0 (Monday, 7 June 2021)
Release announcement