Skip to content

Commit

Permalink
3.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Nov 16, 2021
1 parent 8226bcf commit 9264b5a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Removals

## 3.16.0 (Tuesday, 16 November 2021)
### Added
- Support for nested relations in factories ([364](https://github.com/knuckleswtf/scribe/pull/364))

### Fixed
- Try it Out: show examples for empty array ([4351be8567f98f7779422a3a5beaaf5f3ca53e00](https://github.com/knuckleswtf/scribe/commit/4351be8567f98f7779422a3a5beaaf5f3ca53e00))
- Route docs properly in Lumen ([b859f9ac7d2bac0b43b5358337565889593af6b7](https://github.com/knuckleswtf/scribe/commit/b859f9ac7d2bac0b43b5358337565889593af6b7))

## 3.15.0 (Monday, 8 November 2021)
### Added
- Try it Out: entering an auth header value will auto-set it for all endpoints ([3f9800924128536a4d8b8ea366be9573da758ad2](https://github.com/knuckleswtf/scribe/commit/3f9800924128536a4d8b8ea366be9573da758ad2))
Expand Down
2 changes: 1 addition & 1 deletion src/Tools/Globals.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Globals
{
public const SCRIBE_VERSION = '3.15.0';
public const SCRIBE_VERSION = '3.16.0';

public static bool $shouldBeVerbose = false;

Expand Down
1 change: 1 addition & 0 deletions src/Tools/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public static function getModelFactory(string $modelName, array $states = [], ar
}

foreach ($relations as $relation) {
// Support nested relations; see https://github.com/knuckleswtf/scribe/pull/364 for a detailed example
$relationChain = explode('.', $relation);
$relationVector = array_shift($relationChain);

Expand Down

0 comments on commit 9264b5a

Please sign in to comment.