Skip to content

Commit da667aa

Browse files
committed
4.38.0
1 parent 41e4a56 commit da667aa

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,29 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1212

1313
### Removed
1414

15+
# 4.38.0 (18 October 2024)
16+
## Fixed
17+
- Elements theme: Fix display of boolean examples [#887](https://github.com/knuckleswtf/scribe/pull/887)
18+
- Elements theme: Fix html responses not showing in received response [#890](https://github.com/knuckleswtf/scribe/pull/890)
19+
- Postman collection export: convert query parameters to strings to prevent validation errors [#888](https://github.com/knuckleswtf/scribe/pull/888)
20+
- Fix issue with example model relations being lost after refresh [#901](https://github.com/knuckleswtf/scribe/pull/901)
21+
22+
## Modified
23+
- Improve Laravel dd() Output Rendering in Scribe Documentation [#893](https://github.com/knuckleswtf/scribe/pull/893)
24+
25+
## Added
26+
- [Experimental] Support for nullable values for OpenAPI specs [#834](https://github.com/knuckleswtf/scribe/pull/834)
27+
28+
You can now specify a `nullable` property on a field, via either the PHP attributes (`#[BodyParam]`, ...), or the validation rules. Annotations (`@bodyParam`, ...) are not currently supported, and the `nullable` property will affect only the OpenAPI output.
29+
- Add required to responseField tag and append the required fields in the OpenAPI spec [#814](https://github.com/knuckleswtf/scribe/pull/814)
30+
31+
The `@responseField` annotation now supports "required", similarly to `@bodyParam`.
32+
- Add parsing support for `exists` rule [#886](https://github.com/knuckleswtf/scribe/pull/886)
33+
- Add `description` to object fields when generating OpenAPI file [#896](https://github.com/knuckleswtf/scribe/pull/896)
34+
- Support `Request::validate` facade expressions for parsing validation rules [#895](https://github.com/knuckleswtf/scribe/pull/895)
35+
- Add enum list to Open API spec response properties [#902](https://github.com/knuckleswtf/scribe/pull/902)
36+
37+
1538
# 4.37.2 (30 August 2024)
1639
## Fixed
1740
- Stop response fields from overflowing to the dark box zone [#868](https://github.com/knuckleswtf/scribe/pull/868)

src/Scribe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class Scribe
1111
{
12-
public const VERSION = '4.37.2';
12+
public const VERSION = '4.38.0';
1313

1414
/**
1515
* Specify a callback that will be executed just before a response call is made

0 commit comments

Comments
 (0)